question

Óscar Manuel CMN avatar image
0 Likes"
Óscar Manuel CMN asked Cristina Namour commented

the simulation suddenly stops

This model intends for operators to pick up the elements with the shortest setup time from the queue. At 262 seconds the model stops and I don´t know if it is due to my computer or due to a model failure, because it doesn´t give any error message.

SIMSET-WHN1-SQ-k2_1.fsm

FlexSim 20.0.6
stopflexsim 20.0.6
· 2
5 |100000

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

1 Answer

Patrick Zweekhorst avatar image
2 Likes"
Patrick Zweekhorst answered Óscar Manuel CMN commented

Hi @Óscar Manuel CMN,

You have created an infinite loop in your model and that is why the simulation stops.
At time 262.12 a token enters the decide and is send to port number 2. The delay activity has a delay of 0 seconds, so the token goes back to the decide. Nothing changed in the condition so the token goes to the delay again and again. You will need to change the decide or the logic at the delay if the process needs to continue.



1592203225251.png (45.8 KiB)
· 9
5 |100000

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