Function computing the cosine (cosI) of the angle of incidence at (t0 + t)
Hypothesis and equations
The function returns cosI[3] of the angle of incidence defined between the solar beam and surface normal. The output is of real type in the interval [0; 1]:
cosi = max(0,l*CosDir[1]+m*CosDir[2]+n*CosDir[3])
with:
Bibliography
none
Instructions for use
none
Known limits / Use precautions
none
Validations
Validated function - Hassan BOUIA 03/2013
--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Hassan BOUIA, EDF (2013)
--------------------------------------------------------------
function CosI input Modelica.Units.NonSI.Angle_deg azimut "Surface azimuth in degree"; input Modelica.Units.NonSI.Angle_deg incl "Surface tilt in degree"; input Real CosDir[3] "Sun's direction cosines"; output Real cosi "Cosine of the angle of incidence"; end CosI;
Hassan Bouia 03/2013 : Simplification de l'écriture et adaptation au nouveau modèle MeteoFile