python-minispice
A SPICE simulator for Python
Python-minispice is a SPICE simulator in python. Minispice allows for the simulation of circits and calulation of node voltages in an arbitrary network. Current elements supported include: Resistors, Capacitors, Inductors, Voltage Controlled Current Sources, and Transistors. The core functionality of minispice allows for frequency analysis.
The current version of minispice also includes many extra features including
-
Calculation of input/output impedances of networks
-
Conversion between all twoport representations
-
Smith chart poltting modules
-
Calculation of constant gain circles and stability circles
-
An additional plotting function for displaying results
See the examples showing:
-
How minispice can be run from a standard SPICE file specifying elements and nodes
-
How minispice can be run directly in a Python script