DELSOL 3
function aparentSolarZenith extends Modelica.Icons.Function; input SI.Angle dec "Solar declination (+ve North of equator)"; input SI.Angle hra "Solar hour angle (solar noon at 0)"; input nSI.Angle_deg lat = -23.795 "Latitude (+ve North)"; output SI.Angle zen_ap "Solar zenith"; end aparentSolarZenith;