flasc.model_fitting.floris_tuning.select_best_wake_model_parameter

flasc.model_fitting.floris_tuning.select_best_wake_model_parameter#

flasc.model_fitting.floris_tuning.select_best_wake_model_parameter(floris_results, scada_results, value_candidates, ax=None)[source]#

Determine the best fit with respect to squared error.

Parameters:
  • floris_results (np.ndarray) -- The FLORIS wake losses

  • scada_results (np.ndarray) -- The SCADA wake losses

  • value_candidates (np.ndarray) -- The parameter values

  • ax (Axes) -- The axes to plot on. If None, no plot is made. Default is None.

Returns:

best fit parameter value

Return type:

float