From 9a55c8fa7bd62344aa86a5fb1a57e056a600466f Mon Sep 17 00:00:00 2001 From: Parisra <102019906+Parisra@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:47:30 +0200 Subject: [PATCH] Update potential constraint Only implement constraint if solar-hsat option is selected in config --- scripts/solve_network.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/solve_network.py b/scripts/solve_network.py index 47a9c1e7..0d5ce1e6 100644 --- a/scripts/solve_network.py +++ b/scripts/solve_network.py @@ -918,6 +918,10 @@ def extra_functionality(n, snapshots): if EQ_o := constraints["EQ"]: add_EQ_constraints(n, EQ_o.replace("EQ", "")) + + if config["sector"]['solar_utility_singla_axis_tracking']: + add_solar_potential_constraints(n, config) + add_battery_constraints(n) add_lossy_bidirectional_link_constraints(n) add_pipe_retrofit_constraint(n)