question

Patrick Rawald avatar image
0 Likes"
Patrick Rawald asked Cameron Pluim answered

periodic release of items in a queue

I am a beginner in FlexSim and i have a problem with releasing items from one queue to another in a periodic intervall. In my model all items have are collected in the queue and i want to release all of them at a specific time (1440) to the next queue. I thought about doing this by the "do not release item" statement in the first queue. Does anybody know how to tackle such a task?

Thank you in advance.

FlexSim 17.0.2
item releaseorder release
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

Cameron Pluim avatar image
1 Like"
Cameron Pluim answered

Assuming you always want to release the items at set intervals, your best bet would probably be to close the output ports on reset, and use a User Event at the set times to open the port back up again.

Then when the queue is empty, close the output part again until the next release time.

See the attached model for an example:

releaseatacertaintime.fsm


5 |100000

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