Hi All,
In case anybody is interested in learning to optimize their transient simulation, I found these article which I think is good as it doesnt just provide text explanation, but also provide graphical clue on understanding the options and consequences of our setting.
Arief,
Achieving Accurate Results With a Circuit Simulator.pdf (176.0 KB)
7 Likes
Does Qspice has command editing option as like in ltspice, where we can change the tolerance values, step time, solver, engine etc for simple and complex circuits as required to check the accuracy and convergence.
Does Qspice has such option?
Yes, if you refer to Qspice HELP, QSPICE > Simulator > Command Reference > Simulator Option (.option), there is a list of Simulator Options.
For example, add .option method=gear in your schematic will change integration method from default trapezoidal to gear. You can change Gmin, Abstol, Reltol etc… by .option
Unlike LTspice to change setting in a window, Qspice simplified its user interface, and you change setting with command line in your schematic / netlist. (therefore, setting follows the schematic/netlist, instead your computer)
I put my study of .option into a command guideline which shared in this link
Goto .option section in Qspice - Command Reference Guide by KSKelvin.pdf if you need example how to use that.
Qspice/Guideline at main · KSKelvin-Github/Qspice
Adding to @KSKelvin comment.
Basically its exactly the same as LTspice, the difference is in Qspice everything is text based that lays bare on the schematic sheet.
Its easier for other people to review your design because nothing is hidden.
2 Likes
Thanks a lot guys, its great help. I appreciate your quick response.
Kelvin, what are the by default values for these Gmin, Abstol, Reltol, Chgtol, Trtol, Volttol, Sstol, MinDeltaGmin and absolute voltage and current tolerances?
Have you checked the Qspice HELP section? It contains the default values.
Just be aware that options in LTspice may not in Qspice. In certain areas, Qspice operates quite differently compared to LTspice.
Yeah I checked it and implemented it as well for comparison.