question

Jason V avatar image
0 Likes"
Jason V asked Jason V answered

Item to Fluid onEmpty call operator

I'd like to have an operator bring an object from a queue to an "Item to Fluid" object each time the 'Item to Fluid" goes empty. I am able to do this in the 3D model pretty simply, but want to do it in a Process Flow so that I can introduce a delay.

I've played with the onEmpty trigger and a sendMessage, but haven't been able to make them all work together yet. I would welcome any advice!

FlexSim 20.0.0
process flowoperatoritem to fluid
5 |100000

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

tannerp avatar image
0 Likes"
tannerp answered

Hi @Jason V,

I'm not experienced with Fluid object, but I've created a small sample model which has logic that you should be able to apply to a Fluid object as well.

In the Process Flow, an Event-Triggered Source creates a token when the content of the object (in this case, a queue) reaches 0. The token then acquires an operator resource, collects an object, and deposits it in the queue. Hopefully this helps you get started! If you attach a model you'd like us to look at, we could provide more support that way.

replenish-on-empty.fsm


5 |100000

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

Jason V avatar image
0 Likes"
Jason V answered

@tanner.p,

Thank you for the example. The OnContentChange makes sense for what I'm doing rather than the OnEmpty event. Hopefully this will help me continue on with this project.

Thanks so much!

5 |100000

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