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_
annual_ ๐peak_ constraints - Add constraints linking seasonal peak variables to annual peak variables for each asset.
- add_
annual_ ๐peak_ variables - Add annual peak variables to the problem for each asset.
- add_
commodity_ ๐balance_ constraints - Add asset-level input-output commodity balances.
- add_
commodity_ ๐constraints - Add explicit production and consumption constraints for commodities.
- add_
equal_ ๐utilisation_ constraints - Add constraints requiring dispatch-equivalent assets to have equal utilisation in each time slice.
- add_
model_ constraints - Add constraints for the dispatch model.
- add_
seasonal_ ๐peak_ constraints - Add constraints linking seasonal peak variables to activity variables for each (asset, season) pair.
- add_
seasonal_ ๐peak_ variables - Add seasonal peak variables to the problem for each (asset, season) pair.
- add_
utilisation_ ๐peak_ constraints - Add seasonal and annual utilisation peak constraints to the problem.
- 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.
- group_
dispatch_ ๐equivalent_ assets - Groups assets that have equivalent dispatch properties.
Type Aliasesยง
- Activity
Keys - Indicates the asset ID and time slice covered by each activity constraint
- Annual
Peak ๐Variable Map - Map containing the annual peak variables for each asset
- Commodity
Balance Keys - Indicates the commodity ID and time slice selection covered by each commodity balance constraint
- Seasonal
Peak ๐Variable Map - Map containing the seasonal peak variables for each (asset, season) pair