Solar azimuth angle explained

The solar azimuth angle is the azimuth (horizontal angle with respect to north) of the Sun's position. This horizontal coordinate defines the Sun's relative direction along the local horizon, whereas the solar zenith angle (or its complementary angle solar elevation) defines the Sun's apparent altitude.

Conventional sign and origin

There are several conventions for the solar azimuth; however, it is traditionally defined as the angle between a line due south and the shadow cast by a vertical rod on Earth. This convention states the angle is positive if the shadow is east of south and negative if it is west of south.[1] [2] For example, due east would be 90° and due west would be -90°. Another convention is the reverse; it also has the origin at due south, but measures angles clockwise, so that due east is now negative and west now positive.[3]

However, despite tradition, the most commonly accepted convention for analyzing solar irradiation, e.g. for solar energy applications, is clockwise from due north, so east is 90°, south is 180°, and west is 270°. This is the definition used by NREL in their solar position calculators[4] and is also the convention used in the formulas presented here. However, Landsat photos and other USGS products, while also defining azimuthal angles relative to due north, take counterclockwise angles as negative.[5]

Conventional Trigonometric Formulas

The following formulas assume the north-clockwise convention. The solar azimuth angle can be calculated to a good approximation with the following formula, however angles should be interpreted with care because the inverse sine, i.e. or, has multiple solutions, only one of which will be correct.

\sin\phis=

-\sinh\cos\delta
\sin\thetas

.

The following formulas can also be used to approximate the solar azimuth angle, but these formulas use cosine, so the azimuth angle as shown by a calculator will always be positive, and should be interpreted as the angle between zero and 180 degrees when the hour angle,, is negative (morning) and the angle between 180 and 360 degrees when the hour angle,, is positive (afternoon). (These two formulas are equivalent if one assumes the "solar elevation angle" approximation formula).

\begin{align} \cos\phis&=

\sin\delta\cos\Phi-\cosh\cos\delta\sin\Phi
\sin\thetas

\\[5pt] \cos\phis&=

\sin\delta-\cos\thetas\sin\Phi
\sin\thetas\cos\Phi

. \end{align}

So practically speaking, the compass azimuth which is the practical value used everywhere (in example in airlines as the so called course) on a compass (where North is 0 degrees, East is 90 degrees, South is 180 degrees and West is 270 degrees) can be calculated as

compass\phis=360-\phis.

The formulas use the following terminology:

\phis

is the solar azimuth angle

\thetas

is the solar zenith angle

h

is the hour angle, in the local solar time

\delta

is the current sun declination

\Phi

is the local latitude

In addition, dividing the above sine formula by the first cosine formula gives one the tangent formula as is used in The Nautical Almanac.[6]

The formula based on the subsolar point and the atan2 function

A 2021 publication presents a method that uses a solar azimuth formula based on the subsolar point and the atan2 function, as defined in Fortran 90, that gives an unambiguous solution without the need for circumstantial treatment.[7] The subsolar point is the point on the surface of the Earth where the Sun is overhead.

The method first calculates the declination of the Sun and equation of time using equations from The Astronomical Almanac,[8] then it gives the x-, y- and z-components of the unit vector pointing toward the Sun, through vector analysis rather than spherical trigonometry, as follows:

\begin{align} \phis&=\delta,\\ λs&=-15(TGMT-12+Emin/60),\\ Sx&=\cos\phis\sin(λso),\\ Sy&=\cos\phio\sin\phis-\sin\phio\cos\phis\cos(λso),\\ Sz&=\sin\phio\sin\phis+\cos\phio\cos\phis\cos(λso). \end{align}

where

\delta

is the declination of the Sun,

\phis

is the latitude of the subsolar point,

λs

is the longitude of the subsolar point,

TGMT

is the Greenwich Mean Time or UTC,

Emin

is the equation of time in minutes,

\phio

is the latitude of the observer,

λo

is the longitude of the observer,

Sx,Sy,Sz

are the x-, y- and z-components, respectively, of the unit vector pointing toward the Sun.

It can be shown that

2
S
x
2
+S
y
2
+S
z

=1

. With the above mathematical setup, the solar zenith angle and solar azimuth angle are simply

Z=acos(Sz)

,

\gammas=atan2(-Sx,-Sy)

. (South-Clockwise Convention)

where

Z

is the solar zenith angle,

\gammas

is the solar azimuth angle following the South-Clockwise Convention.

If one prefers North-Clockwise Convention, or East-Counterclockwise Convention, the formulas are

\gammas=atan2(Sx,Sy)

, (North-Clockwise Convention)

\gammas=atan2(Sy,Sx)

. (East-Counterclockwise Convention)

Finally, the values of

Sx

,

Sy

and

Sz

at 1-hour step for an entire year can be presented in a 3D plot of "wreath of analemmas" as a graphic depiction of all possible positions of the Sun in terms of solar zenith angle and solar azimuth angle for any given location. Refer to sun path for similar plots for other locations.

See also

External links

Notes and References

  1. Book: Sukhatme, S. P. . Solar Energy: Principles of Thermal Collection and Storage . 2008 . 3rd . Tata McGraw-Hill Education . 978-0070260641 . 84.
  2. Book: Atmospheric Chemistry and Physics, from Air Pollution to Climate Change . John H. . Seinfeld . Spyros N. . Pandis . 2006 . 2nd . Wiley . 978-0-471-72018-8 . 130 . 2013-05-01 . 2013-09-06 . https://web.archive.org/web/20130906094320/http://www.wiley.com/WileyCDA/WileyTitle/productCd-0471720186.html . dead .
  3. Book: Solar Engineering of Thermal Processes . John A. . Duffie . William A. . Beckman . 2013 . 4th . Wiley . 978-0-470-87366-3 . 13, 15, 20 .
  4. Reda, I. . Andreas, A. . Solar Position Algorithm for Solar Radiation Applications . Solar Energy . 76 . 5 . 2004 . 577–89 . 10.1016/j.solener.2003.12.003 . 0038-092X . 2004SoEn...76..577R.
  5. Web site: Sun Azimuth . Landsat Data Dictionary . USGS.
  6. The Nautical Almanac https://thenauticalalmanac.com/Formulas.html
  7. 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
  8. The Astronomical Almanac for the Year. The United Naval Observatory, 2019.