ElmBmu attributesPowerFactory Virtual Power Plant
Every attribute of the PowerFactory Virtual Power Plant (ElmBmu): 122 input parameters and 11 result variables, with units and meaning. Copy a name into GetAttribute or SetAttribute.
What ElmBmu is
A virtual power plant: a group of generators dispatched together towards one active power setpoint.
- Class
ElmBmu, element class- PowerFactory name
- Virtual Power Plant
- Attributes
- 122 input parameters and 11 result variables, in 2 calculations
Read and write ElmBmu in Python
import powerfactory
app = powerfactory.GetApplication() # GetApplicationExt() from outside PowerFactory
for obj in app.GetCalcRelevantObjects("*.ElmBmu"):
print(obj.loc_name, obj.GetAttribute("loc_name")) # Name
obj = app.GetCalcRelevantObjects("*.ElmBmu")[0]
obj.SetAttribute("loc_name", "VPP 1") # rename it
- An input parameter is read and written with or without its
e:prefix:GetAttribute("outserv")andGetAttribute("e:outserv")give the same value.
ElmBmu 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 |
outserv | · | Out of Service |
appr_status | · | Status |
iAdjustQ | · | Adjust Reactive Power accordingly |
distr_mod | · | Distribution Mode |
priority | · | Virtual Power Plant, Merit Order |
plantUsage | · | Power plant usage |
isCtrlP | · | Active power |
isCtrlQ | · | Reactive power |
isMustRunUC | · | Must run |
ctrlUsageP | · | Active Power |
ctrlUsageQ | · | Reactive Power |
isBmuPlims | · | Active power operational limits |
isLimPmax | · | Max. |
isLimPmin | · | Min. |
isBmuQlims | · | Reactive power operational limits |
isLimQmax | · | Max. |
isLimQmin | · | Min. |
consumMode | · | Separate consumption mode |
isConsCostOp | · | Operating costs |
discMethCostOp | · | Piecewise linearisation for LP |
numBreakpointsCostOp | · | Number of breakpoints |
isConsCostsRedispatch | · | Additional redispatch costs |
isConsStartUpCost | · | Start-up costs |
isConsShutDownCost | · | Shut-down costs |
isConstrRamp | · | Ramp rate constraints |
isConstrUpDown | · | Start-up/shut-down time constraints |
isDiscreteCtrlP | · | Restriction to discrete active power values |
isPcurrAllowed | · | Allow current active power value |
isBmuCurtailCosts | · | Costs for curtailment |
iInterPol | · | Approximation |
polyDegree | · | Polynomial degree |
powerDistrMethod | · | Power distribution |
isRespectLims | · | Respect individual operational machine limits |
Ptot | MW | Active Power Setpoint |
Pmin | MW | Min. |
Pmax | MW | Max. |
Qmin | Mvar | Min. |
Qmax | Mvar | Max. |
smoothfac | % | Smoothing factor |
PminConsum | MW | Min. |
PmaxConsum | MW | Max. |
costCurtailment | USD/MWh | Costs for curtailment |
penaltyCosts | USD/MWh | Penalty costs |
fixedCosts | USD/h | Fixed costs |
consumCosts | USD/MWh | Consumption costs |
costRedispatchUp | USD/MWh | Upward active power redispatch costs |
costRedispatchDown | USD/MWh | Downward active power redispatch costs |
costRedispatchQ | USD/Mvarh | Redispatch costs for reactive power change |
cost_up | USD | Warm-start costs |
costColdStart | USD | Cold-start costs |
coldStartTime | h | Cold-start time |
costShutDown | USD | Shut-down costs |
limRampUp | MW/h | Ramp-up limit |
limRampDown | MW/h | Ramp-down limit |
limRampStartUp | MW | Start-up ramp limit |
limRampShutDown | MW | Shut-down ramp limit |
minUpTime | h | Minimum up-time |
minDownTime | h | Minimum down-time |
appr_modif | · | Modified |
vecBreakpointsP | MW | Power |
vecStartUpTimes | >=h | Down-time |
vecStartUpCosts | USD | Start-up costs |
vecDiscreteCtrlPvals | % | Valid active power values |
cpower | MW | Power |
ccost | USD/h | Costs |
desc | · | Description |
pOpCostCurve | · | Generator cost curveObject: IntCostcurvegen |
contents | · | Scripts |
cNumDispMachAutoDisp | · | Number of dispatchable machines |
cNumFixedMachAutoDisp | · | Number of non-dispatchable machines |
cNumMachQds | · | Number of machines for storage model |
cNumCtrlsUc | · | Number of controllable machines |
Psum | MW | Max. Active Power Sum |
PsumAct | MW | Actual Active Power Sum |
machines_disp | · | Dispatchable Machines |
fixed | · | Must run |
merit_order | · | Merit Order |
machines_fix | · | Non-Dispatchable Machines |
available_fix | · | Available |
cStorage | · | Storage modelObject: ElmStorage |
cCurativeLimPSum | MW | Max. curative active power deviation |
cCurativeLimQSum | Mvar | Max. curative reactive power deviation |
cWeightedCurativeCostsP | USD/MVAh | Weighted costs sum for curative active power deviation |
cWeightedCurativeCostsQ | USD/MVAh | Weighted costs sum for curative reactive power deviation |
cPsumMin | MW | Min. |
cPsumMax | MW | Max. |
cQsumMin | Mvar | Min. |
cQsumMax | Mvar | Max. |
cPsumMinConsum | MW | Min. |
cPsumMaxConsum | MW | Max. |
avgCostsUc | USD/MWh | Average costs |
cfixedCosts | USD/h | Fixed costs |
cPenaltyCostWeightSum | USD/MWh | Penalty costs |
cFixedCostSum | USD/h | Fixed costs |
cConsumWeightCostSum | USD/MWh | Consumption costs |
cSumCostCurtailment | USD/MWh | Costs for curtailment |
cSumCostRedispUp | USD/MWh | Upward active power redispatch costs |
cSumCostRedispDown | USD/MWh | Downward active power redispatch costs |
cSumCostRedispQ | USD/Mvarh | Redispatch costs for reactive power change |
cCostShutDownSum | USD | Shut-down costs |
cLimRampUpSum | MW/h | Ramp-up limit |
cLimRampDownSum | MW/h | Ramp-down limit |
cLimRampStartUpSum | MW | Start-up ramp limit |
cLimRampShutDownSum | MW | Shut-down ramp limit |
cMinUpTimeMach | h | Minimum up-time |
cMinDownTimeMach | h | Minimum down-time |
cDiscMethCostOp | · | Piecewise linearisation for LP |
cPratedSum | MW | Pr(rated) |
cPowerDistrMethod | · | Power distribution |
colMachine | · | Machine |
colCtrlP | · | Active power control |
colCtrlQ | · | Reactive power control |
colNomPower | MVA | Rated Power |
colPrated | MW | Rated Active Power |
colGenShiftKey | % | Generation shift key |
colGenUsageBmu | · | Generator usage |
colCtrlFixedToLdfVal | · | Fix controls to Load Flow values |
ElmBmu load flow results
Read after ComLdf with GetAttribute. c: calculation parameter.
| Attribute | Unit | Description |
|---|---|---|
c:Psum | MW | Total Active Power |
c:Qsum | Mvar | Total Reactive Power |
c:cst_disp | USD/h | Total operating costs |
c:Pmin | MW | Lower limit of active power |
c:Pmax | MW | Upper limit of active power |
c:Qmin | Mvar | Lower limit of reactive power |
c:Qmax | Mvar | Upper limit of reactive power |
ElmBmu dc load flow results
Read after ComLdf (DC) with GetAttribute. c: calculation parameter.
| Attribute | Unit | Description |
|---|---|---|
c:Psum | MW | Total Active Power |
c:cst_disp | USD/h | Total operating costs |
c:Pmin | MW | Lower limit of active power |
c:Pmax | MW | Upper limit of active power |
ElmBmu basic data
b: values are worked out from the input data. Read them; they are not set.
| Attribute | Unit | Description |
|---|---|---|
b:loc_name | · | Name |