revrt.costs.config.config.TransmissionConfig#
- class TransmissionConfig(config=None)[source]#
Bases:
UserDictLoad default transmission cost configuration as dictionary
This configuration dict has the following keys:
base_line_costs
iso_lookup
iso_multipliers
land_use_classes
new_substation_costs
power_classes
power_to_voltage
transformer_costs
upgrade_substation_costs
reverse_iso (dynamically computed)
voltage_to_power (dynamically computed)
line_power_to_classes (dynamically computed)
- Parameters:
config (
strordict, optional) –Dictionary of transmission cost configuration values, or path to JSON/JSON5 file containing this dictionary. The dictionary should have a subset of the following keys:
base_line_costs
iso_lookup
iso_multipliers
land_use_classes
new_substation_costs
power_classes
power_to_voltage
transformer_costs
upgrade_substation_costs
voltage_polarity_mult
row_width
Each of these keys should point to another dictionary or path to JSON/JSON5 file containing a dictionary of configurations for each section. For the expected contents of each dictionary, see the default config. If
None, values from the default config are used. By default,None.
Methods
capacity_to_kv(capacity)Convert capacity class to line voltage
kv_to_capacity(kv)Convert line voltage to capacity class
new_sub_cost(region, tie_line_voltage)Extract new substation costs
sub_upgrade_cost(region, tie_line_voltage)Extract substation upgrade costs
transformer_cost(feature_voltage, ...)Extract transformer costs
- sub_upgrade_cost(region, tie_line_voltage)[source]#
Extract substation upgrade costs
Costs are given in $ based on region and tie-line voltage rating.
- new_sub_cost(region, tie_line_voltage)[source]#
Extract new substation costs
Costs are given in $ based on region and tie-line voltage rating.