From 6dd41b8feed6a9c5e25432e7f0d97e98fada8459 Mon Sep 17 00:00:00 2001 From: Toni Seibold <153275395+toniseibold@users.noreply.github.com> Date: Thu, 10 Oct 2024 08:16:34 +0200 Subject: [PATCH] Bugfix of solar constraint in post discretization (#1343) --- scripts/solve_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/solve_network.py b/scripts/solve_network.py index 0cbc0ec11..3982e7679 100644 --- a/scripts/solve_network.py +++ b/scripts/solve_network.py @@ -193,7 +193,7 @@ def add_solar_potential_constraints(n, config): n.generators.loc[solar_today, "p_nom_max"] .groupby(n.generators.loc[solar_today].bus.map(location)) .sum() - - n.generators.loc[solar_hsat, "p_nom_opt"] + - n.generators.loc[solar_hsat, "p_nom"] .groupby(n.generators.loc[solar_hsat].bus.map(location)) .sum() * land_use_factors["solar-hsat"]