Module constraints

Module constraints 

Source
Expand description

Code for adding constraints to the dispatch optimisation problem.

Structs§

ConstraintKeys
The keys for different constraints
KeysWithOffset
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.

Type Aliases§

ActivityKeys
Indicates the asset ID and time slice covered by each activity constraint
CommodityBalanceKeys
Indicates the commodity ID and time slice selection covered by each commodity balance constraint