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

Fix spill variable explanation

Spill variable `v_spill` is actually treated as spill rate (MWh/h) in the equations, so fixed the description.
Result parameter `r_spill` is expressed in absolute energy, so rate must be multiplied with the step length.
parent a8bb1b1d
......@@ -43,7 +43,7 @@ Positive variables
v_startup_LP(unit, starttype, s, f, t) "Sub-units started up after/during an interval (p.u.), (LP variant)"
v_shutdown_LP(unit, s, f, t) "Sub-units shut down after/during an interval (p.u.) (LP variant)"
v_genRampUpDown(grid, node, unit, slack, s, f, t) "Change in energy generation or consumption over an interval, separated into different 'slacks' (MW/h)"
v_spill(grid, node, s, f, t) "Spill of energy from storage node during an interval (MWh)"
v_spill(grid, node, s, f, t) "Spill of energy from storage node during an interval (MWh/h)"
v_transferRightward(grid, node, node, s, f, t) "Average electricity transmission level from the first node to the second node during an interval (MW)"
v_transferLeftward(grid, node, node, s, f, t) "Average electricity transmission level from the second node to the first node during an interval (MW)"
v_resTransferRightward(restype, up_down, grid, node, node, s, f, t) "Electricity transmission capacity from the first node to the second node reserved for providing reserves (MW)"
......
......@@ -136,7 +136,7 @@ loop(s_realized(s),
;
// Energy spilled from nodes
r_spill(gn, f, startp(t))$sft_realized(s, f, t)
= v_spill.l(gn, s, f, t)
= v_spill.l(gn, s, f, t) * p_stepLength(mSolve, 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