Skip to content

Commit 55bdb5a

Browse files
committed
Add model description to documentation
1 parent c3996cd commit 55bdb5a

File tree

4 files changed

+74
-1
lines changed

4 files changed

+74
-1
lines changed

doc/examples.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
.. _example_section_label:
2+
13
#############
24
Examples
35
#############
46

57

68
.. toctree::
7-
89
modelchain_example_notebook
910
turbine_cluster_modelchain_example_notebook

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Contents:
99

1010
getting_started
1111
examples
12+
model_description
1213
whats_new
1314
modules
1415

doc/model_description.rst

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
~~~~~~~~~~~~~~~~~~~~~~
2+
Model description
3+
~~~~~~~~~~~~~~~~~~~~~~
4+
5+
Height correction and conversion of weather data
6+
================================================
7+
8+
Weather data is usually available for a restricted amount of heights above ground.
9+
However, for wind feed-in time series calculations weather data is needed at hub
10+
height of the examined wind turbines. Thus, the windpowerlib provides functions for the height
11+
correction of weather data.
12+
13+
Functions for the height correction of wind speed to the hub height of a wind turbine are described in the
14+
:ref:`windspeedmodule-label` module. Respectively a function for the height correction of temperature data is provided in the
15+
:ref:`temperature_module_label`. Functions for density calculations can be found in the
16+
:ref:`density_module_label`
17+
18+
If weather data is available for at least two different heights the respective figure at hub height
19+
can be determined by using linear or logarithmic inter-/extrapolation functions of the :ref:`tools_module_label` module.
20+
21+
22+
Power output calculations
23+
=========================
24+
Wind feed-in time series can be calculated via power curves and power coefficient curves in the windpowerlib.
25+
Functions for power output calculations are described in the :ref:`poweroutput_module_label` module.
26+
27+
Wake losses
28+
===========
29+
The windpowerlib provides two options for the consideration of wake losses in wind farms:
30+
reduction of wind speeds and wind farm efficiency (reduction of power in power curves).
31+
32+
For the first option wind efficiency curves are provided which determine the
33+
average reduction of wind speeds within a wind farm induced by wake losses depending on the wind speed. These curves
34+
were taken from the dena-Netzstudie II and the dissertation of Kaspar Knorr
35+
(for references see :py:func:`~.get_wind_efficiency_curve`).
36+
37+
todo: add graph of provided curves
38+
39+
The second option of considering wake losses is applying them to power curves by reducing the power values
40+
by a constant or a wind speed depending wind farm efficiency (see :py:func:`~.wake_losses_to_power_curve`).
41+
Applying the wind farm efficiency (curve) to power curves instead of to feed-in time series has the advantage that the
42+
power curves can further be aggregated to achieve turbine cluster power curves (see WindTurbineCluster in :ref:`classes_label` section).
43+
44+
Smoothing of power curves
45+
=========================
46+
47+
To account for the spatial distribution of wind speeds within an area the windpowerlib provides a
48+
function for power curve uses the approach of Nørgaard and Holttinen (for references see :py:func:`~.smooth_power_curve`).
49+
50+
51+
The modelchains
52+
===============
53+
54+
The modelchains are implemented to ensure an easy start into the Windpowerlib. They work
55+
like models that combine all functions provided in the library. The :ref:`modelchain_module_label` is a model
56+
to determine the output of a wind turbine while the :ref:`tc_modelchain_module_label` is a model to determine
57+
the output of a wind farm or wind turbine cluster.
58+
The usage of both modelchains is shown in the :ref:`example_section_label` section.
59+
60+

doc/modules.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
API
55
#############
66

7+
.. _classes_label:
8+
79
Classes
810
=========
911

@@ -16,6 +18,7 @@ Classes
1618
modelchain.ModelChain
1719
turbine_cluster_modelchain.TurbineClusterModelChain
1820

21+
.. _temperature_module_label:
1922

2023
Temperature
2124
==============
@@ -27,6 +30,8 @@ Function for calculating air temperature at hub height.
2730

2831
temperature.linear_gradient
2932

33+
.. _density_module_label:
34+
3035
Density
3136
==============
3237

@@ -38,6 +43,7 @@ Functions for calculating air density at hub height.
3843
density.barometric
3944
density.ideal_gas
4045

46+
.. _windspeedmodule-label:
4147

4248
Wind speed
4349
==============
@@ -96,6 +102,7 @@ the :py:class:`~wind_farm.WindFarm` class.
96102
wind_turbine_cluster.WindTurbineCluster.get_installed_power
97103
wind_turbine_cluster.WindTurbineCluster.assign_power_curve
98104

105+
.. _poweroutput_module_label:
99106

100107
Power output
101108
==============
@@ -133,6 +140,7 @@ Functions for applying wake losses to a wind speed time series.
133140
wake_losses.reduce_wind_speed
134141
wake_losses.get_wind_efficiency_curve
135142

143+
.. _modelchain_module_label:
136144

137145
ModelChain
138146
==============
@@ -161,6 +169,7 @@ Methods of the ModelChain object.
161169
modelchain.ModelChain.wind_speed_hub
162170
modelchain.ModelChain.turbine_power_output
163171

172+
.. _tc_modelchain_module_label:
164173

165174
TurbineClusterModelChain
166175
========================
@@ -191,6 +200,8 @@ Methods of the TurbineClusterModelChain object.
191200
turbine_cluster_modelchain.TurbineClusterModelChain.turbine_power_output
192201

193202

203+
.. _tools_module_label:
204+
194205
Tools
195206
==============
196207

0 commit comments

Comments
 (0)