PySpice icon indicating copy to clipboard operation
PySpice copied to clipboard

How to run many simulations in parallel

Open medwatt opened this issue 1 year ago • 2 comments

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?

medwatt avatar Mar 30 '23 11:03 medwatt

Did you end up having any luck with this? I'm looking to do this.

person678 avatar Aug 11 '23 13:08 person678

You can create a function which takes in your circuit parameters, then use multiprocessing

benedictjones avatar Aug 13 '23 20:08 benedictjones