- foxes.models.wake_models.wind.Bastankhah2016Model.calc_data(algo, mdata, fdata, tdata, downwind_index, x, gamma, k)[source]
Calculate common model data, store it in mdata.
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)
- gamma: numpy.ndarray
The YAWM angles in radiants, shape: (n_states, n_targets)
- k: numpy.ndarray
The k parameter values, shape: (n_states, n_targets)