- Drive your pump between the bottom ports of the tanks (so suction really runs dry when empty).
- Or insert a check valve or small orifice on the feed into Tank 1 so it can’t keep back-feeding once the level falls below the port.
- If you really want an “infinite” supply on one side, use a Liquid Reservoir block instead of a Tank—reservoirs maintain head but never go dry.
How do behave the levels of two Tank(TL) that are linked together?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have two Tanks(TL) connected together by means of a partially filled pipe and a pump.
It seems that it is possible to have infinite water supplied by the first tank besides the level in this first tank it is 0.
How to manage/correct the behaviour? I am using in a wrong way the tank component?
RED level in the first tank, YELLOW level in the second tank.
In the second picture it is possible to see how it is structured the network.
- The height of inlets of the first tank is 0, pressure atmospheric.
- The height of A inlet in the second tank is 400 mm, pressure atmospheric.
- The height of the partially filled pipe is 400 mm and it positioned vertically.


0 Commenti
Risposte (1)
Jack
il 8 Mag 2025
Thought for a couple of seconds
Because the Tank block’s “A” port always sits inside its fluid volume, your pump never runs dry—even when the level “H” reads zero—and just keeps pushing “infinite” water in. Two tanks tied together will normally equalize by gravity, but once you add a pump into an internal port, flow never stops.
To fix it:
With these changes, Tank 1 will empty properly, Tank 2 will hold its head, and your pump will behave realistically.
Follow me so you can message me anytime with future questions. If this helps, please accept the answer and upvote it as well.
0 Commenti
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!