Skip to content

Commit a78fbc9

Browse files
committed
make math eqns a little nicer
1 parent aae7dc4 commit a78fbc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pvlib/irradiance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ def _get_dirint_coeffs():
19141914

19151915

19161916
def erbs(ghi, zenith, doy):
1917-
"""
1917+
r"""
19181918
Estimate DNI and DHI from GHI using the Erbs model.
19191919
19201920
The Erbs model [1]_ estimates the diffuse fraction DF from global
@@ -1924,13 +1924,13 @@ def erbs(ghi, zenith, doy):
19241924
19251925
.. math::
19261926
1927-
DHI = DF * GHI
1927+
DHI = DF \times GHI
19281928
19291929
DNI is then estimated as
19301930
19311931
.. math::
19321932
1933-
DNI = (GHI - DHI)/cos(Z)
1933+
DNI = (GHI - DHI)/\cos(Z)
19341934
19351935
where Z is the zenith angle.
19361936

0 commit comments

Comments
 (0)