Package windSimSuite :: Package models :: Module tjaerborg :: Class WindTurbine
[hide private]

Class WindTurbine

source code

mbdyn.record.RecordBase --+            
                          |            
        mbdyn.record.Record --+        
                              |        
             common.BasicObject --+    
                                  |    
                   main.WindTurbine --+
                                      |
                                     WindTurbine

The wind turbine of a model is mainly supposed to describe two methods: create and update. 'create()' is a method called at the beginning to fill the 'refs', 'nodes' and 'elts' lists with MBDyn objects. 'update()' is called at each time step and is supposed to update all the wind turbine parameters, according to the MBDyn objects status. Then the unsteady BEM code will be applied. This method must not be confused with the update method called by WraptMBDyn, that is called to update the MBDyn objects before a new time step. This step actually occurs after the unsteady BEM.

Instance Methods [hide private]
 
__init__(self, name='tjaerborg', use_beams=True, only_mbdyn_rotor=False) source code
 
_create_only_rotor(self)
Create only the rotor with MBDyn components.
source code
 
create(self)
Suppose to create the complete turbine.
source code
 
update(self)
Called by the simulation at each MBDyn time step
source code

Inherited from main.WindTurbine: add_on_simulation, collect_parameters, init_results, set_mbdyn_coupling, set_nacelle, set_parameters, set_rotor, set_tower, update_data

Inherited from main.WindTurbine (private): _update_reference_frames

Inherited from common.BasicObject: set_name

Inherited from mbdyn.record.Record: common_init_results, save, set_own_parameters, will_save, will_save_nothing, will_save_only

Inherited from mbdyn.record.Record (private): _save_direct_results, _save_results_with_actions, _try_to_add

Inherited from mbdyn.record.RecordBase: collect_own_parameters, set_own_para

Inherited from mbdyn.record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self, name='tjaerborg', use_beams=True, only_mbdyn_rotor=False)
(Constructor)

source code 
Overrides: main.WindTurbine.__init__

_create_only_rotor(self)

source code 
Create only the rotor with MBDyn components. The main bearing fix node is clamped, only the tower and nacelle referentials are created. A very useful function to test only the rotor or develop the nacelle and tower deformations step by step.

create(self)

source code 
Suppose to create the complete turbine. Still in development
Overrides: main.WindTurbine.create

update(self)

source code 
Called by the simulation at each MBDyn time step
Overrides: main.WindTurbine.update