Lamination (class)

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

class Lamination(L1=0.35, mat_type=-1, Nrvd=0, Wrvd=0, Kf1=0.95, is_internal=True, Rint=0, Rext=1, is_stator=True, axial_vent=[], init_dict=None)[source]

Bases: pyleecan.Classes.frozen.FrozenClass

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

Build the geometry of the Lamination

Parameters:
  • self (Lamination) – Lamination Object
  • sym (int) – Symmetry factor (1= full machine, 2= half of the machine…)
  • alpha (float) – Angle for rotation [rad]
  • delta (complex) – Complex value for translation
  • Returns
  • surf_list (list) – list of surfaces needed to draw the lamination
check()

Check that the Lamination object is correct

Parameters:

self – A Lamination object

Returns:

Return type:

None

Raises:
  • LC_VentYokeIn – The ventilation ducts cross the yoke internal radius
  • LC_VentYokeOut – The ventilation ducts cross the yoke external radius
  • LC_RadiusError – The internal radius is greater than the external one
comp_length()

Compure the total length of the Lamination (including radial ventilations duct)

Parameters:self (Lamination) – A Lamination object
Returns:Lt – Total Lenght of the Lamination [m]
Return type:float
comp_masses()

Compute the masses of the Lamination

Parameters:self (Lamination) – A Lamination object
Returns:M_dict – Lamination mass dictionnary (Mtot, Mlam) [kg]
Return type:dict
comp_radius_mec()

Compute the mechanical radius of the Lamination [m]

Parameters:self (Lamination) – A Lamination object
Returns:Rmec – Mechanical radius [m]
Return type:float
comp_surface_axial_vent()

Compute the Lamination axial vent

Parameters:self (Lamination) – A Lamination object
Returns:Svent – Surface of the Lamination’s axial ventilation [m**2]
Return type:float
comp_surfaces()

Compute the Lamination surface (Total, Vent).

Parameters:self (Lamination) – A Lamination object
Returns:S_dict – Lamination surface dictionnary (Slam, Svent) [m**2]
Return type:dict
comp_volumes()

Compute the volumes of the Lamination

Parameters:self (Lamination) – A Lamination object
Returns:V_dict – Volume of the Lamination (Vlam, Vvent) [m**3]
Return type:dict
get_bore_line(alpha1, alpha2, label='')
Parameters:
  • self (Lamination) – a Lamination object
  • alpha1 (float) – Startinf angle [rad]
  • alpha2 (float) – Ending angle [rad]
  • label (str) – the label of the bore line
Returns:

bore_line – list of bore line

Return type:

list

get_Rbo()

Return the bore lamination radius

Parameters:self (Lamination) – A Lamination object
Returns:Rbo – The lamination bore radius [m]
Return type:float
get_Ryoke()

Return the yoke lamination radius

Parameters:self (Lamination) – A Lamination object
Returns:Ryoke – The lamination yoke radius [m]
Return type:float
plot(fig=None, sym=1, alpha=0, delta=0)

Plot the Lamination in a matplotlib fig

Parameters:
  • self (Lamination) – A Lamination object
  • fig – if None, open a new fig and plot, else add to the current one (Default value = None)
  • sym (int) – Symmetry factor (1= full machine, 2= half of the machine…)
  • alpha (float) – Angle for rotation [rad]
  • delta (complex) – Complex value for translation
as_dict()[source]

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

L1

Lamination stack active length [m] without radial ventilation airducts but including insulation layers between lamination sheets

mat_type

Lamination’s material

Nrvd

number of radial air ventilation ducts in lamination

Wrvd

axial width of ventilation ducts in lamination

Kf1

lamination stacking / packing factor

is_internal

1 for internal lamination topology, 0 for external lamination

Rint

To fill

Rext

To fill

is_stator

To fill

axial_vent

Axial ventilation ducts