HOME

TheInfoList



OR:

The sunrise equation or sunset equation can be used to derive the time of
sunrise Sunrise (or sunup) is the moment when the upper rim of the Sun appears on the horizon in the morning. The term can also refer to the entire process of the solar disk crossing the horizon and its accompanying atmospheric effects. Terminology A ...
or
sunset Sunset, also known as sundown, is the daily disappearance of the Sun below the horizon due to Earth's rotation. As viewed from everywhere on Earth (except the North and South poles), the equinox Sun sets due west at the moment of both the spri ...
for any solar declination and
latitude In geography, latitude is a coordinate that specifies the north– south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from –90° at the south pole to 90° at the north ...
in terms of local solar time when sunrise and sunset actually occur.


Formulation

It is formulated as: :\cos \omega_\circ = -\tan \phi \times \tan \delta where: :\omega_\circ is the solar hour angle at either
sunrise Sunrise (or sunup) is the moment when the upper rim of the Sun appears on the horizon in the morning. The term can also refer to the entire process of the solar disk crossing the horizon and its accompanying atmospheric effects. Terminology A ...
(when negative value is taken) or
sunset Sunset, also known as sundown, is the daily disappearance of the Sun below the horizon due to Earth's rotation. As viewed from everywhere on Earth (except the North and South poles), the equinox Sun sets due west at the moment of both the spri ...
(when positive value is taken); :\phi is the
latitude In geography, latitude is a coordinate that specifies the north– south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from –90° at the south pole to 90° at the north ...
of the observer on the
Earth Earth is the third planet from the Sun and the only astronomical object known to harbor life. While large volumes of water can be found throughout the Solar System, only Earth sustains liquid surface water. About 71% of Earth's surfa ...
; :\delta is the sun
declination In astronomy, declination (abbreviated dec; symbol ''δ'') is one of the two angles that locate a point on the celestial sphere in the equatorial coordinate system, the other being hour angle. Declination's angle is measured north or south of the ...
.


Principles

The
Earth Earth is the third planet from the Sun and the only astronomical object known to harbor life. While large volumes of water can be found throughout the Solar System, only Earth sustains liquid surface water. About 71% of Earth's surfa ...
rotates at an
angular velocity In physics, angular velocity or rotational velocity ( or ), also known as angular frequency vector,(UP1) is a pseudovector representation of how fast the angular position or orientation of an object changes with time (i.e. how quickly an objec ...
of 15°/hour. Therefore, the expression \omega_\circ / \mathrm^\circ, where \omega_\circ is in degree, gives the interval of time in hours from
sunrise Sunrise (or sunup) is the moment when the upper rim of the Sun appears on the horizon in the morning. The term can also refer to the entire process of the solar disk crossing the horizon and its accompanying atmospheric effects. Terminology A ...
to local
solar noon Noon (or midday) is 12 o'clock in the daytime. It is written as 12 noon, 12:00 m. (for meridiem, literally 12:00 noon), 12 p.m. (for post meridiem, literally "after noon"), 12 pm, or 12:00 (using a 24-hour clock) or 1200 ( military time). Sol ...
or from local solar noon to
sunset Sunset, also known as sundown, is the daily disappearance of the Sun below the horizon due to Earth's rotation. As viewed from everywhere on Earth (except the North and South poles), the equinox Sun sets due west at the moment of both the spri ...
. The sign convention is typically that the observer latitude \phi is 0 at the
equator The equator is a circle of latitude, about in circumference, that divides Earth into the Northern and Southern hemispheres. It is an imaginary line located at 0 degrees latitude, halfway between the North and South poles. The term can al ...
, positive for the
Northern Hemisphere The Northern Hemisphere is the half of Earth that is north of the Equator. For other planets in the Solar System, north is defined as being in the same celestial hemisphere relative to the invariable plane of the solar system as Earth's N ...
and negative for the Southern Hemisphere, and the solar declination \delta is 0 at the vernal and autumnal
equinoxes A solar equinox is a moment in time when the Sun crosses the Earth's equator, which is to say, appears directly above the equator, rather than north or south of the equator. On the day of the equinox, the Sun appears to rise "due east" and s ...
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 The Arctic Circle is one of the two polar circles, and the most northerly of the five major circles of latitude as shown on maps of Earth. Its southern equivalent is the Antarctic Circle. The Arctic Circle marks the southernmost latitude at ...
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 -90^\circ+\delta < \phi < 90^\circ - \delta during the Northern Hemisphere summer, and when -90^\circ - \delta < \phi < 90^\circ + \delta during the Southern Hemisphere winter. For locations outside these latitudes, it is either 24-hour
day A day is the time period of a full rotation of the Earth with respect to the Sun. On average, this is 24 hours, 1440 minutes, or 86,400 seconds. In everyday life, the word "day" often refers to a solar day, which is the length between two so ...
time or 24-hour
nighttime Night (also described as night time, unconventionally spelled as "nite") is the period of ambient darkness from sunset to sunrise during each 24-hour day, when the Sun is below the horizon. The exact time when night begins and ends depends on ...
.


Expressions for the solar hour angle

In the equation given at the beginning, the cosine function on the left side gives results in the range
1, 1 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 411 at the 2010 census. The village is located on the shores of Portage Lake and is surrounded by Onekama Township. The town's name is derived from "On ...
but the value of the expression on the right side is in the range \infty, \infty/math>. An applicable expression for \omega_\circ in the format of Fortran 90 is as follows: :

omegao = acos(max(min(-tan(delta*rpd)*tan(phi*rpd), 1.0), -1.0))*dpr

where omegao is \omega_\circ in degree, delta is \delta in degree, phi is \phi in degree, rpd is equal to \frac, and dpr is equal to \frac. The above expression gives results in degree in the range ^\circ, 180^\circ/math>. When \omega_\circ=0^\circ, it means it is polar night, or 0-hour daylight; when \omega_\circ=180^\circ, it means it is polar day, or 24-hour daylight.


Hemispheric relation

Suppose \phi_ is a given latitude in Northern Hemisphere, and \omega_ is the corresponding sunrise hour angle that has a negative value, and similarly, \phi_ is the same latitude but in Southern Hemisphere, which means \phi_=-\phi_, and \omega_ is the corresponding sunrise hour angle, then it is apparent that :\cos \omega_=-\cos \omega_=\cos (-180^\circ -\omega_), which means :\omega_+\omega_=-180^. The above relation implies that on the same day, the lengths of daytime from sunrise to sunset at \phi_ and \phi_ sum to 24 hours if \phi_=-\phi_, 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

The equation above neglects the influence of
atmospheric refraction Atmospheric refraction is the deviation of light or other electromagnetic wave from a straight line as it passes through the atmosphere due to the variation in air density as a function of height. This refraction is due to the velocity of light ...
(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 :\cos \omega_\circ = \dfrac with the altitude angle (a) of the center of the solar disc set to about −0.83° (or −50 arcminutes). The above general equation can be also used for any other solar altitude. The NOAA provides additional approximate expressions for refraction corrections at these other altitudes. 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".


Complete calculation on Earth

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 day

:n = \lceil J_\text - 2451545.0 + 0.0008\rceil where: :n is the number of days since Jan 1st, 2000 12:00. :J_\text is the
Julian date The Julian day is the continuous count of days since the beginning of the Julian period, and is used primarily by astronomers, and in software for easily calculating elapsed days between two events (e.g. food production date and sell by date). ...
; :2451545.0 is the equivalent Julian year of Julian days for Jan-01-2000, 12:00:00. :0.0008 is the fractional Julian Day for
leap seconds A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC), to accommodate the difference between precise time (International Atomic Time (TAI), as measured by atomic clocks) and imprecise observ ...
and
terrestrial time Terrestrial Time (TT) is a modern astronomical time standard defined by the International Astronomical Union, primarily for time-measurements of astronomical observations made from the surface of Earth. For example, the Astronomical Almanac uses T ...
(TT). :TT was set to 32.184 sec lagging TAI on 1 January 1958. By 1972, when the leap second was introduced, 10 sec were added. By 1 January 2017, 27 more seconds were added coming to a total of 69.184 sec. 0.0008=69.184 / 86400 without
DUT1 DUT1 (sometimes also written DUT) is a time correction equal to the difference between Universal Time (UT1), which is defined by Earth's rotation, and Coordinated Universal Time (UTC), which is defined by a network of precision atomic clocks. ...
. :The \lceil \cdot \rceil operation rounds up to the next integer day number n.


Mean solar time

:J^ = n - \dfrac where: :J^ is an approximation of
mean solar time Solar time is a calculation of the passage of time based on the position of the Sun in the sky. The fundamental unit of solar time is the day, based on the synodic rotation period. Two types of solar time are apparent solar time (sundial ti ...
at n expressed as a Julian day with the day fraction. :l_\omega is the longitude (west is negative, east is positive) of the observer on the Earth;


Solar mean anomaly

:M = (357.5291 + 0.98560028 \times J^) \bmod 360 where: :M is the solar
mean anomaly In celestial mechanics, the mean anomaly is the fraction of an elliptical orbit's period that has elapsed since the orbiting body passed periapsis, expressed as an angle which can be used in calculating the position of that body in the classical ...
used in the next three equations.


Equation of the center

:C = 1.9148 \sin(M) + 0.0200 \sin(2 M) + 0.0003 \sin(3 M) where: :C is the Equation of the center value needed to calculate lambda (see next equation). :1.9148 is the coefficient of the Equation of the Center for the planet the observer is on (in this case, Earth)


Ecliptic longitude

:\lambda = (M + C + 180 + 102.9372) \bmod 360 where: :λ is the
ecliptic longitude The ecliptic coordinate system is a celestial coordinate system commonly used for representing the apparent positions, orbits, and pole orientations of Solar System objects. Because most planets (except Mercury) and many small Solar System bod ...
. :102.9372 is a value for the
argument of perihelion The argument of periapsis (also called argument of perifocus or argument of pericenter), symbolized as ''ω'', is one of the orbital elements of an orbiting body. Parametrically, ''ω'' is the angle from the body's ascending node to its periap ...
.


Solar transit

:J_ = 2451545.0+J^ + 0.0053 \sin M - 0.0069 \sin \left( 2 \lambda \right) where: :Jtransit is the
Julian date The Julian day is the continuous count of days since the beginning of the Julian period, and is used primarily by astronomers, and in software for easily calculating elapsed days between two events (e.g. food production date and sell by date). ...
for the local true solar transit (or
solar noon Noon (or midday) is 12 o'clock in the daytime. It is written as 12 noon, 12:00 m. (for meridiem, literally 12:00 noon), 12 p.m. (for post meridiem, literally "after noon"), 12 pm, or 12:00 (using a 24-hour clock) or 1200 ( military time). Sol ...
). :2451545.0 is noon of the equivalent Julian year reference. :0.0053 \sin M - 0.0069 \sin \left( 2 \lambda \right) is a simplified version of the
equation of time In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for example, in ...
. The coefficients are fractional days.


Declination of the Sun

:\sin \delta = \sin \lambda \times \sin 23.44^\circ where: :\delta is the
declination In astronomy, declination (abbreviated dec; symbol ''δ'') is one of the two angles that locate a point on the celestial sphere in the equatorial coordinate system, the other being hour angle. Declination's angle is measured north or south of the ...
of the sun. :23.44° is Earth's maximum axial tilt toward the sun


Hour angle

''This is the equation from above with corrections for atmospherical refraction and solar disc diameter.'' :\cos \omega_\circ = \dfrac where: :ωo is the
hour angle In astronomy and celestial navigation, the hour angle is the angle between two planes: one containing Earth's axis and the zenith (the '' meridian plane''), and the other containing Earth's axis and a given point of interest (the ''hour circle ...
from the observer's meridian; :\phi is the north latitude of the observer (north is positive, south is negative) on the Earth. For observations on a sea horizon needing an elevation-of-observer correction, add -1.15^\circ\sqrt/60, or -2.076^\circ\sqrt/60 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°.The exact source f these numbers are hard to track down, bu
Notes on the Dip of the Horizon
provides a description yielding one less significant figure, with another page in the series providing -2.075.


Calculate sunrise and sunset

:J_ = J_ - \dfrac :J_ = J_ + \dfrac{360^\circ} where: :Jrise is the actual Julian date of sunrise; :Jset is the actual Julian date of sunset.


See also

*
Day length Daytime as observed on Earth is the period of the day during which a given location experiences natural illumination from direct sunlight. Daytime occurs when the Sun appears above the local horizon, that is, anywhere on the globe's hemi ...
*
Equation of time In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for example, in ...


References


External links


Sunrise, sunset, or sun position for any location – U.S. onlySunrise, sunset and day length for any location – WorldwideRise/Set/Transit/Twilight Data – U.S. onlyAstronomical Information CenterConverting Between Julian Dates and Gregorian Calendar DatesApproximate Solar CoordinatesAlgorithms for Computing Astronomical PhenomenaA Simple Expression for the Equation of TimeThe Equation of TimeEvaluating the Effectiveness of Current Atmospheric Refraction Models in Predicting Sunrise and Sunset Times
Equations Time in astronomy Dynamics of the Solar System