Function calculate_lcox

Source
fn calculate_lcox(
    model: &Model,
    asset: &AssetRef,
    max_capacity: Option<Capacity>,
    commodity: &Commodity,
    reduced_costs: &ReducedCosts,
    demand: &IndexMap<TimeSliceID, Flow>,
) -> Result<AppraisalOutput>
Expand description

Calculate LCOX for a hypothetical investment in the given asset.

This is more commonly referred to as Levelised Cost of Electricity, but as the model can include other flows, we use the term LCOX.