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
Changing the horizon_band_angle input to HybridPerezOrdered doesn't seem to affect front-side irradiance nearly as much as it does rear-side. Code to reproduce:
Looking at HybridPerezOrdered.transform, I guess the horizon band shading calculation for the front is done differently from the rear. In fact it's not clear to me that horizon band shading is calculated at all for the front side, but maybe I'm missing it. If it is, I would naively expect horizon band shading loss to be more or less the same for front and rear side. @anomam any thoughts? :)
The text was updated successfully, but these errors were encountered:
hey @kanderso-nrel , sorry for the delay.
That's a good catch! And it's quite clearly shown here: https://github.com/SunPower/pvfactors/blob/master/pvfactors/irradiance/models.py#L697-L698
It's been a very long time and I feel like there was a reason we didn't do it then, but I can't quite remember. Maybe it was for computation speed, or because the implementations we made didn't fit well the data we had, or just because SunPower at that time only cared about backside irradiance, not exactly sure...
In any case, I think we should make sure pvfactors stays consistent, and it would be nice to have an implementation for it... I don't think I'll have the bandwidth to lead this in the near future (I wasn't even able to add type hints like I was hoping for during the holiday...), but if anyone wants to take a stab at it I'd be happy to review.
Changing the
horizon_band_angle
input toHybridPerezOrdered
doesn't seem to affect front-side irradiance nearly as much as it does rear-side. Code to reproduce:Looking at
HybridPerezOrdered.transform
, I guess the horizon band shading calculation for the front is done differently from the rear. In fact it's not clear to me that horizon band shading is calculated at all for the front side, but maybe I'm missing it. If it is, I would naively expect horizon band shading loss to be more or less the same for front and rear side. @anomam any thoughts? :)The text was updated successfully, but these errors were encountered: