Skip to content

Commit 7d59f98

Browse files
committed
edit the Note
1 parent 34b3824 commit 7d59f98

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

pvlib/pvarray.py

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ def huld(effective_irradiance, temp_mod, pdc0, k=None, cell_type=None):
253253
254254
P_{dc} &= G' ( P_{dc0} + k_1 \log(G') + k_2 \log^2 (G') + k_3 T' +
255255
k_4 T' \log(G') + k_5 T' \log^2 (G') + k_6 T'^2)
256-
:label: main
257256
258257
G' &= \frac{G_{poa eff}}{1000}
259258
@@ -287,11 +286,17 @@ def huld(effective_irradiance, temp_mod, pdc0, k=None, cell_type=None):
287286
288287
Notes
289288
-----
290-
Eq. :eq:`main` is from [1]_. The expression used in PVGIS documentation is
291-
different, factoring :math:`P_{dc0}` out of the polynomial. PVGIS
292-
documentation shows a table of default parameters :math:`k'` for different
293-
cell types. The parameters :math:`k'` differ from the parameters expected
294-
by :py:func:`huld` by the factor ``pdc0``, that is,
289+
The equation for :math:`P_{dc}` is from [1]_. The expression used in PVGIS
290+
documentation is differs by factoring :math:`P_{dc0}` out of the
291+
polynomial:
292+
293+
..math::
294+
P_{dc} = G' P_{dc0} (1 + k'_1 \log(G') + k'_2 \log^2 (G') + k''_3 T' +
295+
k'_4 T' \log(G') + k'_5 T' \log^2 (G') + k'_6 T'^2)
296+
297+
PVGIS documentation shows a table of default parameters :math:`k'` for
298+
different cell types. The parameters :math:`k'` differ from the parameters
299+
:math:`k` expected by :py:func:`huld` by the factor ``pdc0``, that is,
295300
296301
.. math::
297302
@@ -304,13 +309,13 @@ def huld(effective_irradiance, temp_mod, pdc0, k=None, cell_type=None):
304309
- the Martin and Ruiz model for the incidence angle modifier (IAM)
305310
:py:func:`pvlib.iam.martin_ruiz`
306311
- a custom model for a spectral adjustment factor
307-
The PVGIS API (see :py:func:`pvlib.iotools.pvgis.get_pvgis_hourly) returns
312+
The PVGIS API (see :py:func:`pvlib.iotools.pvgis.get_pvgis_hourly`) returns
308313
broadband plane-of-array irradiance (``poa_global``) and DC power (``P``).
309314
``poa_global`` is irradiance before applying the IAM and spectral
310-
adjustments, where as ``effective_irradiance`` input to :py:func:`huld`
311-
should be after these adjustments are applied. Users comparing output of
312-
:py:func:`huld` to PVGIS' ``P`` should expect differences unless
313-
``effective_irradiance`` is computed the same way as done by PVGIS.
315+
adjustments. In contrast the ``effective_irradiance`` for :py:func:`huld`
316+
is after these adjustments are applied. Users comparing output of
317+
:py:func:`huld` to PVGIS' ``P`` values should expect differences unless
318+
``effective_irradiance`` is computed in the same way as done by PVGIS.
314319
315320
References
316321
----------

0 commit comments

Comments
 (0)