question

Ignacio avatar image
0 Likes"
Ignacio asked Ben Wilson commented

Best way to setup a balk process in a waiting line

Trying to setup a limit at which guests will balk the system.

It is a drive thru and after 10 cars I expect no one to join the system.

I used a decide right before the wait line with the condition

content(Model.find("Order_Line")) == 10


Is there a more "elegant" way of doing this to assign a max capacity to the waiting line?

FlexSim 20.2.3
flexsim 20.2.3waiting linemaximum capacity
1605912681186.png (25.5 KiB)
1605912755171.png (13.9 KiB)
· 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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Push and pull to a list "InQueue" as they enter and leave the queue, and then for your decision pull without removing from the list and with a zero wait timer. The pulled array length is then the number of people in the queue.

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