-
foxes.core.PartialWakesModel.update_tdata(algo, mdata, fdata, tdata, amb_rotor_res, rotor_weights, wmodels, downwind_index=
None)[source] Updates tdata on the fly during wake calculations.
This method can be used to update the target data on the fly during the wake calculations, after new rotor model calculations have been performed.
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 for the wake points
- amb_rotor_res: dict
The ambient results at rotor points, key: variable name, value: numpy.ndarray of shape: (n_states, n_turbines, n_rotor_points)
- rotor_weights: numpy.ndarray, optional
The rotor point weights, shape: (n_rotor_points,)
- wmodels: list of foxes.core.WakeModel
The wake models for this partial wake model
- downwind_index: int
The downwind index of the updated turbine