From 3d767ae08e5445ae8bdfcdac85de7e113832fadf Mon Sep 17 00:00:00 2001 From: Robert John Date: Thu, 9 Jan 2025 12:28:01 +0100 Subject: [PATCH] update costs year from fct _get_costs_year(year) --- src/egon/data/datasets/scenario_parameters/parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egon/data/datasets/scenario_parameters/parameters.py b/src/egon/data/datasets/scenario_parameters/parameters.py index 6486798ea..c32117119 100755 --- a/src/egon/data/datasets/scenario_parameters/parameters.py +++ b/src/egon/data/datasets/scenario_parameters/parameters.py @@ -646,7 +646,7 @@ def electricity(scenario): elif scenario.startswith("status"): year = int(scenario.split("status")[-1]) - costs = read_csv(year + 1) # consider end of target year + costs = read_csv(_get_costs_year(year)) parameters = {"grid_topology": "Status Quo"} # Insert effciencies in p.u.