A question about Simscape component: gas-charged accumulator
3 views (last 30 days)
Show older comments
Hi,
I found a problem with Simscape component: gas-charged accumulator. The attached picture 'model' is a very simple model where there is only an accumulator. The paramter settings are also attached. For the initial conditions, I set the pressure of liquid volume to be 13.7 bar so according to the gas polytropic equation given in https://uk.mathworks.com/help/physmod/hydro/ref/gaschargedaccumulator.html the initial liquid volume can be calculated as 5.85e-4m^3 (Since I only set high priority for the pressure of liquid, I think the other two initial conditions can be ignored by Simulink). However, when I run the simulation, there was an error (please also see the attachment called 'error') saying that the volume of liquid must be less than total accumulator volume. But it is very evident that the initial liquid volume is 5.85e-4m^3 which is absolutely less than the total accumulator volume 1e-3m^3.
I appreciate it very much if someone could help me out.
Best regards,
Hao
2 Comments
Walter Roberson
on 23 Mar 2022
You should take care of the base being negative from the warning message. You should assume that the condition that lead to that warning message caused a problem for you (or that the automatic handling of the condition was not suitable for your situation.)
Answers (1)
Walter Roberson
on 24 Mar 2022
I do not have any idea what the "real" answer is.. but
if you explore the Gas Charged Accumulator, and ask to look at the Variables, then there are three variables. At the moment you have the Priority of the Pressure of Liquid Volume marked as High and the other two marked as None.
If you set the Pressure priority to None, then the diagnostics do not occur.
0 Comments
See Also
Categories
Find more on Gas Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!