You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The perez model in irradiance.py forces F2, and thus the horizon component of diffuse, to be non-negative. This restriction should not happen. F2 and the horizon coefficient should be allowed to be negative and to reduce overall diffuse.
According to the original paper at https://www.osti.gov/servlets/purl/7024029
Section III.2 states this explicitly for the horizon component:
"(2) The horizon brightening coefficient, F2, is negative for overcast and low E occurrences -- indicative of brightening of the zenithal region of the sky for these conditions. This becomes positive past intermediate conditions and increases substantially with clearness."
We observed a higher than expected POAI, coming from poa diffuse, on cloudy days at certain sites.
Expected:
Horizon (burgundy) can be less than zero and sky diffuse (green) is less than isotropic (blue)
Observed from PVLib:
Horizon is prevented from being negative and sky diffuse ends up higher than isotropic.
Repro'd on PVLib 0.8.1
See added test case in the PR for this repro case.
The text was updated successfully, but these errors were encountered:
It appears that the equivalent of this line was in the original port from Matlab to python. In the Matlab function F2 is not bounded below by 0. It seems likely that this is a cut-and-paste mistake in the original port. I will check the later references (1, 2 and 3) and see if there is any reversion of that statement about F2 in the 1988 reference.
I agree with the issue; F2 >= 0 was never a condition included in the Perez model. The references are consistent that F2 < 0 was ia possibility intentionally included. From [3], section 3.2.1 "The negative value for F2 is traceable to a relative brightening of the zenithal region for overcast conditions the physical nature of which is well understood..."
The perez model in irradiance.py forces F2, and thus the horizon component of diffuse, to be non-negative. This restriction should not happen. F2 and the horizon coefficient should be allowed to be negative and to reduce overall diffuse.
According to the original paper at https://www.osti.gov/servlets/purl/7024029
Section III.2 states this explicitly for the horizon component:
"(2) The horizon brightening coefficient, F2, is negative for overcast and low E occurrences -- indicative of brightening of the zenithal region of the sky for these conditions. This becomes positive past intermediate conditions and increases substantially with clearness."
We observed a higher than expected POAI, coming from poa diffuse, on cloudy days at certain sites.
Expected:
Horizon (burgundy) can be less than zero and sky diffuse (green) is less than isotropic (blue)
Observed from PVLib:
Horizon is prevented from being negative and sky diffuse ends up higher than isotropic.
Repro'd on PVLib 0.8.1
See added test case in the PR for this repro case.
The text was updated successfully, but these errors were encountered: