-
-
March 12, 2021 at 3:21 pm
Shin-Sung Kim
Ansys EmployeeThe concept of a port was introduced into FDTD in the 2017a release. New objects called ports can be added to a simulation and used to extract the equivalent circuit representation of a device. A port is usually defined as a cross-section on a waveguide structure or a connector, and it serves as a reference point to extract an equivalent circuit representation. The port objects in FDTD can be used to excite all the ports of a device in order to extract a complete S-parameter representation. At the bottom of this post, you will find a simulation file and a script with a simple example. The simulation file consists of a straight glass waveguide with two ports. To extract the full S-parameter matrix, all the ports must be excited individually using separate simulations. In this example, two simulations are needed: one to excite port 1 and extract S11 and S21, and another one to excite port 2 and extract S12 and S22. This process can be carried out by hand or in an automated way using the new S-parameter sweep tool. The two approaches are briefly illustrated here.nExtracting S-parameters by HandnThe attached script extracts S11 and S21 and compares them against the expected results. First, the script sets the first mode of port 1 as the exciting port. This is done with the following two commands:nAfterward, the script runs the simulation and collects S11 from port 1 and S21 from port 2, and plots the results:n
Extracting S-parameters Using a SweepnThe s-parameter sweep tool can be used to extract all the S-parameters of the device in an automated way. n
The sweep tool will automatically run the simulations and aggregate the S-parameter results. The complete results can be visualized from the result view after running the sweep:n
n
-
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error on Lumerical device
- Using a license file on a new license server
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: Diverging Simulations
- Ansys Insight: Transmission results greater than one
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Convergence issues in CHARGE
- Is there a Lumerical script command to output the Simulation and Memory requirements?
Top Contributors
-
2532
-
2066
-
1285
-
1104
-
459
Top Rated Tags
© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.