Pull from random queue when storage is empty

Pull from random queue when storage is empty

Helgorex
Not applicable
19 Views
5 Replies
Message 1 of 6

Pull from random queue when storage is empty

Helgorex
Not applicable

[ FlexSim 23.0.1 ]


Hey,

I am really new to FlexSim and especially to creating ProcessFlow.


I have the problem that I want to fill up pallet floor storages whenever it is empty and then pull 3 new pallets from a random queue (use one forklift as transport).

I struggle to create the process flow for that.

I included my model with my current approach.

Hopefully you understand what my goal is.

Thank you in advance!!

Flexsim pull from random queue.fsm

0 Likes
Accepted solutions (1)
20 Views
5 Replies
Replies (5)
Message 2 of 6

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

Hello @Jan,

Welcome to FlexSim. We have many tutorials to help you become acquainted with FlexSim. Please check them out.

One thing to note about the process flow that you have created is that there is repetition. Whenever you see repetition in your logic you should consolidate it. In your case I could put all 3 floor storages in a group and have the event triggered source look at the group instead of having a source for each floor storage object.

Another great thing to use is lists. In your case a list would be a great way to randomly select pallets from a queue. There are two ways I can interpret what you want. You would like the fork lift to pick up 3 random pallets and the pallets can come from different queues or they need to come from the same queue. Either way you would use a list to decide where the fork lift needs to go. I went the route of pulling pallets from the same queue. In this case I would have the queues on the list and I will query that the queue has at least 3 pallets in it. Then I can use that reference to pull 3 pallets from the Queue. Since you are loading and unloading 3 items instead of having 3 load activities you can use a subflow to create a token for each item you want loaded and to run through the load activity. This is especially helpful if you want to vary the number of items picked up.

flexsim-pull-from-random-queue_1.fsm


Message 3 of 6

Helgorex
Not applicable
Thank you, the hints with the lists and subflow helped me a lot!!

I appreciate the quick response!

0 Likes
Message 4 of 6

Lili
Not applicable
Hi @Jeanette F

I have a similar question to Jan and as I'm using the 2022 Update 2, I don't have access to the uploaded model.

Is it possible for you to upload an older version of this model as well?

Thanks in advance

0 Likes
Message 5 of 6

Jeanette_Fullmer
Community Manager
Community Manager
Hello @Lili,

You can download the latest version of FlexSim from the website and open the model with it. The model limit will show, but you will still be able to run the model and see how it works.

0 Likes
Message 6 of 6

Lili
Not applicable

Thank you @Jeanette F

0 Likes