Module grena3

Module grena3 

Source
Expand description

Grena3 solar position algorithm implementation.

This follows the no. 3 algorithm described in Grena, ‘Five new algorithms for the computation of sun position from 2010 to 2110’, Solar Energy 86 (2012) pp. 1323-1337.

The algorithm is designed for the years 2010 to 2110, with a maximum error of 0.01 degrees. It’s approximately 10x faster than the SPA algorithm but with reduced accuracy and time range.

Functions§

solar_position
Calculate solar position using the Grena3 algorithm.
solar_position_with_refraction
Calculate solar position using the Grena3 algorithm with optional refraction correction.