0

I've been thinking about how ngspice and other circuit simulators select the 'state variables' for a network. I know that this will involve some graph theory but was unable to find any references that describe just what it is that the solvers do. Any references would help.

1 Answers1

0

Pretty much the only thing they can do is use capacitor voltage and inductor current*, or possibly capacitor charge and inductor flux. Those are the relevant states in an electronic simulation.

* leaving out the simulation of any transmission lines and direct simulation of linear transfer functions.

TimWescott
  • 46,144
  • 1
  • 42
  • 107