@@ -400,12 +400,12 @@ def batzelis(effective_irradiance, temp_cell,
400400 isc0 , voc0 , imp0 , vmp0 , alpha_sc , beta_voc ):
401401 """
402402 Compute maximum power point, open circuit, and short circuit
403- values using the Batzelis method.
403+ values using Batzelis's method.
404404
405- Batzelis's method [1]_ is a fast method of computing the maximum
406- power current and voltage. The calculations are rooted in the
407- single-diode equation , but only typical datasheet information
408- is required .
405+ Batzelis's method (described in Section III of [1]_) is a fast method
406+ of computing the maximum power current and voltage. The calculations
407+ are rooted in the De Soto single-diode model , but require only typical
408+ datasheet information .
409409
410410 Parameters
411411 ----------
@@ -431,22 +431,43 @@ def batzelis(effective_irradiance, temp_cell,
431431 dict
432432 The returned dict-like object always contains the keys/columns:
433433
434- * i_sc - short circuit current in amperes.
435- * v_oc - open circuit voltage in volts.
436- * i_mp - current at maximum power point in amperes.
437- * v_mp - voltage at maximum power point in volts.
438- * p_mp - power at maximum power point in watts.
434+ * p_mp - power at maximum power point. [W]
435+ * i_mp - current at maximum power point. [A]
436+ * v_mp - voltage at maximum power point. [V]
437+ * i_sc - short circuit current. [A]
438+ * v_oc - open circuit voltage. [V]
439439
440440 Notes
441441 -----
442+ This method is the combination of three sub-methods for:
443+
444+ 1. estimating single-diode model parameters from datasheet information
445+ 2. translating SDM parameters from STC to operating conditions
446+ (taken from the De Soto model)
447+ 3. estimating the MPP, OC, and SC points on the resulting I-V curve.
448+
442449 The ``alpha_sc`` and ``beta_voc`` temperature coefficient parameters
443450 must be given as normalized values.
444451
452+ At extremely low irradiance (e.g. 1e-10 Wm⁻²), this model can produce
453+ negative voltages. This function clips any negative voltages to zero.
454+
445455 References
446456 ----------
447457 .. [1] E. I. Batzelis, "Simple PV Performance Equations Theoretically Well
448458 Founded on the Single-Diode Model," Journal of Photovoltaics vol. 7,
449459 no. 5, pp. 1400-1409, Sep 2017, :doi:`10.1109/JPHOTOV.2017.2711431`
460+
461+ Examples
462+ --------
463+ >>> params = {'isc0': 15.98, 'voc0': 50.26, 'imp0': 15.27, 'vmp0': 42.57,
464+ ... 'alpha_sc': 0.00046, 'beta_voc': -0.0024}
465+ >>> batzelis(np.array([1000, 800]), np.array([25, 30]), **params)
466+ {'p_mp': array([650.0439 , 512.99195952]),
467+ 'i_mp': array([15.27 , 12.23049227]),
468+ 'v_mp': array([42.57 , 41.94368864]),
469+ 'i_sc': array([15.98 , 12.8134032]),
470+ 'v_oc': array([50.26 , 49.26532905])}
450471 """
451472
452473 t0 = 298.15
0 commit comments