Module levy

Source
Expand description

Code for reading in the commodity levies CSV file.

Structsยง

CommodityLevyRaw ๐Ÿ”’
Cost parameters for each commodity

Constantsยง

COMMODITY_LEVIES_FILE_NAME ๐Ÿ”’

Functionsยง

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