Skip to content

Commit c958abf

Browse files
committed
Update mismatch.py
1 parent 31fe508 commit c958abf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pvlib/spectrum/mismatch.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -767,10 +767,7 @@ def spectral_factor_polo(precipitable_water, airmass_absolute, aod500, aoi,
767767
'be provided')
768768
am_aoi = pvlib.atmosphere.get_relative_airmass(aoi)
769769
pressure = pvlib.atmosphere.alt2pres(altitude)
770-
am90 = pvlib.atmosphere.get_absolute_airmass(am_aoi, pressure)
771-
Ram = am90 / airmass_absolute
772770
f_aoi_rel= pvlib.atmosphere.get_relative_airmass(aoi, model='kastenyoung1989')
773-
pressure = pvlib.atmosphere.alt2pres(altitude)
774771
f_aoi = pvlib.atmosphere.get_absolute_airmass(f_aoi_rel, pressure)
775772
Ram = f_aoi / airmass_absolute
776773
_coefficients = {

0 commit comments

Comments
 (0)