Skip to content

Commit a18ffa3

Browse files
Birgit SchachlerBirgit Schachler
authored andcommitted
Minor changes in docstring
1 parent 381e338 commit a18ffa3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

windpowerlib/density.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def temperature_interpol(temp_air_1, temp_air_2,
6464
r"""
6565
Calculates the temperature at hub height by inter- or extrapolation.
6666
67-
This fuction is carried out when the parameter `temperature_model` of an
67+
This function is carried out when the parameter `temperature_model` of an
6868
instance of the :class:`~.modelchain.ModelChain` class
6969
is 'interpolation'.
7070
@@ -111,19 +111,19 @@ def rho_barometric(pressure, pressure_height, hub_height, temp_hub):
111111
Calculates the density of air at hub height using the barometric height
112112
equation.
113113
114-
This fuction is carried out when the parameter `rho_model` of an instance
114+
This function is carried out when the parameter `rho_model` of an instance
115115
of the :class:`~.modelchain.ModelChain` class is 'barometric'.
116116
117117
Parameters
118118
----------
119119
pressure : pandas.Series or array
120-
Pressure in Pa.
120+
Air pressure in Pa.
121121
pressure_height : float
122122
Height in m for which the parameter `pressure` applies.
123123
hub_height : float
124124
Hub height of wind turbine in m.
125125
temp_hub : pandas.Series or array
126-
Temperature at hub height in K.
126+
Air temperature at hub height in K.
127127
128128
Returns
129129
-------
@@ -167,19 +167,19 @@ def rho_ideal_gas(pressure, pressure_height, hub_height, temp_hub):
167167
r"""
168168
Calculates the density of air at hub height using the ideal gas equation.
169169
170-
This fuction is carried out when the parameter `rho_model` of an instance
170+
This function is carried out when the parameter `rho_model` of an instance
171171
of the :class:`~.modelchain.ModelChain` class is 'ideal_gas'.
172172
173173
Parameters
174174
----------
175175
pressure : pandas.Series or array
176-
Pressure in Pa.
176+
Air pressure in Pa.
177177
pressure_height : float
178178
Height in m for which the parameter `pressure` applies.
179179
hub_height : float
180180
Hub height of wind turbine in m.
181181
temp_hub : pandas.Series or array
182-
Temperature at hub height in K.
182+
Air temperature at hub height in K.
183183
184184
Returns
185185
-------

windpowerlib/wind_speed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def logarithmic_wind_profile(v_wind, v_wind_height, hub_height, z_0,
7777
if 0.7 * obstacle_height > v_wind_height:
7878
raise ValueError("To take an obstacle height of {0} m".format(
7979
obstacle_height) + " into consideration, wind" +
80-
" speed data of a higher height is needed.")
80+
" speed data of a greater height is needed.")
8181
return (v_wind * np.log((hub_height - 0.7 * obstacle_height) / z_0) /
8282
np.log((v_wind_height - 0.7 * obstacle_height) / z_0))
8383

0 commit comments

Comments
 (0)