SolarNSAxisPrimary (FUN)

FUNCTION SolarNSAxisPrimary : LREAL

This function calculates the angle of north to south axis according to: azimuth, elevation and correction alignment factor. Output parameter is the angle of north to south axis for solar tracking.

InOut:

Scope

Name

Type

Initial

Comment

Return

SolarNSAxisPrimary

LREAL

Input

Azimuth

LREAL

0

1: Sun Azimuth (0°=360°=north , 90°=east , 180°=south , 270°=west)

Elevation

LREAL

0

2: Sun elevation ( 0°=sun rise , max 90°= zenith)

AlignmentCorrection

LREAL

0

3: Axis alignment. Angle between system axis and north (clockwise)