How to replace capacitor by port in HFSS 3D Layout, run simulation, export S parameter and create circuit schematic #1580
amichel0205
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here the goal is to provide two scripts and their associated toml file(for script input) to be used for a worfklow to:
First: script and toml file to achieve capacitor by port replacement are provide below:
Toml file "Convert_cap_to_port.toml" must be placed in PersonalLib.

In listcap provide property "Name" of capacitors to replace by port:
With this toml file the project with capacitors is named SVP_V1_1_TX and located in C:/Temp
A new project SVP_V1_1_TX_RLCtoP will be created in C:/Temp where Capacitor C375, C376, C379, C380, C373, C374 will be replace by ports.
If runanalisys is false script stopped after project creation.
If runanalysis is true the new created project is simulated and S parameter named SVP_V1_1_TX.snp is created
Original project with capacitor must have a setup such the setup is reused in new created project. If not simulation and export S parameter step is skipped even if runanalysis is true.
Let say that simulation of the new created project was done and an S parameter named was exported SVP_V1_1_TX_RLCtoP.s18p. The second will be to create a schematic with S parameter and capacitors.
Second: script and toml file to create schematic:
Toml file "Create_Ciruit_from_Sparameter.toml" must be placed in PersonalLib.
With this toml file, below script will:
User will have to add the simulation setup in the circuit project.
You use it as it is or add your own piece of code.
Below you can see screenshot of:
1

2

3

Beta Was this translation helpful? Give feedback.
All reactions