flasc.utilities.tuner_utilities.resim_floris

Contents

flasc.utilities.tuner_utilities.resim_floris#

flasc.utilities.tuner_utilities.resim_floris(fm_in, df_scada, yaw_angles=None)[source]#

Resimulate FLORIS with SCADA data.

This function takes a FlorisModel and a SCADA dataframe, and resimulates the FlorisModel with the SCADA data. The SCADA data is expected to contain columns for wind speed, wind direction, and power reference. The function returns a dataframe containing the power output of each turbine in the FlorisModel.

Parameters:
  • fm_in (FlorisModel) -- The FlorisModel to resimulate.

  • df_scada (pd.DataFrame) -- The SCADA data to use for resimulation.

  • yaw_angles (np.array, optional) -- The yaw angles to use for resimulation. Defaults to None.

Returns:

A DataFrame containing the power output of each turbine in the FlorisModel.

Return type:

pd.DataFrame