Skip to content

Commit eae4f00

Browse files
cbcrespocwhanse
andauthored
Apply suggestions from code review
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
1 parent 99c2778 commit eae4f00

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

docs/sphinx/source/whatsnew/v0.15.3.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ Bug fixes
1818

1919
Enhancements
2020
~~~~~~~~~~~~
21-
* Add support for diffuse irradiance components to :py:func:`pvlib.irradiance.isotropic`
22-
when ``return_components=True``. (:issue:`2750`, :pull:`2787`)
21+
* Add ``return_components`` kwarg to :py:func:`pvlib.irradiance.isotropic`. (:issue:`2750`, :pull:`2787`)
2322
* Ensure all timezones are available in all OSs. (:issue:`2795`, :pull:`2809`)
2423

2524

pvlib/irradiance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def isotropic(surface_tilt, dhi, return_components=False):
626626
return_components : bool, default ``False``
627627
If ``False``, ``sky_diffuse`` is returned.
628628
If ``True``, ``diffuse_components`` is returned.
629-
For this model, `` return_components`` does not add more information,
629+
For this model, `` return_components`` contains the same data as ``sky_diffuse``,
630630
but it is included for consistency with the other sky diffuse models.
631631
632632
Returns
@@ -641,8 +641,8 @@ def isotropic(surface_tilt, dhi, return_components=False):
641641
642642
diffuse_components : dict (array input) or DataFrame (Series input)
643643
Keys/columns are:
644-
* poa_sky_diffuse: Total sky diffuse
645-
* poa_isotropic
644+
* poa_sky_diffuse: Total sky diffuse on the plane of array. [Wm⁻²]
645+
* poa_isotropic: The portion of POA irradiance from the isotropic sky dome. [Wm⁻²]
646646
647647
References
648648
----------

0 commit comments

Comments
 (0)