Commit 42265509 authored by ran li's avatar ran li Committed by ran li
Browse files

Adding a flag to not use dummy generation on a empty bus/node

parent bc0d6552
......@@ -207,6 +207,7 @@ Sets
param_gn "Possible parameters for grid, node" /
selfDischargeLoss "Self discharge rate of the node (MW/[v_state])"
energyStoredPerUnitOfState "A possible unit conversion if v_state uses something else than MWh (MWh/[v_state])"
disableDummyGeneration "A flag to not use dummy generation for a empty node"
boundStart "A flag to bound the first t in the run using reference constant or time series"
boundStartAndEnd "A flag that both start and end are bound using reference constant or time series"
boundEnd "A flag to bound last t in each solve based on the reference constant or time series"
......@@ -355,6 +355,7 @@ gn_stateSlack(grid, node)${ sum((slack, useConstantOrTimeSeries), p_gnBoundaryPr
// Nodes with states
gn_state(grid, node)${ gn_stateSlack(grid, node)
or p_gn(grid, node, 'energyStoredPerUnitOfState')
or p_gn(grid, node, 'disableDummyGeneration')
or sum((stateLimits, useConstantOrTimeSeries), p_gnBoundaryPropertiesForStates(grid, node, stateLimits, useConstantOrTimeSeries))
or sum(useConstantOrTimeSeries, p_gnBoundaryPropertiesForStates(grid, node, 'reference', useConstantOrTimeSeries))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment