Module demand

Source
Expand description

Code for working with demand for a given commodity. Demand can vary by region, year and time slice.

Structsยง

Demand ๐Ÿ”’
Represents a single demand entry in the dataset.

Constantsยง

DEMAND_FILE_NAME ๐Ÿ”’

Functionsยง

compute_demand_maps ๐Ÿ”’
Calculate the demand for each combination of commodity, region, year and time slice.
read_demand
Reads demand data from CSV files.
read_demand_file ๐Ÿ”’
Read the demand.csv file.
read_demand_from_iter ๐Ÿ”’
Read the demand data from an iterator.

Type Aliasesยง

AnnualDemandMap
A map relating commodity, region and year to annual demand