Solar
Sun Position
Description Given the location, defined by Latitude, Longitude, and Altitude, Sun Position can calculate the Zenith Angle and the Azimuth 180.

Zenith Angle is the angle between the sun and vertical 90°.
Azimuth 180 is the direction the sunlight comes from. The horizontal angle measured from the South. Positive is Westward.

Δ T is the time difference between Terrestrial Time (independent of the Earth's rotation), Universal Time (defined by the Earth's rotation).
Availability
  • Available only in the dw2xx & dw2xx-v2 series products
  • Requires library: Solar (option -29)
  • Singleton function block
  • Firmware versions 0x2017 and later
savvy-SFD Graphic sunPosition
Graphic with Parameters sunPosition

Parameters

∆T Internal Parameter, Read-write, Analog (signed 16-bit integer)
-3276.7 s to 3276.7 s

The difference between Terrestrial Time and Universal Time. More Info
Longitude Input, Read-write, Analog (signed 16-bit integer)
-180.00 ° to 180.00 °

Positive is East
Latitude Input, Read-write, Analog (signed 16-bit integer)
-90.00 ° to 90.00 °

Positive is North
Altitude Input, Read-write, Analog (signed 16-bit integer)
-32767 m to 32767 m

Above mean sea level
Zenith Angle Output, Read-only, Analog (signed 16-bit integer)
0.00 ° to 180.00 °

The vertical angle measured from the zenith
Azimuth 180 Output, Read-only, Analog (signed 16-bit integer)
-180.00 ° to 180.00 °

The horizontal angle measured from the South. Positive is Westward.