Simulation time after last entity is generated in SimEvents
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Malin Jakobsson
am 11 Mär. 2016
Beantwortet: Devdatt Lad
am 29 Mär. 2016
Hi, I am doing in simulation in Simevents in Simulink. I have a problem that the simulation stops when the last entity is generated. I want to see how the last entity proceeds through the system too. I have tried to change simulation time, but it does not work. How can I overcome the problem that the simulation stops when the last entity is generated? Regards Malin
0 Kommentare
Akzeptierte Antwort
Devdatt Lad
am 29 Mär. 2016
There's not enough information in your question for me to understand the model. But in general a purely discrete event simulation will stop when there are no more events to be executed, or when the stop time is exceeded, whichever comes first. Since you have already increased your stop time, we can say that the simulation is stopping because there are no more events to be executed. Try using the SimEvents Debugger SEDEBUG to step through your model and see why this is the case. Perhaps entities are being blocked, a gate is not being opened to make way for entities etc. - there are several possibilities.
0 Kommentare
Weitere Antworten (0)
Siehe auch
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!