Skip to content

Commit 03e86fa

Browse files
committed
removed outdated parsing tool
1 parent 30e908c commit 03e86fa

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pvlib/irradiance.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,9 @@ def globalinplane(SurfTilt,SurfAz,AOI,DNI,In_Plane_SkyDiffuse, GR):
458458
'GR':('x>=0'),
459459
}
460460

461-
var=tools.Parse(Vars,Expect)
462-
463-
Eb = var.DNI*np.cos(np.radians(var.AOI))
464-
E = Eb + var.In_Plane_SkyDiffuse + var.GR
465-
Ediff = var.In_Plane_SkyDiffuse + var.GR
461+
Eb = DNI*np.cos(np.radians(AOI))
462+
E = Eb + In_Plane_SkyDiffuse + GR
463+
Ediff = In_Plane_SkyDiffuse + GR
466464

467465

468466
return pd.DataFrame({'E':E,'Eb':Eb,'Ediff':Ediff})

0 commit comments

Comments
 (0)