Package windSimSuite :: Module main :: Class AerodynamicsSimulation
[hide private]

Class AerodynamicsSimulation

source code

Known Subclasses:
Simulation

The unsteady Blade Element Momentum method applied on the wind turbine from the simulation.

Instance Methods [hide private]
 
__init__(self) source code
 
set_init_time(self, init_time)
Set the time to run before starting to save the results and applying the dynamic wake
source code
 
set_wind_speed(self, value)
Set the wind spee value in m/s
source code
 
set_air_density(self, value)
Set the air density in kg/m^3.
source code
 
set_shear_value(self, value)
Set the shear value for the wind profile.
source code
 
get_velocity_at_height(self, height)
Return the velocity at a particular height from the wind profile
source code
a Numpy array
get_velocity_at(self, pt_array)
Return the velocity for a point in the absolute referential.
source code
 
enable_dynamic_wake(self, enable)
If True, will enable the dynamic wake
source code
 
_no_dynamic_wake(self, enable)
The method executed for an absent dynamic wake
source code
 
_enable_dynamic_wake(self, enable)
If True, enable the dynamic wake on each aerodynamic section.
source code
 
init_aero_unsteady(self)
Initialize the aerodynamics calculation of the unsteady BEM code
source code
 
init_unsteady(self)
Will be defined by the derived class
source code
 
save_unsteady_state_at(self, time)
Will be defined by the derived class
source code
 
run_unsteady_for(self, time_length, nb_pts=100)
Run the unsteady Blade Element Momentum code for the time_lenght.
source code
 
run_unsteady_at_time(self, time)
Run the unsteady BEM code calculations on the whole turbine at a given time.
source code
 
save_unsteady(self)
Save the unsteady BEM code on the rotor.
source code
Method Details [hide private]

set_shear_value(self, value)

source code 
Set the shear value for the wind profile. The default is 0.2, will depend of the site roughness

get_velocity_at(self, pt_array)

source code 
Return the velocity for a point in the absolute referential. The wind tower model is applied.
Parameters:
  • pt_array (a Numpy array) - a position vector of shape 3x1

    In the referential used, pt_array[2] will be the height along the z axis.
Returns: a Numpy array
the wind vector of size 3x1

_enable_dynamic_wake(self, enable)

source code 
If True, enable the dynamic wake on each aerodynamic section. A private method, the user needs to use enable_dynamic_wake.

run_unsteady_for(self, time_length, nb_pts=100)

source code 
Run the unsteady Blade Element Momentum code for the time_lenght. nb_pts is an integer that gives the number of calculation points for one revolution. This method is used only when there is no coupling with MBDyn, this is else the MBDyn solver that gives the current time.

run_unsteady_at_time(self, time)

source code 
Run the unsteady BEM code calculations on the whole turbine at a given time. At the end, nothing is saved