pvpumpingsystem.pvpumpsystem.function_i_from_v¶
-
pvpumpingsystem.pvpumpsystem.
function_i_from_v
(V, I_L, I_o, R_s, R_sh, nNsVth, M_s=1, M_p=1)¶ Deprecated: ‘function_i_from_v’ deprecated. Use pvlib.pvsystem.i_from_v instead
Function I=f(V) coming from equation of Single Diode Model with parameters adapted to the irradiance and temperature.
The adaptation of the 5 parameters from module parameters to array parameters is made according to [1].
Parameters: - V (numeric) – Voltage at which the corresponding current is to be calculated in volt.
- I_L (numeric) – The light-generated current (or photocurrent) in amperes.
- I_o (numeric) – The dark or diode reverse saturation current in amperes.
- nNsVth (numeric) – The product of the usual diode ideality factor (n, unitless), number of cells in series (Ns), and cell thermal voltage at reference conditions, in units of V.
- R_sh (numeric) – The shunt resistance in ohms.
- R_s (numeric) – The series resistance in ohms.
- M_s (numeric) – The number of module in series in the whole pv system. (= modules_per_strings)
- M_p (numeric) – The number of module in parallel in the whole pv system. (= strings_per_inverter)
Returns: Output current of the whole pv source, in A.
Return type: numeric
Notes
According to the speed of the computations, it seems that the complexity of this function is cubic O(n^3), and therefore it takes too much time to compute this way for long vectors (around 45min for 8760 elements).
Different from pvsystem.i_from_v because it includes M_s and M_p, so it gives the corresponding current at the output of the array, not only the module.
References
- [1] Petrone & al (2017), “Photovoltaic Sources Modeling”, Wiley, p.5.
- URL: http://doi.wiley.com/10.1002/9781118755877