What is the best way to simulate a big circuit for a huge number of times?

I have a big resistive network (lets say 100x100). I want to run it about 10 million times. What is the best way for that?

I am using HSPICE, but it is so slow and it takes days to run those number of simulations.

  • \$\begingroup\$ Are you expecting different results each time? Are you adjusting parameters each run? \$\endgroup\$ – Ron Beyer Oct 30 '17 at 23:09
  • \$\begingroup\$ Just write the code for it, then. It's really easy to do and you can optimize it as you see fit. Given your VERY SHORT description, I'd recommend the "checkerboard" technique as this works for everything from computing charge distribution on complex metal surfaces and antennae to the infinite resistor grid problem (which is what yours sounds like to me.) And/or write at least partially in F# as it will allow you to spawn it off to fill all of your cores (trivially easy.) Otherwise, buy a Sunway TaihuLight from China. That's "best." \$\endgroup\$ – jonk Oct 30 '17 at 23:12
  • 2
    \$\begingroup\$ Provide more details. I think the answer isn't a computer but instead better code design. \$\endgroup\$ – jonk Oct 30 '17 at 23:46
  • 1
    \$\begingroup\$ They're linear resistors? Then just simulate once and scale the output to the input value. \$\endgroup\$ – The Photon Oct 31 '17 at 2:50
  • 1
    \$\begingroup\$ Without a better description of what you are doing, I doubt there are any answers, or even valid suggestions. To be honest, it sounds like you yourself are unclear as to your goals/requirements. \$\endgroup\$ – R Drast Oct 31 '17 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.