IscProtectionDevice
The IscProtectionDevice class provides access to a single protection device, such as a relay, allowing data to be set and cleared.
Field Values
Type |
Field Name |
Description |
|---|---|---|
String |
Name |
Gets and sets the name of the protection device. |
Integer |
Status |
Status (Note this is the status of the device itself and currently always should be in. The status of the protection container the device lies within can be found through the auxiliary function):
|
String |
DeviceManufacturer |
Gets the name of the manufacturer for the relay assigned to the protection device. |
String |
DeviceFamily |
Gets the name of the relay family for the relay assigned to the protection device. |
String |
DeviceDBName |
Gets the data base name of the relay assigned to the protection device. |
String |
DeviceVersion |
Gets the version text of the relay assigned to the protection device. |
String |
DeviceComments |
Gets the comments for the relay assigned to the protection device. |
Float |
OCNominalCurrentA |
Gets the UID nominal operating current of the relay in Amps. |
IscProtectionDevice Class
- class ipsa.IscProtectionDevice
Provides access to a single protection device, such as a relay.
- SetIValue(nFieldIndex: int, nValue: int) bool
Sets the value for the enumerated field from an integer.
- SetDValue(nFieldIndex: int, dValue: float) bool
Sets the value for the enumerated field from a double.
- SetSValue(nFieldIndex: int, strValue: int) bool
Sets the value for the enumerated field from a string.
- SetBValue(nFieldIndex: int, bValue: bool) bool
Sets the value for the enumerated field from boolean.
- GetProtContainerUID() int
Get the UID of the protection container that contains this device.
- Returns:
The UID of this device’s protection container.
- Return type:
- GetProtContainerName() str
Get the name of the protection container that contains this device.
- Returns:
The name of this device’s protection container.
- Return type:
- GetProtContainerStatus() int
Get the status of the protection container that contains this device.
- Returns:
The status of this device’s protection container.
- Return type:
- GetProtCTUID() int
Get the UID of the CT associated with this device.
Note if this device is not a relay, there will be no associated CT.
- Returns:
The UID of this device’s CT (or 0 if it has none).
- Return type:
- GetProtCTName() str
Get the name of the CT associated with this device.
Note if this device is not a relay, there will be no associated CT.
- Returns:
The name of this device’s CT.
- Return type:
- GetNearBusbarUID() int
Get the UID of the busbar nearest to the protection device/container.
- Returns:
The UID of the busbar nearest to the protection device/container.
- Return type: