IscBattery
The IscBattery class provides access to an IPSA battery, to set and get data values and to retrieve load flow results.
Field Values
Type |
Field Name |
Description |
---|---|---|
Integer |
FromUID |
Gets the unique ID for busbar. |
String |
BusName |
Gets the busbar name. |
String |
Name |
Gets the synchronous machine name. |
Integer |
Status |
Status:
|
Integer |
Model |
Sets and gets the model type for the battery:
|
Float |
VoltPU |
Sets and gets the battery terminal voltage in per unit. |
Float |
EmfPU |
Sets and gets the battery internal EMF in per unit. |
Float |
ResistancePU |
Sets and gets the internal battery resistance in per unit. |
Float |
CurrentPU |
Sets and gets the battery current in per unit. |
Float |
InductancePU |
Sets and gets the internal battery inductance in per unit. |
IscBattery Class
- class ipsa.IscBattery
Provides access to an IPSA battery.
- 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.
- GetRealPowerMW() float
Returns the battery output in MW.
- Returns:
The battery output in MW.
- Return type:
- GetRealPowerkW() float
Returns the battery output in kW.
- Returns:
The battery output in kW.
- Return type:
- GetTotalPowerMVA() float
Returns the battery produced total power in MVA.
- Returns:
The battery produced total power in MVA.
- Return type:
- GetTotalPowerkVA() float
Returns the battery produced total power in kVA.
- Returns:
The battery produced total power in kVA.
- Return type:
- GetVoltagePU() float
Returns the battery injected voltage in per unit.
- Returns:
The battery injected voltage in per unit.
- Return type: