VentilationCirc (class)

Warning : this file has been generated, you shouldn’t edit it

class VentilationCirc(Alpha0=0, D0=1, H0=1, Zh=36, mat_void=-1, init_dict=None)[source]

Bases: pyleecan.Classes.Hole.Hole

Circular axial ventilation duct

VERSION = 1
build_geometry(sym=1, alpha=0, delta=0, is_stator=True)

Compute the curve needed to plot the ventilations

Parameters:
  • self (VentilationCirc) – A VentilationCirc object
  • sym (int) – Symetry to apply 2 = half the machine (Default value = 1 => full machine)
  • alpha (float) – Angle for rotation (Default value = 0) [rad]
  • delta (complex) – Complex for translation (Default value = 0)
  • is_stator (bool) – True if ventilation is on the stator and 0 on the rotor (Default value = True)
Returns:

surf_list – A list of Circle

Return type:

list

check()

Make sure that the ventilation parameters are correctly set

Parameters:self (VentilationCirc) – A VentilationCirc object
Returns:
Return type:None
Raises:VentilationCircInstanceError – Zh must be an integer H0 must be a float ot int D0 must be a float or int Alpha0 must be a float ot int
comp_radius()

Compute the radius of the two circle that contains all the ventilation ducts

Parameters:self (VentilationCirc) – A VentilationCirc object
Returns:(Rmin, Rmax) – Tuple of circle radius [m]
Return type:tuple
comp_surface()

Compute the surface of all the axial ventilation ducts

Parameters:self (VentilationCirc) – A VentilationCirc object
Returns:Axial ventilation ducts total surface [m**2]
Return type:Svent
get_center()

Return a list of the center of the ventilations

Parameters:self (VentilationCirc) – A VentilationCirc object
Returns:Zc_list – List of list of center complex coordinates
Return type:list
as_dict()[source]

Convert this objet in a json seriable dict (can be use in __init__)

Alpha0

Shift angle of the holes around circumference

D0

Hole diameters

H0

Diameter of the hole centers