question

Craig DIckson avatar image
0 Likes"
Craig DIckson asked Sam Stubbs answered

Resource or trigger or ?

Can anyone suggest how to do the following in Process Flow? I don't think I can use a regular resource (and besides the model has 600 or so instances of this - I don't want to create that many resources!)

The problem is this: I have pairs of sorter chutes. If both chutes in a pair are empty, then each chute can be claimed by an order. If only one chute claims an order initially, and a second one arrives later, it can claim the second chute. BUT once a pair of chutes has both chutes claimed, then neither chute can be claimed again until both chutes are empty.

Example:

Order 1 arrives at t=1 and claims chute 1 <1 chute still available>

Order 2 arrives at t=2 and claims chute 2 <Both chutes now claimed>

Order 2 completes at t=3 and releases chute 3

Order 3 arrives at t=4. Since both chutes were previously claimed, and chute 1 is still occupied, order 3 must wait.

Order 4 arrives at t=4.5

Order 1 completes at t=5 and releases chute 1. Orders 3 and 4 can now claim chutes 1 and 2.

Any suggestions?

Thanks

FlexSim 16.2.2
process flowresources
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

·
Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered

Sorry it took us a little while to respond. I've seen something similar to this done before using lists. I'll attach an example:

chuteexample.fsm

So what I did was centerport connect the paired resources, and added all the processors to a Global List and to a group called Processors. Then I created a process flow. Anytime an object arrives in the queue, it pulls from the list of available resources, moves the item to the pulled processor.

Then I have another event triggered source in Process Flow that listens to whenever item leaves a processor from the Processors group. It checks whether the center port object (it's other paired object) is also empty. IF so then it pushes both processors back to the list. If not, then it waits.


chuteexample.fsm (25.9 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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