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_asset_constraints
Add asset-level constraints
add_commodity_balance_constraints 🔒
Add asset-level input-output commodity balances.

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