Forward and Inverse Dynamics Solver in Simscape Multibody
12 views (last 30 days)
Show older comments
My forward dynamic simulations in Simscape Multibody conducted using a similar fixed-step solver are much slower than inverse. To explain this mathematically, I need to know what method Simscape Multibody uses to simulate both inverse and forward dynamics. Is it Kane, Newton–Euler, Lagrange, or Feathersone's method?
Thanks in advance!
Serhii
0 Comments
Answers (1)
Steve Miller
on 28 Nov 2022
Any explanation as to why one simulation runs slower/faster could depend on many additional factors than the algorithm used. If you post the models, we can take a look at them and see if there are additional factors affecting the speed of solution.
Generally speaking, the inverse dynamics problem is less computationally expensive. In forward dynamics, you have more states to calculate (position, velocity, and acceleration). For inverse dynamics fewer calculations are needed to calculate the forces as more of the states have been defined as inputs from the user.
--Steve
0 Comments
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!