Fluid inertia in Simscape hydraulic
Show older comments
Hi,
I have had the impression that Simscape does not account for the fluid inertia in an hydraulic cylinder.
For example when the piston is at the end of its stroke, does Simscape account for the effect of inertia forces on the piston caused by the deceleration of the fluid?
I saw there is a "Fluid Inertia" block but it seems specific for fluid aceleration/deceleration in pipes.
Any help is much appreciated.
Answers (2)
Yifeng Tang
on 24 Jun 2024
0 votes
Hi Amodio,
I don't think the actuator blocks model the inertia of the fluid inside. The "cushion" can be used to model some end-of-stroke behavior from flow restriction devices, but not the fluid inertia itself.
That said, I think there may be a trick we can play to mimic some effect from the mass of the fluids inside the cylinder. How about adding the mass of the fluid to a mass/inertia block attached at the R port, where the piston mass/inertia is usually also attached to? Something like this:

The piston position is used to calculate the fluid mass (*area*density), and it's added to the total mass at the R end. It assumes the fluids inside is moving at the same velocity of the piston (good assumption?).
Do you think this may work? I'm not sure what a good test case would be so I can't verify.
6 Comments
Yifeng Tang
on 24 Jun 2024
Here is another idea, but it'll require some coding in Simscape language to customize a component.
If you use a "Translational Mechanical Converter (IL)" block to model the cylinder, you have access to the Simscape code that defines all the equations. Note this block assumes that "the flow resistance between the inlet and the interior of the converter is negligible", i.e. the pressure at the A port (A.p) is the same as the pressure inside the cycliner (P_I). If the pressure change and momentum balance due to the fluid inertia is to be considered, A.p and P_I need to be different by a term that is proportional to the fluid acceleration d(mdot)/dt. Below is the equation used in the Pipe (IL) block when inertia is on, and a similar formulation can applied to this converter block I think.

Any reference case, hopefully simple, that can be used to test either of these two ideas?
Amodio
on 25 Jun 2024
Yifeng Tang
on 25 Jun 2024
Amodio
on 27 Jun 2024
Yifeng Tang
on 27 Jun 2024
need to see the model to give suggestions :)
Amodio
on 28 Jun 2024
0 votes
1 Comment
Yifeng Tang
on 28 Jun 2024
That will be very difficult :(
Wild guesses and things to try:
(1) does the poppet valve has an opening dynamics option? If yes, enable it and use a reasonable time constant.
(2) use a fluid property block and make the entrained air fraction non-zero, e.g. 0.005.
(3) replace a long pipe with a few shorter pipes, to capture the propagation of pressure wave.
Do you have access to MathWorks' account team at your company/university/institute? If there is an NDA in place, you may share the model with MathWorks' application engineering team for more relevant advice. You can also try Tech Support, if you don't know who to reach out to initially.
Categories
Find more on Upgrading Hydraulic Models to Use Isothermal Liquid Blocks 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!