Skip to content

Commit dc58507

Browse files
committed
cleaning up docs
1 parent 69ce5e7 commit dc58507

File tree

1 file changed

+33
-30
lines changed

1 file changed

+33
-30
lines changed

pvlib/pvsystem.py

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,36 +2881,7 @@ def scale_voltage_current_power(data, voltage=1, current=1):
28812881
def pvwatts_dc(effective_irradiance, temp_cell, pdc0, gamma_pdc, temp_ref=25.,
28822882
k=None, cap_adjustment=False):
28832883
r"""
2884-
Implements NREL's PVWatts (Version 5) DC power model. The PVWatts Version
2885-
5 DC model [1]_ is:
2886-
2887-
.. math::
2888-
2889-
P_{dc} = \frac{G_{poa eff}}{1000} P_{dc0} ( 1 + \gamma_{pdc} (T_{cell} - T_{ref}))
2890-
2891-
This model has also been referred to as the power temperature coefficient
2892-
model.
2893-
2894-
This function accepts an optional irradiance adjustment factor, `k`, based
2895-
on [2]_. This applies a piece-wise adjustment to power based on irradiance,
2896-
where `k` is the reduction in actual power at 200 Wm⁻² relative to power
2897-
calculated at 200 W/m^2 as 0.2*`pdc0`. For example, a 500 W module that
2898-
produces 95 W at 200 W/m^2 (a 5% relative reduction in efficiency) would
2899-
have a value of `k` = 0.01.
2900-
2901-
.. math::
2902-
2903-
k=\frac{0.2P_{dc0}-P_{200}}{P_{dc0}}
2904-
2905-
This adjustment increases relative efficiency for irradiance above 1000
2906-
Wm⁻², which may not be desired. An optional input, `capped_adjustment`,
2907-
modifies the adjustment from [2]_ to only apply below 1000 Wm⁻².
2908-
2909-
Note that ``pdc0`` is also used as a symbol in
2910-
:py:func:`pvlib.inverter.pvwatts`. ``pdc0`` in this function refers to the DC
2911-
power of the modules at reference conditions. ``pdc0`` in
2912-
:py:func:`pvlib.inverter.pvwatts` refers to the DC power input limit of
2913-
the inverter.
2884+
Implement NREL's PVWatts (Version 5) DC power model.
29142885
29152886
Parameters
29162887
----------
@@ -2939,6 +2910,38 @@ def pvwatts_dc(effective_irradiance, temp_cell, pdc0, gamma_pdc, temp_ref=25.,
29392910
pdc: numeric
29402911
DC power. [W]
29412912
2913+
Notes
2914+
-----
2915+
The PVWatts Version 5 DC model [1]_ is:
2916+
2917+
.. math::
2918+
2919+
P_{dc} = \frac{G_{poa eff}}{1000} P_{dc0} ( 1 + \gamma_{pdc} (T_{cell} - T_{ref}))
2920+
2921+
This model has also been referred to as the power temperature coefficient
2922+
model.
2923+
2924+
This function accepts an optional irradiance adjustment factor, `k`, based
2925+
on [2]_. This applies a piece-wise adjustment to power based on irradiance,
2926+
where `k` is the reduction in actual power at 200 Wm⁻² relative to power
2927+
calculated at 200 Wm-2 as 0.2*`pdc0`. For example, a 500 W module that
2928+
produces 95 W at 200 Wm-2 (a 5% relative reduction in efficiency) would
2929+
have a value of `k` = 0.01.
2930+
2931+
.. math::
2932+
2933+
k=\frac{0.2P_{dc0}-P_{200}}{P_{dc0}}
2934+
2935+
This adjustment increases relative efficiency for irradiance above 1000
2936+
Wm⁻², which may not be desired. An optional input, `capped_adjustment`,
2937+
modifies the adjustment from [2]_ to only apply below 1000 Wm⁻².
2938+
2939+
Note that ``pdc0`` is also used as a symbol in
2940+
:py:func:`pvlib.inverter.pvwatts`. ``pdc0`` in this function refers to the DC
2941+
power of the modules at reference conditions. ``pdc0`` in
2942+
:py:func:`pvlib.inverter.pvwatts` refers to the DC power input limit of
2943+
the inverter.
2944+
29422945
References
29432946
----------
29442947
.. [1] A. P. Dobos, "PVWatts Version 5 Manual"

0 commit comments

Comments
 (0)