Function calculate_npv

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

Calculate NPV for a hypothetical investment in the given asset.