IscBusbar
The IscBusbar class provides access to an IPSA busbar, to set and get data values and to retrieve load flow and fault level results.
Field Values
Type |
Field Name |
Description |
|---|---|---|
String |
Name |
Gets the busbar name. |
Float |
NomVoltkV |
Nominal bus voltage in kV |
Integer |
ControlType |
Gets the type of busbar, e.g. slack, PV, PQ, etc.
|
Integer |
Type |
Gets the physical type of busbar e.g. straight joint, mains joint etc.
|
Float |
VoltPU |
Gets the voltage magnitude in per unit. |
Float |
VoltAngleRad |
Gets the voltage angle in radians. |
String |
Comment |
Gets and sets the comments. |
Float |
FaultMakePeakkA |
The rated asymmetric peak make current in kA at half a cycle. These must be accessed through the GetFaultDValue/SetFaultDValue functions. |
Float |
FaultBreakRMSkA |
The rated RMS symmetric break rating in kA at the break time specified. These must be accessed through the GetFaultDValue/SetFaultDValue functions. |
Float |
FaultBreakTimemS |
The time in milliseconds for which the Break ratings are given. These must be accessed through the GetFaultDValue/SetFaultDValue functions. |
Float |
FaultBreakDCPC |
The rated DC break current as a percentage of the rated symmetric break current. These must be accessed through the GetFaultDValue/SetFaultDValue functions. |
Float |
FaultNomCurrentkA |
A value designating the “standard” current at which the busbar operates. These must be accessed through the GetFaultDValue/SetFaultDValue functions. |
Integer |
ArcBusbarConfiguration |
Specific busbar configuration for this bus according to the definitions penned out by IEEE-1584 standard:
|
Float |
ArcEnclosureWidthMM |
Width of the busbar enclosure for the arcflash in mm. |
Float |
ArcEnclosureHeightMM |
Height of the busbar enclosure for the arcflash in mm. |
Float |
ArcEnclosureDepthMM |
Depth of the busbar enclosure for the arcflash in mm. |
Float |
ArcConductorGapMM |
Air gap between the conductors that the arc flash jumps across in mm. |
Float |
ArcWorkingDistanceMM |
Working distance for the bus container in mm. |
Integer |
ArcIEEEStandard |
The IEEE-1584 standard for conduction arc flash studies. Users can toggle between the two for comparative studies:
|
Integer |
ArcEnclosure |
A 2002 IEEE-1584 legacy parameter. The type of busbar enclosure:
|
Integer |
ArcEquipmentType |
A 2002 IEEE-1584 legacy parameter. The specific type of busbar:
|
Boolean |
ArcUngrounded |
A 2002 IEEE-1584 legacy parameter. |
IscBusbar Class
- class ipsa.IscBusbar
Provides access to an IPSA busbar.
- 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.
- GetFaultDValue(nFaultFieldIndex: int) float
Returns a float value for the circuit breaker field. In IPSA 2.10.2, nFaultFieldIndex should be one of FaultMakePeakkA, FaultBreakRMSkA, FaultBreakDCPC, FaultBreakTimemS or FaultNomCurrentkA. nFaultFieldIndex can also be one of the IscCircuitBreaker field indexes MakePeakkA, BreakRMSkA, BreakDCPC, BreakTimemS or NomCurrentkA. This function is used to get fault (breaker) ratings for a busbar.
- SetFaultDValue(nFaultFieldIndex: int) bool
Sets the value for the circuit breaker field. In IPSA 2.10.2, nFaultFieldIndex should be one of FaultMakePeakkA, FaultBreakRMSkA, FaultBreakDCPC, FaultBreakTimemS or FaultNomCurrentkA. nFaultFieldIndex can also be one of the IscCircuitBreaker field indexes MakePeakkA, BreakRMSkA, BreakDCPC, BreakTimemS or NomCurrentkA. This function is used to set fault (breaker) ratings for a busbar.
- GetVoltageMagnitudePU(nStudyUid: int) float
- GetVoltageMagnitudePU() float
- GetVoltageMagnitudePU(dOrder: float) float
Returns the voltage magnitude in per unit.
If a UID is provided this is for the associated automation or contingency study.
Deprecated. If a float dOrder is provided, this is the harmonic voltage magnitude for the given harmonic order. Instead, use GetVoltageMagnitudeHarmPU
- Parameters:
- Returns:
The voltage magnitude, if a UID is provided this returns the voltage magnitude for the associated study. If a dOrder is provided this returns the voltage magnitude for the harmonic order.
- Return type:
- GetVoltageMagnitudekV(nStudyUid: int) float
- GetVoltageMagnitudekV() float
Returns the voltage magnitude in kV. If a UID is provided this is for the associated automation or contingency study.
- GetVoltageAngleRad() float
- GetVoltageAngleRad(nStudyUid: int) float
Returns the voltage angle in radians. If a UID is provided this is for the associated automation or contingency study.
- GetVoltageAngleDeg() float
- GetVoltageAngleDeg(nStudyUid: int) float
Returns the voltage angle in degrees. If a UID is provided this is for the associated automation or contingency study.
- GetRealMismatchMW() float
Returns the load flow MW mismatch.
- Returns:
The load flow MW mismatch.
- Return type:
- GetReactiveMismatchMVAr() float
Returns the load flow MVAr mismatch.
- Returns:
The load flow MVAr mismatch.
- Return type:
- GetRealGenerationMW() float
Returns the total MW of generation at a busbar.
- Returns:
The total MW of generation at a busbar.
- Return type:
- GetReactiveGenerationMVAr() float
Returns the total MVAr of generation at a busbar.
- Returns:
The total MVAr of generation at a busbar.
- Return type:
- GetRealInductionMW() float
Returns the total MW of induction machines at a busbar.
- Returns:
The total MW of induction machines at a busbar.
- Return type:
- GetReactiveInductionMVAr() float
Returns the total MVAr of induction machines at a busbar.
- Returns:
The total MVAr of induction machines at a busbar.
- Return type:
- GetRealLoadMW() float
Returns the total MW of static load at a busbar.
- Returns:
The total MW of static load at a busbar.
- Return type:
- GetReactiveLoadMVAr() float
Returns the total MVAr of static load at a busbar.
- Returns:
The total MVAr of static load at a busbar.
- Return type:
- GetRedVoltageMagnitudePU() float
Returns the red phase voltage magnitude in per-unit.
- Returns:
The red phase voltage magnitude in per-unit.
- Return type:
- GetRedVoltageMagnitudekV() float
Returns the red phase voltage magnitude in kV.
- Returns:
The red phase voltage magnitude in kV.
- Return type:
- GetRedVoltageAngleDeg() float
Returns the red phase voltage angle in degrees.
- Returns:
The red phase voltage angle in degrees.
- Return type:
- GetYellowVoltageMagnitudePU() float
Returns the yellow phase voltage magnitude in per-unit.
- Returns:
The yellow phase voltage magnitude in per-unit.
- Return type:
- GetYellowVoltageMagnitudekV() float
Returns the yellow phase voltage magnitude in kV.
- Returns:
The yellow phase voltage magnitude in kV.
- Return type:
- GetYellowVoltageAngleDeg() float
Returns the yellow phase voltage angle in degrees.
- Returns:
The yellow phase voltage angle in degrees.
- Return type:
- GetBlueVoltageMagnitudePU() float
Returns the blue phase voltage magnitude in per-unit.
- Returns:
The blue phase voltage magnitude in per-unit.
- Return type:
- GetBlueVoltageMagnitudekV() float
Returns the blue phase voltage magnitude in kV.
- Returns:
The blue phase voltage magnitude in kV.
- Return type:
- GetBlueVoltageAngleDeg() float
Returns the blue phase voltage angle in degrees.
- Returns:
The blue phase voltage angle in degrees.
- Return type:
- GetFaultACComponentMVA() float
Returns the AC component of fault level in MVA.
- Returns:
The AC component of fault level in MVA.
- Return type:
- GetFaultDCComponentMVA() float
Returns the DC component of fault level in MVA.
- Returns:
The DC component of fault level in MVA.
- Return type:
- GetFault2HComponentMVA() float
Returns the second harmonic component of fault level in MVA.
- Returns:
The second harmonic component of fault level in MVA.
- Return type:
- GetFaultDCTheveninX() float
Returns the inductive/capacitive component of the DC X/R ratio.
- Returns:
The inductive/capacitive component of the DC X/R ratio.
- Return type:
- GetFaultDCTheveninR() float
Returns the resistive component of the DC X/R ratio.
- Returns:
The resistive component of the DC X/R ratio.
- Return type:
- GetFaultDCPercentage() float
Returns the DC component % of fault level.
- Returns:
The DC component % of fault level.
- 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:
- GetFaultRedComponentAngleDeg() float
Returns the red phase component of fault angle in degrees.
- Returns:
The red phase component of fault angle in degrees.
- 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:
- GetFaultYellowComponentAngleDeg() float
Returns the yellow phase component of fault angle in degrees.
- Returns:
The yellow phase component of fault angle in degrees.
- 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:
- GetFaultBlueComponentAngleDeg() float
Returns the blue phase component of fault angle in degrees.
- Returns:
The blue phase component of fault angle in degrees.
- 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:
- GetFaultPositiveComponentAngleDeg() float
Returns the positive sequence component of fault angle in degrees.
- Returns:
The positive sequence component of fault angle in degrees.
- 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:
- GetFaultNegativeComponentAngleDeg() float
Returns the negative sequence component of fault angle in degrees.
- Returns:
The negative sequence component of fault angle in degrees.
- 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:
- GetFaultZeroComponentAngleDeg() float
Returns the zero sequence component of fault angle in degrees.
- Returns:
The zero sequence component of fault angle in degrees.
- Return type:
- GetFaultACComponentkA() float
Returns the AC component of fault level in kA.
- Returns:
The AC component of fault level in kA.
- Return type:
- GetFaultDCComponentkA() float
Returns the DC component of fault level in kA.
- Returns:
The DC component of fault level in kA.
- Return type:
- GetFault2HComponentkA() float
Returns the second harmonic component of fault level in kA.
- Returns:
The second harmonic component of fault level in kA.
- Return type:
- GetFaultRedComponentkA() float
Returns the red phase component of fault level in kA.
- Returns:
The red phase component of fault level in kA.
- Return type:
- GetFaultYellowComponentkA() float
Returns the yellow phase component of fault level in kA.
- Returns:
The yellow phase component of fault level in kA.
- Return type:
- GetFaultBlueComponentkA() float
Returns the blue phase component of fault level in kA.
- Returns:
The blue phase component of fault level in kA.
- Return type:
- GetFaultPositiveComponentkA() float
Returns the positive sequence component of fault level in kA.
- Returns:
The positive sequence component of fault level in kA.
- Return type:
- GetFaultNegativeComponentkA() float
Returns the negative sequence component of fault level in kA.
- Returns:
The negative sequence component of fault level in kA.
- Return type:
- GetFaultZeroComponentkA() float
Returns the zero sequence component of fault level in kA.
- Returns:
The zero sequence component of fault level in kA.
- Return type:
- GetFaultRedVoltagePU() float
Returns the red phase fault voltage in per unit.
- Returns:
The red phase fault voltage in per unit.
- Return type:
- GetFaultRedVoltageAngleDeg() float
Returns the red phase fault voltage angle in degrees.
- Returns:
The red phase fault voltage angle in degrees.
- Return type:
- GetFaultYellowVoltagePU() float
Returns the yellow phase fault voltage in per unit.
- Returns:
The yellow phase fault voltage in per unit.
- Return type:
- GetFaultYellowVoltageAngleDeg() float
Returns the yellow phase fault voltage angle in degrees.
- Returns:
The yellow phase fault voltage angle in degrees.
- Return type:
- GetFaultBlueVoltagePU() float
Returns the blue phase fault voltage in per unit.
- Returns:
The blue phase fault voltage in per unit.
- Return type:
- GetFaultBlueVoltageAngleDeg() float
Returns the blue phase fault voltage angle in degrees.
- Returns:
The blue phase fault voltage angle in degrees.
- Return type:
- GetFaultPositiveVoltagePU() float
Returns the positive sequence component of fault voltage in per unit.
- Returns:
The positive sequence component of fault voltage in per unit.
- Return type:
- GetFaultPositiveVoltageAngleDeg() float
Returns the positive sequence component of fault voltage angle in degrees.
- Returns:
The positive sequence component of fault voltage angle in degrees.
- Return type:
- GetFaultNegativeVoltagePU() float
Returns the negative sequence component of fault voltage in per unit.
- Returns:
The negative sequence component of fault voltage in per unit.
- Return type:
- GetFaultNegativeVoltageAngleDeg() float
Returns the negative sequence component of fault voltage angle in degrees.
- Returns:
The negative sequence component of fault voltage angle in degrees.
- Return type:
- GetFaultZeroVoltagePU() float
Returns the zero sequence component of fault voltage in per unit.
- Returns:
The zero sequence component of fault voltage in per unit.
- Return type:
- GetFaultZeroVoltageAngleDeg() float
Returns the zero sequence component of fault voltage angle in degrees.
- Returns:
The zero sequence component of fault voltage angle in degrees.
- Return type:
- GetFaultIEC909InitialSymRMSMVA() float
Returns the initial symmetrical RMS fault level in MVA for IEC60909 analysis.
- Returns:
The initial symmetrical RMS fault level in MVA for IEC60909 analysis.
- Return type:
- GetFaultIEC909PeakMVA() float
Returns the peak fault level in MVA for IEC60909 analysis.
- Returns:
The peak fault level in MVA for IEC60909 analysis.
- Return type:
- GetFaultIEC909AsymmetricBreakMVA() float
Returns the asymmetric break fault level in MVA for IEC60909 analysis.
- Returns:
The asymmetric break fault level in MVA for IEC60909 analysis.
- Return type:
- GetFaultIEC909SymmetricBreakMVA() float
Returns the symmetric break fault level in MVA for IEC60909 analysis.
- Returns:
The symmetric break fault level in MVA for IEC60909 analysis.
- Return type:
- GetFaultIEC909DCMagnitudeMVA() float
Returns the DC fault level magnitude in MVA for IEC60909 analysis.
- Returns:
The DC fault level magnitude in MVA for IEC60909 analysis.
- Return type:
- GetFaultIEC909SteadyStateMVA() float
Returns the steady state fault level in MVA for IEC60909 analysis.
- Returns:
The steady state fault level in MVA for IEC60909 analysis.
- Return type:
- GetFaultIEC909DCXoverR() float
Returns the X/R ratio for IEC60909 analysis.
- Returns:
The X/R ratio for IEC60909 analysis.
- Return type:
- GetFaultIEC909DCXoverRBreak() float
Returns the X/R ratio at break time for IEC60909 analysis.
- Returns:
The X/R ratio at break time for IEC60909 analysis.
- Return type:
- GetFaultIEC909InitialSymRMSkA() float
Returns the initial symmetrical RMS fault level in kA for IEC60909 analysis.
- Returns:
The initial symmetrical RMS fault level in kA for IEC60909 analysis.
- Return type:
- GetFaultIEC909PeakkA() float
Returns the peak fault level in kA for IEC60909 analysis.
- Returns:
The peak fault level in kA for IEC60909 analysis.
- Return type:
- GetFaultIEC909AsymmetricBreakkA() float
Returns the asymmetric break fault level in kA for IEC60909 analysis.
- Returns:
The asymmetric break fault level in kA for IEC60909 analysis.
- Return type:
- GetFaultIEC909SymmetricBreakkA() float
Returns the symmetric break fault level in kA for IEC60909 analysis.
- Returns:
The symmetric break fault level in kA for IEC60909 analysis.
- Return type:
- GetFaultIEC909DCMagnitudekA() float
Returns the DC fault level magnitude in kA for IEC60909 analysis.
- Returns:
The DC fault level magnitude in kA for IEC60909 analysis.
- Return type:
- GetFaultIEC909SteadyStatekA() float
Returns the steady state fault level in kA for IEC60909 analysis.
- Returns:
The steady state fault level in kA for IEC60909 analysis.
- Return type:
- GetVoltageOrders() List[float]
Returns a list of all harmonic orders at a busbar. These harmonic orders can then be used to access busbar results at a specific harmonic order.
- GetVoltageMagnitudeHarmPU(dOrder: float) float
Returns the harmonic voltage magnitude in per unit for harmonic order.
- GetVoltageMagnitudePC(dOrder: float) float
Returns the harmonic voltage magnitude in percent for harmonic order.
- GetVoltageAngle(dOrder: float) float
Returns the harmonic voltage angle in radians for harmonic order.
- GetImpedanceOrders() List[float]
Returns a list of all harmonic impedance orders at a busbar. These harmonic orders can then be used to access busbar results at a specific harmonic order.
- GetImpedanceMagnitude(dOrder: float) float
Returns the harmonic impedance magnitude in per unit for harmonic order.
- GetImpedanceAngle(dOrder: float) float
Returns the harmonic impedance angle in radians for harmonic order.
- GetImpedanceReal(dOrder: float) float
Returns the real part of the harmonic impedance in per unit for harmonic order.
- GetImpedanceImaginary(dOrder: float) float
Returns the imaginary part of the harmonic impedance in per unit for harmonic order.
- GetTotalHarmonicDistortion() float
Returns the total harmonic distortion at a busbar in percent.
- Returns:
The total harmonic distortion at a busbar in percent.
- Return type:
- GetHarmonicDistortion(dOrder: float) float
Returns the harmonic distortion at a busbar in percent for order.
- GetMaximumDistortion() List[float]
Returns a list of reals for harmonic order with the highest distortion. The distortion is in percent.
- GetResonances() List[float]
Returns a list containing all the resonances found at a busbar. Each list gives the lower and upper resonance orders for each resonance found.
- GetVoltageSum() float
Returns the arithmetic sum of all harmonic voltages at a busbar in per unit.
- Returns:
The arithmetic sum of all harmonic voltages at a busbar in per unit.
- Return type:
- GetAverageInterruptionHours() float
Returns the average interruption time in hours from the reliability study results.
- Returns:
The average interruption time in hours from the reliability study results.
- Return type:
- GetAnnualInterruptionHours() float
Returns the total annual interruption time in hours from the reliability study results.
- Returns:
The total annual interruption time in hours from the reliability study results.
- Return type:
- GetAnnualInterruptionFrequency() float
Returns the number of interruptions per year from the reliability study results.
- Returns:
The number of interruptions per year from the reliability study results.
- Return type:
- GetProfileMinimumVoltagePU() float
Returns the minimum voltage in per unit from the profile study results.
- Returns:
The minimum voltage in per unit from the profile study results.
- Return type:
- GetProfileMaximumVoltagePU() float
Returns the maximum voltage in per unit from the profile study results.
- Returns:
The maximum voltage in per unit from the profile study results.
- Return type:
- GetProfileMedianVoltagePU() float
Returns the median of the voltage in per unit from the profile study results.
- Returns:
The median of the voltage in per unit from the profile study results.
- Return type:
- GetMinimumProfileIndex() int
Returns the category index which identifies the minimum busbar voltage result from the profile study results.
- Returns:
The minimum category index.
- Return type:
- GetMaximumProfileIndex() int
Returns the category index which identifies the maximum busbar voltage result from the profile study results.
- Returns:
The maximum category index.
- Return type:
- GetDCLFVoltageAngleDeg() float
Returns the voltage angle in degrees.
- Returns:
The voltage angle in degrees.
- Return type:
- GetDCLFVoltageAngleRad() float
Returns the voltage angle in radians.
- Returns:
The voltage angle in radians.
- Return type:
- GetDCLFRealGenerationMW() float
Returns the total MW of generation at a busbar.
- Returns:
The total MW of generation at a busbar.
- Return type:
- GetDCLFRealGenerationkW() float
Returns the total kW of generation at a busbar.
- Returns:
The total kW of generation at a busbar.
- Return type:
- GetDCLFRealLoadMW() float
Returns the total MW of static load at a busbar.
- Returns:
The total MW of static load at a busbar.
- Return type:
- GetDCLFRealLoadkW() float
Returns the total kW of static load at a busbar.
- Returns:
The total kW of static load at a busbar.
- Return type:
- GetDCLFTransmissionLossFactor() float
Returns transmission losses factor for the busbar.
- Returns:
Transmission losses factor for the busbar.
- Return type:
- GetArcBusbarConfiguration() int
Returns the specific busbar configuration for this bus according to the definitions penned out by IEEE-1584 standard:
0 = Unknown
1 = VCB (vertical closed box)
2 = VCBB (vertical closed bolted box)
3 = HCB (horizontal closed box)
4 = VOA (vertical open air box)
5 = HOA (horizontal open air box)
- Returns:
The specific busbar configuration.
- Return type:
- GetArcEnclosureHeightMM() float
Returns the height of the busbar enclosure for the arcflash in mm.
- Returns:
The height of the busbar enclosure for the arcflash in mm.
- Return type:
- GetArcEnclosureWidthMM() float
Returns the width of the busbar enclosure for the arcflash in mm.
- Returns:
The width of the busbar enclosure for the arcflash in mm.
- Return type:
- GetArcEnclosureDepthMM() float
Returns the depth of the busbar enclosure for the arcflash in mm.
- Returns:
The depth of the busbar enclosure for the arcflash in mm.
- Return type:
- GetArcConductorGapMM() float
Returns the air gap between the conductors that the arc flash jumps across in mm.
- Returns:
The air gap between the conductors in mm.
- Return type:
- GetArcWorkingDistanceMM() float
Returns the working distance for the bus container in mm.
- Returns:
The working distance for the bus container in mm.
- Return type:
- SetArcBusbarConfiguration(nConfig: int) bool
Sets the specific busbar configuration for this bus according to the definitions penned out by IEEE-1584 standard:
0 = Unknown
1 = VCB (vertical closed box)
2 = VCBB (vertical closed bolted box)
3 = HCB (horizontal closed box)
4 = VOA (vertical open air box)
5 = HOA (horizontal open air box)
- SetArcEnclosureHeightMM(dHeight: float) bool
Sets the height of the busbar enclosure for the arcflash in mm.
- SetArcEnclosureWidthMM(dWidth: float) bool
Sets the width of the busbar enclosure for the arcflash in mm.
- SetArcEnclosureDepthMM(dDepth: float) bool
Sets the depth of the busbar enclosure for the arcflash in mm.