question

Allison H2 avatar image
0 Likes"
Allison H2 asked Ben Wilson commented

Resourcces and Queuing

ONT5.fsmI am building a model where a source will create a batch of boxes and create them in an "IB" queue. This triggers an associate to come and start pulling the boxes one by one to carry them to an "OB" queue. I want to have each IB and OB to be representative of one door, and when the IB portion is in use, the OB queue cannot be added to (rather it would go to a waiting queue). I did this by creating each IB queue and a group and resource, and the same with OB. My thought is to use a "wait for event" flow to say that when an IB queue is emptied, release the resource and obtain the OB queue with the same label number. And then when that queue is done batching (to 30 or after 3600, whichever comes first) release the OB queue. The issue is that if one side of the "door" is in use I do not want to other to be available for use.
I have attached the base of my model.

FlexSim 20.2.3
flexsim 20.2.3lists and resourcesprocess flow resources
ont5.fsm (19.8 MiB)
· 4
5 |100000

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

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Allison H2,

I'm not sure that I have a clear understanding of exactly what the flow of the model should be. But attached is your model with the changes that I've made that may help you decide if something like this would work for you.

The one thing that is important is that the obdockdoors and ibdockdoors MUST be in the same order. That is because when I acquire an IB door, I also acquire an OB door. And because they are in the same order, it acquires the "set" of doors. This is so no other process can use either door.

Again, I'm not sure how things should flow through the model but if you take a look at it you may be able to adapt it to work for your situation. If you have any questions or problems, please let us know.

Thanks.

ont5-JN1.fsm

0 Likes 0 ·
ont5-jn1.fsm (19.8 MiB)
Allison H2 avatar image Allison H2 Jeff Nordgren commented ·

@Jeff Nordgren this does help.
The flow is an incoming trailer (does not need to be seen) and on the truck are boxes (varying amounts between 15 and 30). When the truck arrives and acquires a dock door, people will come and begin unloading the boxes to the designated queue until the dock door they have been designated to can be used as OB. (the destination based on the percentages in the destinations table). When the acquired IB door has had all packages pulled it can then be acquired as an OB door to trigger loading the boxes from the queue holding packages.

I am not sure if that helps make sense of the flow, but I think that is how it should process.

0 Likes 0 ·
Jeff Nordgren avatar image Jeff Nordgren Allison H2 commented ·

@Allison H2,

To be honest, I'm still not sure that I understand fully exactly what the flow of the model should be.

But attached, is the model with the changes that I've made. If I understand correctly, flowitems from the IB doors are routed to the CQ queues based upon the destinations global table. If that is correct, then the attached model should do that. But I'm not clear as to what should happen after that.

Take a look at the model and see if I'm on the right track or if I'm totally off track. And if you can give more information about the model flow or other model needs, that would be great.

Thanks.

ont5-JN2.fsm

0 Likes 0 ·
ont5-jn2.fsm (19.8 MiB)
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Allison H2,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or we can promote Jeff's last comment to be the Answer. Or you can reply back to let us know where you're at and how we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers