- abstract foxes.core.WakeFrame.calc_order(algo, mdata, fdata)[source]
Calculates the order of turbine evaluation.
This function is executed on a single chunk of data, all computations should be based on numpy arrays.
Parameters¶
- algo: foxes.core.Algorithm
The calculation algorithm
- mdata: foxes.core.MData
The model data
- fdata: foxes.core.FData
The farm data
Returns¶
- order: numpy.ndarray
The turbine order, shape: (n_states, n_turbines)