Folks that do software and analog electronics: (and please boost for visibility)

Is there an OSS tool that simulates analog circuits for signals? In particular, I want something that I can script and write expectations of the output signals for given inputs. And ideally that scripting would include programmatically adding/removing/changing components in the simulated circuit and then testing the outputs.

Thanks!

#electronics #analogElectronics #simulations #programming

@mathias You an use kicad with a spice:
https://www.kicad.org/discover/spice/

There are python bindings for kicad, but I haven't used them.

SPICE Simulation

KiCad integrates the open source spice simulator ngspice to provide simulation capability in graphical form through integration with the Schematic Editor.