From 00394a0aaf3696b8e4236dbfa39849bddded2f32 Mon Sep 17 00:00:00 2001 From: elenya-grant <116225007+elenya-grant@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:17:52 -0600 Subject: [PATCH] changed less than to less than or equa to in tilt calc function in pv_plant --- hopp/simulation/technologies/pv/pv_plant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hopp/simulation/technologies/pv/pv_plant.py b/hopp/simulation/technologies/pv/pv_plant.py index 0ea52a754..706eb8305 100644 --- a/hopp/simulation/technologies/pv/pv_plant.py +++ b/hopp/simulation/technologies/pv/pv_plant.py @@ -83,7 +83,7 @@ def __attrs_post_init__(self): elif self.config.panel_tilt_angle == "lat-func": if self.site.lat<=25: tilt = self.site.lat*0.87 - elif self.site.lat>25 and self.site.lat<50: + elif self.site.lat>25 and self.site.lat<=50: tilt = (self.site.lat*0.76) + 3.1 else: tilt = self.site.lat