Skip to content

Commit

Permalink
also adjust VOM and fixed to inflation
Browse files Browse the repository at this point in the history
  • Loading branch information
lisazeyen committed Feb 5, 2024
1 parent c3766b2 commit 580fa14
Show file tree
Hide file tree
Showing 8 changed files with 3,043 additions and 3,039 deletions.
868 changes: 434 additions & 434 deletions outputs/costs_2020.csv

Large diffs are not rendered by default.

868 changes: 434 additions & 434 deletions outputs/costs_2025.csv

Large diffs are not rendered by default.

868 changes: 434 additions & 434 deletions outputs/costs_2030.csv

Large diffs are not rendered by default.

868 changes: 434 additions & 434 deletions outputs/costs_2035.csv

Large diffs are not rendered by default.

868 changes: 434 additions & 434 deletions outputs/costs_2040.csv

Large diffs are not rendered by default.

868 changes: 434 additions & 434 deletions outputs/costs_2045.csv

Large diffs are not rendered by default.

868 changes: 434 additions & 434 deletions outputs/costs_2050.csv

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion scripts/compile_cost_assumptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
'solar-rooftop commercial',
'offwind',
'electrolysis']

# %% -------- FUNCTIONS ---------------------------------------------------

def get_excel_sheets(excel_files):
Expand Down Expand Up @@ -645,7 +646,10 @@ def adjust_for_inflation(costs, techs, ref_year):
"""

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


return costs

Expand Down

0 comments on commit 580fa14

Please sign in to comment.