Sunrise equation

From HandWiki
Short description: Equation to derive time of sunset and sunrise
A contour plot of the hours of daylight as a function of latitude and day of the year, using the most accurate models described in this article. It can be seen that the area of constant day and constant night reach up to the polar circles (here labeled "Anta. c." and "Arct. c."), which is a consequence of the earth's inclination.

File:Daylight Hours.webm

The sunrise equation or sunset equation can be used to derive the time of sunrise or sunset for any solar declination and latitude in terms of local solar time when sunrise and sunset actually occur.

Geometric equation

The time at which a celestial object crosses the horizon can be calculated by converting its coordinates from the equatorial coordinate system to the horizontal coordinate system, and then solving the equation for an altitude of zero. We then obtain

cosH0=tanϕtanδ

where:

  • H0 is the solar hour angle at either sunrise (when the negative value is taken) or sunset (when the positive value is taken);
  • ϕ is the latitude of the observer on the Earth;
  • δ is the Sun's declination.[1]: 97 

This gives the geometric rise or set time (ignoring refraction) of the center of the Sun. See below for an equation which accounts for these effects.

The Earth rotates at an angular velocity of 15°/hour. Therefore, the expression H0/15, where H0 is in degrees, gives the interval of time in hours from sunrise to local solar noon or from local solar noon to sunset.

The sign convention is 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 when the Sun is exactly above the equator, positive during the Northern Hemisphere summer and negative during the Northern Hemisphere winter.[1]: 87 The declination of the Sun is nearly, but not exactly, zero at the equinoxes.[1]: 165 

The equation has no solution when |tanϕtanδ|>1. This occurs north of the Arctic Circle or south of the Antarctic Circle, during the polar night, when the Sun is not visible above the horizon at local midday.

Hemispheric relation

Suppose ϕN is a given latitude in Northern Hemisphere, and HN is the corresponding sunrise hour angle that has a negative value, and similarly, ϕS is the same latitude but in Southern Hemisphere, which means ϕS=ϕN, and HS is the corresponding sunrise hour angle, then it is apparent that

cosHS=cosHN=cos(180HN),

which means

HN+HS=180.

The above relation implies that on the same day, the lengths of daytime from sunrise to sunset at ϕN and ϕS sum to 24 hours if ϕS=ϕN, and this also applies to regions where polar days and polar nights occur. This further suggests that the global average of length of daytime on any given day is 12 hours without considering the effect of atmospheric refraction.

Generalized equation

Sextant sight reduction procedure showing solar altitude corrections for refraction and elevation.

The equation above neglects the influence of atmospheric refraction (which lifts the solar disc — i.e. makes the solar disc appear higher in the sky — by approximately 0.6° when it is on the horizon) and the non-zero angle subtended by the solar disc — i.e. the apparent diameter of the sun — (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

cosH0=sinh0sinϕsinδcosϕcosδ

where h0 is the geometric altitude angle of the center of the Sun at the time of rising or setting, which is approximately −0.833° or −50.0 arcminutes, although the exact figure depends on atmospheric conditions along the line of sight.[1]: 98 

This equation, as given by Jean Meeus, can be also used for any other solar altitude. The NOAA provides additional approximate expressions for refraction corrections at these other altitudes.[2] There are also alternative formulations, such as a non-piecewise expression by G.G. Bennett used in the U.S. Naval Observatory's "Vector Astronomy Software".[3]

The dip of the horizon in radians, including refraction and the geometric correction for the observer's height above the apparent horizon, is well approximated by

ψ=2hR0(1k)

where h is the height of the observer, R0is the radius of the Earth, and k is the ratio of the ray's curvature to the radius of the Earth.[4] For a typical value of k of 0.17, this gives

ψ=1.75height in metres

or

ψ=0.97height in feet

where the prime ( ) indicates arcminutes, i.e. 1/60 °.[5] This should be subtracted from the altitude angle. In summary, at sunrise or sunset:

h0=sψ

where s is the semidiameter of the Sun, about 16 arcminutes.

In Universal Time

To calculate the time of the sunrise in Universal Time, Meeus recommends the following procedure. The position of the Sun in equatorial coordinates should first be calculated or looked up for the day of interest. For the day D, find:

  • θ0: the apparent sidereal time (or Earth Rotation Angle) at 0h Universal Time on day D,
  • α1 and δ1, the right ascension and declination on day D1 at 0h Universal Time,
  • α2 and δ2, the right ascension and declination on day D,
  • α3 and δ3, the right ascension and declination on day D+1.

Calculate the approximate time of the sunset using

cosH0=sinh0sinϕsinδ2cosϕcosδ2

Calculate the transit, sunrise and sunset time in fractions of a day:

  • m0=α2+Lθ0360
  • m1=m0H0360
  • m2=m0+H0360

where L is the geographical longitude expressed as an angle increasing westwards from Greenwich, i.e. the opposite sign convention than is typically used in geography.

These values of m can be multiplied by 24 to give the time of each event in hours, accurate to about ±0.01 days (14 minutes). For greater accuracy, the elevation angle of the Sun should be calculated at the proposed time, and then an adjustment applied to bring it to the desired elevation. The adjustment is:

Δm=hh0360cosδcosϕsinH

where

  • H=θLα is the hour angle,
  • h is the altitude of the Sun in degrees at m,
  • α is the result of linear interpolation between α1, α2 and α3,
  • δ is similarly interpolated between δ1, δ2 and δ3.

The final time is then m+Δm. [1]: 98 

With modern ephemeris software like Skyfield, it's simpler and more precise to iteratively recompute the position of the Sun until the desired elevation angle is found.[6] However, without knowledge of the temperature profile of the atmosphere, accuracy is limited to about two minutes.[7]

See also

References