You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The problem should build with slacks and should be feasible with slacks inactive
Additional context
The issue seem to be in the add_expression! function for the ActivePowerBalance type. It expects the slack variables to be declared (in a previous step) for ACBus types, but they are actually defined per Area. Replacing the types queried from the system (i.e. ACBus -> Area), fixes the use case above.
The text was updated successfully, but these errors were encountered:
Describe the bug
Problem build fails when defining a problem with an
AreaBalancePowerModel
as Network model and requesting slacksTo Reproduce
The error stack trace is as follows:
Expected behavior
The problem should build with slacks and should be feasible with slacks inactive
Additional context
The issue seem to be in the
add_expression!
function for theActivePowerBalance
type. It expects the slack variables to be declared (in a previous step) forACBus
types, but they are actually defined perArea
. Replacing the types queried from the system (i.e.ACBus
->Area
), fixes the use case above.The text was updated successfully, but these errors were encountered: