Sun Position Algorithm

Simple algorithm to calculate the sun position, accurate to within 30 arcsec in the period 2020-2050.
680 Downloads
Updated 26 Nov 2020

View License

Simple and fast algorithm to compute the Sun's position. For more details see the open publication by M.J. Blanco, K. Milidonis and A.M. Bonanos, "Updating the PSA Sun Position Algorithm", Solar Energy, Vol. 212, pp. 339-341, 2020, DOI:10.1016/j.solener.2020.10.084. Please reference the article in your work.

Cite As

Aristides Bonanos (2026). Sun Position Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/83453-sun-position-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: sunpath-chart

Version Published Release Notes
1.0.1

c

1.0.0