Expand description
Code for reading commodity constraints from a CSV file.
The commodity_constraints.csv file is optional. If it is provided, the
please_give_me_broken_results option in model.toml must be set to true because commodity
constraints are experimental, and not yet factored in to the investment algorithm.
Structsยง
- Commodity
Constraint ๐Raw - Constraints for each commodity
Constantsยง
Functionsยง
- read_
commodity_ constraints - Read the commodity constraints CSV file.
- read_
commodity_ ๐constraints_ from_ iter - Process raw commodity-constraint records into a constraints map.