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") and GetAttribute("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.

AttributeUnitDescription
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
GPSlatdegLatitude / Northing
GPSlondegLongitude / Easting
AccessTimeminFirst manual switch action after the fault
LocAccTimeminAfter a switch action in another substation
CondGapmmConductor gap
Xfactor·Distance factor
WorkDistmmWorking distance
BoxWidthmmWidth
BoxHeightmmHeight
BoxDepthmmDepth
arcLengthmmArc 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
cUnomkVNominal Voltage
cpZone·Default ZoneObject: ElmZone
cpArea·Default AreaObject: ElmArea
pBusbar·BusbarObject: ElmTerm
logf_freq1/aLoss of grid frequency
logf_yearaTime period between loss of grid events

ElmTrfstat load flow results

Read after ComLdf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:PtotgenMWTotal Generation, Active Power
c:QtotgenMvarTotal Generation, Reactive Power
c:PtotconsMWTotal Consumption, Active Power
c:QtotconsMvarTotal Consumption, Reactive Power
c:PgenMWGenerators, Active Power
c:QgenMvarGenerators, Reactive Power
c:SgenMVAGenerators, Apparent Power
c:cosgen·Generators, Power Factor
c:PmotMWMotor Loads, Active Power
c:QmotMvarMotor Loads, Reactive Power
c:SmotMVAMotor Loads, Apparent Power
c:cosmot·Motor Loads, Power Factor
c:PloadMWLoads, Active Power
c:QloadMvarLoads, Reactive Power
c:SloadMVALoads, Apparent Power
c:cosload·Loads, Power Factor
c:QcompMvarCompensation, C
c:QcomprMvarCompensation, L
c:PnetMWExternal Networks, Active Power
c:QnetMvarExternal Networks, Reactive Power
c:SnetMVAExternal Networks, Apparent Power
c:cosnet·External Networks, Power Factor
c:up.u.Busbar Voltage, Magnitude
c:UlkVBusbar Line-Line Voltage, Magnitude
c:phiudegBusbar Voltage, Angle
c:Pload_fupMWGeneral Load, Active Power, Upstream in Feeder
c:Pload_fdwnMWGeneral Load, Active Power, Downstream in Feeder
c:len_fupkmLength, Upstream in Feeder
c:len_fdwnkmLength, Downstream in Feeder
c:dist_fupkmDistance to feeder begin
c:dist_fdwnkmDistance to furthest feeder end
c:r_feedp.u.Pos. Seq. Resistance to feeder begin
c:x_feedp.u.Pos. Seq. Reactance to feeder begin

ElmTrfstat dc load flow results

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

AttributeUnitDescription
c:PtotgenMWTotal Generation, Active Power
c:PtotconsMWTotal Consumption, Active Power
c:PgenMWGenerators, Active Power
c:PmotMWMotor Loads, Active Power
c:PloadMWLoads, Active Power
c:PnetMWExternal Networks, Active Power
c:phiudegBusbar Voltage, Angle
c:Pload_fupMWGeneral Load, Active Power, Upstream in Feeder
c:Pload_fdwnMWGeneral Load, Active Power, Downstream in Feeder
c:len_fupkmLength, Upstream in Feeder
c:len_fdwnkmLength, Downstream in Feeder
c:dist_fupkmDistance to feeder begin
c:dist_fdwnkmDistance to furthest feeder end
c:r_feedp.u.Pos. Seq. Resistance to feeder begin
c:x_feedp.u.Pos. Seq. Reactance to feeder begin

ElmTrfstat optimal power flow results

Read after ComOpf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:PtotgenMWTotal Generation, Active Power
c:QtotgenMvarTotal Generation, Reactive Power
c:PtotconsMWTotal Consumption, Active Power
c:QtotconsMvarTotal Consumption, Reactive Power
c:PgenMWGenerators, Active Power
c:QgenMvarGenerators, Reactive Power
c:SgenMVAGenerators, Apparent Power
c:cosgen·Generators, Power Factor
c:PmotMWMotor Loads, Active Power
c:QmotMvarMotor Loads, Reactive Power
c:SmotMVAMotor Loads, Apparent Power
c:cosmot·Motor Loads, Power Factor
c:PloadMWLoads, Active Power
c:QloadMvarLoads, Reactive Power
c:SloadMVALoads, Apparent Power
c:cosload·Loads, Power Factor
c:QcompMvarCompensation, C
c:QcomprMvarCompensation, L
c:PnetMWExternal Networks, Active Power
c:QnetMvarExternal Networks, Reactive Power
c:SnetMVAExternal Networks, Apparent Power
c:cosnet·External Networks, Power Factor
c:up.u.Busbar Voltage, Magnitude
c:UlkVBusbar Line-Line Voltage, Magnitude
c:phiudegBusbar Voltage, Angle
c:Pload_fupMWGeneral Load, Active Power, Upstream in Feeder
c:Pload_fdwnMWGeneral Load, Active Power, Downstream in Feeder
c:len_fupkmLength, Upstream in Feeder
c:len_fdwnkmLength, Downstream in Feeder
c:dist_fupkmDistance to feeder begin
c:dist_fdwnkmDistance to furthest feeder end
c:r_feedp.u.Pos. Seq. Resistance to feeder begin
c:x_feedp.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.

AttributeUnitDescription
b:loc_name·Name

Related

← ElmSubstat Substation · ElmZone Zone →