pub fn calculate_candidate_asset_capacity_scale(
asset: &Asset,
commodity: &Commodity,
demand: &DemandMap,
) -> CapacityExpand description
Calculates a characteristic capacity scale for a candidate asset.
The returned value is the capacity that would satisfy the total annual demand assuming the asset operates at its maximum annual activity for the entire year. It ignores finer-grained activity constraints and temporal variations in demand.
For processes that do not define a tranche size, this value is later scaled by
capacity_tranche_fraction to set the capacity of one candidate investment tranche.
If the asset has zero maximum annual supply, zero capacity is returned. This indicates that the
asset is non-feasible, and will be excluded from consideration by select_best_assets.