Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (26 sloc) 1.62 KB

Python package for automating QUCS simulations

License GPL

Example usage of this package in my article: Modeling the frequency response of microwave radiometers with QUCS


It was designed to easily iterate between testing a circuit on the QUCS GUI and running batch simulations, so that a system can be debugged interactively at several development stages.

The simulate module parses the netlist produced interactively by the QUCS GUI and runs user defined regular expressions to create and save to disk the target set of netlists, then runs qucsator on each of them. The extract and plot modules allow then to read the custom QUCS file format, manipulate and plot the results.


The easiest way is to run the demo:

  1. copy pythonqucstest_prj in your .qucs folder
  2. open QUCS GUI and run the pythonqucstest schematic in order to create the netlist
  3. check that QUCS created the netlist text file, usually in .qucs/netlist.txt
  4. run python in the demo folder
  5. simulations for 2 netlists with 2 different amplifiers are automatically run, results are plotted and written as csv files under the csv folder
  6. netlists and raw output files are written in the subfolders netlists and outputs


If you use python-qucs for research, please cite my work in your publication: