# CondType12 (class)¶

File generated according to Generator/ClassesRef/Machine/CondType12.csv WARNING! All changes made in this file will be lost!

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)[source]

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 None 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 Sact – Surface without insulation [m**2] float
comp_height()

Compute the height of the conductor

Parameters: self (CondType12) – A CondType12 object H – Height of the conductor [m] float
comp_surface()

Compute the surface of the conductor

Parameters: self (CondType12) – A CondType12 object S – Surface of the conductor (with insulation) [m**2] float
comp_width()

Compute the width of the conductor

Parameters: self (CondType12) – A CondType12 object W – Width of the conductor [m] float
plot()

Plot a Conductor in a matplotlib fig

Parameters: self (CondType12) – A CondType12 object None NotPlotableError – You can’t plot a coil with Nwppc>4
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 logger – Pyleecan object dedicated logger logging.Logger
as_dict()[source]

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

Wwire

cf schematics, single wire diameter without insulation [m]

Wins_cond

(advanced) cf schematics, winding coil insulation diameter [m]

Nwppc

cf schematics, winding number of random wires (strands) in parallel per coil

Wins_wire

(advanced) cf schematics, winding strand insulation thickness [m]

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)