pub fn read_processes(
model_dir: &Path,
commodities: &CommodityMap,
region_ids: &HashSet<RegionID>,
time_slice_info: &TimeSliceInfo,
milestone_years: &[u32],
) -> Result<ProcessMap>
Expand description
Read process information from the specified CSV files.
§Arguments
model_dir
- Folder containing model configuration filescommodities
- Commodities for the modelregion_ids
- All possible region IDstime_slice_info
- Information about seasons and times of dayyear_range
- The possible range of milestone years
§Returns
This function returns a map of processes, with the IDs as keys.