Package windSimSuite :: Package interface :: Module figures
[hide private]

Module figures

source code

Possible figures plotted by Matplotlib. This module needs some heavy organisation and simplification because it was done in a hurry.

For a specific object, like a rotor or blade, the object is passed. Others kinds of figures could be imagined: power and Weibull distribution, the power of the 3 blades, rotational speed and torque...

The figure manager can be activated, whether from a GTK tree, (for example by "Plot Power") or else from a predefined action in a menu. A PLOT_TABLE has been built, it means that each possible figure has a key. This key is given by the GTK interface. For some object, the key is the name of an attribute, for example "power" for the Rotor instance.

Functions [hide private]
 
plot_power(fig, obj, simu)
Plot the power of an object obj
source code
 
plot_electrical_power(fig, obj, simu)
Plot the electrical power of an object obj
source code
 
plot_tangential_force(fig, obj, simu)
Plot the tangential force of an object obj
source code
 
plot_normal_force(fig, obj, simu)
Plot the normal force of an object obj
source code
 
plot_torque(fig, obj, simu)
Plot the torque of the rotor
source code
 
plot_electrical_torque(fig, obj, simu)
Plot the electrical torque of the rotor
source code
 
plot_airfoil(fig, section, simu)
Plot an airfoil
source code
 
plot_blade_pressures(fig, blade, simu)
Plot the pressures on the blade
source code
 
plot_rotational_speed(fig, rotor, simu)
Plot the rotor rotational speed
source code
 
plot_coupling_torque(fig, obj, simu)
Plot the aerodynamic torque produced by a blade
source code
Variables [hide private]
  PLOT_TABLE = {"power": plot_power, "tangential_force": plot_ta...
Variables Details [hide private]

PLOT_TABLE

Value:
{"power": plot_power, "tangential_force": plot_tangential_force, "norm\
al_force": plot_normal_force, "torque": plot_torque, "airfoil": plot_a\
irfoil, "plot_pressures": plot_blade_pressures, "rotational_speed_valu\
e": plot_rotational_speed, "coupling_torque": plot_coupling_torque, "e\
lectrical_power": plot_electrical_power, "electrical_torque": plot_ele\
ctrical_torque}