# SlotWind (class)¶

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

class SlotWind(Zs=36, init_dict=None)[source]

Slot for winding (abstract)

VERSION = 1
comp_angle_wind_eq()

Compute the equivalent angle of the winding part of the slot (Ideal polar shape with the same surface and height)

Parameters: self (SlotWind) – A SlotWind object alpha – Average angle of the slot [rad] float
comp_height_wind()

Compute the height of the winding area

Parameters: self (SlotWind) – A SlotWind object Hwind – Height of the winding area [m] float
comp_radius_mid_wind()

Compute the radius at the middle of the winding part of the slot

Parameters: self (SlotWind) – A SlotWind object Rmw – Mid winding radius [m] float
comp_surface_wind()

Compute the Slot winding surface (by numerical computation). Caution, the bottom of the Slot is an Arc

Parameters: self (SlotWind) – A SlotWind object S – Slot total surface [m**2] float
plot_wind(wind_mat=None, fig=None, is_bar=False)

Plot the winding area of the lamination according to the wind_mat

Parameters: self (SlotWind) – A SlotWind object wind_mat (numpy.ndarray) – A matrix [Nrad,Ntan,Zs,qs] representing the winding (Default value = None) fig – if None, open a new fig and plot, else add to the current one (Default value = None) is_bar (bool) – To adapt the legend text for squirrel cage bar (Default value = False) None
as_dict()[source]

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