Simscape Isothermal fluid simulation retunrs error on the cylinder component
4 views (last 30 days)
Show older comments
Hi All,
This is (should be) a simple hydraulic simulation of a circuit simulating a hydraulic pump, a block valve and 2 hydraulic cylinders in paralel.
When I add the cylinders to the simulation, the following error return:
An error occurred while running the simulation and the simulation was terminated
Caused by:
['Hitch_Backup/Solver Configuration']: Initial conditions solve failed to converge.
Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix.
all components and nodal across variables involved
Cannot solve for one or more variables, including dynamic variable derivatives:
Time derivative of 'CylLeft.p_I' (Pressure of liquid volume)
Time derivative of 'Ideal_Translational_Motion_Sensor.x' (Position)
Time derivative of 'Translational_Hard_Stop1.x' (Position)
'CylLeft.R.v' (Velocity)
'CylLeft.mdot_A' (Mass flow rate into port A)
'CylRight.R.v' (Velocity)
'CylRight.mdot_A' (Mass flow rate into port A)
'Ideal_Translational_Motion_Sensor.R.v' (Velocity)
'Ideal_Translational_Motion_Sensor.V' (V)
'Translational_Hard_Stop1.R.v' (Velocity)
'Translational_Hard_Stop1.v' (Velocity)
Not sure how to fix it. Any guess?
1 Comment
Yifeng Tang
on 3 Jun 2024
Haven't actually opened the model, but upon visual inspection, the piston end has no mass attached. F=m*a with m=0 usually won't work. Add a mass and give it a try?
Answers (0)
See Also
Categories
Find more on Simscape Fluids 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!