IscAnalysisDCLF

Field Values

IscAnalysisDCLF Field Values

Type

Field Name

Description

Boolean

CalculateNodalTLF

If this option is selected then the nodal transmission loss factors will be calculated for the network.

Boolean

CalculateLODF

If this option is selected then the line outage distribution factors will be calculated for the network.

Integer

BranchLossEstimationMethod

Type of method used to estimate the losses in the branches in the network. Should be one of:

  • 0 = None (i.e. no branch losses)

  • 1 = PI-model. This estimates the branch losses by placing a real power load at either end of every branch for which a resistance value has been provided.

Float

InductionMachineEfficiencyPC

The efficiency of all induction machines in percent. This will be used to estimate the electrical power to the machines from the machines mechanical output power.

Boolean

OnlyLargestIsland

If this option is selected then only the largest island in the network will be included in the DC load flow.

Boolean

NoPhaseShift

Do not apply phase shifts to DC load flow. Note this flag is for future use!

False = Use phase shifting in DCload flow True = No phase shifting

Boolean

UseLoadScaling

Enable scaling of loads in the DC load flow calculation.

Float

RealLoadScale

Per unit factor used to scale all real loads (default = 1.0).

Integer

WhichImpedance

The default setting is 0 which will use the normal resistance value for branches when performing calculations. Set this value to 1 to use the minimum resistance value for branches when performing calculations.

Boolean

AutoSelectSlacks

Set True to automatically select slack busbars in islands where the user has not manually specified a slack busbar.

IscAnalysisDCLF Class

class ipsa.IscAnalysisDCLF

Analysis class for the DC load flow analysis.

GetIValue(nFieldIndex: int) int

Returns an integer value for the enumerated field.

Parameters:

nFieldIndex (int) – The given enumerated field.

Returns:

The integer value for the field.

Return type:

int

GetDValue(nFieldIndex: int) float

Returns a float value for the enumerated field.

Parameters:

nFieldIndex (int) – The given enumerated field.

Returns:

The float value for the field.

Return type:

float

GetSValue(nFieldIndex: int) str

Returns a string value for the enumerated field.

Parameters:

nFieldIndex (int) – The given enumerated field.

Returns:

The string value for the field.

Return type:

str

GetBValue(nFieldIndex: int) bool

Returns a boolean value for the enumerated field.

Parameters:

nFieldIndex (int) – The given enumerated field.

Returns:

The boolean value for the field.

Return type:

bool

SetIValue(nFieldIndex: int, nValue: int) bool

Sets the integer value for the enumerated field.

Parameters:
  • nFieldIndex (int) – The given enumerated field.

  • nValue (int) – The integer value that will be set.

Returns:

True if successful.

Return type:

bool

SetDValue(nFieldIndex: int, dValue: float) bool

Sets the float value for the enumerated field.

Parameters:
  • nFieldIndex (int) – The given enumerated field.

  • dValue (float) – The float value that will be set.

Returns:

True if successful.

Return type:

bool

SetSValue(nFieldIndex: int, strValue: str) bool

Sets the string value for the enumerated field.

Parameters:
  • nFieldIndex (int) – The given enumerated field.

  • strValue (str) – The string value that will be set.

Returns:

True if successful.

Return type:

bool

SetBValue(nFieldIndex: int, bValue: bool) bool

Sets the boolean value for the enumerated field.

Parameters:
  • nFieldIndex (int) – The given enumerated field.

  • bValue (bool) – The boolean value that will be set.

Returns:

True if successful.

Return type:

bool

GetFieldType(nFieldIndex: int) str

Returns the field type as a string for the enumerated field.

Parameters:

nFieldIndex (int) – The given enumerated field.

Returns:

The field type.

Return type:

str

GetFieldName(nFieldIndex: int) str

Returns the field name as a string for the enumerated field.

Parameters:

nFieldIndex (int) – The given enumerated field.

Returns:

The field name.

Return type:

str