glediode(IL, I0, Rs, Rsh, nNsVth)</tt></li><li><tt>[Result] = pvl_singlediode(IL, I0, Rs, Rsh, nNsVth, NumPoints)</tt></li></ul></div><h2>Description<a name="2"></a></h2><p>pvl_singlediode solves the single diode equation [1]: <tt>I = IL - I0*[exp((V+I*Rs)/(nNsVth))-1] - (V + I*Rs)/Rsh</tt> for I and V when given IL, I0, Rs, Rsh, and nNsVth (nNsVth = n*Ns*Vth) which are described later. pvl_singlediode returns a struct which contains the 5 points on the I-V curve specified in SAND2004-3535 [3], and can opti