question

Sri_vikas K avatar image
0 Likes"
Sri_vikas K asked Jason Lightfoot commented

Filling the Tanks one by one.

Hi community,

In my model, when the mixer is transferring the output to the tank2, it is not holding the fluid and transferring the fluid to the next tank3. I wanted to give a delay time until the tank2 fills completely and the fluid should be transferred to tank3.

Detail process:

1. Tank2 takes the input and holds the fluid until it fills completely,

2. Once it is filled completely, it opens its output port and fills the tank3.

Thanks in advance.

Fluid Mixer Query.fsm

FlexSim 23.1.3
fluidtank
· 2
5 |100000

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

Mischa Spelt avatar image Mischa Spelt commented ·
Hi. Posting as a comment, because I'm not sure what the solution using the original Fluid objects would be. But perhaps it's an idea to check out the FloWorks module. There you would just close the output ports of tank 2 in the Reset trigger, and open them during On Full. Or, in fact, you could use the "Tank certification and cleaning" process flow template for precisely this.
0 Likes 0 ·
Sri_vikas K avatar image Sri_vikas K Mischa Spelt commented ·

1695718147791.png

To some extent I was able to achieve, Closing the output port on simulation start. I would like to use wait for event activity to open the port, when tank is full. s there any way?

Thanks in advance.

0 Likes 0 ·
1695718147791.png (33.5 KiB)

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

The OnFull trigger can send a message to the the holder object and you can listen to that using WaitForEvent activities in a process flow, or you can wait for the state to become STATE_FULL.

· 2
5 |100000

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

Sri_vikas K avatar image Sri_vikas K commented ·

1695722762391.png

I did not find any onFull trigger in the Wait for Event activity, I am not doing it in the flow works, I am asking for a solution in the fluid objects available in the library. Please move the @Mischa Spelt answer as comment.

0 Likes 0 ·
1695722762391.png (89.4 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Sri_vikas K commented ·
To be clearer:

1) You can use the OnFull trigger to send a message to its tank - the wait for event can listen for that message

2) You can use the wait for event to detect the state changing to STATE_FULL

0 Likes 0 ·