04-01-2019 07:56 AM
Hi everyone,
I am new to Multisim, but i saw it as a friendly environment for simulation of analog+digital circuits. I managed to set everything right but it seems that problem occures when i start the simulation.
Simulation only lasts 10 ms and after that nothing happens.
Can someone please help me with this issue, I attached my scheme in Multisim13 file.
Thak You in advance.
04-02-2019 03:14 AM
Hello Nemanja,
please accompany the hierarchical blocks to your .ms file, so I can have it running.
Try to localize the problem, remove as many details and blocks as possible, until the issue is still present, and then send me the simplest, smallest minimal design still showing the problem, with the additional info, which block did you remove in the last step when the problem finally disappeared (if it disappeared at all).
In which simlation mode are you willing to simulate? What if you set Tstop in interactive simulation mode to 2 ms (2e-3 s) and then to 20 ms (2e-2 s)? I see now 1e30 seconds, which is definitely too much.
Best Regards,
Akos
NI
04-02-2019 09:24 PM
Dear Akos,
I am sending hierarchical blocks.
I tried to simulate with Tstop being 2e-3 , and then 20e-3.
With Tstop being 2e-3 all is fine and simulation ends well.
With 20e-3 Transition time indicator stopped at 15 ms.
The main idea in this first simulation is that i want to get 1 sample in every period of sawtooth voltage and in the end to have equaly possible 8 equidistant voltage levels.
I used 10 times bigger frequency now in sawtooth voltage and in pulse generator, this is because i need to get at least 20000 samples in .lvm file with evenly sampled time-value pairs and with delta x equal to 5e-6 (in order to get this much data simulation would have to last at least 50 ms).
I need this much data points in order to be able to do statisticall evaluation.
I hope that i wrote this in a not too confusing way, and that you can help me to figure out why simulation ends before 20e-3 seconds.
Thank You.
04-03-2019 02:58 AM
Dear Nemanja,
on my system your model runs until 20 ms without issue.
Your problem looks like a memory issue, so you should restart Multisim, then reduce the simulation time, increase the time step size or reduce the number of output variables, particularly expressions, as discussed under the following link:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kGf2SAE
As also stated, there is no option for enabling more memory for Multisim because it is only a 32-bit process, it is limited in how much memory can be allocated to the process.
Switch off all parallel running uncrucial applications on you workstation.
You also can try to do the transient analysis instead, and setting TSTEP and TMAX as high as possible.
Best Regards,
Akos