Fast restart and inter generation times issue

5 Ansichten (letzte 30 Tage)
Striker121
Striker121 am 11 Jan. 2018
Hi there,
I have an issue when running my SimEvents model with the Fast Restart enabled. The error I get is as follows:
"The 'TestModel/Entity Generator' block has exceeded 5000 simultaneous events at time 8. This likely indicates a livelock condition. Please inspect any loops involving this block that might cause entities to cycle indefinitely."
What I am trying to do is run my SimEvents model "TestModel" 100 times in "fast restart" mode. Each run, 150 entities are generated at time = 8. When I get to the 34th run, I get the error above. After some investigation, I found that Matlab seems to sum the events that occur at a given time step across all runs. In other words, it crashes because just before the start of the the 34th run, matlab has created 150 x 33 = 4950 entities at time 8. After creating the 50th entity on the 34th run at time 8 it crashes, as it seems to believe it exceeded "5000 simultaneous events". I repeated this for good measure by setting each run to create 1500 entities at time = 8 and sure enough it crashed on the 4th run after producing 500 entities.
Is this a bug? Am I somehow using the software the wrong way?
Any help would be greatly appreciated.

Antworten (0)

Kategorien

Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by