byADIT Free software for engineers and students
EngiFree
ngspice — The Complete Guide: The Open-Source SPICE Simulator, Including Inside KiCad

ngspice — The Complete Guide: The Open-Source SPICE Simulator, Including Inside KiCad

ngspice is an open-source SPICE simulator, the successor of Berkeley SPICE. You may already have used it without knowing: it is the engine that runs simulation inside KiCad and in the Qucs-S interface.

What it can do

How to use it

The convenient route is from KiCad: draw a schematic, add sources and models, and open the simulation window. If you prefer a dedicated interface, use Qucs-S. You can also run it from the command line with a netlist file.

ngspice or LTspice?

LTspice is especially fast for switching power supplies and comes with a rich component library, but it is not open source. ngspice is open, integrates with KiCad and runs on every operating system. For very large circuits or parallel computing — Xyce.

The bottom line

ngspice is the open foundation of circuit simulation. Anyone who designs in KiCad gets it for free, right inside the schematic.

Further reading

מדריכי AI למהנדסים ולמשרד, ב-5 שפות: adit-ai.com ←