abstract foxes.core.WakeModel.contribute_to_wake_deltas(algo, mdata, fdata, pdata, states_source_turbine, wake_coos, wake_deltas)[source]

Calculate the contribution to the wake deltas by this wake model.

Modifies wake_deltas on the fly.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.Data

The model data

fdata: foxes.core.Data

The farm data

pdata: foxes.core.Data

The evaluation point data

states_source_turbine: numpy.ndarray

For each state, one turbine index for the wake causing turbine. Shape: (n_states,)

wake_coos: numpy.ndarray

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

wake_deltas: dict

The wake deltas, are being modified ob the fly. Key: Variable name str, for which the wake delta applies, values: numpy.ndarray with shape (n_states, n_points, …)