question

Aaron Smith avatar image
0 Likes"
Aaron Smith asked tannerp commented

Pull flow items if queue is empty

Dear FlexSim community;

I have following problem that i have an Operator that should get 4 tote (flow item) and load them into a queue.

Then he should use those 4 flowitems in the following processor and refill the queue only if all 4 flow items where processed.

I tried to work with flow-priority but I could not solve the problem.

Please Help, thank you!

pull-if-empty-test.fsm

FlexSim 18.1.1
queuepullempty
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
1 Like"
Jeff Nordgren answered Joshua S commented
@Aaron S3

Here is your model with the changes that I made. I changed some things on Queue1 and Processor7. I believe that was all the changes that I made. Take a look at the model and see if it now does what you are wanting it to do. If not, please give us more information on how it should work.

Thanks.

pull-if-empty-test-jn1.fsm


· 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 ·

Ciao @Aaron S3,

Here is a version of @Joshua S's model that will also move the flowitem from Queue3 to Processor7. More like in the model you sent. Not sure if that's a big deal or not now you have two versions to choose from.

Thanks.

pull-if-empty-test-jn2.fsm

0 Likes 0 ·
Aaron Smith avatar image Aaron Smith commented ·

Dear Jeff; dear Joshua.

Thank you both for the answer it works perfectly fine...

I just have now the problem/doubt that if I want to apply this logic to multiple (x10) assembly stations that process model would get to complex / and the Trigger would not work anymore.

Is there a setup that i could use you logic for multiple processes and operators (all separated, one operator per processor)?

Thank you in advance!

0 Likes 0 ·
Joshua S avatar image Joshua S Aaron Smith commented ·

@Aaron Smith I used assign label activities as a counter, so it runs through a block of code 4 times then moves on. It actually is not going to be hard to use this for multiple stations with an operator assigned to each one. I uploaded a model demonstrating 4 assembly setups that all use the same process flow.14192-pull-if-empty-test-jn2.fsm

0 Likes 0 ·
Paúl Alejandro R avatar image Paúl Alejandro R commented ·

@Jeff Nordgren

Hello, I am trying to use the model you sent to Aaron S3. Of course, my model is different from the first one. I am not able to make it works. Please, Could you review it and tell me what is wrong. I have 3 Queues and 5 processor which process in batch. Processors 1, 4 and 5 have a maximun capacity of 30 and a minimun capacity of 20 units. Processors 2 and 3 have a maximun capacity of 10 and a minimun capacity of 5 units. Thanks.

model-example-pf-v15-autosave.fsm

0 Likes 0 ·
Joshua S avatar image
0 Likes"
Joshua S answered tannerp commented

See if this is how you want your process to flow, I added ProcessFlow to your model to control the Operator.14180-pull-if-empty-test.fsm


· 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.

Aaron Smith avatar image Aaron Smith commented ·

Hi Joshua;
thank you for you solution. In my comment I am asking how to multiply this processes onto multiple operators and processes.
Furthermore I wanted to ask you why you are using the "Assign Labels" after every step, what does this affect?
Thank you and best regards.

0 Likes 0 ·

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.