question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Patrick Zweekhorst commented

Zone swaps token order around

Hi,

I Have a simple example model in which 10 tokens enter a zone (at the same moment). The first token has a small delay before going to the exit zone activity. All other tokens can continue directly.

When I print the numbers of the tokens after the exit zone I can see token 10 left the zone first, before token 9, ect. Why is this happening? Using the Queue strategy on the zone does not work. Note that the zone has a max capacity of 1.

Thanks in advance,

Patrick

zoneexitorder.fsm

FlexSim 18.1.2
zonetoken orderzone exit
zoneexitorder.fsm (25.2 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

José Antonio MD avatar image
0 Likes"
José Antonio MD answered Patrick Zweekhorst commented

12749-zoneexitorder.fsm

Hello @Patrick Zweekhorst,

Using a delay of 0 after the decision's block you can solve your problem.

I hope this help you.


· 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.

Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·

Hi @José Antonio MAD

That indeed works. It still feels a bit strange, but I guess that is sometimes the case with a delay 0 activity.

0 Likes 0 ·