Commit da7a0e45 authored by Erkka Rinne's avatar Erkka Rinne
Browse files

Minor formatting edits

parent a6ac1136
......@@ -111,7 +111,7 @@ Sets
sft_realizedNoReset(s, f, t) "Full set of realized sft, facilitates calculation of results"
msft_realizedNoReset(mType, s, f, t) "Combination of realized samples, forecasts and t:s in the current model solve and previously realized t:s"
mft_start(mType, f, t) "Start point of the current model solve"
mf_realization(mType, f) "fRealization of the forecasts"
mf_realization(mType, f) "Realization of the forecasts"
mf_central(mType, f) "Forecast that continues as sample(s) after the forecast horizon ends"
mf_scenario(mType, f) "Forecast label that is used for long-term scenario data"
ms_initial(mType, s) "Sample that presents the realized/forecasted period"
......
......@@ -448,7 +448,15 @@ ft_reservesFixed(node, restype, f_solve(f), t_active(t))
and not tSolveFirst = mSettings(mSolve, 't_start') // No reserves are locked on the first solve!
and p_nReserves(node, restype, 'update_frequency')
and p_nReserves(node, restype, 'gate_closure')
and ord(t) <= tSolveFirst + p_nReserves(node, restype, 'gate_closure') + p_nReserves(node, restype, 'update_frequency') - mod(tSolveFirst - 1 + p_nReserves(node, restype, 'gate_closure') - mSettings(mSolve, 't_jump') + p_nReserves(node, restype, 'update_frequency') - p_nReserves(node, restype, 'update_offset'), p_nReserves(node, restype, 'update_frequency')) - mSettings(mSolve, 't_jump')
and ord(t) <= tSolveFirst + p_nReserves(node, restype, 'gate_closure')
+ p_nReserves(node, restype, 'update_frequency')
- mod(tSolveFirst - 1
+ p_nReserves(node, restype, 'gate_closure')
- mSettings(mSolve, 't_jump')
+ p_nReserves(node, restype, 'update_frequency')
- p_nReserves(node, restype, 'update_offset'),
p_nReserves(node, restype, 'update_frequency'))
- mSettings(mSolve, 't_jump')
and not [ restypeReleasedForRealization(restype) // Free desired reserves for the to-be-realized time steps
and ft_realized(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