Change the output in the fluid module

Change the output in the fluid module

oscar_c13
Not applicable
113 Views
1 Reply
Message 1 of 2

Change the output in the fluid module

oscar_c13
Not applicable

[ FlexSim 21.2.2 ]

Hello,
I want the change the output of the tank when 70 seconds have passed. I have tried what I have read in these 2 questionsbut obviously I am doing something wrong:

https://answers.flexsim.com/questions/35498/how-to-change-input-port-based-on-quantity-of-flui.html

https://answers.flexsim.com/questions/115284/problem-with-fluid-splitter.html?childToView=115277#ans...

I attach an example:

ExitFluid.fsm

0 Likes
Accepted solutions (1)
114 Views
1 Reply
Reply (1)
Message 2 of 2

ryan_c10
Not applicable
Accepted solution

Hi @Oscar C13,

I was able to adjust your model to achieve your desired behavior. I adjusted the Custom Code on the "On Message" trigger on FluidTank3 to correctly refer to the variables you were trying to change, and that worked to change the output after the Delay. I also added an On Reset trigger to change the output rates back to the original rates you had.

exitfluid-rc.fsm

I hope this helps! Let us know if you have further questions!

0 Likes