This component computes the sky clearness.
In the IBPSA 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
IBPSA.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.