-
foxes.core.RotorModel.calculate(algo, mdata, fdata, rpoints=
None
, rpoint_weights=None
, store=False
, downwind_index=None
)[source] Calculate ambient rotor effective results.
Parameters¶
- algo: foxes.core.Algorithm
The calculation algorithm
- mdata: foxes.core.MData
The model data
- fdata: foxes.core.FData
The farm data
- rpoints: numpy.ndarray, optional
The rotor points, or None for automatic for this rotor. Shape: (n_states, n_turbines, n_rpoints, 3)
- rpoint_weights: numpy.ndarray, optional
The rotor point weights, or None for automatic for this rotor. Shape: (n_rpoints,)
- store: bool, optional
Flag for storing ambient rotor point results
- downwind_index: int, optional
Only compute for index in the downwind order
Returns¶
- results: dict
results dict. Keys: Variable name str. Values: numpy.ndarray with results, shape: (n_states, n_turbines)