PySpice
PySpice copied to clipboard
How to run many simulations in parallel
I'm trying to simulate a circuit for Y different combinations of the inputs. I can do this with a loop, but this is very slow because (1) I have to create a new netlist each time, and (2) a new process is created for each new simulation.
Is it possible to create one netlist that contains all Y samples and do the simulation using just once process?
Did you end up having any luck with this? I'm looking to do this.
You can create a function which takes in your circuit parameters, then use multiprocessing