- class foxes.models.wake_deflections.Bastankhah2016Deflection(foxes.core.WakeDeflection)[source]
Bend the wakes for yawed turbines, based on the Bastankhah 2016 wake model
Notes¶
Reference: “Experimental and theoretical study of wind turbine wakes in yawed conditions” Majid Bastankhah, Fernando Porté-Agel https://doi.org/10.1017/jfm.2016.595
Attributes¶
- model: Bastankhah2016Model
The model for computing common data
- alpha: float
model parameter used to determine onset of far wake region, if not found in wake model
- beta: float
model parameter used to determine onset of far wake region, if not found in wake model
- wake_k: dict
Parameters for the WakeK class, if not found in wake model
- induction: foxes.core.AxialInductionModel
The induction model, if not found in wake model
Public members¶
-
Bastankhah2016Deflection(alpha=
0.58
, beta=0.07
, ...)[source] Constructor.
- sub_models()[source]
List of all sub-models
-
initialize(algo, verbosity=
0
, force=False
)[source] Initializes the model.
- calc_deflection(algo, mdata, fdata, tdata, downwind_index, coos)[source]
Calculates the wake deflection.
- property has_uv
This model uses wind vector data
- get_yaw_alpha_seq(algo, mdata, fdata, tdata, downwind_index, x)[source]
Computes sequential wind vector rotation angles.
- classmethod new(wframe_type, *args, **kwargs)[source]
Run-time wake deflection model factory.
- property model_id
Unique id based on the model type.
- property initialized
Initialization flag.
- property running
Flag for currently running models
-
set_running(algo, data_stash, sel=
None
, isel=None
, verbosity=0
)[source] Sets this model status to running, and moves all large data to stash.
-
unset_running(algo, data_stash, sel=
None
, isel=None
, verbosity=0
)[source] Sets this model status to not running, recovering large data from stash
-
get_data(variable, target, lookup=
'smfp'
, mdata=None
, ...)[source] Getter for a data entry in the model object or provided data sources