Adding a Maxwell Transient Cosimulation Component
While Twin Builder lets you add multiple Maxwell Transient Cosimulation components to a schematic, only one can be active for simulation. You must deactivate all others before successful simulation can proceed.
If the Maxwell link includes motion, then one of the two mechanical terminals exposed in Twin Builder should be used as a reference.
- On the Twin Builder main menu, select Subcircuit > Maxwell
Component > Add Transient Cosimulation.
This launches the Maxwell application. The Maxwell Transient-Transient coupling dialog box appears after Maxwell has finished loading.
- On the Link Description tab, specify a Name for the component. See Names of Components and Variables for naming conventions.
- In the Source Project & Design
panel, click
to
locate and choose the Maxwell Finite
Element model .aedt file containing
the design you want to add. The selected project loads into Maxwell.
- Based on the Source file and the Link Type (Maxwell Transient-Transient Link), Twin Builder communicates with Maxwell to load the selected file. A list of designs is retrieved from the Maxwell file and displayed in the Design drop-down list.
The dialog box’s Information tab updates to show the Number of Conservative Pins and various other Quantities present in the selected model. You can add pins to the component for listed Quantities.
- Select the Design and related Solution you want to use from the drop-down lists on the Link Description tab.
- On the Options
tab, choose to show either the Pin Name
or Pin Description on the new component.
By default, pin names display.
Note:
Pin description properties are always added to the component, regardless of whether they are selected to be shown with pins.
- If you chose Pin Description when adding the component, you can subsequently enable individual pin names: open the component symbol in the symbol editor, delete a pin’s description, double-click the pin, and enable ShowName in the pin properties dialog box.
- If you chose Pin Name when adding the component, you can subsequently hide individual pin names. Open the component symbol in the symbol editor, double-click a pin and disable ShowName in the pin properties dialog box. You can then add descriptive text to the pin using the editor’s Draw > Text tool.
- Optionally, choose to Save or Unload the Maxwell project after use by selecting the appropriate check boxes.
- When finished, click OK to accept the values and close the dialog box, or Cancel to close the dialog without the changes.
- Place the component on the schematic sheet.
- After placing the component on a sheet, the Properties dialog box may be opened for configuration of the component. The component includes the following outputs on the Quantities tab, which may be plotted in display elements or saved with simulation results:
- For each winding: the current, terminal voltage, flux linkage, and internal EMF.
- Total core loss.
- Total winding conductor loss.
- For linear motion: the force, displacement, and velocity.
- For rotational motion: the torque, angle, and
speed.
Note:
The Transient Cosimulation coupling configuration is saved with the schematic sheet. Twin Builder must establish a link to Maxwell 2D each time the simulation is run.