Import Touchstone Files for Circuit Elements in HFSS

To create a circuit element, you can import Touchstone files to create the definition for a Single Port Model or a Multi-Terminal Model:

For a single Terminal Model:

  1. Right click on a Lumped port in the Project tree and click Create Single-Port Model,
    Corcuit Element shorcut menu. Create option expanded, Single-Port Model option highlighted.
    or right click on the Circuit Elements folder and select Create>Single Port Model....
    Excitations shorcut menu, Create Single-Port Model option highlighted.

 

The Create N-port Circuit Element dialog opens. If you selected the port menu, the dialog shows the HFSS Port assignment. If you selected from the Circuit Element menu, you can click on the HFSS Ports cell to select from available ports.

Create N-port Circuit Element dialog. Definition field set to import.

Selecting Import... automatically opens a browser window. You can select the Touchstone format and an appropriate file.

File explorer window.

If the Touchstone file is consistent with the design and selection, the Create N-port Circuit Element dialog shows where you can make port assignments.

Create N-Port Circuit Element dialog.

When you can competed Port/Terminal assignments, the Message field changes to a green OK.

Create N-Port Circuit Element dialog.

When click OK, the dialog closes, and the in Project tree, the Excitations are removed an Nport appears under the Circuit Elements.

  1. The View... button in the Create N Port dialog opens the circuit port in ndExplorer
    Network Data Explorer window.
    For a description of ndExplorer, see Network Data Explorer.

Using Import Multiple ... for Touchstone files.

If you select Import Multiple... in the Create N-port Circuit Element dialog box, the Circuit Element Imported Solutions dialog opens.

Circuit Element Imported Solutions dialog.

If no imported files are listed, you can click Add Files to open a file browser to add suitable touchtone solution files, such as those created when you Export Matrix data from the Solutions dialog.

File explorer window, File Type field set to Touchstone Format.

Added files are then listed as Circuit Element Imported Solutions. The View... button opens the selected solution file in NDExplorer.

Circuit Element Imported Solutions dialog.

Click OK to close the dialog box. The Create N-port Circuit Element dialog shows an HFSS Port assignment, based on the solution file.

Create N-Port Circuit Element dialog.

If the Solution files contains information for multiple ports, you can change the assignment by selecting from the drop-down menu.

Create N-Port Circuit Element dialog. HFSS Port dropdown menu expanded.

Click OK to close the dialog box. The Project tree will show the nPort listed as a Circuit Element, and the Excitation that corresponded to the assignment is not listed.

Project tree.

If you select Multiple Terminal Model, and the selected Touchstone file contains solution information for all N-port Terminals, the Create N-Port Circuit Element dialog allows you to make assignments for all available HFSS Ports.

Create N-port Circuit Element dialog.

In this case, the click OK to close the dialog box. In this case the N Port replaces all assigned HFSS Ports.

Project Tree.