pub fn load_commodity_graphs<P: AsRef<Path>>(
model_dir: P,
) -> Result<HashMap<(RegionID, u32), CommoditiesGraph>>
Expand description
Load commodity flow graphs for a model.
Loads necessary input data and creates a graph of commodity flows for each region and year, where nodes are commodities and edges are processes.
Graphs validation is NOT performed. This ensures that graphs can be generated even when validation would fail, which may be helpful for debugging.