Wrong volume and level from tank (TL)

20 ビュー (過去 30 日間)
Muhammad Ali
Muhammad Ali 2025 年 9 月 17 日
コメント済み: Yifeng Tang 2025 年 10 月 1 日
Hello
I am modelling hot oil system in simscape where expansion tank is modelled as Tank (TL).
I have specified maximum volume as 5.6 m^3 but when I run the simulation, I get the volume of fluid in the tank more than 5.6 m3. why is it so?
  2 件のコメント
Torsten
Torsten 2025 年 9 月 17 日
編集済み: Torsten 2025 年 9 月 17 日
why is it so?
How can we know this from the information you gave us ? Is there no warning that the fluid volume exceeds the tank volume ? Maybe using a smaller time step and/or higher precision can help.
Yifeng Tang
Yifeng Tang 2025 年 10 月 1 日
As @Torsten mentioned, it's impossible to diagnose based on the information you provided.
It seems that you initialize the tank with 0.8m^3 of liquid volume, which is indeed the starting point of your simulation. Then the volume increases, which I believe is a result of some inflow through one or more of the four ports. You block is set up with a warning, instead of an error, when the volume exceed maximum, so the simulation will go on with a warning message. Did you get that message?
It'll help the community to understand your issues if you can attach your model and explain what the intended behavior should be.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by