![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1474721/image.png)
How to build a air pressurized tank
11 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1474656/image.png)
0 个评论
采纳的回答
Nathan Hardenberg
2023-9-6
Your setup works for me if you change one setting in the "Thermal Liquid Properties (TL)"-Block: Pressure and temperature outside valid range to Warning. The problem seems to be the "Absolute Reference (TL)"-Block. It states:
"This block represents the absolute reference in a thermal liquid network where pressure and temperature are equal to zero."
Absolute zero is most likely not a valid range for your "Diesel fuel". But this is only in the starting state of the simulation. Maybe you can replace it with a "Reservoir (TL)"-Block. This is what I did, and it worked fine. Just remember to set a very big cross sectional area.
For testing afterwards I replaced your A1 Input Setup with a gas-reservoir, to simulate constant pressure. And as expected if I increased the pressure the flowrate also increased.
Regarding your Question with the Port: A2 is always an In- and Outlet-Port. You can test it by supplying very low pressure to the tank, and the Flow Rate Sensor will give negative values, meaning liquid is flowing in the other direction (towards the tank).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1474721/image.png)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Elements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!