Jan avatar image
Jan asked lili Suspended commented

Pull from random queue when storage is empty


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

FlexSim 23.0.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.

1 Answer

Jeanette F avatar image
1 Like"
Jeanette F answered lili Suspended commented

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.


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

Jan avatar image Jan commented ·
Thank you, the hints with the lists and subflow helped me a lot!!

I appreciate the quick response!

0 Likes 0 ·
lili avatar image lili commented ·
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 0 ·
Jeanette F avatar image Jeanette F ♦♦ lili commented ·
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 0 ·
lili avatar image lili Jeanette F ♦♦ commented ·

Thank you @Jeanette F

0 Likes 0 ·