question

Haggai N avatar image
0 Likes"
Haggai N asked Joerg Vogel commented

Queue Holding

Is it possible for me to hold the flowitems in a queue for a period of time after 20 items flows into the queue?

For example, a show can only starts when there are 20 customers.

FlexSim 17.2.5
queuestatistics collectordelayhold
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

Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered Joerg Vogel commented

You close the output of the Queue in OnEntry Trigger

green plus icon Control > Close and Open Ports

  • Action: closeoutput
  • Object: current
  • Condition :
  1. content(current) < 20

You add another template through the green plus icon in the template editor at same trigger.

Control > Close and Open Ports

  • Action: openoutput
  • Object: current
  • Condition :
  1. content(current) >= 20
· 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.