Description
openedon Jun 21, 2022
Users have reported some problems when simulating large circuits (e.g. 200k transistors) with standard ngspice (long simulation times, operating point convergence problems).
Recently I have tested a dedicated version of ngspice-36, which replaces the venerable Sparse matrix solver by the KLU method, with very promising results. When using KLU and the Optran method to get the operating point before transient sim is started, I have achieved a simulation speed-up by a factor of three or more, after a fast operating point evaluation.
On the ngspice web pages at http://ngspice.sourceforge.net/applic.html there is more information on setting up ngspice for KLU.
As user feedback is very important here, please don't hesitate to try it out and report your results. We will need much more testing with various circuits before this feature may move into the standard ngspice distribution.