Commit ee0a7b57 authored by Juha Kiviluoma's avatar Juha Kiviluoma
Browse files

Output reserve2reserve (included in r_reserve, but there is also separate...

Output reserve2reserve (included in r_reserve, but there is also separate r_reserve2Reserve that should show just reserve to reserve provision). Should be tested.
parent a8706f87
......@@ -132,6 +132,7 @@ Parameters
r_reserve(restype, up_down, node, unit, f, t) "Unit capacity reserved for providing reserve of specific type (MW)"
r_resTransferRightward(restype, up_down, node, node, f, t) "Electricity transmission capacity from the first node to the second node reserved for providing reserves (MW)"
r_resTransferLeftward(restype, up_down, node, node, f, t) "Electricity transmission capacity from the second node to the first node reserved for providing reserves (MW)"
r_reserve2Reserve(restype, up_down, node, unit, restype, f, t) "Reserve provided for another reserve category (MW) (also included in r_reserve - this is just for debugging)"
// Interesting reserve results
r_resDemandMarginal(restype, up_down, node, f, t) "Marginal values of the q_resDemand equation"
......
......@@ -68,7 +68,15 @@ loop((restypeDirectionNode(restype, up_down, node), ft(f, t))
and ft_realized(f+df_reserves(node, restype, f, t), t)
]
}
= v_reserve.l(restype, up_down, node, unit, f+df_reserves(node, restype, f, t), t);
= + v_reserve.l(restype, up_down, node, unit, f+df_reserves(node, restype, f, t), t)
+ sum(restype_$p_nuRes2Res(node, unit, restype, up_down, restype_),
+ v_reserve.l(restype_, up_down, node, unit, f+df_reserves(node, restype_, f, t), t)
* p_nuRes2Res(node, unit, restype, up_down, restype_)
);
r_reserve2Reserve(nuRescapable(restype, up_down, node, unit), restype_, f+df_reserves(node, restype_, f, t), t)$p_nuRes2Res(node, unit, restype, up_down, restype_)
= v_reserve.l(restype_, up_down, node, unit, f+df_reserves(node, restype_, f, t), t)
* p_nuRes2Res(node, unit, restype, up_down, restype_);
// Reserve transfer capacity
r_resTransferRightward(restype, up_down, node, to_node, f+df_reserves(node, restype, f, t), 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