Skip to content
QUCS, (http://qucs.sf.net), is a powerful open-source circuit simulator, python-qucs is a Python package that allows to automate the process of preparing input netlists for several simulations, run them, and export the results.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
demo
qucs
.gitignore
README.markdown
gplv3.txt
setup.py

README.markdown

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

Introduction

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.

Usage

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 demo.py 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

Citing

If you use python-qucs for research, please cite my work in your publication: http://arxiv.org/abs/1011.6363

Something went wrong with that request. Please try again.