zspice is an analog circuit simulator inspired by SPICE engines. it is an recreational learning project, to understand how SPICE engines work, and how common components are modelled.
for the mock-up version check this repo. there i tried making a quick resistor network solver in python, then tried porting it to C++
Requires CMake, also Ninja is nice to have.
git clone https://github.com/zoomlogo/zspice
cd zspice
mkdir build && cd build
cmake ..
ninja
./test_run # to run the tests
./zspice # actual programRequires doxygen.
doxygen # output in docs/See TODO for info.
See COPYING for info.
There are some of the resources I referred while implementing some aspects of the program.
- visualization of diode converging
- qucs technical docs
- berkeley spice paper
- MNA explanation
- wikipedia - MNA
- ngspice manual
- Modelling the Bipolar Transistor, Ian E. Getreu