Skip to content

Commit 303707b

Browse files
committed
Revert removal of parameter in docstring (new issue)
1 parent 6dfb7eb commit 303707b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

windpowerlib/wind_farm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ def assign_power_curve(self, wake_losses_model='wind_farm_efficiency',
307307
Turbulence intensity at hub height of the wind farm for power curve
308308
smoothing with 'turbulence_intensity' method. Can be calculated
309309
from `roughness_length` instead. Default: None.
310+
roughness_length : float (optional)
311+
Roughness length. If `standard_deviation_method` is
312+
'turbulence_intensity' and `turbulence_intensity` is not given
313+
the turbulence intensity is calculated via the roughness length.
310314
311315
Returns
312316
-------

windpowerlib/wind_turbine_cluster.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ def assign_power_curve(self, wake_losses_model='wind_farm_efficiency',
178178
wind turbine cluster for power curve smoothing with
179179
'turbulence_intensity' method. Can be calculated from
180180
`roughness_length` instead. Default: None.
181+
roughness_length : float (optional)
182+
Roughness length. If `standard_deviation_method` is
183+
'turbulence_intensity' and `turbulence_intensity` is not given
184+
the turbulence intensity is calculated via the roughness length.
181185
182186
Returns
183187
-------

0 commit comments

Comments
 (0)