@@ -328,7 +328,7 @@ def adr(v_dc, p_dc, inverter, vtol=0.10):
328328
329329def pvwatts (pdc , pdc0 , eta_inv_nom = 0.96 , eta_inv_ref = 0.9637 ):
330330 r"""
331- Implements NREL's PVWatts inverter model.
331+ NREL's PVWatts inverter model.
332332
333333 The PVWatts inverter model [1]_ calculates inverter efficiency :math:`\eta`
334334 as a function of input DC power
@@ -348,7 +348,7 @@ def pvwatts(pdc, pdc0, eta_inv_nom=0.96, eta_inv_ref=0.9637):
348348
349349 Parameters
350350 ----------
351- pdc: numeric
351+ pdc : numeric
352352 DC power. Same unit as ``pdc0``.
353353 pdc0: numeric
354354 DC input limit of the inverter. Same unit as ``pdc``.
@@ -371,6 +371,10 @@ def pvwatts(pdc, pdc0, eta_inv_nom=0.96, eta_inv_ref=0.9637):
371371 :py:func:`pvlib.pvsystem.pvwatts_dc` refers to the DC power of the modules
372372 at reference conditions.
373373
374+ See Also
375+ --------
376+ pvlib.inverter.pvwatts_multi
377+
374378 References
375379 ----------
376380 .. [1] A. P. Dobos, "PVWatts Version 5 Manual,"
@@ -396,6 +400,39 @@ def pvwatts(pdc, pdc0, eta_inv_nom=0.96, eta_inv_ref=0.9637):
396400 return power_ac
397401
398402
403+ def pvwatts_multi (pdc , pdc0 , eta_inv_nom = 0.96 , eta_inv_ref = 0.9637 ):
404+ r"""
405+ Extend NREL's PVWatts inverter model for multiple MPP inputs.
406+
407+ DC input power is summed over MPP inputs to obtain the DC power
408+ input to the PVWatts inverter model. See :py:func:`pvlib.inverter.pvwatts`
409+ for details.
410+
411+ Parameters
412+ ----------
413+ pdc : tuple, list or array of numeric
414+ DC power on each MPPT input of the inverter. If type is array, must
415+ be 2d with axis 0 being the MPPT inputs. Same unit as ``pdc0``.
416+ pdc0: numeric
417+ DC input limit of the inverter. Same unit as ``pdc``.
418+ eta_inv_nom: numeric, default 0.96
419+ Nominal inverter efficiency. [unitless]
420+ eta_inv_ref: numeric, default 0.9637
421+ Reference inverter efficiency. PVWatts defines it to be 0.9637
422+ and is included here for flexibility. [unitless]
423+
424+ Returns
425+ -------
426+ power_ac: numeric
427+ AC power. Same unit as ``pdc0``.
428+
429+ See Also
430+ --------
431+ pvlib.inverter.pvwatts
432+ """
433+ return pvwatts (sum (pdc ), pdc0 , eta_inv_nom , eta_inv_ref )
434+
435+
399436def fit_sandia (ac_power , dc_power , dc_voltage , dc_voltage_level , p_ac_0 , p_nt ):
400437 r'''
401438 Determine parameters for the Sandia inverter model.
0 commit comments