question

Steven avatar image
0 Likes"
Steven asked Ryan Clark commented

Why does the model pause automatically

My model sometimes pauses suddenly during running without any prompt, but getrunstate() is still 1. If you click Run at this time, the model will continue to operate normally, but this problem may still occur in the future.

In the IVSP.fsm clicking run, the model will automatically run repeatedly. In global table Loop, Loopn controls the total number of runs, which is currently set to 10000. LoopNum counts the number of times it has been run.

In my last experiment, the model was paused after 3173 times. When to pause is uncertain, but 10000 times should be enough to happen.

1647419488651.png

I don't know what the problem is, please help me, thanks!@Phil BoBo

FlexSim 20.1.3
modelrunpause model
1647419488651.png (98.7 KiB)
ivsp.fsm (374.1 KiB)
· 11
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Steven avatar image Steven commented ·

I encountered this problem again and recorded it. In the video, model paused after loop 238 times, and tokens also don't move in PF, but getrunstate() is 1 which means model is running. if I click the run button, the model will normally run.

If it is due to model logic error, but the model runs repeatedly, why does this problem sometimes not occur? Sometimes occur.

0 Likes 0 ·
ivsp.mp4 (13.8 MiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Steven commented ·
Are you running with repeat streams turned on or off?
0 Likes 0 ·
Steven avatar image Steven Jason Lightfoot ♦♦ commented ·
turn off!
0 Likes 0 ·
Show more comments
Ryan Clark avatar image Ryan Clark commented ·

Hi @Steven,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers