foxes.models.wake_deflections.JimenezDeflection.calc_deflection(algo, mdata, fdata, tdata, downwind_index, coos)[source]

Calculates the wake deflection.

This function optionally adds FC.WDEFL_ROT_ANGLE or FC.WDEFL_DWS_FACTOR to the tdata.

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

coos: numpy.ndarray

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

Returns

coos: numpy.ndarray

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