Skip to content

Commit 6551039

Browse files
committed
Fix documentation
1 parent 1454774 commit 6551039

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

doc/modules.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ Functions for applying wake losses to a wind speed time series.
132132

133133
wake_losses.reduce_wind_speed
134134
wake_losses.get_wind_efficiency_curve
135-
wake_losses.display_wind_efficiency_curves
136135

137136

138137
ModelChain

doc/turbine_cluster_modelchain_example_notebook.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
" # 'power_efficiency_curve',\n",
223223
" # 'constant_efficiency' or name of\n",
224224
" # a wind efficiency curve\n",
225-
" # see :py:func:`~.wake_losses.display_wind_efficiency_curves`\n",
225+
" # see :py:func:`~.wake_losses.get_wind_efficiency_curve`\n",
226226
" 'smoothing': True, # False (default) or True\n",
227227
" 'block_width': 0.5, # default: 0.5\n",
228228
" 'standard_deviation_method': 'Staffell_Pfenninger', #\n",

example/turbine_cluster_modelchain_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
" # 'power_efficiency_curve',\n",
223223
" # 'constant_efficiency' or name of\n",
224224
" # a wind efficiency curve\n",
225-
" # see :py:func:`~.wake_losses.display_wind_efficiency_curves`\n",
225+
" # see :py:func:`~.wake_losses.get_wind_efficiency_curve`\n",
226226
" 'smoothing': True, # False (default) or True\n",
227227
" 'block_width': 0.5, # default: 0.5\n",
228228
" 'standard_deviation_method': 'Staffell_Pfenninger', #\n",

example/turbine_cluster_modelchain_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class that provides all necessary steps to calculate the power output of a
152152
# 'power_efficiency_curve',
153153
# 'constant_efficiency' or name of
154154
# a wind efficiency curve
155-
# see :py:func:`~.wake_losses.display_wind_efficiency_curves`
155+
# see :py:func:`~.wake_losses.get_wind_efficiency_curve`
156156
'smoothing': True, # False (default) or True
157157
'block_width': 0.5, # default: 0.5
158158
'standard_deviation_method': 'Staffell_Pfenninger', #

windpowerlib/turbine_cluster_modelchain.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class TurbineClusterModelChain(ModelChain):
2727
consideration. Options: None, 'power_efficiency_curve' or
2828
'constant_efficiency' or the name of a wind efficiency curve like
2929
'dena_mean'. Default: 'dena_mean'.
30-
Use :py:func:`~.wake_losses.display_wind_efficiency_curves` to see a
31-
list of all provided wind efficiency curves.
30+
Use :py:func:`~.wake_losses.get_wind_efficiency_curve` for all provided
31+
wind efficiency curves.
3232
smoothing : boolean
3333
If True the power curves will be smoothed before or after the
3434
aggregation of power curves depending on `smoothing_order`.
@@ -85,8 +85,8 @@ class TurbineClusterModelChain(ModelChain):
8585
consideration. Options: None, 'power_efficiency_curve' or
8686
'constant_efficiency' or the name of a wind efficiency curve like
8787
'dena_mean'. Default: 'dena_mean'.
88-
Use :py:func:`~.wake_losses.display_wind_efficiency_curves` to see a
89-
list of all provided wind efficiency curves.
88+
Use :py:func:`~.wake_losses.get_wind_efficiency_curve` for all provided
89+
wind efficiency curves.
9090
smoothing : boolean
9191
If True the power curves will be smoothed before or after the
9292
aggregation of power curves depending on `smoothing_order`.

windpowerlib/wake_losses.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ def reduce_wind_speed(wind_speed, wind_efficiency_curve_name='dena_mean'):
2525
wind_speed : pandas.Series or numpy.array
2626
Wind speed time series.
2727
wind_efficiency_curve_name : string
28-
Name of the wind efficiency curve. Use get_wind_efficiency_curve() to
29-
get all provided wind efficiency curves. Default: 'dena_mean'.
28+
Name of the wind efficiency curve. Use
29+
:py:func:`~.get_wind_efficiency_curve` to get all provided wind
30+
efficiency curves. Default: 'dena_mean'.
3031
3132
Returns
3233
-------

windpowerlib/wind_turbine.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class WindTurbine(object):
2323
----------
2424
name : string
2525
Name of the wind turbine type.
26-
Use get_turbine_types() to see a list of all wind turbines for which
27-
power (coefficient) curve data is provided.
26+
Use :py:func:`~.get_turbine_types` to see a list of all wind turbines
27+
for which power (coefficient) curve data is provided.
2828
hub_height : float
2929
Hub height of the wind turbine in m.
3030
rotor_diameter : None or float
@@ -51,7 +51,7 @@ class WindTurbine(object):
5151
----------
5252
name : string
5353
Name of the wind turbine type.
54-
Use get_turbine_types() to see a list of all wind turbines for which
54+
Use :py:func:`~.get_turbine_types` to see a list of all wind turbines for which
5555
power (coefficient) curve data is provided.
5656
hub_height : float
5757
Hub height of the wind turbine in m.

0 commit comments

Comments
 (0)