Skip to content

Please try ngspice-36-klu for faster simulation #374

@holvo

Description

@holvo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedThis issue is open to help from anyone who can work on it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions