Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

The simulation model time slows down in virtual mode

I am currently building a model on a manufacture process line and the simulation was running fine without errors. Suddenly when I entered in virtual mode to run quickly the simulation, the model started to slow down although the step is high. I am trying to identify where the issue is but nothing is working. At a certain time , the simulation just stops while the step is still running.

Model time

This is a picture of the pallete, maybe the experiment is causing this.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

enter image description here

>Solution :

You created an infinite loop, this can be triggered by various things in your model.

Likely, you have a ‘ while’ loop not finishing, could also be a condition-based transition.

You need to find this yourself, though. 3 options:

  1. (easy): Check the model logic yourself and find the problem
  2. (easy): nudge yourself to where it stops with traceln commands (see where they stop showing, getting you closer to the culprit)
  3. (harder): Use a profiler (google "AnyLogic profiling" or similar if you are not familiar)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading