assign_winding#

Maxwell2d.assign_winding(assignment=None, winding_type='Current', is_solid=True, current=1, resistance=0, inductance=0, voltage=0, parallel_branches=1, phase=0, name=None)[source]#

Assign a winding to a Maxwell design.

Parameters:
assignmentlist, 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.

currentfloat, optional

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

resistancefloat, optional

Resistance in ohms. The default is 0.

inductancefloat, optional

Inductance in 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:
ansys.aedt.core.modules.boundary.BoundaryObject

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

References

>>> oModule.AssignWindingGroup