Package windSimSuite :: Module rotor :: Class AerodynamicsRotor
[hide private]

Class AerodynamicsRotor

source code

Known Subclasses:
Rotor

The unsteady BEM calculations applied on the rotor.

Instance Methods [hide private]
 
__init__(self) source code
 
set_wing_angle(self, value, unit='deg')
Set the wing angle for the rotor and recalculate the corresponding reference frame.
source code
 
update_data(self)
Update the values entered by the user on the blades.
source code
 
prepend_references(self, refs)
Add the tower and nacelle reference frames for every blade
source code
 
get_deepest_point_angle(self)
Get the angle of the deepest point into the wake, depend of the yaw and tilt angles.
source code
 
set_rotational_speed(self, value, unit_key='rpm')
Set the rotor rotational speed.
source code
 
set_wing_angle_at_time(self, time)
Find the wing angle from the time and rotational speed value.
source code
 
get_prandtl_factor(self, blade, section)
Return the Prandtl correction factor
source code
 
_average_induced_velocity(self)
The same induced velocity is calculated for the the whole wake
source code
 
_find_skew_section_id(self)
Find the section used to compute the skew angle
source code
 
init_aero_unsteady(self)
Init the unsteady BEM code by finding the deepest point into the wake
source code
 
_apply_yaw_model(self)
Apply the yaw model, a restoring couple when the rotor is not facing the wind
source code
 
update_induced_velocity(self)
Update the induced velocity for the whole wake.
source code
 
get_velocity_correction(self)
Supposed to return a velocity correction in the tower shadow model but not yet used
source code
 
get_forces_and_power(self)
Get the forces, tangential and normal, as well as the torque and power on the rotor.
source code
Method Details [hide private]

set_wing_angle(self, value, unit='deg')

source code 
Set the wing angle for the rotor and recalculate the corresponding reference frame.
Parameters:
  • value (a float) - the wing value
  • unit (a string) - the 'rad' or 'deg' value

update_data(self)

source code 
Update the values entered by the user on the blades. The wing angle information passes from the rotor to the blades.

get_deepest_point_angle(self)

source code 
Get the angle of the deepest point into the wake, depend of the yaw and tilt angles. Due to the orientation, all the x values are positive. The deepest point into the wake is the one with the maximum x value.

set_rotational_speed(self, value, unit_key='rpm')

source code 
Set the rotor rotational speed.
Parameters:
  • value (a float) - the rotational speed value
  • unit_key (a string) - the 'rad/s' or 'rpm' value

set_wing_angle_at_time(self, time)

source code 
Find the wing angle from the time and rotational speed value. The time is supposed to be in seconds.

update_induced_velocity(self)

source code 
Update the induced velocity for the whole wake. There are still problems with the yaw model

get_forces_and_power(self)

source code 
Get the forces, tangential and normal, as well as the torque and power on the rotor. Do not return any values but store them as attributes