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