This example calculates the altitude angle of the sun at a given time. The altitude angle is the angle between the sun ray and the projection of the ray on a horizontal surface.
Components used in this model are: