Solareqns
Solareqns
Solareqns
2 ℎ𝑜𝑢𝑟 − 12
γ = ∗ (day_of_year − 1 + )
365 24
From γ, we can estimate the equation of time (in minutes) and the solar declination angle (in
radians).
Next, the true solar time is calculated in the following two equations. First the time offset is
found, in minutes, and then the true solar time, in minutes.
where eqtime is in minutes, longitude is in degrees (positive to the east of the Prime Meridian),
timezone is in hours from UTC (U.S. Mountain Standard Time = –7 hours).
where hr is the hour (0 - 23), mn is the minute (0 - 59), sc is the second (0 - 59).
ha = (tst / 4) – 180
The solar zenith angle () can then be found from the hour angle (ha), latitude (lat) and solar
declination (decl) using the following equation:
And the solar azimuth (θ, degrees clockwise from north) is found from:
For the special case of sunrise or sunset, the zenith is set to 90.833 (the approximate correction for
atmospheric refraction at sunrise and sunset, and the size of the solar disk), and the hour angle
becomes:
cos(90.833)
ℎ𝑎 = ±𝑎𝑟𝑐𝑐𝑜𝑠 { − tan(𝑙𝑎𝑡) tan(𝑑𝑒𝑐𝑙)}
cos(𝑙𝑎𝑡) cos(𝑑𝑒𝑐𝑙)
where longitude and hour angle are in degrees and the equation of time is in minutes.
Solar noon for a given location is found from the longitude (in degrees, positive to the east of the
Prime Meridian) and the equation of time (in minutes):