Skip to content

Commit 3c3cdd1

Browse files
committed
removed obsolete variables
1 parent 03e86fa commit 3c3cdd1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pvlib/irradiance.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -449,14 +449,6 @@ def globalinplane(SurfTilt,SurfAz,AOI,DNI,In_Plane_SkyDiffuse, GR):
449449
* ``Eb`` : Total in-plane beam irradiance (W/m^2)
450450
* ``Ediff`` : Total in-plane diffuse irradiance (W/m^2)
451451
'''
452-
Vars=locals()
453-
Expect={'SurfTilt':('num','x>=0'),
454-
'SurfAz':('num','x>=-180','x<=180'),
455-
'AOI':('x>=0'),
456-
'DNI':('x>=0'),
457-
'In_Plane_SkyDiffuse':('x>=0'),
458-
'GR':('x>=0'),
459-
}
460452

461453
Eb = DNI*np.cos(np.radians(AOI))
462454
E = Eb + In_Plane_SkyDiffuse + GR

0 commit comments

Comments
 (0)