Fluid model simulation with two sources and a recirculation flow

Fluid model simulation with two sources and a recirculation flow

Mika_Juvonen
Not applicable
82 Views
2 Replies
Message 1 of 3

Fluid model simulation with two sources and a recirculation flow

Mika_Juvonen
Not applicable

[ FlexSim 23.0.1 ]

I want to simulate a fluid process with two sources and a recirculation flow, because the process always has a minor stream of bigger particles that are filtered and rerouted back to the active source.

It's a struggle for me to make those two things work in the simulation.

I attempted to make the two sources alternat eachother every 288 minutes with the two following methods suggested on this forum page ''How to set time windows for different sources? - FlexSim Community''. Unfortionately both options won't work in my simulation.

As mentioned earlier I also don't succeed in making the recirculation flow work to go to the active resource at that particular moment.

Could someone help me with the following hiccups that I have? Your help will be much appreciated.

This is the model that I have at the moment. FLXSM L3PFS.fsm

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

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

Hello @Mika_J.,

I am not sure what you are doing with your original process flow. I deactivated the sources in it but left that process flow for your reference. I created the following block of activities to manage opening and closing ports for the tanks

1673039460839.png

1673039432870.png

The token that is created has a Tank label that is an array of the two tanks. The other two labels are the Index for which tank is opening and closing. The Tank and Index labels are used together in the open/close ports activity. The Index labels are swapped and then the token waits the 288 minutes before it cycles.

I changed the return pipe to use first available flow.

I added in tanks that the fluid generators and the return pipe connect to. The return pipe could not feed into the generators. I also changed that the pipe came out of the tanks to be a normal pipe instead of a blender.

1673041124869.png

flxsm-l3pfs_1.fsm

With you having a returning pipe there is a Fluid Loop. This causes some text to be printed in the System Console. From taking with our development team this is written to the System Console because the behavior is somewhat undefined and unpredictable with loops.

0 Likes
Message 3 of 3

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Mika_J., was Jeanette F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes