foxes.core.PartialWakesModel.get_initial_tdata(algo, mdata, fdata, amb_rotor_res, rotor_weights, wmodels)[source]

Creates the initial target data object

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.MData

The model data

fdata: foxes.core.FData

The farm data

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

The rotor point weights, shape: (n_rotor_points,)

wmodels: list of foxes.core.WakeModel

The wake models for this partial wake model

Returns

tdata: foxes.core.TData

The target point data for the wake points