foxes.models.wake_superpositions.WSPowLocal.calc_final_wake_delta(algo, mdata, fdata, variable, amb_results, wake_delta)[source]

Calculate the final wake delta after adding all contributions.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.MData

The model data

fdata: foxes.core.FData

The farm data

variable: str

The variable name for which the wake deltas applies

amb_results: numpy.ndarray

The ambient results at targets, shape: (n_states, n_targets, n_tpoints)

wake_delta: numpy.ndarray

The wake deltas at targets, shape: (n_states, n_targets, n_tpoints)

Returns

final_wake_delta: numpy.ndarray

The final wake delta, which will be added to the ambient results by simple plus operation. Shape: (n_states, n_targets, n_tpoints)