CondType12 (class)¶
Method code available at https://github.com/Eomys/pyleecan/tree/master/pyleecan/Methods/Machine/CondType12
-
class
CondType12
(Wwire=0.015, Wins_cond=0.015, Nwppc=1, Wins_wire=0, Kwoh=0.5, cond_mat=-1, ins_mat=-1, init_dict=None, init_str=None)[source]¶ Bases:
pyleecan.Classes.Conductor.Conductor
parallel stranded conductor consisting of at least a single round wire
-
VERSION
= 1¶
-
check
()¶ Check that the Conductor object is correct
- Parameters
self (CondType12) – A CondType12 object
- Returns
- Return type
None
- Raises
C12_WireDontFit – The wire is too big to fit in the conductor
C12_WireDontFit – The wires are too big to fit in the conductor
-
comp_surface_active
()¶ Compute the active surface of the conductor
- Parameters
self (CondType12) – A CondType12 object
- Returns
Sact – Surface without insulation [m**2]
- Return type
float
-
comp_height
()¶ Compute the height of the conductor
- Parameters
self (CondType12) – A CondType12 object
- Returns
H – Height of the conductor [m]
- Return type
float
-
comp_surface
()¶ Compute the surface of the conductor
- Parameters
self (CondType12) – A CondType12 object
- Returns
S – Surface of the conductor (with insulation) [m**2]
- Return type
float
-
comp_width
()¶ Compute the width of the conductor
- Parameters
self (CondType12) – A CondType12 object
- Returns
W – Width of the conductor [m]
- Return type
float
-
plot
()¶ Plot a Conductor in a matplotlib fig
- Parameters
self (CondType12) – A CondType12 object
- Returns
- Return type
None
- Raises
NotPlotableError – You can’t plot a coil with Nwppc>4
-
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
Wwire
¶ cf schematics, single wire diameter without insulation [m]
- Type
float
- Min
0
-
property
Wins_cond
¶ (advanced) cf schematics, winding coil insulation diameter [m]
- Type
float
- Min
0
-
property
Nwppc
¶ cf schematics, winding number of random wires (strands) in parallel per coil
- Type
int
- Min
1
-
property
Wins_wire
¶ (advanced) cf schematics, winding strand insulation thickness [m]
- Type
float
- Min
0
-
property
Kwoh
¶ winding overhang factor which describes the fact that random round wire end-windings can be more or less compressed (0.5 for small motors, 0.8 for large motors) - can be used to tune the average turn length (relevant if type_cond==1)
- Type
float
- Min
0
-