question

Oscar C13 avatar image
0 Likes"
Oscar C13 asked Felix Möhlmann commented

Change Recipe in the fluid mixer

Hello,
I want to make a recirculation to fluid mixer changing the recipe and the steps but it does not admit any fluid.
Any ideas?
Thanks.
ChangeRecipe.fsm

FlexSim 21.2.2
fluid mixer
changerecipe.fsm (39.0 KiB)
· 1
5 |100000

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

Ryan Clark avatar image Ryan Clark commented ·

Hi @Oscar C13, was Clair A'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 0 ·

1 Answer

Clair A avatar image
0 Likes"
Clair A answered Felix Möhlmann commented

Hello Oscar,

When FluidMixer1 is empty, you close its input:

1645118819212.png

The red line below shows that the input of FluidMixer1 is closed:

1645118543838.png

Later in your logic you need to add an instruction to reopen this input, otherwise it will always stay closed.


1645118543838.png (17.4 KiB)
1645118819212.png (23.8 KiB)
· 6
5 |100000

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

Oscar C13 avatar image Oscar C13 commented ·

Yes sir, I think I should not have uploaded the updated version of the model. From the process flow I reopen the input and the red line disappears but the fluid mixer still does not admit liquid.

ChangeRecipe.fsm

0 Likes 0 ·
changerecipe.fsm (38.4 KiB)
Felix Möhlmann avatar image Felix Möhlmann Oscar C13 commented ·

This seems to be a bug where the mixer tries to take the first fluid for the second recipe from the port it received the first fluid through in the first recipe.

So it is trying to take in fluid through port 1, but the splitter is set to only send to the second mixer.

As a workaround I redid the port rankings and simply switch the first and second input between the recipes so the first fluid is always received through port 1. (For easier testing I had removed the seemingly unnecessary splitter, you will have to add it back if it's important for the larger model. I also changed the pipe colors for easier debugging.)

changerecipe_workaround.fsm

1 Like 1 ·
Oscar C13 avatar image Oscar C13 Felix Möhlmann commented ·

Hello,

I have been working with my model based on what you sent and ended up failing again.
I modified your model a bit, just by modifiying the recipe, but I didn´t touch the ports or process flow. Now, it doesn´t work properly.
I don´t undertand what is happening.
changerecipe-workaround (1).fsm

0 Likes 0 ·
Show more comments