Skip to content

Commit 580fa14

Browse files
committed
also adjust VOM and fixed to inflation
1 parent c3766b2 commit 580fa14

8 files changed

+3043
-3039
lines changed

outputs/costs_2020.csv

+434-434
Large diffs are not rendered by default.

outputs/costs_2025.csv

+434-434
Large diffs are not rendered by default.

outputs/costs_2030.csv

+434-434
Large diffs are not rendered by default.

outputs/costs_2035.csv

+434-434
Large diffs are not rendered by default.

outputs/costs_2040.csv

+434-434
Large diffs are not rendered by default.

outputs/costs_2045.csv

+434-434
Large diffs are not rendered by default.

outputs/costs_2050.csv

+434-434
Large diffs are not rendered by default.

scripts/compile_cost_assumptions.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
'solar-rooftop commercial',
213213
'offwind',
214214
'electrolysis']
215+
215216
# %% -------- FUNCTIONS ---------------------------------------------------
216217

217218
def get_excel_sheets(excel_files):
@@ -645,7 +646,10 @@ def adjust_for_inflation(costs, techs, ref_year):
645646
"""
646647

647648
inflation = (1 + snakemake.config['rate_inflation'])**(ref_year - snakemake.config['eur_year'])
648-
costs.loc[(techs, 'investment'), 'value'] /= inflation
649+
paras = ["investment", "VOM", "fixed"]
650+
filter_i = costs.index.get_level_values(0).isin(techs) & costs.index.get_level_values(1).isin(paras)
651+
costs.loc[filter_i, 'value'] /= inflation
652+
649653

650654
return costs
651655

0 commit comments

Comments
 (0)