Can't find equilibrium on simscape multibody/ can't put the steady state by default
5 views (last 30 days)
Show older comments
Vermeer Bonhomme
on 6 Feb 2023
Commented: Vermeer Bonhomme
on 13 Feb 2023
Hello,
I am simulating the following system: It is a double pendulum haning on 4 wires. The 4 wires are considered as damp/springs (prismatic joint).
I also attached the simulink model.
Each wire is connected to the mass by a gimbal joint having its stifness and damping.
My first question is:
- How should I find the steady state position ? I would like to make my system be at the equilibrium at t=0s. But because of the complexity of the geometry, It is difficult to find this position by calculation. Is that possible to let the model run, let it reach the equilibrium position and then use these coordinates to set the new initial position?
My second question is:
- My system can't find a stable steady state. When I start the simulation, it finds a steady state, and then, it starts to vibrate with an increasing amplitude and then it collapses. So, to avoid this, I can put very high damping and it reaches the equilibrium, but when I zoom a lot on a wire for exemple, it jumps from a position to an other so the system oscilate a bit. I think I am over constrained but I can't find the reason.
Thank you for your help and your time,
Vermeer
4 Comments
Accepted Answer
Steve Miller
on 12 Feb 2023
There are a few adjustments you should make to your model.
- Set the Consistency Tolerance in the Solver Configuration block to 1e-9 (the default). In your version, it is set to 1e-5. This is 10000 times larger than the default.
- Set the solver to daessc
With these changes, it reaches steady state in about 50 seconds - see screenshot below. Attached is the model with the changes above, plus with relative paths for the CAD geometry.
Another change I would recommend is changing some of the Gimbal Joints to Universal Joints. This would prevent the wires rotating about their primary axis.
You can save the final state of a simulation and use it as a starting point. Look at the Solver Configuration panel, Data Import/Export pane.
--Steve
More Answers (0)
See Also
Categories
Find more on Simscape Multibody 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!