pub fn perform_dispatch_optimisation<'a>(
model: &'a Model,
assets: &AssetPool,
year: u32,
) -> Result<Solution<'a>>
Expand description
Perform the dispatch optimisation.
For a detailed description, please see the dispatch optimisation formulation.
§Arguments
model
- The modelassets
- The asset poolyear
- Current milestone year
§Returns
A solution containing new commodity flows for assets and prices for (some) commodities.