- foxes.models.wake_superpositions.WindVectorLinear.add_wake_vector(algo, mdata, fdata, tdata, downwind_index, st_sel, wake_delta_uv, wake_model_result_uv)[source]
Add a wake delta vector 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)
- wake_delta_uv: numpy.ndarray
The original wind vector wake deltas, shape: (n_states, n_targets, n_tpoints, 2)
- wake_model_result_uv: numpy.ndarray
The new wind vector wake deltas of the selected rotors, shape: (n_st_sel, n_tpoints, 2, …)
Returns¶
- wdelta_uv: numpy.ndarray
The updated wind vector wake deltas, shape: (n_states, n_targets, n_tpoints, …)