- is the hour angle at either sunrise (when negative value is taken) or sunset (when positive value is taken);
- is the latitude of the observer on the Earth;
- is the sun declination.
- 1 Theory of the Equation
- 2 Generalized Equation
- 3 Complete calculation on Earth
- 4 See also
- 5 External links
- 6 References
Theory of the Equation
The sign convention is typically that the observer latitude is 0 at the Equator, positive for the Northern Hemisphere and negative for the Southern Hemisphere, and the solar declination is 0 at the vernal and autumnal equinoxes when the sun is exactly above the Equator, positive during the Northern Hemisphere summer and negative during the Northern Hemisphere winter.
The expression above is always applicable for latitudes between the Arctic Circle and Antarctic Circle. North of the Arctic Circle or south of the Antarctic Circle, there is at least one day of the year with no sunrise or sunset. Formally, there is a sunrise or sunset when during the Northern Hemisphere summer, and when during the Northern Hemisphere winter. Out of these latitudes, it is either 24-hour daytime or 24-hour nighttime.
Also note that the above equation neglects the influence of atmospheric refraction (which lifts the solar disc by approximately 0.6° when it is on the horizon) and the non-zero angle subtended by the solar disc (about 0.5°). The times of the rising and the setting of the upper solar limb as given in astronomical almanacs correct for this by using the more general equation
with the altitude (a) of the center of the solar disc set to about −0.83° (or −50 arcminutes).
Complete calculation on Earth
|This article needs additional citations for verification. (March 2011)|
The generalized equation relies on a number of other variables which need to be calculated before it can itself be calculated. These equations have the solar-earth constants substituted with angular constants expressed in degrees.
Calculate current Julian Cycle
- is the Julian Date;
- is the longitude west (west is positive, east is negative) of the observer on the Earth;
- is the Julian cycle since Jan 1st, 2000.
Approximate Solar Noon
- is an approximation of solar noon at .
Solar Mean Anomaly
- M is the solar mean anomaly.
Equation of Center
- C is the Equation of the center.
- λ is the ecliptic longitude.
- Jtransit is the hour angle for solar transit (or solar noon).
Declination of the Sun
- is the declination of the sun.
This is the equation from above with corrections for astronomical refraction and solar disc diameter.
- ωo is the hour angle;
- is the north latitude of the observer (north is positive, south is negative) on the Earth.
This is the main equation from above with the solar disc correction.
For observations on a sea horizon an elevation-of-observer correction, add , or to the -0.83° in the numerator's sine term. This corrects for both apparent dip and terrestrial refraction. For example, for an observer at 10,000 feet, add (-115°/60°) or about -1.92° to -0.83°.
Calculate Sunrise and Sunset
- Jset is the actual Julian Date of sunset;
- Jrise is the actual Julian Date of sunrise.