SolarEWAxisSecondary (FUN)

FUNCTION SolarEWAxisSecondary : LREAL

This function calculates the angle of secondary axis according: azimuth, elevation, correction alignment factor and angle of main axis. This function assumes the north south axis as the main system axis. Output parameter is the angle of secondary axis.

InOut:

Scope

Name

Type

Initial

Comment

Return

SolarEWAxisSecondary

LREAL

Input

Azimuth

LREAL

0

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

Elevation

LREAL

0

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

AlignmentCorrection

LREAL

0

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

NSAxisPrim

LREAL

0

4: Main angle axis (0°=zenith, -90°=east, 90°=west)