Skip to content

Commit 3aefe96

Browse files
committed
Minor changes
1 parent f692343 commit 3aefe96

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

windpowerlib/modelchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ class ModelChain(object):
113113
density_correction : bool
114114
Used to set `density_correction` parameter in
115115
:func:`~.power_output.power_curve`.
116-
hellman_exp : float
117-
Used to set `hellman_exponent` in :func:`~.wind_speed.hellman`.
118116
obstacle_height : float
119117
Used to set `obstacle_height` in :func:`~.wind_speed.logarithmic`.
118+
hellman_exp : float
119+
Used to set `hellman_exponent` in :func:`~.wind_speed.hellman`.
120120
power_output : :pandas:`pandas.Series<series>`
121121
Electrical power output of the wind turbine in W.
122122

windpowerlib/power_curves.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
1111
import numpy as np
1212
import pandas as pd
1313
from windpowerlib import tools
14-
import warnings
1514

1615

1716
def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
1817
block_width=0.5, wind_speed_range=15.0,
1918
standard_deviation_method='turbulence_intensity',
2019
mean_gauss=0, **kwargs):
2120
r"""
22-
Smoothes the input power curve values by using a Gauss distribution.
21+
Smooths a power curve by using a Gauss distribution.
2322
2423
The smoothing serves for taking the distribution of wind speeds over space
2524
into account.

windpowerlib/power_output.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def power_curve(wind_speed, power_curve_wind_speeds, power_curve_values,
8888
This function is carried out when the parameter `power_output_model` of an
8989
instance of the :class:`~.modelchain.ModelChain` class is 'power_curve'. If
9090
the parameter `density_correction` is True the density corrected power
91-
curve (See :py:func:`~.power_curve_density_correction`) is used.
91+
curve (see :py:func:`~.power_curve_density_correction`) is used.
9292
9393
Parameters
9494
----------
@@ -104,8 +104,9 @@ def power_curve(wind_speed, power_curve_wind_speeds, power_curve_values,
104104
Density of air at hub height in kg/m³. This parameter is needed
105105
if `density_correction` is True. Default: None.
106106
density_correction : bool
107-
If the parameter is True the density corrected power curve is used for
108-
the calculation of the turbine power output. In this case `density`
107+
If the parameter is True the density corrected power curve (see
108+
:py:func:`~.power_curve_density_correction`) is used for the
109+
calculation of the turbine power output. In this case `density`
109110
cannot be None. Default: False.
110111
111112
Returns

0 commit comments

Comments
 (0)