this repository is about modeling circuits as graphs and analyzing them with graph theory algorithms for more detail read this article, or if you know persian its better to take look at this.
- install Gracc with
pip install Gracc
-
descripe your circuit as a text! to do so see this. after descripting your circuit as a text locate it here
-
run and plot it with:
import Gracc as grc
kg6 = grc.circuit_parser('yourdescriptedcircuit.txt')
grc.plot_kirchoffgraph(kg6)
grc.plot_kirchoffgraph_after_solving(kg6)
for example for the
circuit5 the solution is:
the next goal is to give a picture as an input see this great repository if we do so then you can use Gracc in your online exam :-)