Winding (class)¶
Method code available at https://github.com/Eomys/pyleecan/tree/master/pyleecan/Methods/Machine/Winding
-
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, init_str=None)[source]¶ Bases:
pyleecan.Classes._frozen.FrozenClass
Winding abstract class
-
VERSION
= 1¶
-
NAME
= 'Abstract Winding'¶
-
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_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
-
comp_length_endwinding
()¶ Compute the Winding overhang length on one side for a half-turn[m]
- Parameters
self (Winding) – A Winding object
- Returns
Lewout – End-winding length on one side for a half-turn [m].
- Return type
float
-
save
(save_path='', is_folder=False)¶ Save the object to the save_path
- Parameters
self – A pyleecan object
save_path (str) – path to the folder to save the object
is_folder (bool) – to split the object in different files: separate simulation machine and materials
-
copy
()¶ Return a copy of the class
-
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
-
property
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)
- Type
bool
-
property
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)
- Type
int
-
property
qs
¶ number of phases
- Type
int
- Min
0
- Max
100
-
property
Ntcoil
¶ number of turns per coil
- Type
int
- Min
1
- Max
1000
-
property
Npcpp
¶ number of parallel circuits per phase (maximum 2p)
- Type
int
- Min
1
- Max
1000
-
property
type_connection
¶ 0 star (Y), 1 triangle (delta)
- Type
int
- Min
0
- Max
1
- Type
Winding connection
-
property
p
¶ pole pairs number
- Type
int
- Min
1
- Max
100
-
property
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
- Type
float
- Min
0
- Max
100
-
property
conductor
¶ Winding’s conductor
- Type
Conductor
-