minor fixes in solve_network.py

This commit is contained in:
virio-andreyana 2023-06-03 12:09:51 +02:00 committed by GitHub
parent 0f5bb8b893
commit 8dbcca560c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(