- foxes.models.partial_wakes.PartialTopHat.contribute(algo, mdata, fdata, tdata, downwind_index, wake_deltas, wmodel)[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 downwind order
- wake_deltas: dict
The wake deltas. Key: variable name, value: numpy.ndarray with shape (n_states, n_targets, n_tpoints, …)
- wmodel: foxes.core.WakeModel
The wake model