From 8dbcca560cd47d58d098dd91e751efd45314b8e7 Mon Sep 17 00:00:00 2001 From: virio-andreyana <114650479+virio-andreyana@users.noreply.github.com> Date: Sat, 3 Jun 2023 12:09:51 +0200 Subject: [PATCH] minor fixes in solve_network.py --- scripts/solve_network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/solve_network.py b/scripts/solve_network.py index ab1175ab..ea5446ad 100644 --- a/scripts/solve_network.py +++ b/scripts/solve_network.py @@ -147,7 +147,7 @@ def prepare_network( config=None, foresight_param=None, planning_horizons_param=None, - co2_sequestration_potential=None, + co2_sequestration_potential_param=None, ): if "clip_p_max_pu" in solve_opts: for df in ( @@ -688,7 +688,7 @@ if __name__ == "__main__": config=snakemake.config, foresight_param=snakemake.params["foresight"], planning_horizons_param=snakemake.params["planning_horizons"], - co2_sequestration_potential=snakemake.params["co2_sequestration_potential"], + co2_sequestration_potential_param=snakemake.params["co2_sequestration_potential"], ) n = solve_network(