Position of the Sun

Last updated
The Sun over Phang Nga Bay in Thailand (
.mw-parser-output .geo-default,.mw-parser-output .geo-dms,.mw-parser-output .geo-dec{display:inline}.mw-parser-output .geo-nondefault,.mw-parser-output .geo-multi-punct,.mw-parser-output .geo-inline-hidden{display:none}.mw-parser-output .longitude,.mw-parser-output .latitude{white-space:nowrap}
8deg17'N 98deg36'E / 8.283degN 98.600degE / 8.283; 98.600), at 7:00 a.m. local time on a March morning Sunrise, Koh Yao Noi (island), Phang Nga Bay, Thailand.jpg
The Sun over Phang Nga Bay in Thailand ( 8°17′N98°36′E / 8.283°N 98.600°E / 8.283; 98.600 ), at 7:00 a.m. local time on a March morning

The position of the Sun in the sky is a function of both the time and the geographic location of observation on Earth's surface. As Earth orbits the Sun over the course of a year, the Sun appears to move with respect to the fixed stars on the celestial sphere, along a circular path called the ecliptic.

Contents

Earth's rotation about its axis causes diurnal motion, so that the Sun appears to move across the sky in a Sun path that depends on the observer's geographic latitude. The time when the Sun transits the observer's meridian depends on the geographic longitude.

To find the Sun's position for a given location at a given time, one may therefore proceed in three steps as follows: [1] [2]

  1. calculate the Sun's position in the ecliptic coordinate system,
  2. convert to the equatorial coordinate system, and
  3. convert to the horizontal coordinate system, for the observer's local time and location. This is the coordinate system normally used to calculate the position of the Sun in terms of solar zenith angle and solar azimuth angle, and the two parameters can be used to depict the Sun path. [3]

This calculation is useful in astronomy, navigation, surveying, meteorology, climatology, solar energy, and sundial design.

Approximate position

Ecliptic coordinates

These equations, from the Astronomical Almanac , [4] [5] can be used to calculate the apparent coordinates of the Sun, mean equinox and ecliptic of date, to a precision of about 0°.01 (36″), for dates between 1950 and 2050. Similar equations are coded into a Fortran 90 routine in Ref. [3] and are used to calculate the solar zenith angle and solar azimuth angle as observed from the surface of the Earth.

Start by calculating n, the number of days (positive or negative, including fractional days) since Greenwich noon, Terrestrial Time, on 1 January 2000 (J2000.0). If the Julian date for the desired time is known, then

The mean longitude of the Sun, corrected for the aberration of light, is:

The mean anomaly of the Sun (actually, of the Earth in its orbit around the Sun, but it is convenient to pretend the Sun orbits the Earth), is:

Put and in the range 0° to 360° by adding or subtracting multiples of 360° as needed.

Finally, the ecliptic longitude of the Sun is:

The ecliptic latitude of the Sun is nearly:

,

as the ecliptic latitude of the Sun never exceeds 0.00033°, [6]

and the distance of the Sun from the Earth, in astronomical units, is:

.

Obliquity of the ecliptic

Where the obliquity of the ecliptic is not obtained elsewhere, it can be approximated:

Equatorial coordinates

, and form a complete position of the Sun in the ecliptic coordinate system. This can be converted to the equatorial coordinate system by calculating the obliquity of the ecliptic, , and continuing:

Right ascension,

, where is in the same quadrant as ,

To get RA at the right quadrant on computer programs use double argument Arctan function such as ATAN2(y,x)

and declination,

.

Rectangular equatorial coordinates

Right-handed rectangular equatorial coordinates in astronomical units are:

Where axis is in the direction of the March equinox, the axis towards June Solstice, and the axis towards the North celestial pole. [7]

Horizontal coordinates

Declination of the Sun as seen from Earth

The path of the Sun over the celestial sphere through the course of the day for an observer at 56degN latitude. The Sun's path changes with its declination during the year. The intersections of the curves with the horizontal axis show azimuths in degrees from North where the Sun rises and sets. Solar declination.svg
The path of the Sun over the celestial sphere through the course of the day for an observer at 56°N latitude. The Sun's path changes with its declination during the year. The intersections of the curves with the horizontal axis show azimuths in degrees from North where the Sun rises and sets.

The Sun appears to move northward during the northern spring, crossing the celestial equator on the March equinox. Its declination reaches a maximum equal to the angle of Earth's axial tilt (23.44° or 23°26') [8] [9] on the June solstice, then decreases until reaching its minimum (−23.44° or -23°26') on the December solstice, when its value is the negative of the axial tilt. This variation produces the seasons.

A line graph of the Sun's declination during a year resembles a sine wave with an amplitude of 23.44°, but one lobe of the wave is several days longer than the other, among other differences.

The following phenomena would occur if Earth were a perfect sphere, in a circular orbit around the Sun, and if its axis is tilted 90°, so that the axis itself is on the orbital plane (similar to Uranus). At one date in the year, the Sun would be directly overhead at the North Pole, so its declination would be +90°. For the next few months, the subsolar point would move toward the South Pole at constant speed, crossing the circles of latitude at a constant rate, so that the solar declination would decrease linearly with time. Eventually, the Sun would be directly above the South Pole, with a declination of −90°; then it would start to move northward at a constant speed. Thus, the graph of solar declination, as seen from this highly tilted Earth, would resemble a triangle wave rather than a sine wave, zigzagging between plus and minus 90°, with linear segments between the maxima and minima.

If the 90° axial tilt is decreased, then the absolute maximum and minimum values of the declination would decrease, to equal the axial tilt. Also, the shapes of the maxima and minima on the graph would become less acute, being curved to resemble the maxima and minima of a sine wave. However, even when the axial tilt equals that of the actual Earth, the maxima and minima remain more acute than those of a sine wave.

In reality, Earth's orbit is elliptical. Earth moves more rapidly around the Sun near perihelion, in early January, than near aphelion, in early July. This makes processes like the variation of the solar declination happen faster in January than in July. On the graph, this makes the minima more acute than the maxima. Also, since perihelion and aphelion do not happen on the exact dates as the solstices, the maxima and minima are slightly asymmetrical. The rates of change before and after are not quite equal.

The graph of apparent solar declination is therefore different in several ways from a sine wave. Calculating it accurately involves some complexity, as shown below.

Calculations

The declination of the Sun, δ, is the angle between the rays of the Sun and the plane of the Earth's equator. The Earth's axial tilt (called the obliquity of the ecliptic by astronomers) is the angle between the Earth's axis and a line perpendicular to the Earth's orbit. The Earth's axial tilt changes slowly over thousands of years but its current value of about ε = 23°44' is nearly constant, so the change in solar declination during one year is nearly the same as during the next year.

At the solstices, the angle between the rays of the Sun and the plane of the Earth's equator reaches its maximum value of 23°44'. Therefore, δ = +23°44' at the northern summer solstice and δ = −23°44' at the southern summer solstice.

At the moment of each equinox, the center of the Sun appears to pass through the celestial equator, and δ is 0°.

The Sun's declination at any given moment is calculated by:

where EL is the ecliptic longitude (essentially, the Earth's position in its orbit). Since the Earth's orbital eccentricity is small, its orbit can be approximated as a circle which causes up to 1° of error. The circle approximation means the EL would be 90° ahead of the solstices in Earth's orbit (at the equinoxes), so that sin(EL) can be written as sin(90+NDS)=cos(NDS) where NDS is the number of days after the December solstice. By also using the approximation that arcsin[sin(d)·cos(NDS)] is close to d·cos(NDS), the following frequently used formula is obtained:

where N is the day of the year beginning with N=0 at midnight Universal Time (UT) as January 1 begins (i.e. the days part of the ordinal date −1). The number 10, in (N+10), is the approximate number of days after the December solstice to January 1. This equation overestimates the declination near the September equinox by up to +1.5°. The sine function approximation by itself leads to an error of up to 0.26° and has been discouraged for use in solar energy applications. [2] The 1971 Spencer formula [10] (based on a Fourier series) is also discouraged for having an error of up to 0.28°. [11] An additional error of up to 0.5° can occur in all equations around the equinoxes if not using a decimal place when selecting N to adjust for the time after UT midnight for the beginning of that day. So the above equation can have up to 2.0° of error, about four times the Sun's angular width, depending on how it is used.

The declination can be more accurately calculated by not making the two approximations, using the parameters of the Earth's orbit to more accurately estimate EL: [12]

which can be simplified by evaluating constants to:

N is the number of days since midnight UT as January 1 begins (i.e. the days part of the ordinal date −1) and can include decimals to adjust for local times later or earlier in the day. The number 2, in (N-2), is the approximate number of days after January 1 to the Earth's perihelion. The number 0.0167 is the current value of the eccentricity of the Earth's orbit. The eccentricity varies very slowly over time, but for dates fairly close to the present, it can be considered to be constant. The largest errors in this equation are less than ± 0.2°, but are less than ± 0.03° for a given year if the number 10 is adjusted up or down in fractional days as determined by how far the previous year's December solstice occurred before or after noon on December 22. These accuracies are compared to NOAA's advanced calculations [13] [14] which are based on the 1999 Jean Meeus algorithm that is accurate to within 0.01°. [15]

(The above formula is related to a reasonably simple and accurate calculation of the Equation of Time, which is described here.)

More complicated algorithms [16] [17] correct for changes to the ecliptic longitude by using terms in addition to the 1st-order eccentricity correction above. They also correct the 23.44° obliquity which changes very slightly with time. Corrections may also include the effects of the moon in offsetting the Earth's position from the center of the pair's orbit around the Sun. After obtaining the declination relative to the center of the Earth, a further correction for parallax is applied, which depends on the observer's distance away from the center of the Earth. This correction is less than 0.0025°. The error in calculating the position of the center of the Sun can be less than 0.00015°. For comparison, the Sun's width is about 0.5°.

Atmospheric refraction

The declination calculations described above do not include the effects of the refraction of light in the atmosphere, which causes the apparent angle of elevation of the Sun as seen by an observer to be higher than the actual angle of elevation, especially at low Sun elevations. [2] For example, when the Sun is at an elevation of 10°, it appears to be at 10.1°. The Sun's declination can be used, along with its right ascension, to calculate its azimuth and also its true elevation, which can then be corrected for refraction to give its apparent position. [2] [14] [18]

Equation of time

The equation of time -- above the axis a sundial will appear fast relative to a clock showing local mean time, and below the axis a sundial will appear slow. Equation of time.svg
The equation of time — above the axis a sundial will appear fast relative to a clock showing local mean time, and below the axis a sundial will appear slow.

In addition to the annual north–south oscillation of the Sun's apparent position, corresponding to the variation of its declination described above, there is also a smaller but more complex oscillation in the east–west direction. This is caused by the tilt of the Earth's axis, and also by changes in the speed of its orbital motion around the Sun produced by the elliptical shape of the orbit. [2] The principal effects of this east–west oscillation are variations in the timing of events such as sunrise and sunset, and in the reading of a sundial compared with a clock showing local mean time. As the graph shows, a sundial can be up to about 16 minutes fast or slow, compared with a clock. Since the Earth rotates at a mean speed of one degree every four minutes, relative to the Sun, this 16-minute displacement corresponds to a shift eastward or westward of about four degrees in the apparent position of the Sun, compared with its mean position. A westward shift causes the sundial to be ahead of the clock.

Since the main effect of this oscillation concerns time, it is called the equation of time, using the word "equation" in a somewhat archaic sense meaning "correction". The oscillation is measured in units of time, minutes and seconds, corresponding to the amount that a sundial would be ahead of a clock. The equation of time can be positive or negative.

Analemma

An analemma with solar declination and equation of time to the same scale Analemma.png
An analemma with solar declination and equation of time to the same scale

An analemma is a diagram that shows the annual variation of the Sun's position on the celestial sphere, relative to its mean position, as seen from a fixed location on Earth. (The word analemma is also occasionally, but rarely, used in other contexts.) It can be considered as an image of the Sun's apparent motion during a year, which resembles a figure-8. An analemma can be pictured by superimposing photographs taken at the same time of day, a few days apart for a year.

An analemma can also be considered as a graph of the Sun's declination, usually plotted vertically, against the equation of time, plotted horizontally. Usually, the scales are chosen so that equal distances on the diagram represent equal angles in both directions on the celestial sphere. Thus 4 minutes (more precisely 3 minutes, 56 seconds), in the equation of time, are represented by the same distance as 1° in the declination, since Earth rotates at a mean speed of 1° every 4 minutes, relative to the Sun.

An analemma is drawn as it would be seen in the sky by an observer looking upward. If north is shown at the top, then west is to the right. This is usually done even when the analemma is marked on a geographical globe, on which the continents, etc., are shown with west to the left.

Some analemmas are marked to show the position of the Sun on the graph on various dates, a few days apart, throughout the year. This enables the analemma to be used to make simple analog computations of quantities such as the times and azimuths of sunrise and sunset. Analemmas without date markings are used to correct the time indicated by sundials. [19]

Light-time effects

We see light from the Sun about 20 angle seconds from where the Sun is when the light is seen. See Solar annual aberration.

See also

Related Research Articles

<span class="mw-page-title-main">Aberration (astronomy)</span> Phenomenon wherein objects appear to move about their true positions in the sky

In astronomy, aberration is a phenomenon where celestial objects exhibit an apparent motion about their true positions based on the velocity of the observer: It causes objects to appear to be displaced towards the observer's direction of motion. The change in angle is of the order of where is the speed of light and the velocity of the observer. In the case of "stellar" or "annual" aberration, the apparent position of a star to an observer on Earth varies periodically over the course of a year as the Earth's velocity changes as it revolves around the Sun, by a maximum angle of approximately 20 arcseconds in right ascension or declination.

<span class="mw-page-title-main">Astronomical coordinate systems</span> System for specifying positions of celestial objects

In astronomy, coordinate systems are used for specifying positions of celestial objects relative to a given reference frame, based on physical reference points available to a situated observer. Coordinate systems in astronomy can specify an object's position in three-dimensional space or plot merely its direction on a celestial sphere, if the object's distance is unknown or trivial.

<span class="mw-page-title-main">Ecliptic coordinate system</span> Celestial coordinate system used to describe Solar System objects

In astronomy, 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 and many small Solar System bodies have orbits with only slight inclinations to the ecliptic, using it as the fundamental plane is convenient. The system's origin can be the center of either the Sun or Earth, its primary direction is towards the vernal (March) equinox, and it has a right-hand convention. It may be implemented in spherical or rectangular coordinates.

<span class="mw-page-title-main">Axial precession</span> Change of rotational axis in an astronomical body

In astronomy, axial precession is a gravity-induced, slow, and continuous change in the orientation of an astronomical body's rotational axis. In the absence of precession, the astronomical body's orbit would show axial parallelism. In particular, axial precession can refer to the gradual shift in the orientation of Earth's axis of rotation in a cycle of approximately 26,000 years. This is similar to the precession of a spinning top, with the axis tracing out a pair of cones joined at their apices. The term "precession" typically refers only to this largest part of the motion; other changes in the alignment of Earth's axis—nutation and polar motion—are much smaller in magnitude.

<span class="mw-page-title-main">Sundial</span> Device that tells the time of day by the apparent position of the Sun in the sky

A sundial is a horological device that tells the time of day when direct sunlight shines by the apparent position of the Sun in the sky. In the narrowest sense of the word, it consists of a flat plate and a gnomon, which casts a shadow onto the dial. As the Sun appears to move through the sky, the shadow aligns with different hour-lines, which are marked on the dial to indicate the time of day. The style is the time-telling edge of the gnomon, though a single point or nodus may be used. The gnomon casts a broad shadow; the shadow of the style shows the time. The gnomon may be a rod, wire, or elaborately decorated metal casting. The style must be parallel to the axis of the Earth's rotation for the sundial to be accurate throughout the year. The style's angle from horizontal is equal to the sundial's geographical latitude.

<span class="mw-page-title-main">Analemma</span> Diagrammatic representation of Suns position over a period of time

In astronomy, an analemma is a diagram showing the position of the Sun in the sky as seen from a fixed location on Earth at the same mean solar time, as that position varies over the course of a year. The diagram will resemble a figure eight. Globes of Earth often display an analemma as a two-dimensional figure of equation of time vs. declination of the Sun.

<span class="mw-page-title-main">Great-circle distance</span> Shortest distance between two points on the surface of a sphere

The great-circle distance, orthodromic distance, or spherical distance is the distance along a great circle.

<span class="mw-page-title-main">Equation of time</span> Apparent solar time minus mean solar time

The equation of time describes the discrepancy between two kinds of solar time. The word equation is used in the medieval sense of "reconciliation of a difference". The two times that differ are the apparent solar time, which directly tracks the diurnal motion of the Sun, and mean solar time, which tracks a theoretical mean Sun with uniform motion along the celestial equator. Apparent solar time can be obtained by measurement of the current position of the Sun, as indicated by a sundial. Mean solar time, for the same place, would be the time indicated by a steady clock set so that over the year its differences from apparent solar time would have a mean of zero.

<span class="mw-page-title-main">Orthographic map projection</span> Azimuthal perspective map projection

Orthographic projection in cartography has been used since antiquity. Like the stereographic projection and gnomonic projection, orthographic projection is a perspective projection in which the sphere is projected onto a tangent plane or secant plane. The point of perspective for the orthographic projection is at infinite distance. It depicts a hemisphere of the globe as it appears from outer space, where the horizon is a great circle. The shapes and areas are distorted, particularly near the edges.

<span class="mw-page-title-main">Longitude of the periapsis</span>

In celestial mechanics, the longitude of the periapsis, also called longitude of the pericenter, of an orbiting body is the longitude at which the periapsis would occur if the body's orbit inclination were zero. It is usually denoted ϖ.

The solar zenith angle is the zenith angle of the sun, i.e., the angle between the sun’s rays and the vertical direction. It is the complement to the solar altitude or solar elevation, which is the altitude angle or elevation angle between the sun’s rays and a horizontal plane. At solar noon, the zenith angle is at a minimum and is equal to latitude minus solar declination angle. This is the basis by which ancient mariners navigated the oceans.

The solar azimuth angle is the azimuth of the Sun's position. This horizontal coordinate defines the Sun's relative direction along the local horizon, whereas the solar zenith angle defines the Sun's apparent altitude.

<span class="mw-page-title-main">Solar irradiance</span> Measurement of electromagnetic radiation

Solar irradiance is the power per unit area received from the Sun in the form of electromagnetic radiation in the wavelength range of the measuring instrument. Solar irradiance is measured in watts per square metre (W/m2) in SI units.

<span class="mw-page-title-main">Sunrise equation</span> Equation to derive time of sunset and sunrise

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.

<span class="mw-page-title-main">Salah times</span> Timing of Islamic prayers

Salat times are prayer times when Muslims perform salat. The term is primarily used for the five daily prayers including the Friday prayer, which takes the place of the Dhuhr prayer and must be performed in a group of aibadat. Muslims believe the salah times were revealed by Allah to Muhammad.

<span class="mw-page-title-main">Analemmatic sundial</span>

Analemmatic sundials are a type of horizontal sundial that has a vertical gnomon and hour markers positioned in an elliptical pattern. The gnomon is not fixed and must change position daily to accurately indicate time of day. Hence there are no hour lines on the dial and the time of day is read only on the ellipse. As with most sundials, analemmatic sundials mark solar time rather than clock time.

The Heliocentric Julian Date (HJD) is the Julian Date (JD) corrected for differences in the Earth's position with respect to the Sun. When timing events that occur beyond the Solar System, due to the finite speed of light, the time the event is observed depends on the changing position of the observer in the Solar System. Before multiple observations can be combined, they must be reduced to a common, fixed, reference location. This correction also depends on the direction to the object or event being timed.

<span class="mw-page-title-main">Geographical distance</span> Distance measured along the surface of the Earth

Geographical distance or geodetic distance is the distance measured along the surface of the Earth, or the shortest arch length.

In orbital mechanics, a frozen orbit is an orbit for an artificial satellite in which perturbations have been minimized by careful selection of the orbital parameters. Perturbations can result from natural drifting due to the central body's shape, or other factors. Typically, the altitude of a satellite in a frozen orbit remains constant at the same point in each revolution over a long period of time. Variations in the inclination, position of the apsis of the orbit, and eccentricity have been minimized by choosing initial values so that their perturbations cancel out. This results in a long-term stable orbit that minimizes the use of station-keeping propellant.

Astronomical nutation is a phenomenon which causes the orientation of the axis of rotation of a spinning astronomical object to vary over time. It is caused by the gravitational forces of other nearby bodies acting upon the spinning object. Although they are caused by the same effect operating over different timescales, astronomers usually make a distinction between precession, which is a steady long-term change in the axis of rotation, and nutation, which is the combined effect of similar shorter-term variations.

References

  1. Meeus, Jean (1991). "Chapter 12: Transformation of Coordinates". Astronomical Algorithms. Richmond, VA: Willmann Bell, Inc. ISBN   0-943396-35-2.
  2. 1 2 3 4 5 Jenkins, Alejandro (2013). "The Sun's position in the sky". European Journal of Physics. 34 (3): 633–652. arXiv: 1208.1043 . Bibcode:2013EJPh...34..633J. doi:10.1088/0143-0807/34/3/633. S2CID   119282288.
  3. 1 2 Zhang, T., Stackhouse, P.W., Macpherson, B., and Mikovitz, J.C., 2021. A solar azimuth formula that renders circumstantial treatment unnecessary without compromising mathematical rigor: Mathematical setup, application and extension of a formula based on the subsolar point and atan2 function. Renewable Energy, 172, 1333-1340. DOI: https://doi.org/10.1016/j.renene.2021.03.047
  4. U.S. Naval Observatory; U.K. Hydrographic Office, H.M. Nautical Almanac Office (2008). The Astronomical Almanac for the Year 2010. U.S. Govt. Printing Office. p. C5. ISBN   978-0-7077-4082-9.
  5. Much the same set of equations, covering the years 1800 to 2200, can be found at Approximate Solar Coordinates, at the U.S. Naval Observatory website Archived 2016-01-31 at the Wayback Machine . Graphs of the error of these equations, compared to an accurate ephemeris, can also be viewed.
  6. Meeus (1991), p. 152
  7. U.S. Naval Observatory Nautical Almanac Office (1992). P. Kenneth Seidelmann (ed.). Explanatory Supplement to the Astronomical Almanac. University Science Books, Mill Valley, CA. p. 12. ISBN   0-935702-68-7.
  8. "Selected Astronomical Constants, 2015 (PDF)" (PDF). US Naval Observatory. 2014. p. K6–K7.
  9. "Selected Astronomical Constants, 2015 (TXT)". US Naval Observatory. 2014. p. K6–K7.
  10. J. W. Spencer (1971). "Fourier series representation of the position of the sun".{{cite journal}}: Cite journal requires |journal= (help)
  11. Sproul, Alistair B. (2007). "Derivation of the solar geometric relationships using vector analysis". Renewable Energy. 32 (7): 1187–1205. doi:10.1016/j.renene.2006.05.001.
  12. "SunAlign". Archived from the original on 9 March 2012. Retrieved 28 February 2012.
  13. "NOAA Solar Calculator". Earth System Research Laboratories . Retrieved 28 February 2012.
  14. 1 2 "Solar Calculation Details". Earth System Research Laboratories . Retrieved 28 February 2012.
  15. "Astronomical Algorithms" . Retrieved 28 February 2012.
  16. Blanco-Muriel, Manuel; Alarcón-Padilla, Diego C; López-Moratalla, Teodoro; Lara-Coira, Martín (2001). "Computing the Solar Vector" (PDF). Solar Energy. 70 (5): 431–441. Bibcode:2001SoEn...70..431B. doi:10.1016/s0038-092x(00)00156-0.
  17. Ibrahim Reda & Afshin Andreas. "Solar Position Algorithm for Solar Radiation Applications" (PDF). Retrieved 28 February 2012.
  18. "Atmospheric Refraction Approximation". National Oceanic and Atmospheric Administration . Retrieved 28 February 2012.
  19. Sundial#Noon marks