- class foxes.models.wake_models.wind.Bastankhah2016Model(foxes.core.Model)[source]
Common calculations for the wake model and the wake frame, such that code repetitions can be avoided.
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¶
- alpha: float
model parameter used to determine onset of far wake region
- beta: float
model parameter used to determine onset of far wake region
- induction: foxes.core.AxialInductionModel or str
The induction model
Public members¶
-
MDATA_KEY =
'Bastankhah2016Model'
-
PARS =
'pars'
-
CHECK =
'check'
-
ST_SEL =
'st_sel'
-
X0 =
'x0'
-
NEAR =
'near'
-
R_PC =
'r_pc'
-
R_PC_S =
'r_pc_s'
-
AMPL_NEAR =
'ampl_near'
-
DELTA_NEAR =
'delta_near'
-
AMPL_FAR =
'ampl_far'
-
SIGMA_Y_FAR =
'sigma_y_far'
-
SIGMA_Z_FAR =
'sigma_z_far'
-
DELTA_FAR =
'delta_far'
- Bastankhah2016Model(alpha, beta, induction)[source]
Constructor.
- sub_models()[source]
List of all sub-models
-
initialize(algo, verbosity=
0
, force=False
)[source] Initializes the model.
- property pars
Dictionary of the model parameters
- calc_data(algo, mdata, fdata, tdata, downwind_index, x, gamma, k)[source]
Calculate common model data, store it in mdata.
- has_data(mdata, downwind_index, x)[source]
Check if data exists
- 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