Exporting Matrix Data

  1. In the project tree, right-click the solution setup of interest, and then click Matrix Data on the shortcut menu.

The Solution Data window appears. The Matrix Data tab is selected. You can also access the Solution Data window from the Results tab on the ribbon by clicking the Solution Data icon.

Solution Data window, Matrix Data tab.

  1. Select the type of matrix you want to view: S-matrix, Y-matrix, Z-matrix, Gamma, or Zo(characteristic impedance.)
  2. Select the Export tab and click Export Matrix Data.
    Matrix Data tab, Export tab.

A file browser appears.

  1. Type the name of the file you are exporting to in the File name text box.
  2. Select one of the following file formats from the Save as type drop-down menu:
    Save as type drop-down menu.

    Format

    Type

    Description

    (spreadsheet)
    *.tab

    Data Table

    A text file in which the elements of the S-matrix are arranged in a series of columns that are tab-separated and include a first row of headings. The file may be imported into a spreadsheet or similar utility.

    *.sNp

    Touchstone

    A Touchstone S-parameter file in which the number of ports is indicated by n. For example, a Touchstone file with one port would have the file extension .s1p. When you export this format, you are presented with a dialog.

    Specify Export Reference Impedance dialog.

    You can specify:

    • Number of Digits Precision (Default 15)
    • Override Solution Renormalization. This refers to overriding the renormalization impedances that may have been asked for in the port setup. If so, the export renormalizes impedance
    • Do Not Override Solution Renormalization. This leaves any port setup renormalization options in place, and grays out the Impedance setting on the dialog.
    • Include Gamma and Impedance Comments
    • Support for non-standard Touchstone extensions for mixed reference impedances. Writing gamma and Z0 is not Touchstone standard, but rather an HFSS "feature" that only HFSS will recognize.

    If you want to export raw S-Parameter data for later use, you may choose to not renormalize the solution.

    If all ports and associated modes/terminals are normalized to the same impedance and you choose Do Not Override Solution Renormalization during export, the Touchstone file header will indicate the normalized impedance.

    The comment header in the Touchstone file lists the port and mode numbers to show which column contains which port name (in case of confusion between alphabetical and force repriority ordering of ports and associated modes).

    ! Touchstone file exported from HFSS 2024.2

    ! File: D:/Program Files/AnsysEM/v242/Win64/Examples/HFSS/Signal Integrity/package.aedt

    ! Generated: 1:56:02 PM Apr 01, 2020

    ! Design: HFSSDesign1

    ! Project: package

    ! Setup: Setup1

    ! Solution: Sweep1

    !

    # GHZ S MA R 50.000000

    ! Terminal data exported

    ! Port[1] = P01__NET179__T1

    ! Port[2] = P02__NET178__T1

    ! Port[3] = P03__NET178__T1

    ! Port[4] = P04__NET179__T1

    *.nmf

    Neutral Model format

    Neutral Model file format defined by the MAFET Consortium. When you save to this format, if the design includes variables, you are presented with the NMF Parameters dialog that lets you select which variables to select as parameters in the NMF file. Non-selected variables will be give the constant value shown.

    You are then presented a dialog that lets you specify the number of digits precision for the renormalizing impedance.

    *.m

    MATLAB

    The Mathworks' MATLAB file in which the elements of the S-, Y-, or Z-matrix are arranged in a series of rows. Matlab only allows creation of complex numbers by specifying real and imaginary parts, not by specifying magnitude and phase.

    *.cit

    Citifile

    Common Instrumentation Transfer and Interchange file format. It is an ASCII format defined by instrument and CAE designers.


Note:

For Touchstone files, you no longer see a Combine Sweeps option on the Export Network Data solution dialog box. This is because the current Sweep setup allows you to define multiple sweeps for a single simulation, meaning any needed combining is defined with the sweep setup.

  1. Click Save.

The data is exported to the file.