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.
Functionsยง
- add_
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