abstract foxes.models.wake_models.TopHatWakeModel.calc_wake_radius(algo, mdata, fdata, tdata, downwind_index, x, ct)[source]

Calculate the wake radius, depending on x only (not r).

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)

ct: numpy.ndarray

The ct values of the wake-causing turbines, shape: (n_states, n_targets)

Returns

wake_r: numpy.ndarray

The wake radii, shape: (n_states, n_targets)