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

Adding a conditional to avoid generating unnecessary `vq_capacity` variables.

parent 12f89326
......@@ -80,7 +80,7 @@ q_obj ..
) // END sum(restypeDirectionNode)
// Capacity margin feasibility dummy variable penalties
+ sum(gn(grid, node),
+ sum(gn(grid, node)${ p_gn(grid, node, 'capacityMargin') },
+ vq_capacity(grid, node, s, f, t)
* PENALTY_CAPACITY(grid, node)
) // END sum(gn)
......
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