Expand description
Code for adding constraints to the dispatch optimisation problem.
Structsยง
- Constraint
Keys - The keys for different constraints
- Keys
With Offset - Corresponding variables for a constraint along with the row offset in the solution
Functionsยง
- add_
activity_ ๐constraints - Add constraints on the activity of different assets.
- add_
commodity_ ๐balance_ constraints - Add asset-level input-output commodity balances.
- add_
model_ constraints - Add constraints for the dispatch model.
- candidate_
balance_ ๐epsilon - Calculate the epsilon to add to the lower bound of a commodity balance constraint, to force some dispatch by candidate assets so they receive a nonzero shadow price.
Type Aliasesยง
- Activity
Keys - Indicates the asset ID and time slice covered by each activity constraint
- Commodity
Balance Keys - Indicates the commodity ID and time slice selection covered by each commodity balance constraint