- Source: Solar azimuth angle
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. 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.
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 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.
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. x = sin−1 y or x = arcsin y, has multiple solutions, only one of which will be correct.
sin
ϕ
s
=
−
sin
h
cos
δ
sin
θ
s
.
{\displaystyle \sin \phi _{\mathrm {s} }={\frac {-\sin h\cos \delta }{\sin \theta _{\mathrm {s} }}}.}
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, h, is negative (morning) and the angle between 180 and 360 degrees when the hour angle, h, is positive (afternoon). (These two formulas are equivalent if one assumes the "solar elevation angle" approximation formula).
cos
ϕ
s
=
sin
δ
cos
Φ
−
cos
h
cos
δ
sin
Φ
sin
θ
s
cos
ϕ
s
=
sin
δ
−
cos
θ
s
sin
Φ
sin
θ
s
cos
Φ
.
{\displaystyle {\begin{aligned}\cos \phi _{\mathrm {s} }&={\frac {\sin \delta \cos \Phi -\cos h\cos \delta \sin \Phi }{\sin \theta _{\mathrm {s} }}}\\[5pt]\cos \phi _{\mathrm {s} }&={\frac {\sin \delta -\cos \theta _{\mathrm {s} }\sin \Phi }{\sin \theta _{\mathrm {s} }\cos \Phi }}.\end{aligned}}}
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
ϕ
s
=
360
−
ϕ
s
.
{\displaystyle {\text{compass }}\phi _{\mathrm {s} }=360-\phi _{\mathrm {s} }.}
The formulas use the following terminology:
ϕ
s
{\displaystyle \phi _{\mathrm {s} }}
is the solar azimuth angle
θ
s
{\displaystyle \theta _{\mathrm {s} }}
is the solar zenith angle
h
{\displaystyle h}
is the hour angle, in the local solar time
δ
{\displaystyle \delta }
is the current sun declination
Φ
{\displaystyle \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.
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. 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, 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:
ϕ
s
=
δ
,
λ
s
=
−
15
(
T
G
M
T
−
12
+
E
m
i
n
/
60
)
,
S
x
=
cos
ϕ
s
sin
(
λ
s
−
λ
o
)
,
S
y
=
cos
ϕ
o
sin
ϕ
s
−
sin
ϕ
o
cos
ϕ
s
cos
(
λ
s
−
λ
o
)
,
S
z
=
sin
ϕ
o
sin
ϕ
s
+
cos
ϕ
o
cos
ϕ
s
cos
(
λ
s
−
λ
o
)
.
{\displaystyle {\begin{aligned}\phi _{s}&=\delta ,\\\lambda _{s}&=-15(T_{\mathrm {GMT} }-12+E_{\mathrm {min} }/60),\\S_{x}&=\cos \phi _{s}\sin(\lambda _{s}-\lambda _{o}),\\S_{y}&=\cos \phi _{o}\sin \phi _{s}-\sin \phi _{o}\cos \phi _{s}\cos(\lambda _{s}-\lambda _{o}),\\S_{z}&=\sin \phi _{o}\sin \phi _{s}+\cos \phi _{o}\cos \phi _{s}\cos(\lambda _{s}-\lambda _{o}).\end{aligned}}}
where
δ
{\displaystyle \delta }
is the declination of the Sun,
ϕ
s
{\displaystyle \phi _{s}}
is the latitude of the subsolar point,
λ
s
{\displaystyle \lambda _{s}}
is the longitude of the subsolar point,
T
G
M
T
{\displaystyle T_{\mathrm {GMT} }}
is the Greenwich Mean Time or UTC,
E
m
i
n
{\displaystyle E_{\mathrm {min} }}
is the equation of time in minutes,
ϕ
o
{\displaystyle \phi _{o}}
is the latitude of the observer,
λ
o
{\displaystyle \lambda _{o}}
is the longitude of the observer,
S
x
,
S
y
,
S
z
{\displaystyle S_{x},S_{y},S_{z}}
are the x-, y- and z-components, respectively, of the unit vector pointing toward the Sun. The x-, y- and z-axises of the coordinate system point to East, North and upward, respectively.
It can be shown that
S
x
2
+
S
y
2
+
S
z
2
=
1
{\displaystyle S_{x}^{2}+S_{y}^{2}+S_{z}^{2}=1}
. With the above mathematical setup, the solar zenith angle and solar azimuth angle are simply
Z
=
a
c
o
s
(
S
z
)
{\displaystyle Z=\mathrm {acos} (S_{z})}
,
γ
s
=
a
t
a
n
2
(
−
S
x
,
−
S
y
)
{\displaystyle \gamma _{s}=\mathrm {atan2} (-S_{x},-S_{y})}
. (South-Clockwise Convention)
where
Z
{\displaystyle Z}
is the solar zenith angle,
γ
s
{\displaystyle \gamma _{s}}
is the solar azimuth angle following the South-Clockwise Convention.
If one prefers North-Clockwise Convention, or East-Counterclockwise Convention, the formulas are
γ
s
=
a
t
a
n
2
(
S
x
,
S
y
)
{\displaystyle \gamma _{s}=\mathrm {atan2} (S_{x},S_{y})}
, (North-Clockwise Convention)
γ
s
=
a
t
a
n
2
(
S
y
,
S
x
)
{\displaystyle \gamma _{s}=\mathrm {atan2} (S_{y},S_{x})}
. (East-Counterclockwise Convention)
Finally, the values of
S
x
{\displaystyle S_{x}}
,
S
y
{\displaystyle S_{y}}
and
S
z
{\displaystyle S_{z}}
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
Equation of time
Horizontal coordinate system
Hour angle
Position of the Sun
Solar time
Solar tracker
Sun path
Sunrise
Sunset
Zenith
References
External links
Solar Position Calculators by National Renewable Energy Laboratory (NREL)
Solar Position Algorithm for Solar Radiation Applications (NREL)
An Excel workbook with VBA functions for solar azimuth, solar elevation, dawn, sunrise, solar noon, sunset, and dusk, by Greg Pelletier, translated from NOAA's online calculators for solar position and sunrise/sunset
An Excel workbook with a solar position and solar radiation time-series calculator, by Greg Pelletier
Sun Position Calculator Free on-line tool to estimate the position of the sun with three different algorithms.
PVCDROM Azimuth Angle - online material regarding Photovoltaics by UNSW, ASU, NSF et al.
Kata Kunci Pencarian:
- Solar azimuth angle
- Solar zenith angle
- Azimuth
- Position of the Sun
- Sun path
- Sunset
- Sunrise
- Atan2
- Horizontal coordinate system
- Solar irradiance