▲ | bartlettD 3 days ago | |
As a practicing EE and naive programmer, It is pretty hard to build a simulation engine for electronics and even harder to build a performant engine. SPICE does this with huge matrices of differential equations and math tricks. Theres an interesting article by Mike Engelhardt (author of LTspice) which gives hints on the details of their implementation. https://www.analog.com/media/en/technical-documentation/tech... |