ivcurves.precise.max_power_pt_finder#
- ivcurves.precise.max_power_pt_finder(il, io, rs, rsh, n, vth, ns, atol)#
Calculates power at maximum power point.
- Parameters:
il (numeric) – Light-generated current \(I_L\) (photocurrent) [A]
io (numeric) – Diode saturation \(I_0\) current under desired IV curve conditions. [A]
rs (numeric) – Series resistance \(R_s\) under desired IV curve conditions. [ohm]
rsh (numeric) – Shunt resistance \(R_{sh}\) under desired IV curve conditions. [ohm]
n (numeric) – Diode ideality factor \(n\)
vth (numeric) – Thermal voltage of the cell \(V_{th}\) [V] The thermal voltage of the cell (in volts) may be calculated as \(k_B T_c / q\), where \(k_B\) is Boltzmann’s constant (J/K), \(T_c\) is the temperature of the p-n junction in Kelvin, and \(q\) is the charge of an electron (coulombs).
ns (numeric) – Number of cells in series \(N_s\)
atol (float) – The returned voltage will be at most
atol
from the voltage that yields the true maximum power of the given IV curve.
- Returns:
(max_voltage, max_current, max_power) – A good approximation for the voltage \(V\), current \(I\), and power \(P\) of the maximum power point of the given IV curve.
- Return type:
tuple of mpmath floats