Module optimisation

Source
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ยง

DispatchRun
Provides the interface for running the dispatch optimisation.
Solution
The solution to the dispatch optimisation problem
VariableMap
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

Type Aliasesยง

FlowMap
A map of commodity flows calculated during the optimisation
Variable ๐Ÿ”’
A decision variable in the optimisation