modelSun

Solar radiation model

Information

The Sun model computes the hour angle, the declination and the azimut of the sun for a given set of geographic position and local time. The model needs information on the difference between the local time zone (corresponding to the time basis of the simulation) and UTC (universal time coordinated) in hours. The ouput data of the Sun model is yet not very useful itself, but it is most commonly used as input data for e.g. RadOnTiltedSurf models to compute the solar radiance according to the azimut of a surface.

Main Author:
Timo Haase
Technische Universtität Berlin
Hermann-Rietschel-Institut
Marchstr. 4
D-10587 Berlin
e-mail: timo.haase@tu-berlin.de

Parameters

TypeNameDefaultDescription
RealLatitudelatitude of location
RealLongitudelongitude of location in
RealDiffWeatherDataTimedifference between local time and UTC, e.g. +1 for MET

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputOutHourAngleSun
Modelica.Blocks.Interfaces.RealOutputOutDeclinationSun
Modelica.Blocks.Interfaces.RealOutputOutAzimutSun

Components

TypeNameDefaultDescription
RealNumberOfDay
RealAzimutSun
RealElevationSun

Revisions

  • September 29, 2006  by Peter Matthes:
    Included ArgACOS variable to protect acos function from arguments > 1. Added protection for some variables.
  • March 14, 2005  by Timo Haase:
    Implemented.