From 155ddea3fcb3c09524cdefe3933ae859a413c17b Mon Sep 17 00:00:00 2001 From: lisazeyen Date: Thu, 15 Feb 2024 19:03:09 +0100 Subject: [PATCH] remove breakpoint, remove FOM adjustment --- scripts/compile_cost_assumptions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/compile_cost_assumptions.py b/scripts/compile_cost_assumptions.py index e590e7cf..5d25bdda 100644 --- a/scripts/compile_cost_assumptions.py +++ b/scripts/compile_cost_assumptions.py @@ -657,7 +657,7 @@ def adjust_for_inflation(costs, techs, ref_year, col): """ inflation = (1 + snakemake.config['rate_inflation'])**(ref_year - snakemake.config['eur_year']) - paras = ["investment", "VOM", "fixed", "fuel"] + paras = ["investment", "VOM", "fuel"] filter_i = costs.index.get_level_values(0).isin(techs) & costs.index.get_level_values(1).isin(paras) costs.loc[filter_i, col] = costs.loc[filter_i, col].div(inflation.loc[filter_i], axis=0) @@ -2275,7 +2275,6 @@ def geometric_series(nominator, denominator=1, number_of_terms=1, start=1): costs_tot = unify_diw(costs_tot) costs_tot.drop("fixed", level=1, inplace=True) - breakpoint() # adjust for inflation techs = costs_tot.index.get_level_values(0).unique() costs_tot = adjust_for_inflation(data, techs, costs_tot.currency_year, years)