assign_winding#
- Maxwell3d.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)#
Assign a winding to a Maxwell design.
- Parameters:
- assignment
list
,optional
List of faces to create the coil terminal on. The default is
None
.- winding_type
str
,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
. IfFalse
, the winding is the stranded type.- current
float
,optional
Value of the current in amperes. The default is
1
.- resistance
float
,optional
Resistance in ohms. The default is
0
.- inductance
float
,optional
Inductance in Henry (H). The default is
0
.- voltage
float
,optional
Voltage value. The default is
0
.- parallel_branches
int
,optional
Number of parallel branches. The default is
1
.- phase
float
,optional
Value of the phase delay in degrees. The default is
0
.- name
str
,optional
Name of the boundary. The default is
None
.
- assignment
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObject
Bounding object for the winding, otherwise only the bounding object.
False
when failed.
References
>>> oModule.AssignWindingGroup