ra3xdh / qucs_s

Qucs-S is a circuit simulation program with Qt-based GUI
https://ra3xdh.github.io/
GNU General Public License v2.0
751 stars 101 forks source link

Fourier analysis with Xyce backend is broken #73

Open ra3xdh opened 2 years ago

ra3xdh commented 2 years ago

Fourier analysis with .FOUR gives no output if the latest Xyce v7.4 is used. The Qt4 Qucs-S version is affected too.

tvrusso commented 2 years ago

This is probably due to a change to .FOUR output that was put in place in Xyce 7.4. According to the release notes:

image

tvrusso commented 2 years ago

So instead of looking in "netlist.four" you have to look in "netlist.four0" even if it's not a .step netlist. If the netlist DOES have .step in it, then each step's fourier output is in a different file.

ra3xdh commented 2 years ago

Thank you for pointing this. I will correct the Fourier analysis support in the next few days.

ra3xdh commented 2 years ago

I have fixed a .FOUR simulation for Xyce. Old circuits are operational again now. The combination of .FOUR+.STEP will require a bit more work, because it will be needed to modify the simulation output parser.

image