question

Aida C avatar image
0 Likes"
Aida C asked Aida C commented

Bug: FlexSim crashing using a TravelActivity

In the attached models if I use a Operator the model Works fine, but using a TaskExecuter the model crashes.operator.fsmtaskexecuter.fsm

FlexSim 17.2.1
bug
operator.fsm (26.2 KiB)
taskexecuter.fsm (25.7 KiB)
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

·
Matt Long avatar image
1 Like"
Matt Long answered Aida C commented

You've actually put FlexSim into an infinite loop. Normally Process Flow is able to detect infinite loops and allow you to stop your model during one. But in this case it looks like that isn't possible.

The TaskExecuter doesn't have a navigator when you first create it. I've discussed this with some of the other developers and we're not really sure why this is the case. It seems that it may have been important many versions ago. We should have it connect to the default navigator when it's created.

The issue is that, without the navigator, the TE only performs offset travel. So when you tell the TE to travel to a Queue using a regular Travel Activity, it says, I'm already there, and moves on to the next activity. In your model's case, this causes the token to move through the same 4 activities indefinitely with no breaks.

To fix this model, drag an operator into your model (to create the default navigator) and then open the TE's properties window and set the Navigator to DefaultNavigator. We'll fix this for future releases of FlexSim.

· 1
5 |100000

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

Aida C avatar image Aida C commented ·

Thank you!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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