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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hello @Mischa Spelt,

Would you be able to take a look at this FloWorks question?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Gabriela Gomes, was Mischa Spelt'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 comment back to reopen your question.

0 Likes 0 ·

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.

Gabriela Gomes avatar image Gabriela Gomes commented ·

I'm working with the volume variability, the other question was about the same model! Thank you!!

1 Like 1 ·
Gabriela Gomes avatar image Gabriela Gomes commented ·

Hi, Mischa!

I'm still working on the same project. I was wondering if this solution is also viable for more than one tank. I tried splitting into 5 different blocks (one for each tank), but suddently one of the sources stopped working, and i don't know how to fix it. Can I send you the model by e-mail? I'm not sure if it's ok to post it in a open forum, since it's part of an academic project. Here's a screenshot of what i was trying to do.

1701356141622.png

0 Likes 0 ·
1701356141622.png (58.6 KiB)
Jeanette F avatar image Jeanette F ♦♦ Gabriela Gomes commented ·
Hello @Mischa Spelt,

Could you answer this follow up question?

0 Likes 0 ·
Mischa Spelt avatar image Mischa Spelt Gabriela Gomes commented ·
Hi @Gabriela Gomes , feel free to share the model by email to [email protected] and we will be happy to have a look.
0 Likes 0 ·