Skip to content

Martian-dev/circuit-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circuit solver

This is a circuit solver built using C++, which takes in a netlist file describing a circuit and prints out the node voltages of the circuit.

How this works

It parses through the netlist file, and constructs a graph (adjacency list) of components, a vector of components, and a hashmap of nodes. Then it solves the circuit by building matrices for applying Kirchoff's laws and solves the set matrix to get the node voltages, which is later printed out to the shell.

About

circuit solver using graphs and kirchoff's law

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published