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")andGetAttribute("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.GetAttributeafter a run gives the value at the last time step.
- Input parameters72
- Load flow results6
- RMS simulation results2
- DC load flow results3
- Modal analysis results2
- Optimal power flow results10
- Basic data1
ElmBoundary input parameters
The element data, as typed in GetAttribute and SetAttribute (the e: prefix is optional). Setting one changes the model.
| Attribute | Unit | Description |
|---|---|---|
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 |
InterPset | MW | Scheduled Active Power Interchange |
psummax | MW | Max. Total Active Power Limit |
psummin | MW | Min. Total Active Power Limit |
qsummax | Mvar | Max. Total Reactive Power Limit |
qsummin | Mvar | Min. Total Reactive Power Limit |
scalingFacSoftConstrOpfP | · | Weighting factor for soft constraint penalty |
scalingFacSoftConstrOpfQ | · | Weighting factor for soft constraint penalty |
PlimIncrease | MW | Max. active boundary flow increase |
PlimDecrease | MW | Max. active boundary flow decrease |
QlimIncrease | Mvar | Max. reactive boundary flow increase |
QlimDecrease | Mvar | Max. 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.
| Attribute | Unit | Description |
|---|---|---|
c:Pinter | MW | Active Power Interchange |
c:Qinter | Mvar | Reactive Power Interchange |
c:ExportP | MW | Export, Active Power |
c:ExportQ | Mvar | Export, Reactive Power |
c:ImportP | MW | Import, Active Power |
c:ImportQ | Mvar | Import, Reactive Power |
ElmBoundary rms simulation results
Read after ComInc (RMS) with GetAttribute. s: signal (state or model variable).
| Attribute | Unit | Description |
|---|---|---|
s:Pinter | MW | Active Power Interchange |
s:Qinter | Mvar | Reactive Power Interchange |
ElmBoundary dc load flow results
Read after ComLdf (DC) with GetAttribute. c: calculation parameter.
| Attribute | Unit | Description |
|---|---|---|
c:Pinter | MW | Active Power Interchange |
c:ExportP | MW | Export, Active Power |
c:ImportP | MW | Import, Active Power |
ElmBoundary modal analysis results
Read after ComMod with GetAttribute. s: signal (state or model variable).
| Attribute | Unit | Description |
|---|---|---|
s:Pinter | MW | Active Power Interchange |
s:Qinter | Mvar | Reactive Power Interchange |
ElmBoundary optimal power flow results
Read after ComOpf with GetAttribute. c: calculation parameter.
| Attribute | Unit | Description |
|---|---|---|
c:Pinter | MW | Active Power Interchange |
c:Qinter | Mvar | Reactive Power Interchange |
c:ExportP | MW | Export, Active Power |
c:ExportQ | Mvar | Export, Reactive Power |
c:ImportP | MW | Import, Active Power |
c:ImportQ | Mvar | Import, Reactive Power |
c:psummax | MW | Max. Total Active Power Limit |
c:psummin | MW | Min. Total Active Power Limit |
c:qsummax | Mvar | Max. Total Reactive Power Limit |
c:qsummin | Mvar | Min. Total Reactive Power Limit |
ElmBoundary basic data
b: values are worked out from the input data. Read them; they are not set.
| Attribute | Unit | Description |
|---|---|---|
b:loc_name | · | Name |