ElmSecctrl attributesPowerFactory Power-Frequency Controller

Every attribute of the PowerFactory Power-Frequency Controller (ElmSecctrl): 39 input parameters and 27 result variables, with units and meaning. Copy a name into GetAttribute or SetAttribute.

What ElmSecctrl is

A power-frequency controller: secondary (AGC) control that shares a power change between generators to bring frequency and interchange back.

Class
ElmSecctrl, element class
PowerFactory name
Power-Frequency Controller
Attributes
39 input parameters and 27 result variables, in 3 calculations

Read and write ElmSecctrl in Python

import powerfactory

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

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

obj = app.GetCalcRelevantObjects("*.ElmSecctrl")[0]
obj.SetAttribute("outserv", 1)                # switch the controller off
  • An input parameter is read and written with or without its e: prefix: GetAttribute("outserv") and GetAttribute("e:outserv") give the same value.

ElmSecctrl 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
sernum·Serial Number
manuf·Manufacturer
commissionDate·Commissioning Date
appr_modby·Modified by
outserv·Out of Service
i_net·Control Mode
iexchange·Exchange for
imode·Active Power Distribution
constr·Year of Construction
appr_status·Status
psetpMWPower Setpoint
dReserveMWMinimum Control Reserve
PexmaxMWMaximum Power Interchange
KpfMW/HzFrequency Bias
appr_modif·Modified
cimRdfId·RDF ID
desc·Description
fold_id·In Folder
rembar·Busbar for Frequency MeasurementObject: StaBar*,ElmTerm*
pPmeas·Boundary/Zone/AreaObject: ElmBoundary,ElmArea,ElmZone
doc_id·Additional Data
pOwner·OwnerObject: ElmOwner
pOperator·OperatorObject: ElmOperator
psym·MachinesObject: ElmSym,ElmGenstat,ElmVscmono,ElmVsc,ElmVac,ElmXnet,ElmPvsys
cpHeadFold·Head Folder
cpGrid·GridObject: ElmNet
cpOwner·OwnerObject: ElmOwner
cpOperator·OperatorObject: ElmOperator
cpBranch·BranchObject: ElmBranch
cpSite·SiteObject: ElmSite
cpSubstat·SubstationObject: ElmSubstat,ElmTrfstat
cDisplayName·Display Name
cvpp%Active Power Percentage
cmo·Merit Order
qdslCtrl·Quasi-Dynamic ModelObject: ElmQdsl

ElmSecctrl load flow results

Read after ComLdf with GetAttribute. c: calculation parameter, s: signal (state or model variable).

AttributeUnitDescription
c:rembar·Controlled Busbar
c:piniMWActive Power Setpoint
c:imode·Control Mode
c:i_modus·Control Mode 0=phi 1=p
c:phiuradPhase Angle
c:PExchMWPower Exchange
c:PctrlLimMWController Output Limit
c:nCtrlIter·No. of CTRL-iterations
c:i_phase·Controlled Phase
s:psetMWActive Power Setpoint
s:dpscoMWController Output

ElmSecctrl dc load flow results

Read after ComLdf (DC) with GetAttribute. c: calculation parameter, s: signal (state or model variable).

AttributeUnitDescription
c:rembar·Controlled Busbar
c:piniMWActive Power Setpoint
c:imode·Control Mode
c:i_modus·Control Mode 0=phi 1=p
c:phiuradPhase Angle
c:PExchMWPower Exchange
c:PctrlLimMWController Output Limit
s:dpscoMWController Output

ElmSecctrl optimal power flow results

Read after ComOpf with GetAttribute. c: calculation parameter.

AttributeUnitDescription
c:rembar·Controlled Busbar
c:piniMWActive Power Setpoint
c:imode·Control Mode
c:i_modus·Control Mode 0=phi 1=p
c:phiuradPhase Angle
c:PExchMWPower Exchange
c:PctrlLimMWController Output Limit
c:nCtrlIter·No. of CTRL-iterations

ElmSecctrl basic data

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

AttributeUnitDescription
b:loc_name·Name
b:n_sym·Number of Machines
b:i_modus·Control Mode 0=phi 1=p
b:i_net·Control Area Exchange

Related

← ElmRelay Relay · ElmStactrl Station Control →