Skip to content

Commit 21cf3bd

Browse files
make dni_extra a required parameter
1 parent 042af42 commit 21cf3bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/irradiance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ def poa_error(ghi):
15281528
def ghi_from_poa_driesse_2023(surface_tilt, surface_azimuth,
15291529
solar_zenith, solar_azimuth,
15301530
poa_global,
1531-
dni_extra=None, airmass=None, albedo=0.25,
1531+
dni_extra, airmass=None, albedo=0.25,
15321532
xtol=0.01,
15331533
full_output=False):
15341534
'''
@@ -1549,7 +1549,7 @@ def ghi_from_poa_driesse_2023(surface_tilt, surface_azimuth,
15491549
Solar azimuth angle. [degree]
15501550
poa_global : numeric
15511551
Plane-of-array global irradiance, aka global tilted irradiance. [Wm⁻²]
1552-
dni_extra : numeric, optional
1552+
dni_extra : numeric
15531553
Extraterrestrial direct normal irradiance. [Wm⁻²]
15541554
airmass : numeric, optional
15551555
Relative airmass (not adjusted for pressure). [unitless]

0 commit comments

Comments
 (0)