Sun elevation angle calculator

by Beebo

Version 5 (August 29, 2026)

Download (66 downloads)

It uses the method shown on this site:

https://www.pveducation.org/pvcdrom/properties-of-sunlight/elevation-angle

v2:
- add rate of elevation change calculator
- add time at angle calculator
- add smaller ~1 block versions

v3:
- add min/max angle calculator
- add time at min/max angle calculator

v4:
- correct flow start block names

v5:
- fix calculations for timezones with minute-level offsets; previously up to an additional 18 minute error was possible
- add guard to the elevation rate calculation in cases where it's nearly perfectly zero