Sun Position Algorithm

Simple algorithm to calculate the sun position, accurate to within 30 arcsec in the period 2020-2050.

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/83453-sun-position-algorithm), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: sunpath-chart

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

c

1.0.0