ElmBoundary attributesPowerFactory Boundary

Every attribute of the PowerFactory Boundary (ElmBoundary): 72 input parameters and 23 result variables, with units and meaning. Copy a name into GetAttribute or SetAttribute.

What ElmBoundary is

A boundary: a cut through the network that defines an interior region, for interchange flows and network reduction.

Class
ElmBoundary, element class
PowerFactory name
Boundary
Attributes
72 input parameters and 23 result variables, in 5 calculations

Read and write ElmBoundary in Python

import powerfactory

app = powerfactory.GetApplication()          # GetApplicationExt() from outside PowerFactory

for obj in app.GetCalcRelevantObjects("*.ElmBoundary"):
    print(obj.loc_name, obj.GetAttribute("loc_name")) # Name

obj = app.GetCalcRelevantObjects("*.ElmBoundary")[0]
obj.SetAttribute("loc_name", "Boundary 1")    # rename it
  • An input parameter is read and written with or without its e: prefix: GetAttribute("outserv") and GetAttribute("e:outserv") give the same value.
  • RMS and EMT variables change over time: record them in a results object (ElmRes) to read the whole curve. GetAttribute after a run gives the value at the last time step.

ElmBoundary input parameters

The element data, as typed in GetAttribute and SetAttribute (the e: prefix is optional). Setting one changes the model.

AttributeUnitDescription
loc_name·Name
chr_name·Characteristic Name
for_name·Foreign Key
dat_src·Data source
sernum·Serial Number
manuf·Manufacturer
commissionDate·Commissioning Date
appr_modby·Modified by
outserv·Out of Service
icolor·Colour
iSwitchStates·Topological search
iNeutral·Topological search
iInterChg·Consider Interchange Schedule
iOPFCpsummax·Max. Active Boundary Flow
iOPFCpsummin·Min. Active Boundary Flow
isSoftPConstr·Soft constraint (AC OPF only)
iOPFCqsummax·Max. Reactive Boundary Flow
iOPFCqsummin·Min. Reactive Boundary Flow
isSoftQConstr·Soft constraint (AC OPF only)
isPlimsRel·Active power limits for Unit Commitment
isQlimsRel·Reactive power limits for Unit Commitment
isLimPmax·Max.
isLimPmin·Min.
isLimQmax·Max.
isLimQmin·Min.
isLimIncreaseP·Max. increase
isLimDecreaseP·Max. decrease
isLimIncreaseQ·Max. increase
isLimDecreaseQ·Max. decrease
isSoftPConstrUC·Soft constraint
isSoftQConstrUC·Soft constraint
allowOutDistFacFiltP·Allow filtering by outage distribution factor
allowMarginFiltP·Allow filtering by constraint margin
allowCntConstrFiltP·Allow contingency filtering by number of critical constraints
allowOutDistFacFiltQ·Allow filtering by outage distribution factor
allowMarginFiltQ·Allow filtering by constraint margin
allowCntConstrFiltQ·Allow contingency filtering by number of critical constraints
isSepCntConstrTypeP·Separate constraint type for contingencies
cntConstrTypeP·Contingency-constraint type
isSepCntConstrTypeQ·Separate constraint type for contingencies
cntConstrTypeQ·Contingency-constraint type
isMaxLoadSoftNlinP·Penalty costs for soft constraints
isMaxLoadSoftNlinQ·Penalty costs for soft constraints
constr·Year of Construction
appr_status·Status
InterPsetMWScheduled Active Power Interchange
psummaxMWMax. Total Active Power Limit
psumminMWMin. Total Active Power Limit
qsummaxMvarMax. Total Reactive Power Limit
qsumminMvarMin. Total Reactive Power Limit
scalingFacSoftConstrOpfP·Weighting factor for soft constraint penalty
scalingFacSoftConstrOpfQ·Weighting factor for soft constraint penalty
PlimIncreaseMWMax. active boundary flow increase
PlimDecreaseMWMax. active boundary flow decrease
QlimIncreaseMvarMax. reactive boundary flow increase
QlimDecreaseMvarMax. reactive boundary flow decrease
scalingFacSoftConstrCostP·Cost scaling factor
scalingFacSoftConstrCostQ·Cost scaling factor
appr_modif·Modified
desc·Description
doc_id·Additional Data
pOwner·OwnerObject: ElmOwner
pOperator·OperatorObject: ElmOperator
cubicles·Boundary CubicleObject: StaCubic
ciorient·Orientation
headfold·Head Folder
branches·BranchObject: Elm*,RelFuse,StaSua*
buses·BusbarObject: ElmTerm
cAllowOutDistFacFilt·Allow filtering by outage distribution factor
cAllowMarginFilt·Allow filtering by constraint margin
cAllowCntConstrFilt·Allow contingency filtering by number of critical constraints
cIsSepCntConstrType·Separate constraint type for contingencies

ElmBoundary load flow results

Read after ComLdf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:PinterMWActive Power Interchange
c:QinterMvarReactive Power Interchange
c:ExportPMWExport, Active Power
c:ExportQMvarExport, Reactive Power
c:ImportPMWImport, Active Power
c:ImportQMvarImport, Reactive Power

ElmBoundary rms simulation results

Read after ComInc (RMS) with GetAttribute. s: signal (state or model variable).

AttributeUnitDescription
s:PinterMWActive Power Interchange
s:QinterMvarReactive Power Interchange

ElmBoundary dc load flow results

Read after ComLdf (DC) with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:PinterMWActive Power Interchange
c:ExportPMWExport, Active Power
c:ImportPMWImport, Active Power

Read after ComMod with GetAttribute. s: signal (state or model variable).

AttributeUnitDescription
s:PinterMWActive Power Interchange
s:QinterMvarReactive Power Interchange

ElmBoundary optimal power flow results

Read after ComOpf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:PinterMWActive Power Interchange
c:QinterMvarReactive Power Interchange
c:ExportPMWExport, Active Power
c:ExportQMvarExport, Reactive Power
c:ImportPMWImport, Active Power
c:ImportQMvarImport, Reactive Power
c:psummaxMWMax. Total Active Power Limit
c:psumminMWMin. Total Active Power Limit
c:qsummaxMvarMax. Total Reactive Power Limit
c:qsumminMvarMin. Total Reactive Power Limit

ElmBoundary basic data

b: values are worked out from the input data. Read them; they are not set.

AttributeUnitDescription
b:loc_name·Name

Related

← ElmBmu Virtual Power Plant · ElmFeeder Feeder →