Simscape - Allow accumulator to fully discharge without model crashing?

4 次查看(过去 30 天)
Hello I am currently trying to model a hydraulic circuit where a gas charged accumulator is fully pressurized initially and discharges through a motor into a reservoir. The motor spins a wheel through a gear ratio with rolling resistance and mass attached. I am trying to create a simple model for a hydraulic powered bike using the accumulator discharge to propel the vehicle and measure its final distance.
The current problem I am facing is when the fluid volume in the accumulator reaches zero, the model crashes saying
  • At time 13.904426, one or more assertions are triggered. See causes for specific information.Liquid pressure fell below absolute zero The assertion comes from:
I found this error stems from my custom fluid configuration block displaying a error if the fluid absolute pressure falls below absolute zero.
Is there an easy to mitigate this problem either by blocking the flow from the accumulator entirely or by changing the solver configurations? I have switched the fluid configuration to display a warning instead of an error but then the model completely crashes and only displays data from the time when the accumulator volume hits zero and on.
I did want to place a logic controlled 2 way valve into the loop and once the pressure in the lines reached the precharge pressure in the accumulator it closes the valve, but the problem would probably still occur because there is leakage within the valve and the accumulator can still discharge through that.
Let me know if I am missing anything. Any help is greatly appreciated. I have attached an image of the circuit. I can publish the actual model if necessary.
Thanks, Nicholas

回答(1 个)

Juan Sagarduy
Juan Sagarduy 2020-10-26
Hi Nicholas
I think you should have a higher pressure in the tank. That will prevent the motor to overspin and thus avoiding the suction effect occurring in the model. Depending on the pressure, you would reach an equilibrium after a given time.
Good luck Juan

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by