question

Kari Payton avatar image
0 Likes"
Kari Payton asked Adrian Haws edited

Tokens not moving in sync in subflow.

I have a subflow that releases 10 tokens to acquire 10 operators, delay operators, then release. The issue is that some of the tokens start to get delayed. I would like all of the tokens to move through the process together. Some get done early and move on to the next process and the ones that are "stuck" are delaying the process longer than it should take.

FlexSim 16.1.0
process flowsubflowprocess flow to 3dacquire multiple resourcesmove tokens together
tokensstuck.png (48.1 KiB)
· 3
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

Sam Stubbs avatar image
1 Like"
Sam Stubbs answered Sam Stubbs edited

Without looking at your model I can't give you specifics, but I can maybe give you some general things that could be happening. One thing to remember is that Process Flow is not directly connected to the 3D model view. The 'tokens' of process flow are simply a marker that steps through and executes the logic of the process flow. Also the tokens each will flow through the process on their own. If you need to limit how and when the tokens can move. (For example you said that you wanted them to "move together") You can use batching activities, or zones or pushing/pulling from lists, or "wait for event" activities to determine how and when the tokens move.

In your description, when the tokens are hitting the delay activity, each token is going through the process individually. (So if you have a distribution on the time of the delay, each token is getting a different variability of that distribution, hence they are leaving the activity at different times) Again I'm not sure about your model, but you could also try having a single token that requests multiple resources rather than multiple tokens individually requesting resources.

· 4
5 |100000

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