calculate_coefficients_for_npv

Function calculate_coefficients_for_npv 

Source
pub fn calculate_coefficients_for_npv(
    asset: &AssetRef,
    time_slice_info: &TimeSliceInfo,
    prices: &CommodityPrices,
    year: u32,
) -> ObjectiveCoefficients
Expand description

Calculates the cost coefficients for NPV.

For NPV the activity coefficient is revenue (including primary output) minus operating cost; a small positive epsilon is added to activity coefficients so that assets with near-zero net value still appear in dispatch. Capacity costs and unmet-demand penalties are set to zero for the NPV objective.