windkit.total_uncertainty

windkit.total_uncertainty(uncertainty_table, sensitivity_factor=1.5)[source]

Calculate the total uncertainty in the DataFrame.

Parameters:
  • uncertainty_table (DataFrame) – The DataFrame containing the uncertainties.

  • sensitivity_factor (float) – The sensitivity factor value.

Returns:

A tuple containing: - The total uncertainty value as a percentage of total AEP [%]. (i.e non-dimensional). - The total wind uncertainty relative to the mean predicted wind speed in the wind farm [%]. - The total uncertainty from technical losses affecting the energy as a percentage of total AEP [%].

Return type:

tuple[float, float, float]

Examples

>>> uncertainty_table = get_uncertainty_table('dtu_default')
>>> sensitivity_factor = sensitivity_factor(pwc, wtg, wind_perturbation_factor=0.05)
>>> total_uncertainty(uncertainty_table, sensitivity_factor)