Commit e147d401 authored by Topi Rasku's avatar Topi Rasku
Browse files

Removing an unnecessary conditional from the "q_startshut" equation, as well...

Removing an unnecessary conditional from the "q_startshut" equation, as well as a slight cosmetic change to "q_resDemand".

The condition ${ ord(t) + dt(t) > mSettings(m, 't_start') } is unnecessary, as the model can currently freely decide which power plants are online on t00 without any costs in the objective function. Thus, it should no longer be necessary to neglect this equation on the first active time step.
parent 25ea3847
......@@ -316,7 +316,7 @@ q_balance(gn(grid, node), mft(m, f, t))${ not p_gn(grid, node, 'boundAll')
* --- Reserve Demand ----------------------------------------------------------
q_resDemand(restypeDirectionNode(restype, up_down, node), ft(f, t)) ${ ord(t) < tSolveFirst + sum[mf(m, f), mSettings(m, 't_reserveLength')]
q_resDemand(restypeDirectionNode(restype, up_down, node), ft(f, t)) ${ ord(t) < tSolveFirst + sum[mf(m, f), mSettings(m, 't_reserveLength')]
and not [ restypeReleasedForRealization(restype)
and ft_realized(f, t)
]
......@@ -579,7 +579,7 @@ q_maxUpward(m, gnuft(grid, node, unit, f, t))${ [ ord(t) < tSolveFirst + mSett
* --- Unit Startup and Shutdown -----------------------------------------------
q_startshut(m, uft_online(unit, f, t))${ ord(t) + dt(t) > mSettings(m, 't_start') } ..
q_startshut(m, uft_online(unit, f, t))
// Units currently online
+ v_online_LP(unit, f+df_central(f,t), t)${uft_onlineLP(unit, f, t)}
+ v_online_MIP(unit, f+df_central(f,t), t)${uft_onlineMIP(unit, f, t)}
......
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