This component computes the sky clearness.
In the IBPSA
library, HDirNor
is always larger than 1E-4,
minus some small undershoot due to regularization. Hence,
the implementation is not simplified for
HDirNor < Modelica.Constants.small
.
The function call
IBPSA.Utilities.Math.Functions.smoothMax
is such that the regularization is usually not triggered.
lat
from being a parameter to an input from weather bus.HGloHor
to HDirNor
.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.