You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The singlediode function, located in pvsystem.py, does not have the capability to return continuous current and voltage values. I have modified the code to include a loop:
si = np.ones((NumPoints,1))
sv = np.linspace(-1,1,NumPoints)
if NumPoints >= 2:
for i in range(NumPoints):
V[i,:] = Voc.values * sv[i]
I[i,:] = I_from_V(Rsh=Rsh, Rs=Rs, nNsVth=nNsVth, V=V[i,:], I0=I0, IL=IL)
This may not be the most efficient way but it worked.