IscStaticVC

The IscStaticVC class provides access to an IPSA Static VAR Compensator (SVC), to set and get data values and to retrieve load flow results.

Field Values

IscStaticVC Field Values

Type

Field Name

Description

Integer

FromUID

Gets the unique ID for busbar.

String

BusName

Gets the busbar name.

String

Name

Gets the Compensator name.

Integer

Status

Status:

  • 0 = Switched in

  • -1 = Switched out

Float

QMinMVAr

Gets and sets the minimum reactive SVC output in MVAr. This corresponds to the maximum voltage setting.

Float

QMaxMVAr

Gets and sets the maximum reactive SVC output in MVAr. This corresponds to the minimum voltage setting.

Float

VminPU

Gets and sets the minimum voltage setting in per unit. This corresponds to the maximum reactive SVC output.

Float

VmaxPU

Gets and sets the maximum voltage setting in per unit. This corresponds to the minimum reactive SVC output.

Boolean

IsStatcom

True if the SVC is a STATCOM.

IscStaticVC Class

class ipsa.IscStaticVC

Provides access to an IPSA Static VAR Compensator (SVC).

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

GetReactivePowerMVAr() float

Returns the SVC produced power in MVAr.

Returns:

The SVC produced power in MVAr.

Return type:

float

GetReactivePowerkVAr() float

Returns the SVC produced power in kVAr.

Returns:

The SVC produced power in kVAr.

Return type:

float

GetTotalPowerMVA() float

Returns the SVC produced total power in MVA.

Returns:

The SVC produced total power in MVA.

Return type:

float

GetTotalPowerkVA() float

Returns the SVC produced total power in kVA.

Returns:

The SVC produced total power in kVA.

Return type:

float

GetCurrentkA() float

Returns the SVC injected current in kA.

Returns:

The SVC injected current in kA.

Return type:

float