From d751f4694d713505be004af3da9a8634e1328f76 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Mon, 3 Jul 2023 18:58:15 +0200 Subject: [PATCH] Update scripts/prepare_network.py --- scripts/prepare_network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prepare_network.py b/scripts/prepare_network.py index 1c286818..7b7f77f9 100755 --- a/scripts/prepare_network.py +++ b/scripts/prepare_network.py @@ -349,8 +349,8 @@ if __name__ == "__main__": n, s_nom_max_set=snakemake.params.lines.get("s_nom_max", np.inf), p_nom_max_set=snakemake.params.links.get("p_nom_max", np.inf), - s_nom_max_set=snakemake.params.lines.get("max_extension", np.inf), - p_nom_max_set=snakemake.params.links.get("max_extension", np.inf), + s_nom_max_ext=snakemake.params.lines.get("max_extension", np.inf), + p_nom_max_ext=snakemake.params.links.get("max_extension", np.inf), ) if "ATK" in opts: