fn calculate_npv(
model: &Model,
asset: &AssetRef,
max_capacity: Option<AssetCapacity>,
commodity: &Commodity,
coefficients: &ObjectiveCoefficients,
demand: &IndexMap<TimeSliceID, Flow>,
) -> Result<AppraisalOutput>Expand description
Calculate NPV for a hypothetical investment in the given asset.
ยงReturns
An AppraisalOutput containing the hypothetical capacity, activity profile and unmet demand.