Overview
This blog illustrates how to import a list of N-port touchstones files into ANSYS circuit and HFSS 3D Layout tools. Instead of referencing a single files, an N-port model can reference an array of solution files. Below is a brief overview of the steps needed to add Multi-File N-Port Model and a full demonstration is provided in the video link.
Creating a Multi-File N-Port Model
To create a multi-file model using array variables:
1. View the Component Libraries area, by clicking on View menu tab > Component Libraries
2. Select the Symbols tab > Click Models > select the NPort_Multi icon.
This opens the N-port multi file import window.
- Enter a number of pins or ports (from 1 to 1000). Files containing components with exactly the specified number of pins (and only those files) are displayed for selection in the Add Files window. For example, if you select 2, only files with an extensions of s2p, v2p, and y2p will be available.
- Enter a Name for the model if chosen.
- Select a type for the Reference node:
- Implied reference to ground: the global ground is the reference port for each N port connection. Its voltage is always 0V.
- Common reference port: an additional reference pin is added that is a common reference for the definition of port voltages. This reference can have any voltage and corresponds to the net for that extra pin.
- Add individual hidden reference pin per port: an additional reference pin is added for each port. These reference pins are hidden, set to 0V by default, and can each have their own reference voltage. You can connect each reference pin to its own net. Select this option if you do not want to see the reference pins.
- Add individual reference pin per port: an additional reference pin is added for each port. Every reference pin can have its own reference voltage and be connected to its own net.
- Clicking Add Files to browse and select multiple Touchstone (*.SnP) files to be added to the list box.
- Click OK. An instance of the N-port component is attached to the cursor, so drag and place it in the schematic. When instances of the component are placed, right-click and select Finish or press Esc on the keyboard to stop placing instances.
- The simulation can sweep the entries in the created Text Array Variable. In this case, $SElement_Files_Index is the variable to sweep.
A complete demonstration of this work flow is shown in the video link below:
Post by
Ibrahim Nassar
December 17, 2024
December 17, 2024