Skip to content

Commit c7d8834

Browse files
committed
Add information to wake_losses_model parameter description
1 parent 2862655 commit c7d8834

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

windpowerlib/wind_farm.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,9 @@ def assign_power_curve(self, wake_losses_model='wind_farm_efficiency',
293293
----------
294294
wake_losses_model : str
295295
Defines the method for taking wake losses within the farm into
296-
consideration. Options: 'wind_farm_efficiency' or None.
297-
Default: 'wind_farm_efficiency'.
296+
consideration. Options: 'wind_farm_efficiency' or None. If
297+
'wind_farm_efficiency' is chosen the `efficiency` of the WindFarm
298+
must be set. Default: 'wind_farm_efficiency'.
298299
smoothing : bool
299300
If True the power curves will be smoothed before or after the
300301
aggregation of power curves depending on `smoothing_order`.

windpowerlib/wind_turbine_cluster.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ def assign_power_curve(self, wake_losses_model='wind_farm_efficiency',
137137
Parameters
138138
----------
139139
wake_losses_model : str
140-
Defines the method for taking wake losses within the farm into
141-
consideration. Options: 'wind_farm_efficiency' or None.
140+
Defines the method for taking wake losses within the wind farms of
141+
the cluster into consideration. Options: 'wind_farm_efficiency'
142+
or None. If 'wind_farm_efficiency' is chosen the `efficiency`
143+
attribute of the WindFarms must be set.
142144
Default: 'wind_farm_efficiency'.
143145
smoothing : bool
144146
If True the power curves will be smoothed before or after the

0 commit comments

Comments
 (0)