- abstract foxes.core.WakeSuperposition.add_wake(algo, mdata, fdata, tdata, downwind_index, st_sel, variable, wake_delta, wake_model_result)[source]
Add a wake delta to previous wake deltas, at rotor points.
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
- st_sel: numpy.ndarray of bool
The selection of targets, shape: (n_states, n_targets)
- variable: str
The variable name for which the wake deltas applies
- wake_delta: numpy.ndarray
The original wake deltas, shape: (n_states, n_targets, n_tpoints, …)
- wake_model_result: numpy.ndarray
The new wake deltas of the selected rotors, shape: (n_st_sel, n_tpoints, …)
Returns¶
- wdelta: numpy.ndarray
The updated wake deltas, shape: (n_states, n_targets, n_tpoints, …)