ElmNet attributesPowerFactory Grid

Every attribute of the PowerFactory Grid (ElmNet): 19 input parameters and 346 result variables, with units and meaning. Copy a name into GetAttribute or SetAttribute.

What ElmNet is

A grid: the container that holds a network's elements. It carries the nominal frequency and grid summary results such as total generation, load and losses.

Class
ElmNet, element class
PowerFactory name
Grid
Attributes
19 input parameters and 346 result variables, in 6 calculations

Most used ElmNet attributes

AttributeUnitDescriptionWhere
frnomHzNominal Frequencynominal frequencyinput data
c:PgenMWGenerators, Active Powertotal generationRMS simulation
c:PloadMWLoads, Active Powertotal loadRMS simulation
c:PlossMWLosses, Active Powertotal lossesRMS simulation

Read and write ElmNet in Python

import powerfactory

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

for grid in app.GetCalcRelevantObjects("*.ElmNet"):
    print(grid.loc_name, grid.GetAttribute("frnom")) # Nominal Frequency

grid = app.GetCalcRelevantObjects("*.ElmNet")[0]
grid.SetAttribute("frnom", 50)                # nominal frequency 50 Hz
  • 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.

ElmNet 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
appr_statusยทStatus
fictborderยทFictitious border grid
icolorยทColour
iInterChgยทConsider Interchange Schedule
isConsSpinReserveยทMin. spinning reserve constraint
frnomHzNominal Frequency
InterPsetMWScheduled Active Power Interchange
spinReserveMWSpinning reserve
appr_modifยทModified
cimRdfIdยทRDF ID
descยทDescription
ownerยทOwner
pDiagramยทDiagramObject: IntGrfnet
contentsยทContents

ElmNet load flow results

Read after ComLdf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:n_eleยทNumber of Elements
c:n_areaยทNumber of Connected Grids
c:n_voltยทNumber of Voltage Levels
c:n_staยทNo. of Substations
c:n_barยทNo. of Busbars
c:n_termยทNo. of Terminals
c:n_lneยทNo. of Lines
c:n_2wtยทNo. of 2-w Trfs.
c:n_3wtยทNo. of 3-w Trfs.
c:n_4wtยทNo. of 4-w Trfs.
c:n_symยทNo. of syn. Machines
c:n_asmยทNo. of asyn. Machines
c:n_stgยทNo. of Static Generators
c:n_pvsยทNo. of PV Systems
c:n_lodยทNo. of Loads
c:n_svsยทNo. of SVS
c:n_statcomยทNo. of STATCOM
c:n_shntยทNo. of Shunts/Filters
c:n_otherยทNo. of Other Elements
c:n_isoยทNo. of Isolated Areas
c:n_isooffยทNo. of Unsupplied Isolated Areas
c:TotgenPMWTotal Generation, Active Power
c:TotgenQMvarTotal Generation, Reactive Power
c:TotconsPMWTotal Consumption, Active Power
c:TotconsQMvarTotal Consumption, Reactive Power
c:GenPMWGenerators, Active Power
c:GenQMvarGenerators, Reactive Power
c:GenSMVAGenerators, Apparent Power
c:GencosยทGenerators, Power Factor
c:GenPnomMWGenerators, Nominal Active Power
c:GenQnomMvarGenerators, Nominal Reactive Power
c:GenSnomMVAGenerators, Nominal Apparent Power
c:GenPdiffMWGenerators, difference between nominal and actual active power
c:GenQdiffMvarGenerators, difference between nominal and actual reactive power
c:GencosnomยทGenerators, Nominal Power Factor
c:GenPdispMWGenerators, Dispatch Active Power
c:GenPmismMWGenerators, difference between actual and dispatched active power
c:GenPspinresMWGenerators, difference between maximum and actual active power
c:GenQspinresMvarGenerators, difference between maximum and actual reactive power
c:MotPMWMotor Loads, Active Power
c:MotQMvarMotor Loads, Reactive Power
c:MotSMVAMotor Loads, Apparent Power
c:MotcosยทMotor Loads, Power Factor
c:LoadPMWLoads, Active Power
c:LoadQMvarLoads, Reactive Power
c:LoadSMVALoads, Apparent Power
c:LoadcosยทLoads, Power Factor
c:LoadPnomMWLoads, Nominal Active Power
c:LoadQnomMvarLoads, Nominal Reactive Power
c:LoadSnomMVALoads, Nominal Apparent Power
c:LoadcosnomยทLoads, Nominal Power Factor
c:LoadPdiffMWLoads, difference between nominal and actual active power
c:LoadQdiffMvarLoads, difference between nominal and actual reactive power
c:LoadPdemMWLoads, Active Power Demand
c:LoadPmismMWLoads, difference between actual active power and demand
c:CompPMWCompensation (Losses)
c:CompQMvarCompensation, C
c:ComprQMvarCompensation, L
c:NetPMWExternal Networks, Active Power
c:NetQMvarExternal Networks, Reactive Power
c:NetSMVAExternal Networks, Apparent Power
c:NetcosยทExternal Networks, Power Factor
c:InterPMWInterchange Flow, Active Power
c:InterQMvarInterchange Flow, Reactive Power
c:LossPMWLosses, Active Power
c:LossQMvarLosses, Reactive Power
c:LossPldMWLosses, Active Power (load)
c:LossQldMvarLosses, Reactive Power (load)
c:LossPnldMWLosses, Active Power (no load)
c:LossQnldMvarLosses, Reactive Power (no load)
c:LossPlneMWLine Losses, Active Power
c:LossQlneMvarLine Losses, Reactive Power
c:LossPldlneMWLine Losses, Active Power (load)
c:LossQldlneMvarLine Losses, Reactive Power (load)
c:LossPnldlneMWLine Losses, Active Power (no load)
c:LossQnldlneMvarLine Losses, Reactive Power (no load)
c:LossPtrfMWTransformer Losses, Active Power
c:LossQtrfMvarTransformer Losses, Reactive Power
c:LossPldtrfMWTransformer Losses, Active Power (load)
c:LossQldtrfMvarTransformer Losses, Reactive Power (load)
c:LossPnldtrfMWTransformer Losses, Active Power (no load)
c:LossQnldtrfMvarTransformer Losses, Reactive Power (no load)
c:TotLoadPMWTotal Load, Active Power
c:TotLoadQMvarTotal Load, Reactive Power
c:TotLoadSMVATotal Load, Apparent Power
c:TotLoadcosยทTotal Load, Power Factor
c:TotPMWTotal Demand
c:UnsupPMWUnsupplied Demand
c:SupPMWSupplied Demand
c:isummaryยทFlag for Summary Grid
c:n_custยทNumber of Customers
c:n_cunsupยทNumber of unsupplied Customers
c:n_unsupยทNumber of unsupplied Loads
c:ptotMWTotal Area Exchange Power
c:ExportPMWExport, Active Power
c:ExportQMvarExport, Reactive Power
c:ImportPMWImport, Active Power
c:ImportQMvarImport, Reactive Power
c:cst_dispUSD/hTotal Production Costs
c:NrOvlBranchยทNumber of overloaded branch components
c:NrTermMinยทNumber of terminals below their minimum voltage limit
c:NrTermMaxยทNumber of terminals above their maximum voltage limit
c:Maxloading%Maximum Loading
c:NrGenQMaxยทNumber of generators above their maximum reactive power limit
c:NrGenQMinยทNumber of generators below their minimum reactive power limit
c:uminp.u.Minimum voltage of all terminals
c:umaxp.u.Maximum voltage of all terminals
c:uphtminp.u.Minimum voltage of all terminals
c:uphtmaxp.u.Maximum voltage of all terminals

ElmNet rms simulation results

Read after ComInc (RMS) with GetAttribute. c: calculation parameter.

AttributeUnitDescription
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:PcompMWCompensation (Losses)
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:PinterMWInterchange Flow, Active Power
c:QinterMvarInterchange Flow, Reactive Power
c:PlossMWLosses, Active Power
c:QlossMvarLosses, Reactive Power
c:isummaryยทFlag for Summary Grid
c:PtMWTurbine Power
c:PresMWAvailable-Reserve

ElmNet emt simulation results

Read after ComInc (EMT) with GetAttribute. c: calculation parameter.

AttributeUnitDescription
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:PcompMWCompensation (Losses)
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:PinterMWInterchange Flow, Active Power
c:QinterMvarInterchange Flow, Reactive Power
c:PlossMWLosses, Active Power
c:QlossMvarLosses, Reactive Power
c:isummaryยทFlag for Summary Grid
c:PtMWTurbine Power
c:PresMWAvailable Reserve

ElmNet dc load flow results

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

AttributeUnitDescription
c:n_eleยทNumber of Elements
c:n_areaยทNumber of Connected Grids
c:n_voltยทNumber of Voltage Levels
c:n_staยทNo. of Substations
c:n_barยทNo. of Busbars
c:n_termยทNo. of Terminals
c:n_lneยทNo. of Lines
c:n_2wtยทNo. of 2-w Trfs.
c:n_3wtยทNo. of 3-w Trfs.
c:n_4wtยทNo. of 4-w Trfs.
c:n_symยทNo. of syn. Machines
c:n_asmยทNo. of asyn. Machines
c:n_stgยทNo. of Static Generators
c:n_pvsยทNo. of PV Systems
c:n_lodยทNo. of Loads
c:n_svsยทNo. of SVS
c:n_statcomยทNo. of STATCOM
c:n_shntยทNo. of Shunts/Filters
c:n_otherยทNo. of Other Elements
c:n_isoยทNo. of Isolated Areas
c:n_isooffยทNo. of Unsupplied Isolated Areas
c:TotgenPMWTotal Generation, Active Power
c:TotconsPMWTotal Consumption, Active Power
c:GenPMWGenerators, Active Power
c:GenPnomMWGenerators, Nominal Active Power
c:GenPdiffMWGenerators, difference between nominal and actual active power
c:GenPdispMWGenerators, Dispatch Active Power
c:GenPmismMWGenerators, difference between actual and dispatched active power
c:GenPspinresMWGenerators, difference between maximum and actual active power
c:MotPMWMotor Loads, Active Power
c:LoadPMWLoads, Active Power
c:LoadPnomMWLoads, Nominal Active Power
c:LoadPdiffMWLoads, difference between nominal and actual active power
c:LoadPdemMWLoads, Active Power Demand
c:LoadPmismMWLoads, difference between actual active power and demand
c:NetPMWExternal Networks, Active Power
c:InterPMWInterchange Flow, Active Power
c:TotLoadPMWTotal Load, Active Power
c:TotPMWTotal Demand
c:UnsupPMWUnsupplied Demand
c:SupPMWSupplied Demand
c:isummaryยทFlag for Summary Grid
c:n_custยทNumber of Customers
c:n_cunsupยทNumber of unsupplied Customers
c:n_unsupยทNumber of unsupplied Loads
c:ptotMWTotal Area Exchange Power
c:ExportPMWExport, Active Power
c:ImportPMWImport, Active Power
c:cst_dispUSD/hTotal Production Costs
c:NrOvlBranchยทNumber of overloaded branch components
c:Maxloading%Maximum Loading

Read after ComMod with GetAttribute. c: calculation parameter.

AttributeUnitDescription
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:PcompMWCompensation (Losses)
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:PinterMWInterchange Flow, Active Power
c:QinterMvarInterchange Flow, Reactive Power
c:PlossMWLosses, Active Power
c:QlossMvarLosses, Reactive Power
c:isummaryยทFlag for Summary Grid
c:PtMWTurbine Power
c:PresMWAvailable-Reserve

ElmNet optimal power flow results

Read after ComOpf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:n_eleยทNumber of Elements
c:n_areaยทNumber of Connected Grids
c:n_voltยทNumber of Voltage Levels
c:n_staยทNo. of Substations
c:n_barยทNo. of Busbars
c:n_termยทNo. of Terminals
c:n_lneยทNo. of Lines
c:n_2wtยทNo. of 2-w Trfs.
c:n_3wtยทNo. of 3-w Trfs.
c:n_4wtยทNo. of 4-w Trfs.
c:n_symยทNo. of syn. Machines
c:n_asmยทNo. of asyn. Machines
c:n_stgยทNo. of Static Generators
c:n_pvsยทNo. of PV Systems
c:n_lodยทNo. of Loads
c:n_svsยทNo. of SVS
c:n_statcomยทNo. of STATCOM
c:n_shntยทNo. of Shunts/Filters
c:n_otherยทNo. of Other Elements
c:n_isoยทNo. of Isolated Areas
c:n_isooffยทNo. of Unsupplied Isolated Areas
c:TotgenPMWTotal Generation, Active Power
c:TotgenQMvarTotal Generation, Reactive Power
c:TotconsPMWTotal Consumption, Active Power
c:TotconsQMvarTotal Consumption, Reactive Power
c:GenPMWGenerators, Active Power
c:GenQMvarGenerators, Reactive Power
c:GenSMVAGenerators, Apparent Power
c:GencosยทGenerators, Power Factor
c:GenPnomMWGenerators, Nominal Active Power
c:GenQnomMvarGenerators, Nominal Reactive Power
c:GenSnomMVAGenerators, Nominal Apparent Power
c:GenPdiffMWGenerators, difference between nominal and actual active power
c:GenQdiffMvarGenerators, difference between nominal and actual reactive power
c:GencosnomยทGenerators, Nominal Power Factor
c:GenPdispMWGenerators, Dispatch Active Power
c:GenPmismMWGenerators, difference between actual and dispatched active power
c:GenPspinresMWGenerators, difference between maximum and actual active power
c:GenQspinresMvarGenerators, difference between maximum and actual reactive power
c:MotPMWMotor Loads, Active Power
c:MotQMvarMotor Loads, Reactive Power
c:MotSMVAMotor Loads, Apparent Power
c:MotcosยทMotor Loads, Power Factor
c:LoadPMWLoads, Active Power
c:LoadQMvarLoads, Reactive Power
c:LoadSMVALoads, Apparent Power
c:LoadcosยทLoads, Power Factor
c:LoadPnomMWLoads, Nominal Active Power
c:LoadQnomMvarLoads, Nominal Reactive Power
c:LoadSnomMVALoads, Nominal Apparent Power
c:LoadcosnomยทLoads, Nominal Power Factor
c:LoadPdiffMWLoads, difference between nominal and actual active power
c:LoadQdiffMvarLoads, difference between nominal and actual reactive power
c:LoadPdemMWLoads, Active Power Demand
c:LoadPmismMWLoads, difference between actual active power and demand
c:CompPMWCompensation (Losses)
c:CompQMvarCompensation, C
c:ComprQMvarCompensation, L
c:NetPMWExternal Networks, Active Power
c:NetQMvarExternal Networks, Reactive Power
c:NetSMVAExternal Networks, Apparent Power
c:NetcosยทExternal Networks, Power Factor
c:InterPMWInterchange Flow, Active Power
c:InterQMvarInterchange Flow, Reactive Power
c:LossPMWLosses, Active Power
c:LossQMvarLosses, Reactive Power
c:LossPldMWLosses, Active Power (load)
c:LossQldMvarLosses, Reactive Power (load)
c:LossPnldMWLosses, Active Power (no load)
c:LossQnldMvarLosses, Reactive Power (no load)
c:LossPlneMWLine Losses, Active Power
c:LossQlneMvarLine Losses, Reactive Power
c:LossPldlneMWLine Losses, Active Power (load)
c:LossQldlneMvarLine Losses, Reactive Power (load)
c:LossPnldlneMWLine Losses, Active Power (no load)
c:LossQnldlneMvarLine Losses, Reactive Power (no load)
c:LossPtrfMWTransformer Losses, Active Power
c:LossQtrfMvarTransformer Losses, Reactive Power
c:LossPldtrfMWTransformer Losses, Active Power (load)
c:LossQldtrfMvarTransformer Losses, Reactive Power (load)
c:LossPnldtrfMWTransformer Losses, Active Power (no load)
c:LossQnldtrfMvarTransformer Losses, Reactive Power (no load)
c:TotLoadPMWTotal Load, Active Power
c:TotLoadQMvarTotal Load, Reactive Power
c:TotLoadSMVATotal Load, Apparent Power
c:TotLoadcosยทTotal Load, Power Factor
c:TotPMWTotal Demand
c:UnsupPMWUnsupplied Demand
c:SupPMWSupplied Demand
c:isummaryยทFlag for Summary Grid
c:n_custยทNumber of Customers
c:n_cunsupยทNumber of unsupplied Customers
c:n_unsupยทNumber of unsupplied Loads
c:ptotMWTotal Area Exchange Power
c:ExportPMWExport, Active Power
c:ExportQMvarExport, Reactive Power
c:ImportPMWImport, Active Power
c:ImportQMvarImport, Reactive Power
c:cst_dispUSD/hTotal Production Costs
c:NrOvlBranchยทNumber of overloaded branch components
c:NrTermMinยทNumber of terminals below their minimum voltage limit
c:NrTermMaxยทNumber of terminals above their maximum voltage limit
c:Maxloading%Maximum Loading
c:NrGenQMaxยทNumber of generators above their maximum reactive power limit
c:NrGenQMinยทNumber of generators below their minimum reactive power limit
c:uminp.u.Minimum voltage of all terminals
c:umaxp.u.Maximum voltage of all terminals
c:QtargetDeltaMvarTotal deviation from Q target values

ElmNet basic data

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

AttributeUnitDescription
b:loc_nameยทName
b:n_eleยทNumber of Elements
b:n_areaยทNumber of Connected Grids
b:frnomยทNominal Frequency

Related

โ† ElmFeeder Feeder ยท ElmSubstat Substation โ†’