- abstract foxes.models.wake_models.AxisymmetricWakeModel.calc_wakes_x_r(algo, mdata, fdata, tdata, downwind_index, x, r)[source]
Calculate wake deltas.
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 in the downwind order
- x: numpy.ndarray
The x values, shape: (n_states, n_targets)
- r: numpy.ndarray
The radial values for each x value, shape: (n_states, n_targets, n_yz_per_target)
Returns¶
- wdeltas: dict
The wake deltas. Key: variable name str, value: numpy.ndarray, shape: (n_st_sel, n_r_per_x)
- st_sel: numpy.ndarray of bool
The state-target selection, for which the wake is non-zero, shape: (n_states, n_targets)