ElmArea attributesPowerFactory Area

Every attribute of the PowerFactory Area (ElmArea): 14 input parameters and 314 result variables, with units and meaning. Copy a name into GetAttribute or SetAttribute.

What ElmArea is

An area: a group of elements for summary results (generation, load, losses, interchange) and area-wide actions.

Class
ElmArea, element class
PowerFactory name
Area
Attributes
14 input parameters and 314 result variables, in 6 calculations

Read and write ElmArea in Python

import powerfactory

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

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

obj = app.GetCalcRelevantObjects("*.ElmArea")[0]
obj.SetAttribute("loc_name", "Area North")    # rename the area
  • 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.

ElmArea 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
icolor·Colour
iInterChg·Consider Interchange Schedule
isConsSpinReserve·Min. spinning reserve constraint
InterPsetMWScheduled Active Power Interchange
spinReserveMWSpinning reserve
appr_modif·Modified
desc·Description
cimRdfId·RDF ID

ElmArea load flow results

Read after ComLdf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:n_ele·Number of Elements
c:n_areas·Number of Connected Areas
c:n_volt·Number of Voltage Levels
c:n_bar·No. of Busbars
c:n_term·No. of Terminals
c:n_lne·No. of Lines
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_cust·No. of Customers
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:ExportPMWExport, Active Power
c:ExportQMvarExport, Reactive Power
c:ImportPMWImport, Active Power
c:ImportQMvarImport, Reactive Power
c:cst_dispUSD/hTotal Production Costs
c:RUC_LeadMvarUsed Reactive Capacity Lead
c:RUC_LagMvarUsed Reactive Capacity Lag
c:RSC_LeadMvarSpare Reactive Capacity Lead
c:RSC_LagMvarSpare Reactive Capacity Lag
c:Q_shgainMvarReactive Power Shunt Gain
c:ConnMvar_maxMvarConnected MVAR Capacity (max)
c:ConnMvar_minMvarConnected MVAR Capacity (min)
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

ElmArea 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:PtMWTurbine Power
c:PresMWAvailable-Reserve

ElmArea 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:PtMWTurbine Power
c:PresMWAvailable Reserve

ElmArea dc load flow results

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

AttributeUnitDescription
c:n_ele·Number of Elements
c:n_areas·Number of Connected Areas
c:n_volt·Number of Voltage Levels
c:n_bar·No. of Busbars
c:n_term·No. of Terminals
c:n_lne·No. of Lines
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_cust·Number of Customers
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: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:PtMWTurbine Power
c:PresMWAvailable-Reserve

ElmArea optimal power flow results

Read after ComOpf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:n_ele·Number of Elements
c:n_areas·Number of Connected Areas
c:n_volt·Number of Voltage Levels
c:n_bar·No. of Busbars
c:n_term·No. of Terminals
c:n_lne·No. of Lines
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_cust·No. of Customers
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:ExportPMWExport, Active Power
c:ExportQMvarExport, Reactive Power
c:ImportPMWImport, Active Power
c:ImportQMvarImport, Reactive Power
c:cst_dispUSD/hTotal Production Costs
c:RUC_LeadMvarUsed Reactive Capacity Lead
c:RUC_LagMvarUsed Reactive Capacity Lag
c:RSC_LeadMvarSpare Reactive Capacity Lead
c:RSC_LagMvarSpare Reactive Capacity Lag
c:Q_shgainMvarReactive Power Shunt Gain
c:ConnMvar_maxMvarConnected MVAR Capacity (max)
c:ConnMvar_minMvarConnected MVAR Capacity (min)
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

ElmArea 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_areas·Number of Areas

Related

← StaPll PLL Phase/Frequency Measurement · ElmBbone Backbone →