-
foxes.core.RotorModel.eval_rpoint_results(algo, mdata, fdata, tdata, weights, downwind_index=
None
, copy_to_ambient=False
)[source] Evaluate rotor point results.
This function modifies fdata, either for all turbines or one turbine per state, depending on parameter states_turbine. In the latter case, the turbine dimension of the rpoint_results is expected to have size one.
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
- weights: numpy.ndarray
The rotor point weights, shape: (n_rpoints,)
- downwind_index: int, optional
The index in the downwind order
- copy_to_ambient: bool
If True, the fdata results are copied to ambient variables after calculation