functionCosI

Cosine of the angle of incidence

Information

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:

  • l=cos(s)
  • m=sin(s)*sin(g)
  • n=sin(s)*cos(g)

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)
--------------------------------------------------------------

Inputs

TypeNameDefaultDescription
Modelica.Units.NonSI.Angle_degazimutSurface azimuth in degree
Modelica.Units.NonSI.Angle_deginclSurface tilt in degree
Real[3]CosDirSun's direction cosines

Outputs

TypeNameDefaultDescription
RealcosiCosine of the angle of incidence

Revisions

Hassan Bouia 03/2013 : Simplification de l'écriture et adaptation au nouveau modèle MeteoFile