foxes.core.WakeFrame.get_wake_modelling_data(algo, variable, downwind_index, fdata, tdata, target, states0=None)[source]

Return data that is required for computing the wake from source turbines to evaluation points.

Parameters

algo: foxes.core.Algorithm, optional

The algorithm, needed for data from previous iteration

variable: str

The variable, serves as data key

downwind_index: int, optional

The index in the downwind order

fdata: foxes.core.FData

The farm data

tdata: foxes.core.TData

The target point data

target: str, optional

The dimensions identifier for the output, FC.STATE_TURBINE, FC.STATE_TARGET, FC.STATE_TARGET_TPOINT

states0: numpy.ndarray, optional

The states of wake creation

Returns

data: numpy.ndarray

Data for wake modelling, shape: (n_states, n_turbines) or (n_states, n_target)