question

Gabriela Gomes avatar image
3 Likes"
Gabriela Gomes asked Mischa Spelt commented

Variability in the total percentage of products in one tank

Is there a way to include variability in the total percentage of product in one tank?

For example: the amount of product A can only reach up to 15% of the maximum amount of the tank, so product B can reach 85% or more. If there is product A available, each tank should receive it up to the maximum volume of 15% of its capacity. If there’s no product A available, it’s ok for the tank to have less than 15% of product A in its recipe.

I’m having trouble defining this, since the model understands that the percentages are exactly 15% and 85%, without the variability. I also tried doing this with the mixer, but since it works with a recipe, you need to put the exact value, which it’s not interesting in this case.imagem-2023-10-03-180700176.png

To explain a bit more, I’m trying to add these two products together inside a tank to become a third, with the trigger “Change Flow Product”.

1696367258514.png

FlexSim 23.1.0
FloWorksflowtanksamount
· 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.

1 Answer

Mischa Spelt avatar image
1 Like"
Mischa Spelt answered Mischa Spelt commented

Hi Gabriela,

From your question it is not clear to me whether you want to look at the volume of product A vs B in the tank, or the flow rate into the tank. I will provide a solution for both.

Max. 15% of the tank volume should be product A

You can set an outflow trigger on 15% of the tank content on the supply for product A. I explained a little bit about outflow triggers in your other question. If you reach the outflow amount, you just close the supply for A.

This is demonstrated in Max15PctVolumeDemo.fsm

Max. 15% of the rate should be product A

In this case you can use the blender, as you are showing in the screenshot. This will force a ratio of 15 : 85 between products A and B, as long as there is supply for A. If the supply for A stops or decreases, the blender will decrease the supply of B accordingly. If you now create a 'bypass' from B directly into the tank, FloWorks will supply any remaining capacity from the source at B. Note: you have to set a max. inflow rate on the tank, to ensure that there will be no 'bypass' flow as long as the blender is at maximum capacity.

I have demonstrated this approach in Max15PctRateDemo.fsm

Note: in both models there is a Process Flow source which you can enable to simulate the supply of A shutting down after a while, so you can see the different mechanisms in action.


I hope this answers your question. If you have any follow-up questions, please attach your model so that we can help you with a more specific response.


· 4
5 |100000

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