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

Class WindTurbine

source code

mbdyn.record.RecordBase --+        
                          |        
        mbdyn.record.Record --+    
                              |    
             common.BasicObject --+
                                  |
                                 WindTurbine
Known Subclasses:
models.tjaerborg.WindTurbine, models.nrel.WindTurbine, interface.main.WindTurbine

The wind turbine manipulating all the others components

Instance Methods [hide private]
 
__init__(self, name='Wind turbine') source code
 
_update_reference_frames(self)
The reference frames for unsteady calculations are updated according to the user values.
source code
 
add_on_simulation(self, simu)
Add the wind turbine objects add all its components, reference frames, nodes and elements on the simulation.
source code
 
collect_parameters(self)
Store the wind turbine parameters in a dictionary
source code
 
create(self)
Init the coupling between MBDyn and the unsteady BEM code.
source code
 
init_results(self)
Suppose to initialize all the wind turbine object results.
source code
 
set_mbdyn_coupling(self, boolean)
If False, only the unsteady computation will be run
source code
 
set_nacelle(self, nacelle)
Set the Nacelle instance from windSimSuite.nacelle
source code
 
set_parameters(self, para)
Set the wind turbine parameters from the para dictionary
source code
 
set_rotor(self, rotor)
Set the Rotor instance from windSimSuite.rotor
source code
 
set_tower(self, tower)
Set the Tower instance from windSimSuite.tower
source code
 
update(self)
Supposed to udpate some of the wind turbine parameters according to the MBDyn new state.
source code
 
update_data(self)
Update the attributes stored on the wind turbine on all the objects that belong to it.
source code

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='Wind turbine')
(Constructor)

source code 
Overrides: common.BasicObject.__init__

add_on_simulation(self, simu)

source code 
Add the wind turbine objects add all its components, reference frames, nodes and elements on the simulation. Each method will scan the refs, nodes and elts list attributes.

collect_parameters(self)

source code 
Store the wind turbine parameters in a dictionary
Overrides: mbdyn.record.RecordBase.collect_parameters

create(self)

source code 
Init the coupling between MBDyn and the unsteady BEM code. MBDyn objects are created by being attributes of wind turbine components. According to their type, they are stored in refs, nodes or elts. Until now, this method is in development and is supposed to be defined by a specific model. The reference frames, nodes and elements defined will then be added on the simulation.

init_results(self)

source code 
Suppose to initialize all the wind turbine object results. Until now, results are only collected on the rotor.
Overrides: mbdyn.record.Record.init_results

set_parameters(self, para)

source code 
Set the wind turbine parameters from the para dictionary
Overrides: mbdyn.record.RecordBase.set_parameters

update(self)

source code 
Supposed to udpate some of the wind turbine parameters according to the MBDyn new state. For the same reason as create, this method is in development and this is the model that is supposed to supply that method.

update_data(self)

source code 
Update the attributes stored on the wind turbine on all the objects that belong to it. For example the wing angle information, set on the rotor, is now transmitted to the blades. The reference frames used for the unsteady calculation are also updated in case MBDyn is not used.