pvlib.pvsystem.v_from_i

pvlib.pvsystem.v_from_i(resistance_shunt, resistance_series, nNsVth, current, saturation_current, photocurrent)[source]

Calculates voltage from current per Eq 3 Jain and Kapoor 2004 [1].

Parameters:

resistance_shunt : numeric

Shunt resistance in ohms under desired IV curve conditions. Often abbreviated Rsh.

resistance_series : numeric

Series resistance in ohms under desired IV curve conditions. Often abbreviated Rs.

nNsVth : numeric

The product of three components. 1) The usual diode ideal factor (n), 2) the number of cells in series (Ns), and 3) the cell thermal voltage under the desired IV curve conditions (Vth). The thermal voltage of the cell (in volts) may be calculated as k*temp_cell/q, where k is Boltzmann’s constant (J/K), temp_cell is the temperature of the p-n junction in Kelvin, and q is the charge of an electron (coulombs).

current : numeric

The current in amperes under desired IV curve conditions.

saturation_current : numeric

Diode saturation current in amperes under desired IV curve conditions. Often abbreviated I_0.

photocurrent : numeric

Light-generated current (photocurrent) in amperes under desired IV curve conditions. Often abbreviated I_L.

Returns:

current : np.array

References

[1] A. Jain, A. Kapoor, “Exact analytical solutions of the parameters of real solar cells using Lambert W-function”, Solar Energy Materials and Solar Cells, 81 (2004) 269-277.