Commit 3877f80b authored by jussi ikäheimo's avatar jussi ikäheimo
Browse files

Issue 60: set limits for online variables. Has not been tested.

parent 35051377
......@@ -147,8 +147,8 @@ Sets
* extraRes "Use extra tertiary reserves for error in elec. load during time step" // NOT IMPLEMENTED
* rampSched "Use power based scheduling" // PARTIALLY IMPLEMENTED
scenRed "Reduce number of long-tem scenarios using GAMS SCENRED2"
/
checkUnavailability "Take into account ts_unit unavailability data"
/
* --- Set to declare time series that will be read between solves ------------------------------------------------------
timeseries "Names of time series that could be loop read from files between solves" /
ts_unit
......@@ -275,6 +275,7 @@ param_unit "Set of possible data parameters for units" /
availability "Availability of given energy conversion technology (p.u.)"
useInitialOnlineStatus "A flag to fix the online status of a unit for the first time step (binary)"
initialOnlineStatus "Initial online status of the unit in the first time step (0-1)"
unavailability "Unavailability of given energy conversion technology (p.u.)"
omCosts "Variable operation and maintenance costs (EUR/MWh)"
startCostCold "Variable start-up costs for cold starts excluding fuel costs (EUR/MW)"
startCostWarm "Variable start-up costs for warm starts excluding fuel costs (EUR/MW)"
......
This diff is collapsed.
......@@ -216,10 +216,17 @@ loop(ms(mSolve, s),
// LP variant
v_online_LP.up(unit, sft(s, f, t))${uft_onlineLP(unit, f, t) and not unit_investLP(unit)}
= p_unit(unit, 'unitCount')
* (1 - ts_unit_(unit, 'unavailability', f, t))${active(mSolve, 'checkUnavailability')
and ts_unit_(unit, 'unavailability', f, t) > 0
}
;
// MIP variant
v_online_MIP.up(unit, sft(s, f, t))${uft_onlineMIP(unit, f, t) and not unit_investMIP(unit)}
= p_unit(unit, 'unitCount')
* (1 - ts_unit_(unit, 'unavailability', f, t))${active(mSolve, 'checkUnavailability')
and ts_unit_(unit, 'unavailability', f, t) > 0
}
;
// Free the upper bound of start-up and shutdown variables (if previously bounded)
......
This diff is collapsed.
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