setup_y_connection#
- Maxwell3d.setup_y_connection(windings_name=None)[source]#
Setup the Y connection.
- Parameters:
- windings_name
list
,optional
List of windings. For example,
["PhaseA", "PhaseB", "PhaseC"]
. The default value isNone
, in which case the design has no Y connection.
- windings_name
- Returns:
- bool
True
when successful andFalse
when failed.
References
>>> oModule.SetupYConnection
Examples
Set up the Y connection for three existing windings named
PhaseA
,PhaseB
, andPhaseC
. This creates oneYConnection
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"])