Expand description
Code for performing dispatch optimisation.
This is used to calculate commodity flows and prices.
Modulesยง
- constraints ๐
- Code for adding constraints to the dispatch optimisation problem.
Structsยง
- Dispatch
Run - Provides the interface for running the dispatch optimisation.
- Solution
- The solution to the dispatch optimisation problem
- Variable
Map - A map for easy lookup of variables in the problem.
Enumsยง
- Model
Error - Defines the possible errors that can occur when running the solver
Functionsยง
- add_
asset_ ๐variables - Add variables to the optimisation problem.
- calculate_
cost_ ๐coefficient - Calculate the cost coefficient for a decision variable.
- check_
input_ ๐prices - Sanity check for input prices.
- solve_
optimal - Try to solve the model, returning an error if the model is incoherent or result is non-optimal
Type Aliasesยง
- Asset
Variable ๐Map - The map of variables related to assets
- FlowMap
- A map of commodity flows calculated during the optimisation
- Unmet
Demand ๐Variable Map - Variables representing unmet demand for a given commodity
- Variable ๐
- A decision variable in the optimisation