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
{{ message }}
Repository navigation
EMS-level FlowCommitments generate no coupling constraint in device_scheduler #2326
A (None, expr, None) ranged constraint has no binding side, so Pyomo emits nothing: an EMS-level FlowCommitment (no device column, no commodity filter — or a commodity filter matching all devices) is silently dropped from the model. Its deviation variables remain in the objective unconstrained, so a priced EMS-level flow commitment yields an unbounded model (HiGHS reports infeasibleOrUnbounded).
The StorageScheduler always builds flow commitments with a device or commodity scope, so production schedules are unaffected. But direct device_scheduler callers following the docstring ("Commitments are on an EMS level by default") hit this — encountered while writing test_stock_scoped_commitment_binds_group_stock in #2325.
Proposal
The bounds should presumably mirror grouped_commitment_equalities:
Activity
Bind a regular commitment to its commodity's aggregate, not each devi…