Skip to content

Commit 483099c

Browse files
committed
Fix redundant multiplication
1 parent c4a1263 commit 483099c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pvlib/irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ def reindl(surface_tilt, surface_azimuth, dhi, dni, ghi, dni_extra,
10091009

10101010
term1 = (1 - AI) * SVF
10111011
term2 = AI * Rb
1012-
term3 = (1 - AI) * SVF * h
1012+
term3 = term1 * h
10131013

10141014
sky_diffuse = dhi * (term1 + term2 + term3)
10151015

0 commit comments

Comments
 (0)