question

james avatar image
0 Likes"
james asked james commented

How to stop the processor when my queue reaches the max content?

For example, when my warmer reaches max content, how to let oil pan stop process, I've tried lots of method, but still can not do it.

https://drive.google.com/file/d/1hyIgqLDX2dxta451cxaCSpY4Nyj6ktLt/view?usp=share_link

plz help!!! :(

1685543183982.png

FlexSim 20.1.3
queueprocessorsstop
1685543183982.png (201.8 KiB)
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

Julie Weller avatar image
0 Likes"
Julie Weller answered james commented

Hi @james!

To change that setting in your 3D model, I would first change the max content of your warmer to the value you want, say 25 for this example:

1685549495180.png

Next ctrl + select all your oil pan processors (so you don't have to update them individually) and add 2 triggers, one On Entry and one On Exit.

Next choose the values by going to Control -> Close and Open Ports

1685549608001.png

and for the action and conditions choose the values below with the condition below for the On Entry trigger

current.outObjects[1].subnodes.length >= 25

1685549649314.png

Do the same for the On Exit but change the action to openinput and the condition to be

current.outObjects[1].subnodes.length < 25

I think that will fix the issue but comment back if you have any questions!


1685549495180.png (28.3 KiB)
1685549608001.png (31.9 KiB)
1685549649314.png (21.2 KiB)
· 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.

james avatar image james commented ·
thank you!!! it's true!!
1 Like 1 ·