foxes.models.wake_superpositions.WSLinearLocal.calc_final_wake_delta(algo, mdata, fdata, tdata, variable, 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

tdata: foxes.core.TData

The target point data

variable: str

The variable name for which the wake deltas applies

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)