Skip to content

Commit 8ccfdce

Browse files
committed
Update irradiance.py
update variable names (I_d0 to DHI and add definition of theta as aoi)
1 parent 4a4ec58 commit 8ccfdce

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pvlib/irradiance.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ def klucher(surface_tilt, surface_azimuth, dhi, ghi, solar_zenith,
670670
from the sky (ground reflected irradiance is not included in this
671671
algorithm) on a tilted surface using the surface tilt angle, surface
672672
azimuth angle, diffuse horizontal irradiance, direct normal irradiance,
673-
global mhorizontal irradiance, extraterrestrial irradiance, sun zenith
673+
global horizontal irradiance, extraterrestrial irradiance, sun zenith
674674
angle, and sun azimuth angle. The expression for the diffuse irradiance,
675675
:math:`I_d`, is as follows:
676676
@@ -680,13 +680,15 @@ def klucher(surface_tilt, surface_azimuth, dhi, ghi, solar_zenith,
680680
(1 + F' \cos^2\theta\sin^3\theta_z).
681681
682682
DHI is the diffuse horizontal irradiance, :math:`\theta_T` is the surface
683-
tilt angle, :math:`\theta_z` is the solar zenith angle. :math:`F'` is a
684-
modulating function to account for when skies change from clear to
685-
overcast, and is defined as follows:
683+
tilt angle, :math:`\theta_z` is the solar zenith angle, and :math:`\theta`
684+
is the angle of incidence. :math:`F'` is a modulating function to account
685+
for when skies change from clear to overcast, and is defined as follows:
686686
687687
.. math::
688688
689-
F' = 1 - (I_{d0} / GHI)^2
689+
F' = 1 - (DHI / GHI)^2,
690+
691+
where GHI is the global horiztonal irradiance.
690692
691693
References
692694
----------

0 commit comments

Comments
 (0)