Skip to content

Commit 23dd57e

Browse files
committed
Issue #2245 - Linting/ PEP8
1 parent 62045a5 commit 23dd57e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pvlib/bifacial/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ def _unshaded_ground_fraction(surface_tilt, surface_azimuth, solar_zenith,
8787
surface_azimuth)
8888
f_gnd_beam = 1.0 - np.minimum(
8989
1.0, gcr * np.abs(cosd(surface_tilt) + sind(surface_tilt) * tan_phi))
90-
f_gnd_beam=np.where(solar_zenith > max_zenith, 0., f_gnd_beam) # [1], Eq. 4
90+
f_gnd_beam = np.where(solar_zenith > max_zenith, 0., f_gnd_beam)
91+
# [1], Eq. 4
9192
return f_gnd_beam # 1 - min(1, abs()) < 1 always
9293

9394

0 commit comments

Comments
 (0)