windpowerlib.power_output.cp_curve_density_corr

windpowerlib.power_output.cp_curve_density_corr(v_wind, rho_hub, d_rotor, cp_values)[source]

Calculates the turbine power output using a density corrected cp curve.

This function is carried out when the parameter power_output_model of an instance of the Modelchain class is ‘cp_values’ and the parameter density_corr is True.

Parameters:
  • v_wind (pandas.Series or array) – Wind speed at hub height in m/s.
  • rho_hub (pandas.Series or array) – Density of air at hub height in kg/m³.
  • cp_values (pandas.DataFrame) – Power coefficient curve of the wind turbine. Indices are the wind speeds of the power coefficient curve in m/s, the corresponding power coefficient values are in the column ‘cp’.
  • d_rotor (float) – Diameter of the rotor in m.
Returns:

Electrical power of the wind turbine in W.

Return type:

pandas.Series

Notes

See cp_curve() for further information on how the power values are calculated and p_curve_density_corr() for further information on how the density correction is implemented.

It is assumed that the power output for wind speeds above the maximum wind speed given in the power coefficient curve is zero.