calculate_lcox

Function calculate_lcox 

Source
fn calculate_lcox(
    model: &Model,
    asset: &AssetRef,
    max_capacity: Option<AssetCapacity>,
    commodity: &Commodity,
    coefficients: &ObjectiveCoefficients,
    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.

ยงReturns

An AppraisalOutput containing the hypothetical capacity, activity profile and unmet demand. The returned metric is the LCOX value (lower is better).