windpowerlib.power_output.p_curve¶
-
windpowerlib.power_output.
p_curve
(p_values, v_wind)[source]¶ Calculates the turbine power output using a power curve.
This function is carried out when the parameter power_output_model of an instance of the
Modelchain
class is ‘p_values’ and the parameter density_corr is False.Parameters: - p_values (pandas.DataFrame) – Power curve of the wind turbine. Indices are the wind speeds of the power curve in m/s, the corresponding power values in W are in the column ‘P’.
- v_wind (pandas.Series or array) – Wind speed at hub height in m/s.
Returns: power_output – Electrical power output of the wind turbine in W.
Return type: pandas.Series
Notes
It is assumed that the power output for wind speeds above the maximum wind speed given in the power curve is zero.