From 5f458205dbb635b0c740d843c39f67895a867626 Mon Sep 17 00:00:00 2001 From: Toni Seibold <153275395+toniseibold@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:06:44 +0200 Subject: [PATCH] Bugfix of solar constraint in post discretization --- 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"]