A software for visualizing and solving electrical circuits, written in Python
These instructions help you run this software on your local machine.
- pygraphics
- schemDraw
- matplotlib
- numpy
Assuming you have pip installed on your computer, run this command in the command line(in the project folder):
pip install -r requirements.txt
Double click on the circuitsolver.py file, or run this command in the command line:
python circuitsolver.py
The circuit is a 3x3 board(9 points). The point numbering is column-wise and starting from top-left.
- In the Type drop-down menu, choose the type of the element you want to add to the circuit.
- Using the Set Value button, choose the start point, end point, and the value of the element.
- If the element is a dependent one, set the dependency info in the corresponding fields.
- You can add the element to the circuit by clicking on the Add Element button.
- You can view the circuit in any of the steps using Draw Circuit button.
- To analyze the circuit, simply click on the Analyze button.
- To make a new circuit, click on the New option in the top toolbar.