Skip to content

Ragviswa/Circuit-Simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circuit Simulator

The report for this project is available here

Overview

The following repository contains a Circuit Simulator written in C++ which can perform steady state and transient analysis on circuits with linear components and one non-linear component: diodes. Similar to LTSpice, it conducts nodal analysis in order to output a list of nodal voltages and branch currents across each timestep, in order to show the analysis of the circuit.

In order to run the simulator, the following steps can be taken as shown below:

Run the build_simulator.sh file to build the old simulator

Run the build_simulator_improved.sh file to build the new simulator

This can be used to see improvements made across the 2 versions

All the complex tests used in the report are stored in the "final_tests" folder

All the tests used during coding to make sure the code compiles and runs at the basic level are stored in the "preliminary_tests" folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.1%
  • Fortran 11.7%
  • CMake 2.9%
  • C 1.7%
  • Cuda 1.2%
  • Shell 0.2%
  • Other 0.2%