Skip to content

Commit 66c1ec6

Browse files
authored
Merge branch 'main' into doc-hsu-depo-veloc-note
2 parents a2120e0 + 6ada97e commit 66c1ec6

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Documentation
7878
* Clarify in the ``Notes`` section of :py:func:`pvlib.soiling.hsu` that the
7979
default ``depo_veloc`` values correspond to the settling velocity of
8080
particulates. (:issue:`2535`)
81+
* Correct the transposed table of Hellmann exponents in the
82+
:py:func:`pvlib.atmosphere.windspeed_powerlaw` docstring, which disagreed
83+
with :py:data:`pvlib.atmosphere.HELLMANN_SURFACE_EXPONENTS` in four of its
84+
nine cells. (:pull:`2853`)
8185

8286

8387
Testing
@@ -104,3 +108,4 @@ Contributors
104108
* Sai Asish Y (:ghuser:`SAY-5`)
105109
* Kevin Anderson (:ghuser:`kandersolar`)
106110
* Johann Loux (:ghuser:`JoLo90`)
111+
* Dylan Pulver (:ghuser:`dylanpulver`)

pvlib/atmosphere.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def windspeed_powerlaw(wind_speed_reference, height_reference,
664664
Exponent based on the surface type. [unitless]
665665
666666
surface_type : string, optional
667-
If supplied, overrides ``exponent``. Can be one of the following
667+
Mutually exclusive with ``exponent``. Can be one of the following
668668
(see [1]_):
669669
670670
* ``'unstable_air_above_open_water_surface'``
@@ -723,16 +723,16 @@ def windspeed_powerlaw(wind_speed_reference, height_reference,
723723
:math:`a` [unitless] depends on the surface type. Some values found in the
724724
literature [1]_ for :math:`a` are:
725725
726-
.. table:: Values for the Hellmann-exponent
726+
.. table:: Values for the Hellmann-exponent ([1_], Table 2.3).
727727
728728
+-----------+--------------------+------------------+------------------+
729729
| Stability | Open water surface | Flat, open coast | Cities, villages |
730730
+===========+====================+==================+==================+
731-
| Unstable | 0.06 | 0.10 | 0.27 |
731+
| Unstable | 0.06 | 0.11 | 0.27 |
732732
+-----------+--------------------+------------------+------------------+
733-
| Neutral | 0.11 | 0.16 | 0.40 |
733+
| Neutral | 0.10 | 0.16 | 0.34 |
734734
+-----------+--------------------+------------------+------------------+
735-
| Stable | 0.27 | 0.34 | 0.60 |
735+
| Stable | 0.27 | 0.40 | 0.60 |
736736
+-----------+--------------------+------------------+------------------+
737737
738738
In a report by Sandia [3]_, the equation was experimentally tested for a

0 commit comments

Comments
 (0)