IscGridInfeed
The IscGridInfeed
class provides access to an IPSA grid infeed, to set and get data values and to retrieve load flow and fault level 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 grid infeed name. |
Integer |
Status |
Status:
|
Float |
VoltPU |
Per unit voltage target. |
Float |
GenMW |
Generated real power. |
Float |
GenMVAr |
Generated reactive power. |
Integer |
ProfileUID |
Gets or sets the profile, |
Float |
PeakLLL |
Peak asymmetric three phase fault contribution in MVA. |
Float |
RMSLLL |
RMS three phase fault contribution in MVA at the break time specified by |
Float |
X2RLLL |
Three phase X / R ratio determining the DC decay. A single exponential decay is modelled. |
Float |
PeakLG |
Peak asymmetric single phase to ground fault contribution in MVA. |
Float |
RMSLG |
RMS single phase to ground contribution in MVA at the break time specified by |
Float |
Tac |
AC decay time constant for three phase faults, in seconds. |
Float |
Tbreak |
RMS fault time in seconds. |
Integer |
GridPlanningStage |
The stage the load is currently at:
|
IscGridInfeed Class
- class ipsa.IscGridInfeed
Provides access to an IPSA grid infeed.
- 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.
- SetHarmonicR(dictHarmonicData: Dict[float, float]) None
Sets the values for the harmonic resistance of the grid infeed.
- Parameters:
dictHarmonicData (dict(float,float)) – Dictionary in the following format: {double dHarmonicOrder:double dHarmonicImpedance, …} where dHarmonicImpedance is a value specifying the harmonic resistance at the frequency given by the harmonic order dHarmonicOrder. Up to 120 different orders may be specified in each grid infeed.
- SetHarmonicX(dictHarmonicData: Dict[float, float]) None
Sets the values for the harmonic reactance of the grid infeed.
- Parameters:
dictHarmonicData (dict(float,float)) – Dictionary in the following format: {double dHarmonicOrder:double dHarmonicImpedance, …} where dHarmonicImpedance is a value specifying the harmonic resistance at the frequency given by the harmonic order dHarmonicOrder. Up to 120 different orders may be specified in each grid infeed.
- GetVoltageMagnitudePU() float
Returns the generator voltage magnitude in per unit.
- Returns:
The generator voltage magnitude in per unit.
- Return type:
- GetVoltageAngleRad() float
Returns the voltage angle in radians.
- Returns:
The voltage angle.
- Return type:
- GetVoltageAngleDeg() float
Returns the voltage angle in degrees.
- Returns:
The voltage angle.
- Return type:
- GetPowerMagnitudeMVA() float
Returns the generator output in MVA.
- Returns:
The generator output in MVA.
- Return type:
- GetPowerMagnitudekVA() float
Returns the generator output in kVA.
- Returns:
The generator output in kVA.
- Return type:
- GetRealPowerMW() float
Returns the generator output in MW.
- Returns:
The generator output in MW.
- Return type:
- GetReactivePowerMVAr() float
Returns the generator output in MVAr.
- Returns:
The generator output in MVAr.
- Return type:
- GetRealPowerkW() float
Returns the generator output in kW.
- Returns:
The generator output in kW.
- Return type:
- GetReactivePowerkVAr() float
Returns the generator output in kVAr.
- Returns:
The generator output in kVAr.
- Return type:
- GetFaultRedComponentMVA() float
Returns the red phase component of fault level in MVA.
- Returns:
The red phase component of fault level in MVA.
- Return type:
- GetFaultYellowComponentMVA() float
Returns the yellow phase component of fault level in MVA.
- Returns:
The yellow phase component of fault level in MVA.
- Return type:
- GetFaultBlueComponentMVA() float
Returns the blue phase component of fault level in MVA.
- Returns:
The blue phase component of fault level in MVA.
- Return type:
- GetFaultPositiveComponentMVA() float
Returns the positive sequence component of fault level in MVA.
- Returns:
The positive sequence component of fault level in MVA.
- Return type:
- GetFaultNegativeComponentMVA() float
Returns the negative sequence component of fault level in MVA.
- Returns:
The negative sequence component of fault level in MVA.
- Return type:
- GetFaultZeroComponentMVA() float
Returns the zero sequence component of fault level in MVA.
- Returns:
The zero sequence component of fault level in MVA.
- Return type: