ElmTrfstat attributesPowerFactory Secondary Substation
Every attribute of the PowerFactory Secondary Substation (ElmTrfstat): 40 input parameters and 81 result variables, with units and meaning. Copy a name into GetAttribute or SetAttribute.
What ElmTrfstat is
A secondary substation: an MV/LV substation with its transformer, as found along distribution feeders.
- Class
ElmTrfstat, element class- PowerFactory name
- Secondary Substation
- Attributes
- 40 input parameters and 81 result variables, in 3 calculations
Read and write ElmTrfstat in Python
import powerfactory
app = powerfactory.GetApplication() # GetApplicationExt() from outside PowerFactory
for obj in app.GetCalcRelevantObjects("*.ElmTrfstat"):
print(obj.loc_name, obj.GetAttribute("loc_name")) # Name
obj = app.GetCalcRelevantObjects("*.ElmTrfstat")[0]
obj.SetAttribute("loc_name", "Kiosk 12") # rename it
- An input parameter is read and written with or without its
e:prefix:GetAttribute("outserv")andGetAttribute("e:outserv")give the same value.
ElmTrfstat 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 |
appr_modby | · | Modified by |
sShort | · | Short Name |
sType | · | Type |
Electrodes | · | Electrode configuration |
appr_status | · | Status |
icolor | · | Colour |
constr | · | Year of Construction |
iBoxed | · | Enclosure |
DcBoxType | · | Enclosure type |
GPSlat | deg | Latitude / Northing |
GPSlon | deg | Longitude / Easting |
AccessTime | min | First manual switch action after the fault |
LocAccTime | min | After a switch action in another substation |
CondGap | mm | Conductor gap |
Xfactor | · | Distance factor |
WorkDist | mm | Working distance |
BoxWidth | mm | Width |
BoxHeight | mm | Height |
BoxDepth | mm | Depth |
arcLength | mm | Arc length |
nFactor | · | Statistical correction |
appr_modif | · | Modified |
desc | · | Description |
cimRdfId | · | RDF ID |
pSwSc | · | Active RulesObject: IntSwitching |
pOwner | · | Default OwnerObject: ElmOwner |
pOperator | · | Default OperatorObject: ElmOperator |
pDiagram | · | DiagramObject: IntGrfnet |
contents | · | Contents |
cpMeteostat | · | Meteo. StationObject: ElmMeteostat |
cUnom | kV | Nominal Voltage |
cpZone | · | Default ZoneObject: ElmZone |
cpArea | · | Default AreaObject: ElmArea |
pBusbar | · | BusbarObject: ElmTerm |
logf_freq | 1/a | Loss of grid frequency |
logf_year | a | Time period between loss of grid events |
ElmTrfstat load flow results
Read after ComLdf with GetAttribute. c: calculation parameter.
| Attribute | Unit | Description |
|---|---|---|
c:Ptotgen | MW | Total Generation, Active Power |
c:Qtotgen | Mvar | Total Generation, Reactive Power |
c:Ptotcons | MW | Total Consumption, Active Power |
c:Qtotcons | Mvar | Total Consumption, Reactive Power |
c:Pgen | MW | Generators, Active Power |
c:Qgen | Mvar | Generators, Reactive Power |
c:Sgen | MVA | Generators, Apparent Power |
c:cosgen | · | Generators, Power Factor |
c:Pmot | MW | Motor Loads, Active Power |
c:Qmot | Mvar | Motor Loads, Reactive Power |
c:Smot | MVA | Motor Loads, Apparent Power |
c:cosmot | · | Motor Loads, Power Factor |
c:Pload | MW | Loads, Active Power |
c:Qload | Mvar | Loads, Reactive Power |
c:Sload | MVA | Loads, Apparent Power |
c:cosload | · | Loads, Power Factor |
c:Qcomp | Mvar | Compensation, C |
c:Qcompr | Mvar | Compensation, L |
c:Pnet | MW | External Networks, Active Power |
c:Qnet | Mvar | External Networks, Reactive Power |
c:Snet | MVA | External Networks, Apparent Power |
c:cosnet | · | External Networks, Power Factor |
c:u | p.u. | Busbar Voltage, Magnitude |
c:Ul | kV | Busbar Line-Line Voltage, Magnitude |
c:phiu | deg | Busbar Voltage, Angle |
c:Pload_fup | MW | General Load, Active Power, Upstream in Feeder |
c:Pload_fdwn | MW | General Load, Active Power, Downstream in Feeder |
c:len_fup | km | Length, Upstream in Feeder |
c:len_fdwn | km | Length, Downstream in Feeder |
c:dist_fup | km | Distance to feeder begin |
c:dist_fdwn | km | Distance to furthest feeder end |
c:r_feed | p.u. | Pos. Seq. Resistance to feeder begin |
c:x_feed | p.u. | Pos. Seq. Reactance to feeder begin |
ElmTrfstat dc load flow results
Read after ComLdf (DC) with GetAttribute. c: calculation parameter.
| Attribute | Unit | Description |
|---|---|---|
c:Ptotgen | MW | Total Generation, Active Power |
c:Ptotcons | MW | Total Consumption, Active Power |
c:Pgen | MW | Generators, Active Power |
c:Pmot | MW | Motor Loads, Active Power |
c:Pload | MW | Loads, Active Power |
c:Pnet | MW | External Networks, Active Power |
c:phiu | deg | Busbar Voltage, Angle |
c:Pload_fup | MW | General Load, Active Power, Upstream in Feeder |
c:Pload_fdwn | MW | General Load, Active Power, Downstream in Feeder |
c:len_fup | km | Length, Upstream in Feeder |
c:len_fdwn | km | Length, Downstream in Feeder |
c:dist_fup | km | Distance to feeder begin |
c:dist_fdwn | km | Distance to furthest feeder end |
c:r_feed | p.u. | Pos. Seq. Resistance to feeder begin |
c:x_feed | p.u. | Pos. Seq. Reactance to feeder begin |
ElmTrfstat optimal power flow results
Read after ComOpf with GetAttribute. c: calculation parameter.
| Attribute | Unit | Description |
|---|---|---|
c:Ptotgen | MW | Total Generation, Active Power |
c:Qtotgen | Mvar | Total Generation, Reactive Power |
c:Ptotcons | MW | Total Consumption, Active Power |
c:Qtotcons | Mvar | Total Consumption, Reactive Power |
c:Pgen | MW | Generators, Active Power |
c:Qgen | Mvar | Generators, Reactive Power |
c:Sgen | MVA | Generators, Apparent Power |
c:cosgen | · | Generators, Power Factor |
c:Pmot | MW | Motor Loads, Active Power |
c:Qmot | Mvar | Motor Loads, Reactive Power |
c:Smot | MVA | Motor Loads, Apparent Power |
c:cosmot | · | Motor Loads, Power Factor |
c:Pload | MW | Loads, Active Power |
c:Qload | Mvar | Loads, Reactive Power |
c:Sload | MVA | Loads, Apparent Power |
c:cosload | · | Loads, Power Factor |
c:Qcomp | Mvar | Compensation, C |
c:Qcompr | Mvar | Compensation, L |
c:Pnet | MW | External Networks, Active Power |
c:Qnet | Mvar | External Networks, Reactive Power |
c:Snet | MVA | External Networks, Apparent Power |
c:cosnet | · | External Networks, Power Factor |
c:u | p.u. | Busbar Voltage, Magnitude |
c:Ul | kV | Busbar Line-Line Voltage, Magnitude |
c:phiu | deg | Busbar Voltage, Angle |
c:Pload_fup | MW | General Load, Active Power, Upstream in Feeder |
c:Pload_fdwn | MW | General Load, Active Power, Downstream in Feeder |
c:len_fup | km | Length, Upstream in Feeder |
c:len_fdwn | km | Length, Downstream in Feeder |
c:dist_fup | km | Distance to feeder begin |
c:dist_fdwn | km | Distance to furthest feeder end |
c:r_feed | p.u. | Pos. Seq. Resistance to feeder begin |
c:x_feed | p.u. | Pos. Seq. Reactance to feeder begin |
ElmTrfstat basic data
b: values are worked out from the input data. Read them; they are not set.
| Attribute | Unit | Description |
|---|---|---|
b:loc_name | · | Name |