Skip to content

Commit

Permalink
Amend the epa-mvs
Browse files Browse the repository at this point in the history
Add optimized_add_cap parameter
  • Loading branch information
Bachibouzouk committed Feb 25, 2022
1 parent d1f2bc5 commit f73899f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/multi_vector_simulator/utils/data_parser.py
Expand Up @@ -59,6 +59,7 @@
LIFETIME,
MAXIMUM_CAP,
OPTIMIZE_CAP,
OPTIMIZED_ADD_CAP,
SPECIFIC_COSTS,
SPECIFIC_COSTS_OM,
SPECIFIC_REPLACEMENT_COSTS_INSTALLED,
Expand Down Expand Up @@ -136,6 +137,10 @@
"specific_replacement_costs_of_installed_capacity": SPECIFIC_REPLACEMENT_COSTS_INSTALLED,
"specific_replacement_costs_of_optimized_capacity": SPECIFIC_REPLACEMENT_COSTS_OPTIMIZED,
"asset_type": TYPE_ASSET,
"capex_fix": DEVELOPMENT_COSTS,
"capex_var": SPECIFIC_COSTS,
"opex_fix": SPECIFIC_COSTS_OM,
"opex_var": DISPATCH_PRICE,
}

MAP_MVS_EPA = {value: key for (key, value) in MAP_EPA_MVS.items()}
Expand Down Expand Up @@ -208,6 +213,7 @@
LIFETIME,
"maximum_capacity",
"optimize_capacity",
OPTIMIZED_ADD_CAP,
SPECIFIC_COSTS,
SPECIFIC_COSTS_OM,
FLOW,
Expand All @@ -226,6 +232,7 @@
LIFETIME,
"maximum_capacity",
"optimize_capacity",
OPTIMIZED_ADD_CAP,
SPECIFIC_COSTS,
SPECIFIC_COSTS_OM,
"input_timeseries",
Expand All @@ -247,6 +254,7 @@
OUTPUT_POWER,
STORAGE_CAPACITY,
"optimize_capacity",
OPTIMIZED_ADD_CAP,
"input_timeseries",
TIMESERIES_SOC,
],
Expand Down Expand Up @@ -501,7 +509,6 @@ def convert_epa_params_to_mvs(epa_dict):
if EXTRA_PARAMETERS_KEY in comparison:
warning_extra_parameters = "Following parameters are provided to the MVS that may be excess information: \n"
for group in comparison[EXTRA_PARAMETERS_KEY]:
print(dict_values[group])
warning_extra_parameters += f"- {group} ("
for parameter in comparison[EXTRA_PARAMETERS_KEY][group]:
if parameter not in [LABEL, "unique_id"]:
Expand Down

0 comments on commit f73899f

Please sign in to comment.