Skip to content

About

circuit solver for upto 40 nodes using MNA which is compatible with resistors, independent sources and controlled sources (no AC analysis, no capacitor/inductor handling)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Circuit Solver

This is a basic DC circuit solver made in MATLAB. It uses Modified Nodal Analysis (MNA) to solve circuits from a .cir netlist file.

Features

  • Supports up to 40 non-ground nodes.
  • Supports resistors.
  • Supports independent DC voltage sources.
  • Supports independent DC current sources.
  • Supports voltage controlled current sources (VCCS).
  • Supports voltage controlled voltage sources (VCVS).
  • Supports current controlled current sources (CCCS).
  • Supports current controlled voltage sources (CCVS).
  • Supports ideal opamps.
  • Accepts 0, gnd, or ground as the ground node.
  • Displays node voltages and extra MNA branch currents.
  • Returns the result and MNA matrices in a MATLAB structure.

Basic Usage

result = ec25116031('example.cir');
result.A

Resource Used

About

circuit solver for upto 40 nodes using MNA which is compatible with resistors, independent sources and controlled sources (no AC analysis, no capacitor/inductor handling)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages