# CondType12 (class)¶

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

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]
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_active_surface()

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
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)