Function perform_dispatch_optimisation

Source
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 model
  • assets - The asset pool
  • year - Current milestone year

§Returns

A solution containing new commodity flows for assets and prices for (some) commodities.