fn compute_demand_maps(
demand: &AnnualDemandMap,
slices: &DemandSliceMap,
time_slice_info: &TimeSliceInfo,
) -> HashMap<Rc<str>, DemandMap>
Expand description
Calculate the demand for each combination of commodity, region, year and time slice.
§Arguments
demand
- Total annual demand for combinations of commodity, region and yearslices
- How annual demand is shared between time slicestime_slice_info
- Information about time slices
§Returns
DemandMap
s for combinations of region, year and time slice, grouped by the commodity to
which the demand applies.