# Sun position

The position of the sun is calculated from the time $t$, the longitude and latitude and the time zone (according to the DIN 5034-2 or NREL SPA).

The position of the sun is described by two angles:

• The azimuth angle corresponds to the cardinal points:
• Northern Hemisphere: 180° is North, 270° East, 0° South, 90° West.
• Southern Hemisphere: 0° is North, 90° East, 180° South, 270° West.
• The elevation angle
0° is on the horizon, 90° is the zenith.

Depending on the location, the course of the sun can vary greatly during the day and throughout the year.: