Simscape Fluids model of closed system

5 次查看(过去 30 天)
I am attempting to model a closed, pressurized system with an accumulator to set the static pressure and allow for expansion. I have not been successful configuring the system to be completely closed. I can solve it with reservoirs (see example).

回答(1 个)

Yifeng Tang
Yifeng Tang 2024-6-19
Hi Jeremy,
Looks to me like an initialization issue. I don't have R2020b on my computer so I tried this on R2021b, the oldest version I have.
Change that PS constant to a step + some filtering. You can do this as PS step + PS transfer function, or as Step + Simulink-PS Convert (with input filtering). I did the latter and it seems to give reasonable results.
Some other suggestions, but totally optional.
(1) I personally found that gas-charged accumulator a bit confusing to set up, especially the initial conditions. I prefer the Tank (G-TL)
(2) since you are using a torque source, it may make sense to attach an inertia to the shaft, just to avoid any chance of F=m*a while m=0.

类别

Help CenterFile Exchange 中查找有关 Gas Library 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by