pub fn read_process_investment_constraints(
model_dir: &Path,
processes: &ProcessMap,
milestone_years: &[u32],
) -> Result<HashMap<ProcessID, ProcessInvestmentConstraintsMap>>Expand description
Read the process investment constraints CSV file.
This file contains information about investment constraints that limit how processes can be deployed (growth rates, absolute additions, capacity limits).
§Arguments
model_dir- Folder containing model configuration filesprocesses- Map of processes to validate againstmilestone_years- Milestone years of simulation to validate against
§Returns
A HashMap<ProcessID, ProcessInvestmentConstraintsMap> mapping process IDs to their
investment-constraints maps, or an error.