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_terminals
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_value
float
,optional
Value of the current in amperes. The default is
1
.- res
float
,optional
Resistance in ohms. The default is
0
.- ind
float
,optional
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
.
- coil_terminals
- Returns:
pyaedt.modules.Boundary.BoundaryObject
Bounding object for the winding, otherwise only the bounding object.
False
when failed.
References
>>> oModule.AssignWindingGroup