From 09cb57c4da0cc8af635d67a8292e1a10ced7e219 Mon Sep 17 00:00:00 2001 From: ulfmueller Date: Tue, 7 Jan 2025 14:42:30 +0100 Subject: [PATCH] solved problem with the coal_exit function --- src/egon/data/datasets/pypsaeur/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/egon/data/datasets/pypsaeur/__init__.py b/src/egon/data/datasets/pypsaeur/__init__.py index 52b1baaa9..a6baf6e9c 100755 --- a/src/egon/data/datasets/pypsaeur/__init__.py +++ b/src/egon/data/datasets/pypsaeur/__init__.py @@ -1835,6 +1835,8 @@ def execute(): print("Adjusting scenarios on the myopic pathway...") + coal_exit_D() + networks = pd.Series() for i in range(0, len(data_config["scenario"]["planning_horizons"])): @@ -1897,8 +1899,6 @@ def execute(): for manipulator in scn_path.at[scn, "functions"]: network = manipulator(network) network.export_to_netcdf(path) - - coal_exit_D() elif ((data_config["foresight"] == "overnight")