Skip to content

Commit 97b1e12

Browse files
committed
Merge branch 'documentation_changes' into dev
2 parents 502b0d5 + 92500ae commit 97b1e12

13 files changed

+33
-22
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
Contributor Agreement
1+
Fixes # .
2+
3+
Changes proposed in this pull request:
4+
-
5+
-
6+
-
7+

doc/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Matplotlib can be installed using pip3 though some Linux users reported that it
4444
Examples and basic usage
4545
=========================
4646

47-
The basic usage of the windpowerlib is shown in the :ref:`modelchain_example <modelchain_example_notebook.ipynb>`. The presented example is available as jupyter notebook and python script. You can download them along with example weather data:
47+
The basic usage of the windpowerlib is shown in the ModelChain example. The presented example is available as jupyter notebook and python script. You can download them along with example weather data:
4848

4949
* :download:`ModelChain example (Python script) <../example/modelchain_example.py>`
5050
* :download:`ModelChain example (Jupyter notebook) <../example/modelchain_example.ipynb>`

doc/model_description.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ correction of weather data.
2222

2323
Functions for the height correction of wind speed to the hub height of a wind turbine are described in the
2424
:ref:`windspeedmodule-label` module. Respectively a function for the height correction of temperature data is provided in the
25-
:ref:`temperature_module_label`. Functions for density calculations can be found in the
26-
:ref:`density_module_label`
25+
:ref:`temperature_module_label` module. Functions for density calculations can be found in the
26+
:ref:`density_module_label` module.
2727

2828
If weather data is available for at least two different heights the respective figure at hub height
2929
can be determined by using linear or logarithmic inter-/extrapolation functions of the :ref:`tools_module_label` module.
@@ -55,7 +55,7 @@ mean wind efficiency curve.
5555
:align: center
5656

5757
The second option of considering wake losses is applying them to power curves by reducing the power values
58-
by a constant or a wind speed depending wind farm efficiency (see :py:func:`~.wake_losses_to_power_curve`).
58+
by a constant or on a wind speed depending wind farm efficiency (see :py:func:`~.wake_losses_to_power_curve`).
5959
Applying the wind farm efficiency (curve) to power curves instead of to feed-in time series has the advantage that the
6060
power curves can further be aggregated to achieve turbine cluster power curves (see :py:class:`~.wind_turbine_cluster.WindTurbineCluster`).
6161

@@ -75,4 +75,4 @@ of the windpowerlib can be selected. For parameters not being specified default
7575
The :ref:`modelchain_module_label` is a model
7676
to determine the output of a wind turbine while the :ref:`tc_modelchain_module_label` is a model to determine
7777
the output of a wind farm or wind turbine cluster.
78-
The usage of both modelchains is shown in the :ref:`example_section_label` section.
78+
The usage of both modelchains is shown in the :ref:`examples_section_label` section.

doc/modules.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Methods of the ModelChain object.
169169
modelchain.ModelChain.temperature_hub
170170
modelchain.ModelChain.density_hub
171171
modelchain.ModelChain.wind_speed_hub
172-
modelchain.ModelChain.turbine_power_output
172+
modelchain.ModelChain.calculate_power_output
173173

174174
.. _tc_modelchain_module_label:
175175

@@ -199,7 +199,7 @@ Methods of the TurbineClusterModelChain object.
199199
turbine_cluster_modelchain.TurbineClusterModelChain.temperature_hub
200200
turbine_cluster_modelchain.TurbineClusterModelChain.density_hub
201201
turbine_cluster_modelchain.TurbineClusterModelChain.wind_speed_hub
202-
turbine_cluster_modelchain.TurbineClusterModelChain.turbine_power_output
202+
turbine_cluster_modelchain.TurbineClusterModelChain.calculate_power_output
203203

204204

205205
.. _tools_module_label:

doc/whatsnew/v0-1-0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v0.1.0 (expected January 16, 2019)
1+
v0.1.0 (January 16, 2019)
22
++++++++++++++++++++++++++++++++++
33

44
New classes

example/modelchain_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def plot_or_print(my_turbine, e126, dummy_turbine):
261261

262262
def run_example():
263263
r"""
264-
Run the basic example.
264+
Runs the basic example.
265265
266266
"""
267267
weather = get_weather_data('weather.csv')

example/turbine_cluster_modelchain_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def plot_or_print(example_farm, example_cluster):
208208

209209
def run_example():
210210
r"""
211-
Run the example.
211+
Runs the example.
212212
213213
"""
214214
weather = mc_e.get_weather_data('weather.csv')

windpowerlib/power_curves.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
7373
7474
:math:`P_{smoothed}` is the smoothed power curve value,
7575
:math:`v_{std}` is the standard wind speed in the power curve,
76-
:math: `\Delta v_i` is the interval length between
77-
:math: `v_\text{i}` and :math: `v_\text{i+1}`
76+
:math:`\Delta v_i` is the interval length between
77+
:math:`v_\text{i}` and :math:`v_\text{i+1}`
7878
7979
Power curve smoothing is applied to take account for the spatial
8080
distribution of wind speed. This way of smoothing power curves is also used

windpowerlib/power_output.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def power_curve_density_correction(wind_speed, power_curve_wind_speeds,
182182
\text{ m/s}<v_{std}<12.5\text{ m/s}\\
183183
\frac{2}{3} & \geq 12.5 \text{ m/s}
184184
\end{cases},
185+
185186
v: wind speed [m/s], :math:`\rho`: density [kg/m³]
186187
187188
:math:`v_{std}` is the standard wind speed in the power curve

windpowerlib/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def gauss_distribution(function_variable, standard_deviation, mean=0):
158158
\left[-\frac{(x-\mu)^2}{2 \sigma^2}\right]
159159
160160
with:
161-
:math:`\sigma`: standard deviation, :math: `\mu`: mean
161+
:math:`\sigma`: standard deviation, :math:`\mu`: mean
162162
163163
References
164164
----------

0 commit comments

Comments
 (0)