Commit 1da5ec0b authored by Tomi J. Lindroos's avatar Tomi J. Lindroos
Browse files

Fixing r_groupReserves sum conditions

parent 70fcb9e6
......@@ -697,8 +697,8 @@ r_reserve2Reserve(gnuRescapable(restype, up_down, grid, node, unit), restype_, f
* --- Total Reserve Provision Results -----------------------------------------
// Group sum of reserves of specific types (MW)
r_groupReserve(restype, up_down, group, f, t)
= sum(gnuft(grid, node, unit, f, t)${ gnGroup(grid, node, group)
r_groupReserve(restypeDirectionGroup(restype, up_down, group), f, t)
= sum(gnu(grid, node, unit)${ gnGroup(grid, node, group)
and groupRestype(group, restype)
+ r_reserve(restype, up_down, grid, node, 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