setup_y_connection#

Maxwell2d.setup_y_connection(windings_name=None)[source]#

Setup the Y connection.

Parameters:
windings_namelist, optional

List of windings. For example, ["PhaseA", "PhaseB", "PhaseC"]. The default value 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
>>> aedtapp = Maxwell2d("Motor_EM_R2019R3.aedt")
>>> aedtapp.set_active_design("Basis_Model_For_Test")
>>> aedtapp.setup_y_connection(["PhaseA", "PhaseB", "PhaseC"])