ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
|
Downloads |
Q&A Using Flexsim and building models |
#1
|
|||
|
|||
In what cases the running simulation would stop itself?
Hi all,
I found that my simulation would stop itself while it run for some times, I think there should be some bug in my own coding, but I would like to know in what cases the running simulation would stop itself? If the case is I'm using a source time table as shown in: http://www.flexsim.com/community/for...read.php?t=424 If in the mid of the day there is no input to the model and all the previous processing is finished, will the simulation be paused even in the time table there will be input in later time. |
#2
|
||||
|
||||
Kelvin,
First, have you tried hitting run after the model stops? It may be that you have code in the model or a stop time set that you have forgotten about. If that didn't work then this is a problem that nobody will be able to help you with unless they can see your model. Models just randomly stopping like this is usuall the cause of one of three problems: 1. No more events. 2. Infinite Code Loop. 3. Infinite Event Loop. The infinite code loops usually tend to lock the computer up as well as stop the simulation clock so they are the easiest to diagnose as the problem. An infinite event loop will continue to create events that happen at the same instant in simulation time and so the model appears to have stopped but hasn't. So this is an entirely different problem from the code loop. To check to see if the model is out of events or looping events go to the main view in a tree window. The events node is in the exec node. If there are events in the node then this is probably a case where you have an infinite event loop. From here it should be basic debugging to find the node and fix the problem. Good Luck, Brandon
__________________
thats not normal. |
The Following User Says Thank You to Brandon Peterson For This Useful Post: | ||
arunkrmahadeva (12-25-2015) |
Thread | Thread Starter | Forum | Replies | Last Post |
error message "Clock overflow, running stopped" | Martin Kooijman | Q&A | 11 | 04-17-2008 10:29 AM |
How to run tasks after stop time? | Fadhlullah Bin Rahmat | Q&A | 1 | 02-26-2008 04:44 PM |
Stop conveyor on loading | mathiasds | Q&A | 2 | 11-20-2007 04:31 PM |
Flexsim instance is still running for over a minute | Martin Saler | Q&A | 1 | 10-04-2007 11:44 PM |
Stop message with information (Debugging) | Tom David | Tips and Tricks | 0 | 09-20-2007 01:10 AM |