*** Welcome to piglix ***

Solar elevation


The solar zenith angle is the angle between the zenith and the centre of the Sun's disc. The solar elevation angle is the altitude of the Sun, the angle between the horizon and the centre of the Sun's disc. Since these two angles are complementary, the cosine of either one of them equals the sine of the other. They can both be calculated with the same formula, using results from spherical trigonometry.

where

The calculated values are approximations due to the distinction between common/geodetic latitude and geocentric latitude. However, the two values differ by less than 12 minutes of arc, which is less than the apparent angular radius of the sun.

The formula neglects the effect of atmospheric refraction.

Sunset and sunrise occur (approximately) when the zenith angle is 90°, where the hour angle h0 satisfies

Precise times of sunset and sunrise occur when the upper limb of the Sun appears, as refracted by the atmosphere, to be on the horizon.

A weighted daily average zenith angle, used in computing the local albedo of the Earth, is given by

where Q is the instantaneous insolation.

For example, the solar elevation angle is :

An exact calculation is given in position of the Sun. Other approximations exist elsewhere.


...
Wikipedia

...