assign_winding#

Maxwell3d.assign_winding(coil_terminals=None, winding_type='Current', is_solid=True, current_value=1, res=0, ind=0, voltage=0, parallel_branches=1, phase=0, name=None)[source]#

Assign a winding to a Maxwell design.

Parameters:
coil_terminalslist, optional

List of faces to create the coil terminal on. The default is None.

winding_typestr, optional

Type of the winding. Options are "Current", "Voltage", and "External". The default is "Current".

is_solidbool, optional

Whether the winding is the solid type. The default is True. If False, the winding is the stranded type.

current_valuefloat, optional

Value of the current in amperes. The default is 1.

resfloat, optional

Resistance in ohms. The default is 0.

indfloat, optional

Henry (H). The default is 0.

voltagefloat, optional

Voltage value. The default is 0.

parallel_branchesint, optional

Number of parallel branches. The default is 1.

phasefloat, optional

Value of the phase delay in degrees. The default is 0.

namestr, optional

Name of the boundary. The default is None.

Returns:
pyaedt.modules.Boundary.BoundaryObject

Bounding object for the winding, otherwise only the bounding object. False when failed.

References

>>> oModule.AssignWindingGroup