pub fn read_process_availabilities(
model_dir: &Path,
process_ids: &HashSet<Rc<str>>,
time_slice_info: &TimeSliceInfo,
) -> Result<HashMap<Rc<str>, ProcessCapacityMap>>
Expand description
Read the process availabilities CSV file.
This file contains information about the availability of processes over the course of a year as a proportion of their maximum capacity.
§Arguments
model_dir
- Folder containing model configuration filesprocess_ids
- The possible valid process IDstime_slice_info
- Information about seasons and times of day
§Returns
A HashMap
with process IDs as the keys and ProcessCapacityMap
s as the values or an
error.