Overview Sun position

This function block calculates the sun position and sunrise/sunset.


Inputs

KT
Correction day [min]
Correction of sunrise in minutes. With this value the sunrise can be corrected in time. If, for example, something is to happen 30 minutes before sunrise, the correction is -30 minutes and the output for sunrise is activated 30 minutes earlier.
KN
Correction night [min] Correction of sunset in minutes. With this value the sunset can be corrected in time. If, for example, something is to happen 30 minutes after sunset, the correction is 30 minutes and the output for sunset is activated 30 minutes later.

Outputs

TN
Day/Night
Output becomes 1 at sunrise and 0 at sunset.
AZ
Azimuth
Sun angle in degrees (0°-360°)
EL
Elevation
Sun height in degrees (-90° to + 90°)

Parameters

Longitude (dec.)
Geographic position in decimal degrees
Latitude (dec.) Geographic position in decimal degrees
Time zone (1=AUT)
Time zone


See also common parameters of all function blocks.