numpy_ltspice_filter icon indicating copy to clipboard operation
numpy_ltspice_filter copied to clipboard

Control simulation with python

Open Wuerike opened this issue 1 year ago • 1 comments

Hi, got here from your article!

Do you know if somehow is it possible to interact with the circuit during the simulation? I got your idea of setting some variables in the circuit then use python to simulate with many values, but how about decide a value between time steps?

Im researching on MPPT AI based control, so Im looking a manner to be able to simulate a circuit in python and for each time step, read some values and act on control.

Wuerike avatar Aug 13 '23 01:08 Wuerike

Another good SPICE based python package is PySpice

benedictjones avatar Aug 13 '23 20:08 benedictjones