Skip to content

Commit

Permalink
changed less than to less than or equa to in tilt calc function in pv…
Browse files Browse the repository at this point in the history
…_plant
  • Loading branch information
elenya-grant authored and kbrunik committed Nov 13, 2024
1 parent dc4f1dd commit 00394a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hopp/simulation/technologies/pv/pv_plant.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00394a0

Please sign in to comment.