windpowerlib.turbine_cluster_modelchain.TurbineClusterModelChain.assign_power_curve¶
-
TurbineClusterModelChain.
assign_power_curve
(weather_df)[source]¶ Calculates the power curve of the wind turbine cluster.
The power curve is aggregated from the wind farms’ and wind turbines’ power curves by using
power_plant.assign_power_curve()
. Depending on the parameters of the WindTurbineCluster power curves are smoothed and/or wake losses are taken into account.Parameters: weather_df (pandas.DataFrame) – DataFrame with time series for wind speed wind_speed in m/s, and roughness length roughness_length in m, as well as optionally temperature temperature in K, pressure pressure in Pa, density density in kg/m³ and turbulence intensity turbulence_intensity depending on power_output_model, density_model and standard_deviation_model chosen. The columns of the DataFrame are a MultiIndex where the first level contains the variable name (e.g. wind_speed) and the second level contains the height at which it applies (e.g. 10, if it was measured at a height of 10 m). See documentation of TurbineClusterModelChain.run_model()
for an example on how to create the weather_df DataFrame.Returns: Return type: self