Skip to content

Commit f5b8379

Browse files
committed
Adaptions for documentation
1 parent 9bf2952 commit f5b8379

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

windpowerlib/power_curves.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
4040
Default: 'turbulence_intensity'.
4141
mean_gauss : float
4242
Mean of the Gaus distribution in
43-
:py:func:`~.tools.gauss_distribution`:. Default: 0.
43+
:py:func:`~.tools.gauss_distribution`. Default: 0.
4444
4545
Other Parameters
4646
----------------

windpowerlib/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def gauss_distribution(function_variable, standard_deviation, mean=0):
134134
Gauss distribution.
135135
136136
The Gauss distribution is used in the function
137-
:py:func:`~.power_curves.smooth_power_curve`: for power curve smoothing.
137+
:py:func:`~.power_curves.smooth_power_curve` for power curve smoothing.
138138
139139
Parameters
140140
----------
@@ -188,7 +188,7 @@ def estimate_turbulence_intensity(height, roughness_length):
188188
-----
189189
The following equation is used [1]_:
190190
191-
.. math:: TI = \frac{1}{\ln\left(\frac{h}{z_\text{0}}\right)}
191+
.. math:: TI = \frac{1}{\ln\left( \frac{h}{z_0} \right)}
192192
193193
with:
194194
TI: turbulence intensity, h: height, :math:`z_{0}`: roughness length

windpowerlib/turbine_cluster_modelchain.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ class TurbineClusterModelChain(ModelChain):
2626
consideration. Options: None, 'power_efficiency_curve' or
2727
'constant_efficiency' or the name of a wind efficiency curve like
2828
'dena_mean'. Default: 'dena_mean'.
29-
Use :py:func:`~.wake_losses.display_wind_efficiency_curves`: to see a
29+
Use :py:func:`~.wake_losses.display_wind_efficiency_curves` to see a
3030
list of all provided wind efficiency curves.
3131
smoothing : boolean
3232
If True the power curves will be smoothed before or after the
3333
aggregation of power curves depending on `smoothing_order`.
3434
Default: False.
3535
block_width : float
3636
Width between the wind speeds in the sum of the equation in
37-
:py:func:`~.power_curves.smooth_power_curve`:. Default: 0.5.
37+
:py:func:`~.power_curves.smooth_power_curve`. Default: 0.5.
3838
standard_deviation_method : string
3939
Method for calculating the standard deviation for the Gauss
4040
distribution. Options: 'turbulence_intensity', 'Staffell_Pfenninger'.
@@ -84,15 +84,15 @@ class TurbineClusterModelChain(ModelChain):
8484
consideration. Options: None, 'power_efficiency_curve' or
8585
'constant_efficiency' or the name of a wind efficiency curve like
8686
'dena_mean'. Default: 'dena_mean'.
87-
Use :py:func:`~.wake_losses.display_wind_efficiency_curves`: to see a
87+
Use :py:func:`~.wake_losses.display_wind_efficiency_curves` to see a
8888
list of all provided wind efficiency curves.
8989
smoothing : boolean
9090
If True the power curves will be smoothed before or after the
9191
aggregation of power curves depending on `smoothing_order`.
9292
Default: False.
9393
block_width : float
9494
Width between the wind speeds in the sum of the equation in
95-
:py:func:`~.power_curves.smooth_power_curve`:. Default: 0.5.
95+
:py:func:`~.power_curves.smooth_power_curve`. Default: 0.5.
9696
standard_deviation_method : string
9797
Method for calculating the standard deviation for the Gauss
9898
distribution. Options: 'turbulence_intensity', 'Staffell_Pfenninger'.

windpowerlib/wind_farm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def get_installed_power(self):
122122
The installed power of wind farms is necessary when a
123123
:class:`~.wind_turbine_cluster.WindTurbineCluster` object is used and
124124
is power weighed mean hub height is calcuated with
125-
:py:func:`~.wind_turbine_cluster.WindTurbineCluster.mean_hub_height`:.
125+
:py:func:`~.wind_turbine_cluster.WindTurbineCluster.mean_hub_height`.
126126
127127
Returns
128128
-------
@@ -162,7 +162,7 @@ def assign_power_curve(self, wake_losses_model='power_efficiency_curve',
162162
Default: False.
163163
block_width : float
164164
Width between the wind speeds in the sum of the equation in
165-
:py:func:`~.power_curves.smooth_power_curve`:. Default: 0.5.
165+
:py:func:`~.power_curves.smooth_power_curve`. Default: 0.5.
166166
standard_deviation_method : string
167167
Method for calculating the standard deviation for the Gauss
168168
distribution. Options: 'turbulence_intensity',

windpowerlib/wind_turbine_cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def assign_power_curve(self, wake_losses_model='power_efficiency_curve',
135135
Default: False.
136136
block_width : float
137137
Width between the wind speeds in the sum of the equation in
138-
:py:func:`~.power_curves.smooth_power_curve`:. Default: 0.5.
138+
:py:func:`~.power_curves.smooth_power_curve`. Default: 0.5.
139139
standard_deviation_method : string
140140
Method for calculating the standard deviation for the Gauss
141141
distribution. Options: 'turbulence_intensity',

0 commit comments

Comments
 (0)