question

Mica Vega avatar image
0 Likes"
Mica Vega asked XiomaraG edited

Dispatch by time of day

Hi there, I am trying to dispatch orders by time of the day. I have a table that indicates the hours at which it has to be dispatched according to the type of product, for example, product type 1 is dispatched at 8 am - 9 am and then at 8 pm - 9 pm. And so on for 12 types of products. I would like to try to do it in process Flow but I don't know how to do it or if it is possible only with 3D connections.

Thanks in advance for anyone could help.

FlexSim 22.2.2
proces flowby time of daydispatch
· 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered XiomaraG edited

I would suggest to have a queue pull the items with the pull requirement checking if item's type can be pulled right now.

The attached model is a simple example in which the current hour of the day corresponds to a row in a global table, determining the type to be pulled.

1669227033065.png

Additionally, the queue sends a message to itself every hour to reevaluate the pull criteria for the items in the queue (up until it successfully pulls one). The initial message is send in the "On Model Reset" model trigger. Then the On Message trigger of the queue always sends another delayed message to itself.

1669227137428.png

Finally, the queue that pulls the items should have a capacity equal to the capacity of the available transports/operators. This makes sure that it won't queue up too many transports that could "spill over" into the next hour slot, if not all items of a given type can be transported within a time slot. It then feeds into the actual destination queue.

pull_type_by_time.fsm


1669227033065.png (106.9 KiB)
1669227137428.png (26.9 KiB)
· 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.