@@ -878,7 +878,6 @@ def haydavies(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
878878
879879def reindl (surface_tilt , surface_azimuth , dhi , dni , ghi , dni_extra ,
880880 solar_zenith , solar_azimuth , return_components = False ):
881- solar_zenith , solar_azimuth , return_components = False ):
882881 r'''
883882 Determine the diffuse irradiance from the sky on a tilted surface using
884883 the Reindl (1990) model.
@@ -921,10 +920,6 @@ def reindl(surface_tilt, surface_azimuth, dhi, dni, ghi, dni_extra,
921920 Flag used to decide whether to return the calculated diffuse components
922921 or not.
923922
924- return_components : bool, default False
925- Flag used to decide whether to return the calculated diffuse components
926- or not.
927-
928923 Returns
929924 -------
930925 numeric, Dict, or DataFrame
@@ -1005,8 +1000,6 @@ def reindl(surface_tilt, surface_azimuth, dhi, dni, ghi, dni_extra,
10051000
10061001 SVF = (1 + tools .cosd (surface_tilt )) / 2
10071002
1008- SVF = (1 + tools .cosd (surface_tilt )) / 2
1009-
10101003 with np .errstate (invalid = 'ignore' , divide = 'ignore' ):
10111004 hb_to_ghi = np .where (ghi == 0 , 0 , np .divide (HB , ghi ))
10121005 h = np .sqrt (hb_to_ghi ) * (tools .sind (surface_tilt / 2 ) ** 3 )
0 commit comments