Übersicht Sun position

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


Inputs

KT
Correction Day [min]
Sunrise correction in minutes. With this value the sunrise can be corrected in time. For example, if something should happen 30 minutes before sunrise, the correction is -30 minutes and the sunrise output will be activated 30 minutes earlier.
KN
Correction night [min] Sunset correction in minutes. With this value the sunset can be corrected in time, e.g. if something should happen 30 minutes after sunset, the correction is 30 minutes and the sunset output will be 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 elevation in degrees (-90° to + 90°)

Parameter

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


See also general parameters of all function blocks.