This component computes the sky clearness.
In the Annex60 library, HGloHor
is always larger than 1E-4,
minus some small undershoot due to regularization. Hence,
the implementation is not simplified for
HGloHor < Modelica.Constants.small.
The function call
Annex60.Utilities.Math.Functions.smoothMax
is such that the regularization is usually not triggered.
deltaX from 0.1 to 0.01,
and also optimized the code.k to reduce number of operations.
algorithm section into
equation section for easier differentiability.