Closed
Description
The expression for the DNI clearness index for clear conditions (Knc) is a polynomial fit over the air mass range 1 to 12. The values of this polynomial increase with air mass values > 17 and reach as high as 6 with air mass 37, which is clearly not realistic.
In the current DISC implementation air mass values up to 37 are allowed, and unrealistic DNI values appear when zenith > 88 / air mass > 19.
I suggest clipping zenith at 85 or 86 instead of clipping cos(zenith) to 0.065. This produces a more graceful transition to night time.