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 current AOI loss models set negative values to np.nan, rather than zero. When np.nans are propagated to the effective irradiance model, the beam irradiance (and the effective irradiance) becomes np.nan rather than 0. As a consequence, pvlib cannot compute effective irradiance when AOI>90, i.e., when the sun is behind the array plane. In this circumstance there's still diffuse irradiance on the array plane.
I think it would be better to implement the AOI loss models as
f(AOI) = model value if AOI<90
f(AOI) = 0 otherwise.