abstract foxes.core.WakeSuperposition.calc_wakes_plus_wake(algo, mdata, fdata, pdata, states_source_turbine, sel_sp, variable, wake_delta, wake_model_result)[source]

Add a wake delta to previous wake deltas.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.Data

The model data

fdata: foxes.core.Data

The farm data

pdata: foxes.core.Data

The evaluation point data

states_source_turbine: numpy.ndarray

For each state, one turbine index for the wake causing turbine. Shape: (n_states,)

sel_sp: numpy.ndarray of bool

The selection of points, shape: (n_states, n_points)

variable: str

The variable name for which the wake deltas applies

wake_delta: numpy.ndarray

The original wake deltas, shape: (n_states, n_points)

wake_model_result: numpy.ndarray

The new wake deltas of the selected points, shape: (n_sel_sp,)

Returns

wdelta: numpy.ndarray

The updated wake deltas, shape: (n_states, n_points)