pub fn get_demand_limiting_capacity(
time_slice_info: &TimeSliceInfo,
asset: &Asset,
commodity: &Commodity,
demand: &DemandMap,
) -> CapacityExpand description
Returns the minimum installed capacity required for asset to satisfy the demand that it can
potentially serve, accounting for its activity constraints.
The returned value is the maximum capacity requirement implied by any time-slice selection, since constraints at coarser aggregation levels (e.g. seasonal or annual limits) can require more capacity than constraints at the finest time-slice level.
Demand is evaluated using the commodity’s balance level. Demand within a balance bucket is treated as fungible: if the asset is capable of operating in any constituent time slice of a bucket, then all demand in that bucket is considered serviceable by the asset.
Selections whose maximum supply is zero are ignored. Such selections would otherwise imply an infinite capacity requirement and therefore provide no useful lower bound.