Transient Cosimulation Component Interface Concept

The Maxwell 2D and 3D Transient solvers incorporate circuit equations into the finite element system of equations. Maxwell uses a loop form of the circuit equations, while Twin Builder uses a nodal form of the circuit equations. After each time step, Twin Builder forms a Norton-equivalent of the drive circuit at the coupling pins between the Maxwell component and the rest of the system. Maxwell converts this to a loop matrix, solves the finite element equations, then outputs a Thevenin-equivalent for the next Twin Builder time step. This parameter-based coupling enhances solution accuracy and stability.

Twin Builder controls the time step during simulation and also controls the rotational speed or linear velocity of the Maxwell component.

At each time step each solver creates a drive circuit at the coupling pins looking into the other system:

During each time step, the two solvers exchange coupling matrix data using TCP/IP sockets. Since the data exchange is relatively small, the Maxwell 2D or 3D Transient and the Twin Builder transient solvers can run on different computers, as long as they have access to each other over a network.

Note:

To form a valid Norton-equivalent of the drive circuit from Twin Builder, do not directly connect an independent voltage source—or a VHDL-AMS ammeter—to a winding terminal that is connected to the ground or another winding terminal without any other components (such as a resistor) in the series.

However, the basic ammeter (select Basic Elements > Measurement > Electrical > AM: Electrical Ammeter in the Component Libraries pane) does not have such a limitation as Twin Builder automatically handles those direct connections.