@@ -713,8 +713,7 @@ def ross(poa_global, temp_air, noct=None, k=None):
713713 return temp_air + k * poa_global
714714
715715
716- def _fuentes_hconv (tave , windmod , tinoct , temp_delta , xlen , tilt ,
717- check_reynold ):
716+ def _fuentes_hconv (tave , windmod , temp_delta , xlen , tilt , check_reynold ):
718717 # Calculate the convective coefficient as in Fuentes 1987 -- a mixture of
719718 # free, laminar, and turbulent convection.
720719 densair = 0.003484 * 101325.0 / tave # density
@@ -836,7 +835,7 @@ def fuentes(poa_global, temp_air, wind_speed, noct_installed, module_height=5,
836835 # convective coefficient of top surface of module at NOCT
837836 windmod = 1.0
838837 tave = (tinoct + 293.15 ) / 2
839- hconv = _fuentes_hconv (tave , windmod , tinoct , tinoct - 293.15 , xlen ,
838+ hconv = _fuentes_hconv (tave , windmod , tinoct - 293.15 , xlen ,
840839 surface_tilt , False )
841840
842841 # determine the ground temperature ratio and the ratio of the total
@@ -896,7 +895,7 @@ def fuentes(poa_global, temp_air, wind_speed, noct_installed, module_height=5,
896895 for j in range (10 ):
897896 # overall convective coefficient
898897 tave = (tmod + tamb ) / 2
899- hconv = convrat * _fuentes_hconv (tave , windmod , tinoct ,
898+ hconv = convrat * _fuentes_hconv (tave , windmod ,
900899 abs (tmod - tamb ), xlen ,
901900 surface_tilt , True )
902901 # sky radiation coefficient (Equation 3)
0 commit comments