When simulating an oscillating hydraulic system consisting of a rotary actuator (motor), an inertia and 2 volumes, the vibrations I get are slightly damped whereas I would like to simulate a no-loss system: no friction, no pressure loss, no leakage, ideal motor,...
When doing a similar case but with a linear actuator (cylinder) and a mass, the simulation results show no damping.
Where does the damping come from in the rotary case? Why is there a difference in terms of damping between rotary and linear cases?
Many thanks for any advise
Solved! Go to Solution.
The damping you see is purely numerical and it is due to the hyperbolic tangent used to obtain the fact coefficient. This coefficient is used to compute the reference pressure needed to calculate the density ratio, which is then applied to compute the output flow rate. You can refer to the MO001 submodel documentation to see the equations I am referring to.
To get rid of this effect, you just have to increase the parameter "typical speed of motor" (wtyp) to a very large value (1E+9 for example).
I hope it helps.
Thanks a lot @FedericoC, increasing the typical speed of motor to 1E+09rev/min does solve my problem!
However there is a last bit I'd like to understand, related to my second question. Why is the hyperbolic tangent needed for any rotary motion and not for linear motions (see for instance HJ021)?
in rotary motion, the hyperbolic tangent is a numerical means used to switch between pressures (inlet and outlet) avoiding discontinuities.
In order to compute the density ratio used to convert the nominal flow at current pressure to the flow at reference pressure, an average pressure between the motor inlet and outlet is calculated. However, as the machine is rotating, the definition of inlet and outlet depends on the sign of the rotational speed. The hyperbolic tangent allows to switch from one to the other.
Regarding the linear motion, there is no need to compute an average pressure of the piston's chambers to apply the density ratio mentioned above. The ratio is simply between the density evaluated at the chamber's pressure divided by the density at the reference pressure. For this reason, there is no hyperbolic tangent in linear motion.
Thanks @FedericoC I now understand what Amesim computes. Nevertheless I still cannot see any reason why linear and rotary motions should be treated differently by Amesim. If you take a look at the attached picture, I think the 2 systems should behave the same which is not the case (even with wtyp=1E+09rpm).
Why I came to this is because Amesim introduces a numerical damping in a very basic oscillating system where it should be no loss (see my first post). This leads to misinterpretation of results especially when you care about energy efficiency of a system. While trying to understand this incorrect behavior, I came across the fact that this behavior is indeed correct for linear motion. I may have missed something, but I would have also expected pump and motor submodels to correct the flow at each port by considering the actual pressure of each port, exactly like it is done for cylinders. One would end up with a motor having different volumetric flow rates at inlets and outlets (again exactly like for cylinders, see my last post) but I would consider it to be more accurate than the way it is computed today.
Now that I am aware of this "inaccuracy", I am OK. I will increase the typical speed up to 1E+09rpm any time I need energy to be conserved!
Thanks for this interesting exchange of views!