abstract foxes.core.WakeModel.contribute(algo, mdata, fdata, tdata, downwind_index, wake_coos, wake_deltas)[source]

Modifies wake deltas at target points by contributions from the specified wake source turbines.

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

downwind_index: int

The index of the wake causing turbine in the downwnd order

wake_coos: numpy.ndarray

The wake frame coordinates of the evaluation points, shape: (n_states, n_targets, n_tpoints, 3)

wake_deltas: dict

The wake deltas. Key: variable name, value: numpy.ndarray with shape (n_states, n_targets, n_tpoints, …)