function elevationAngle 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 ele "Solar elevation angle"; end elevationAngle;