blockSkyClearness
Sky clearness
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This component computes the sky clearness.
Implementation
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.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | zen | Zenith angle of the sun beam | |
| Modelica.Blocks.Interfaces.RealInput | HDifHor | Horizontal diffuse solar radiation | |
| Modelica.Blocks.Interfaces.RealInput | HGloHor | Horizontal global solar radiation | |
| Modelica.Blocks.Interfaces.RealOutput | skyCle | Sky clearness. skyCle=1: overast sky; skyCle=8: clear sky |
Revisions
-
September 23, 2016, by Michael Wetter:
ChangeddeltaXfrom0.1to0.01, and also optimized the code.
This is for issue 521. -
May 5, 2015, by Michael Wetter:
Introduced constantkto reduce number of operations. -
May 5, 2015, by Filip Jorissen:
Convertedalgorithmsection intoequationsection for easier differentiability. -
July 07, 2010, by Wangda Zuo:
First implementation.