Releases: jpb10/SolarCalculator
Releases · jpb10/SolarCalculator
2.0.1
2.0.0
Notable changes
- Unix time input is now supported as
unsigned long
. - Optimizations for code size and performance:
- Neglect of all terms < 0.005 degree, including higher powers of time T (in Julian centuries), nutation, and ΔT.
- Simplified expressions for the Julian day, atmospheric refraction correction, equation of time, and ΔT.
- Simplified rising, transit, and setting algorithm.
- New
iterations
parameter incalcSunriseSunset
, which can be set to 0 to get the approximate times. - New example sketch for the rise and set times at a height above the horizon (using the
altitude
parameter).
Breaking changes
- Sun's radius vector is now calculated with
calcEquatorialCoordinates
. - Some intermediate calculations have been removed, e.g. nutation.