diff --git a/windpowerlib/power_output.py b/windpowerlib/power_output.py index 6c0e1f7..bf3ed0e 100644 --- a/windpowerlib/power_output.py +++ b/windpowerlib/power_output.py @@ -178,6 +178,7 @@ def power_curve_density_correction( Calculates the turbine power output using a density corrected power curve. This function is carried out when the parameter `density_correction` of an instance of the :class:`~.modelchain.ModelChain` class is True. + Parameters ---------- wind_speed : :pandas:`pandas.Series` or numpy.array @@ -190,17 +191,19 @@ def power_curve_density_correction( `power_curve_wind_speeds`. density : :pandas:`pandas.Series` or numpy.array Density of air at hub height in kg/m³. + Returns ------- :pandas:`pandas.Series` or numpy.array Electrical power output of the wind turbine in W. Data type depends on type of `wind_speed`. + Notes ----- The following equation is used for the site specific power curve wind speeds [1]_ [2]_ [3]_: - .. math:: v_{site}=v_{std}\cdot\left(\frac{\rho_0} - {\rho_{site}}\right)^{p(v)} + + .. math:: v_{site}=v_{std}\cdot\left(\frac{\rho_0}{\rho_{site}}\right)^{p(v)} with: .. math:: p=\begin{cases} \frac{1}{3} & v_{std} \leq 7.5\text{ m/s}\\ @@ -208,7 +211,9 @@ def power_curve_density_correction( \text{ m/s}