Skip to content

OmarShamkh/electric-graph-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electric Graph Solver

Console application to calculate Cut-set and Tie-set Matrices Realted to Computer-aided-design.

Overview:

Any electric circuit or network can be converted into its equivalent graph by replacing the passive elements and voltage sources with short circuits and the current sources with open circuits. Ex: cad-sc

How it works:

  • Give Incidence Matrix(A) as an input.Calculate Cut-set(C) Matrix and Tie-set(B) Matrix.
  • The value of element will be +1 for the link of selected f-loop.
  • The value of elements will be 0 for the remaining links and branches, which are not part of the selected f-loop.
  • If the direction of branch current of selected f-loop is same as that of f-loop link current, then the value of element will be +1.
  • If the direction of branch current of selected f-loop is opposite to that of f-loop link current, then the value of element will be -1.

Cad-example

Build:

git clone https://github.com/OmarShamkh/network-graphs-solver.git
python3 main.py

Snapshot:

cad-demo

About

Simple Solver for Cut-set and Tie-set Matrices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages