IscUnbalancedLoad

The IscUnbalancedLoad class provides access to the three phase unbalanced load components to get and set data values.

Field Values

IscUnbalancedLoad Field Values

Type

Field Name

Description

Integer

FromUID

Gets the unique ID for busbar.

String

BusName

Gets the busbar name.

String

Name

Gets the branch name.

Integer

Status

Line status:

  • 0 = Switched in

  • -1 = Switched out

Integer

Connection

Connection type:

  • 1 = Phase-ground

  • 2 = Phase-neutral

  • 3 = Phase-phase

Boolean

HasPhaseA

Gets or sets if the line has the A phase connected. Set to True to enable the A phase.

Boolean

HasPhaseB

Gets or sets if the line has the B phase connected. Set to True to enable the B phase.

Boolean

HasPhaseC

Gets or sets if the line has the C phase connected. Set to True to enable the C phase.

Float

RealPhaseAMW

Gets or sets the A phase power in MW.

Float

ReactivePhaseAMVAr

Gets or sets the A phase power in MVAr.

Float

RealPhaseBMW

Gets or sets the B phase power in MW.

Float

ReactivePhaseBMVAr

Gets or sets the B phase power in MVAr.

Float

RealPhaseCMW

Gets or sets the C phase power in MW.

Float

ReactivePhaseCMVAr

Gets or sets the C phase power in MVAr.

Integer

ProfilePhaseAUID

Gets or sets the load profile UID applied to the A phase of this load.

Float

ProfilePhaseBUID

Gets or sets the load profile UID applied to the B phase of this load.

Integer

ProfilePhaseCUID

Gets or sets the load profile UID applied to the C phase of this load.

IscUnbalancedLoad Class

class ipsa.IscUnbalancedLoad

Provides access to the three phase unbalanced load components.

SetName(strName: str) bool

Sets the name as a string.

Parameters:

strName (str) – The selected string name.

Returns:

True if successful.

Return type:

bool

GetIValue(nFieldIndex: int) int

Returns an integer value for the enumerated field.

Parameters:

nFieldIndex (int) – The field index.

Returns:

The integer value.

Return type:

int

GetDValue(nFieldIndex: int) float

Returns a double value for the enumerated field.

Parameters:

nFieldIndex (int) – The field index.

Returns:

The double value.

Return type:

float

GetSValue(nFieldIndex: int) str

Returns a string value for the enumerated field.

Parameters:

nFieldIndex (int) – The field index.

Returns:

The string value.

Return type:

str

GetBValue(nFieldIndex: int) bool

Returns a boolean value for the enumerated field.

Parameters:

nFieldIndex (int) – The field index.

Returns:

The boolean value.

Return type:

bool

SetIValue(nFieldIndex: int, nValue: int) bool

Sets the value for the enumerated field from an integer.

Parameters:
  • nFieldIndex (int) – The field index.

  • nValue (int) – The given integer value.

Returns:

True if successful.

Return type:

bool

SetDValue(nFieldIndex: int, dValue: float) bool

Sets the value for the enumerated field from a double.

Parameters:
  • nFieldIndex (int) – The field index.

  • dValue (float) – The given double value.

Returns:

True if successful.

Return type:

bool

SetSValue(nFieldIndex: int, strValue: int) bool

Sets the value for the enumerated field from a string.

Parameters:
  • nFieldIndex (int) – The field index.

  • strValue (str) – The given string value.

Returns:

True if successful.

Return type:

bool

SetBValue(nFieldIndex: int, bValue: bool) bool

Sets the value for the enumerated field from boolean.

Parameters:
  • nFieldIndex (int) – The field index.

  • bValue (bool) – The given boolean value.

Returns:

True if successful.

Return type:

bool

GetTotalMeanMVA() float

Returns the mean load power across all 3 phases in MVA.

Returns:

The mean load power across all 3 phases in MVA.

Return type:

float

GetTotalMeankVA() float

Returns the mean load power across all 3 phases in kVA.

Returns:

The mean load power across all 3 phases in kVA.

Return type:

float

GetRealMeanMW() float

Returns the mean load power across all 3 phases in MW.

Returns:

The mean load power across all 3 phases in MW.

Return type:

float

GetRealMeankW() float

Returns the mean load power across all 3 phases in kW.

Returns:

The mean load power across all 3 phases in kW.

Return type:

float

GetReactiveMeanMVAr() float

Returns the mean load power across all 3 phases in MVAr.

Returns:

The mean load power across all 3 phases in MVAr.

Return type:

float

GetReactiveMeankVAr() float

Returns the mean load power across all 3 phases in kVAr.

Returns:

The mean load power across all 3 phases in kVAr.

Return type:

float

GetTotalMaxMVA() float

Returns the highest load power across all 3 phases in MVA.

Returns:

The highest load power across all 3 phases in MVA.

Return type:

float

GetTotalMaxkVA() float

Returns the highest load power across all 3 phases in kVA.

Returns:

The highest load power across all 3 phases in kVA.

Return type:

float

GetRealMaxMW() float

Returns the highest load power across all 3 phases in MW.

Returns:

The highest load power across all 3 phases in MW.

Return type:

float

GetRealMaxkW() float

Returns the highest load power across all 3 phases in kW.

Returns:

The highest load power across all 3 phases in kW.

Return type:

float

GetReactiveMaxMVAr() float

Returns the highest load power across all 3 phases in MVAr.

Returns:

The highest load power across all 3 phases in MVAr.

Return type:

float

GetReactiveMaxkVAr() float

Returns the highest load power across all 3 phases in kVAr.

Returns:

The highest load power across all 3 phases in kVAr.

Return type:

float

GetRealPowerAMW() float

Returns the A phase power for the load in MW.

Returns:

The A phase power for the load in MW.

Return type:

float

GetRealPowerBMW() float

Returns the B phase power for the load in MW.

Returns:

The B phase power for the load in MW.

Return type:

float

GetRealPowerCMW() float

Returns the C phase power for the load in MW.

Returns:

The C phase power for the load in MW.

Return type:

float

GetRealPowerAkW() float

Returns the A phase power for the load in kW.

Returns:

The A phase power for the load in kW.

Return type:

float

GetRealPowerBkW() float

Returns the B phase power for the load in kW.

Returns:

The B phase power for the load in kW.

Return type:

float

GetRealPowerCkW() float

Returns the C phase power for the load in kW.

Returns:

The C phase power for the load in kW.

Return type:

float

GetReactivePowerAMVAr() float

Returns the A phase power for the load in MVAr.

Returns:

The A phase power for the load in MVAr.

Return type:

float

GetReactivePowerBMVAr() float

Returns the B phase power for the load in MVAr.

Returns:

The B phase power for the load in MVAr.

Return type:

float

GetReactivePowerCMVAr() float

Returns the C phase power for the load in MVAr.

Returns:

The C phase power for the load in MVAr.

Return type:

float

GetReactivePowerAkVAr() float

Returns the A phase power for the load in kVAr.

Returns:

The A phase power for the load in kVAr.

Return type:

float

GetReactivePowerBkVAr() float

Returns the B phase power for the load in kVAr.

Returns:

The B phase power for the load in kVAr.

Return type:

float

GetReactivePowerCkVAr() float

Returns the C phase power for the load in kVAr.

Returns:

The C phase power for the load in kVAr.

Return type:

float