Skip to content

Commit 3df13ae

Browse files
committed
Update mismatch.py
1 parent c9b9816 commit 3df13ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pvlib/spectrum/mismatch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,4 +786,8 @@ def spectral_factor_polo(precipitable_water, airmass_absolute, aod500, aoi,
786786
# Ground albedo correction
787787
g = c_albedo[0] * (albedo/0.2)**2 \
788788
+ c_albedo[1] * (albedo/0.2) + c_albedo[2]
789+
# if aoi > 90 no ilumination, no spectral correction
790+
if aoi > 90:
791+
g=1
792+
smm=1
789793
return g*smm

0 commit comments

Comments
 (0)