Replies: 8 comments
-
I cannot reproduce the attached error logs. The MESFET models work on my machine as expected. Moving this issue to discussion: https://github.com/ra3xdh/qucs_s/discussions |
Beta Was this translation helpful? Give feedback.
-
Is this the same issue I had in #569? .PARAM values won't be available in later equations. |
Beta Was this translation helpful? Give feedback.
-
Vt is defined before TK in the provided netlist. TK is undefined in the Vt equation. Try to change the equations order. I am wondering why my Ngspice build accepts this. |
Beta Was this translation helpful? Give feedback.
-
It works with Qucs-S 0.0.24 and every version of ngspice I have. |
Beta Was this translation helpful? Give feedback.
-
The error in the log comes from Ngspice, not from Qucs-S. I cannot reproduce it using my build. |
Beta Was this translation helpful? Give feedback.
-
The netlists are different. I also attached the 0.0.24 and 24.1 project folders. 0.0.24 won't load newer rev sub-circuits so best to make two folders. |
Beta Was this translation helpful? Give feedback.
-
The only difference is the |
Beta Was this translation helpful? Give feedback.
-
The problem is my default .spiceinit = "set ngbehavior=ltpsa" in my Windows user directory. Something is different between 0.0.24 and 24.1. I have used the same default .spiceinit long before 0.0.24. I ran into a similar issue in the past. Qucs-S uses the spice4qucs folder to write the .spiceinit. Qucs-S writes and deletes the .spiceinit every simulation run. Holger explained where ngspice looks for the .spiceinit. Does 24.1 handle .spiceinit differently than 0.0.24? Will I need a .spiceinit in every schematic and delete my default one? If so it needs to be added as a prerequisite. https://sourceforge.net/p/ngspice/discussion/120973/thread/afefdb21be/ |
Beta Was this translation helpful? Give feedback.
-
Vadim a Qucs MESFET example using an EDD that you fixed in the following thread doesn't work anymore.
#152
The files work under Qucs-S 0.0.24 and any ngspice version. However the exported netlists from Qucs-S 0.0.24 don't work using DuSpice. I have NEVER seen this happen before. VERY strange...
The files fail under Qucs-S 24.1.0 regardless of ngspice version.
The netlists have a slight variation between Qucs-S 0.0.24 and Qucs-S 24.1.0. One uses a small "v" versus a capital "V".
"alter vgs = $vgs_act" versus alter "Vgs = $vgs_act".
Whatever Qucs-S 0.0.24 does differently "interacting" with ngspice allows it to work while Qucs-S 24.1.0 doesn't. I altered the two netlists so ngspice would create different error logs. Both generate the identical errors. Again why Qucs-S 0.0.24 works is baffling.
I started this because MESFETs.lib doesn't work and was going to make a version using EDD.
Qucs-S 0.0.24 is difficult to use unless you redo all subcircuit Headers to be <Qucs Schematic 0.0.24>. You also have to redo the simulator configuration each time you change. Qucs-S 0.0.24 always defaults to xyce and Qucs-S 24.1.0 defaults to ngspice.
Beta Was this translation helpful? Give feedback.
All reactions