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

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

james36
Not applicable
41 Views
2 Replies
Message 1 of 3

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

james36
Not applicable

[ FlexSim 20.1.3 ]

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

0 Likes
Accepted solutions (1)
42 Views
2 Replies
Replies (2)
Message 2 of 3

julie_weller
Not applicable
Accepted solution

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!

0 Likes
Message 3 of 3

james36
Not applicable
thank you!!! it's true!!