03-30-2008 09:56 PM
03-31-2008 06:08 PM
This is what I know. The more complex the circuit the longer it takes to simulate. Also, the higher the frequency in the circuit the longer it takes to simulate. A fast computer does help, but it still takes the Spice engine time to crunch all the numbers for the circuit. This is why it runs slow in some cases. Very simple circuits can fly, but a digital computer simulation is going to crawl. This is just the nature of the beast and there are very limited options to speed it up.
One option that I told another user is to make sure you defrag your harddrive. This seemed to help his slowdwon and it could possibly help in yours. This and adjusting TMAX under the SIMULATE>INTERACTIVE SIMULATION SETTINGS to 1e-003 is about all I know to increase the speed. Adjusting TMAX though is tricky as sometimes after doing this your get errors popping up saying "Timestep too small".
I hope some of this may be of use and I was able to help you understand the reason behind the slowness.
03-31-2008 09:06 PM
04-01-2008 08:07 PM - edited 04-01-2008 08:07 PM
04-01-2008 08:21 PM
Here is the second option that didn't get posted because I accidently hit the Submit button before I was finished.
In this same Customize menu goto the TRANSIENT Tab and look down to the bottom of the list for METHOD and click the square to activate it. In the drop down box try selecting either trapezodial or gear. Try one and then the other to see if that helps with the speed and use the one that gives the faster results.
When I do time based circuits I usually split them up into sections. I did a timer circuit that used a dsiplay to show the numbers, but instead of having my oscillator (555 timer) on the same schematic I eliminated it and replaced it with a Clock Source as I knew that including the timer would slow down the simulator when trying to design the rest of the circuit. I tested the counter & display circuits on one schematic and the timer on the other. I then combined them (manually although I could have used a hierarchy block) and then tested them together. This way the simulator could be a little faster when troubleshooting my design errors. When I combined them, I did get a significant slow down as I expected.
This is about all know on how to increase the simualtion speed without causing errors to start popping up. If there are any other methods then I just don't know about them.
04-01-2008 08:48 PM
04-02-2008 05:47 PM
04-02-2008 06:08 PM - edited 04-02-2008 06:09 PM
04-02-2008 06:54 PM
04-02-2008 08:09 PM
I wish there was a magic solution that we both could use to make the simulator run faster, but unlike Staples we don't have an "easy" button (laughing). I know it can be fustrating waiting 3 real world minutes for the simulator to do 10 seconds of circuit time as I have done that before.
This situation is just the nature of using the time-domain simulation (transient) mode of Multisim and speeding it up is only going to be possible up to a certain point. This is why I break my work up into bite sized pieces. Once all the errors are ironed out in each portion. I then tie them together and simulate them as one unit knowing ahead of time that it is going to be slower as a whole than it was individually.
I wih there was more I could tell you, but I have reached the limit of what I know can be done. If there are any other suggestions from other users or NI I am sure we would both be interested in hearing it.