setup_y_connection#

Maxwell3d.setup_y_connection(assignment=None)[source]#

Set up the Y connection.

Parameters:
assignmentlist, optional

List of windings. For example, ["PhaseA", "PhaseB", "PhaseC"]. The default is None, in which case the design has no Y connection.

Returns:
bool

True when successful and False when failed.

References

>>> oModule.SetupYConnection

Examples

Set up the Y connection for three existing windings named PhaseA, PhaseB, and PhaseC. This creates one YConnection group containing these three phases.

>>> from pyaedt import Maxwell2d
>>> m2d = Maxwell2d("Motor_EM_R2019R3.aedt")
>>> m2d.set_active_design("Basis_Model_For_Test")
>>> m2d.setup_y_connection(["PhaseA", "PhaseB", "PhaseC"])
>>> m2d.release_desktop(True, True)