Skip to content

Commit 9bf2952

Browse files
committed
Further adaptions
1 parent 2b5dd5d commit 9bf2952

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

windpowerlib/tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ def gauss_distribution(function_variable, standard_deviation, mean=0):
155155
-----
156156
The following equation is used [1]_:
157157
158-
.. math:: f(x) = \frac{1}{\sigma \sqrt{2 \pi}} exp
159-
\left[-\frac{(x-\mu)^2}{2 \sigma^2} \right]
158+
.. math:: f(x) = \frac{1}{\sigma \sqrt{2 \pi}} \exp
159+
\left[-\frac{(x-\mu)^2}{2 \sigma^2}\right]
160160
161161
with:
162162
:math:`\sigma`: standard deviation, :math: `\mu`: mean
@@ -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_\text{0}}\right)}
192192
193193
with:
194194
TI: turbulence intensity, h: height, :math:`z_{0}`: roughness length

windpowerlib/wind_speed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def hellman(wind_speed, wind_speed_height, hub_height,
140140
onshore and a value of 1/9 for offshore. The Hellman exponent can also
141141
be calulated by the following equation [2]_, [3]_:
142142
143-
.. math:: \alpha = \frac{1}{ln\left(\frac{h_{hub}}{z_0} \right)}
143+
.. math:: \alpha = \frac{1}{\ln\left(\frac{h_{hub}}{z_0} \right)}
144144
145145
with:
146146
:math:`z_{0}`: roughness length

0 commit comments

Comments
 (0)