question

Talia Z avatar image
0 Likes"
Talia Z asked Joshua S commented

Pull based on queue current content

Hello! My aim is to have the current content in the "Bottles" queue determine when a new truck in the "Unload truck" separator should begin unloading the pallets. To clarify, when the "Bottles" queue reaches 50% capacity, the separator should begin its setup time. I have tried a few different methods, but can't get this pull logic to function properly. Thank you!

bottle-unloader-process-v7.fsm

FlexSim 17.2.5
queuepull strategyqueue content
· 6
5 |100000

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

Joshua S avatar image Joshua S commented ·

Setup time fires when the separator has received an item. So it is going to do the setup time for every object that enters. I'm guessing that since you want a warmup time for the seperator, that is not what you want?

0 Likes 0 ·
Talia Z avatar image Talia Z Joshua S commented ·

In that case, I want my queue content to control when a truck enters the separator. My aim is for the queue to be at 50% content, say 90 pallets out of 180 possible pallets, and then call the truck to enter the separator. I am trying to represent a reality of not calling a truck to be unloaded until there is a certain amount of queue space available. Does that make sense? @Joshua S

0 Likes 0 ·
Joshua S avatar image Joshua S Talia Z commented ·

An event source activity in process flow would be perfect for this. You can close the input of the processor, then use 3 process flow activities, Event Source, Delay, then custom code block to open the input of the processor. There is an Event Source that has a lot of options you can use as shown in the picture below.

0 Likes 0 ·
pic1.png (15.8 KiB)
Show more comments

1 Answer

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

There was an issue with one of the triggers I had that would close it immediately upon opening. This should work better.

16814-16350-bottle-unloader-process-v7-1.fsm


· 3
5 |100000

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

Talia Z avatar image Talia Z commented ·

@Joshua S

That fixed the issue. I greatly appreciate your help - thank you very much!

0 Likes 0 ·
Talia Z avatar image Talia Z Talia Z commented ·

Hi @Joshua S! The model still stops after 144470 seconds, but I can press run again for it to continue so this isn't an issue. I'm just wondering if you could advise me on how to change the quantity of time it stops after. For instance, if I want to change it from stopping after 144470 to 300000 seconds, how do I accomplish this?

bottle-unloader-process-v11-without-pulling.fsm

0 Likes 0 ·
Joshua S avatar image Joshua S Talia Z commented ·
@Talia Z

Uncheck the stop time box

1 Like 1 ·
pic1.png (11.3 KiB)

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.