Menu

#77 S-Parameter simulation takes too long for many ports

v1.0 (example)
open
nobody
None
5
2025-03-31
2025-03-31
No

Hello,

I am trying to use 8 port S-Parameter circuit work. However, without any complexity in the model, circuit takes too long to be calculated, on realtively small amount of frequency points. More precisely, for 60 frequency points and 8 ports it takes 18.15 seconds to run.

I have removed every complexity from the netlist and I am attaching this netlist to this file. Only ports are present in the netlist. Whenever I add more circuit elements to the circuit, runtime stays approximately the same.

With reduced number of ports, calculations are almost momentary.
I measured the same frequncy points with different number of ports and results are
2 ports - 0.11s
3 ports - 0.12s
4 ports - 0.14s
5 ports - 0.12s
6 ports - 0.36s
7 ports - 2.45s
8 ports - 18.15s

I get much faster calculation speeds from QUCS-S as well as Keysight ADS. I have simulated large 60 port systems in keysight ADS and results always stay below 5 seconds. Can anything be done about this?

I am attaching my simple code below, with only the ports present:

.csparam Rbase=50

V1 NODE1 GND dc 0 ac 0 portnum 1 z0 50
V2 NODE2 GND dc 0 ac 0 portnum 2 z0 50
V3 NODE3 GND dc 0 ac 0 portnum 3 z0 50
V4 NODE4 GND dc 0 ac 0 portnum 4 z0 50
V5 NODE5 GND dc 0 ac 0 portnum 5 z0 50
V6 NODE6 GND dc 0 ac 0 portnum 6 z0 50
V7 NODE7 GND dc 0 ac 0 portnum 7 z0 50
V8 NODE8 GND dc 0 ac 0 portnum 8 z0 50

.sp lin 60 40e6 60e9 1
.control
run
.endc

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.