Module levy

Module levy 

Source
Expand description

Code for reading commodity levies from a CSV file.

Structsยง

CommodityLevyRaw ๐Ÿ”’
Cost parameters for each commodity

Constantsยง

COMMODITY_LEVIES_FILE_NAME ๐Ÿ”’

Functionsยง

add_missing_region_to_commodity_levy_map ๐Ÿ”’
Add a missing region to a commodity levy map with zero cost for all years and time slices.
read_commodity_levies
Read costs associated with each commodity from commodity_levies.csv.
read_commodity_levies_iter ๐Ÿ”’
Read commodity levies from an iterator of raw entries.
validate_commodity_levy_map ๐Ÿ”’
Validate that the commodity levy map contains entries for all regions, years and time slices.