Skip to content

Commit

Permalink
solved problem with the coal_exit function
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfmueller committed Jan 7, 2025
1 parent a43862f commit 09cb57c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/egon/data/datasets/pypsaeur/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])):
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 09cb57c

Please sign in to comment.