flasc.utilities.floris_tools.get_upstream_turbs_floris

flasc.utilities.floris_tools.get_upstream_turbs_floris#

flasc.utilities.floris_tools.get_upstream_turbs_floris(fm, wd_step=0.1, wake_slope=0.1, plot_lines=False)[source]#

Use FLORIS to determine which turbines are operating in freestream flow.

Determine which turbines are operating in freestream (unwaked) flow, for the entire wind rose. This function will return a data- frame where each row will present a wind direction range and a set of wind turbine numbers for which those turbines are operating upstream. This is useful in determining the freestream conditions.

Parameters:
  • fm ([FlorisModel) -- FLORIS object of the farm of interest.

  • wd_step (float, optional) -- Wind direction discretization step.

  • [wd_step] (It will test what the upstream turbines are every)

  • results (degrees. A lower number means more accurate)

  • but

  • so. (typically there's no real benefit below 2.0 deg or)

  • 0.1. (Defaults to)

  • wake_slope (float, optional) -- linear slope of the wake (dy/dx)

  • plot_lines (bool, optional) -- Enable plotting wakes/turbines.

  • False. (Defaults to)

Returns:

A Pandas Dataframe in which each row contains a wind direction range and a list of turbine numbers. For that particular wind direction range, the turbines numbered are all upstream according to the FLORIS predictions. Depending on the FLORIS model parameters and ambient conditions, these results may vary slightly. Though, having minimal wake losses should not noticably affect your outcomes. Empirically, this approach has yielded good results with real SCADA data for determining what turbines are waked/unwaked and has served useful for determining what turbines to use as reference.

Return type:

df_upstream (pd.Dataframe)