Winding (class)¶
File generated according to Generator/ClassesRef/Machine/Winding.csv WARNING! All changes made in this file will be lost!

class
Winding
(is_reverse_wind=False, Nslot_shift_wind=0, qs=3, Ntcoil=7, Npcpp=2, type_connection=0, p=3, Lewout=0.015, conductor=1, init_dict=None)[source]¶ Bases:
pyleecan.Classes._frozen.FrozenClass
Winding abstract class

VERSION
= 1¶

comp_Ncspc
(Zs=None)¶ Compute the number of coils in series per parallel circuit
Parameters:  self (Winding) – A Winding object
 Zs (int) – number of slot
Returns: Ncspc – Number of coils in series per parallel circuit
Return type: float

comp_Ntspc
(Zs=None)¶ Compute the number of turns in series per phase
Parameters:  self (Winding) – A Winding object
 Zs (int) – Number of slot
Returns: Ntspc – Number of turns in series per phase
Return type: float

comp_phasor_angle
(Zs=None)¶ Compute the phasor angle of the winding phases related to the first slot
Parameters:  self (Winding) – A: Winding object
 Zs (int) – Number of Slot (Integer >0)
Returns: angle_vec – Phasor Angle Vector (qs)
Return type: numpy.ndarray

comp_resistance_norm
(T=20)¶ Compute the winding resistance per meter, i.e. winding resistance divided by coil side length (including end winding). The actual winding resistance is comp_resistance_norm * (length_active + length_end_winding)
Parameters:  self (Winding) – A Winding object
 T (float) – Winding Temperature [°C]
Returns: winding_resistance_norm – normalized winding resistance
Return type: float

comp_winding_factor
(Harmonics=[1])¶ Compute the winding factor of phase 1 (asuming symmetry)
Parameters:  self (Winding) – A: Winding object
 Harmonics (list of floats) – list of harmonics to calculate the winding factor
Returns: xi – winding factor
Return type: numpy.ndarray

save
(save_path='')¶ Save the object to the save_path
Parameters:  self – A pyleecan object
 save_path (str) – path to the folder to save the object

get_logger
()¶ Get the object logger or its parent’s one
Parameters: obj – A pyleecan object Returns: logger – Pyleecan object dedicated logger Return type: logging.Logger

is_reverse_wind
¶ 1 to reverse the default winding algorithm along the airgap (c, b, a instead of a, b, c along the trigonometric direction)

Nslot_shift_wind
¶ 0 not to change the stator winding connection matrix built by pyleecan number of slots to shift the coils obtained with pyleecan winding algorithm (a, b, c becomes b, c, a with Nslot_shift_wind1=1)

qs
¶ number of phases

Ntcoil
¶ number of turns per coil

Npcpp
¶ number of parallel circuits per phase (maximum 2p)

type_connection
¶ 0 star (Y), 1 triangle (delta)
Type: Winding connection

p
¶ pole pairs number

Lewout
¶ straight length of the conductors outside the lamination before the curved part of winding overhang [m]  can be negative to tune the average turn length

conductor
¶ Winding’s conductor
