question

WillRS avatar image
0 Likes"
WillRS asked WillRS commented

Problem with token limitation in the zone

Hello everyone!

In this model, I am limiting truck access to loading docks, using an expression when pulling from the list. The idea is to limit a maximum of two docks for type 3 trucks.

This limitation is in an expression called "belowLimit", in the list Docks_F1 and Docks_F2.


But when I run the model, on the first access to the zones, two tokens can enter the zone and use the docks, but after that only 1 token can enter at a time. I don't know if the problem is related to the unloading process, which occurs through a subflow, which "explodes" the number of tokens allowed.

I would like some help to solve this problem

Thank you!

Limit_Acess_Zone.fsm

FlexSim 23.0.15
proces flowlogisticszone limit
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered WillRS commented

Push the dock back to the list after the token exits the zone, so the zone content has updated when the waiting tokens evaluate the pull query again.

1731570132867.png


1731570132867.png (7.7 KiB)
· 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.

WillRS avatar image WillRS commented ·

Thanks Felix

Did you notice that I adapted the code you developed in another question? Lol

Thanks again!

0 Likes 0 ·