Forward and Inverse Dynamics Solver in Simscape Multibody

7 次查看(过去 30 天)
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

回答(1 个)

Steve Miller
Steve Miller 2022-11-28
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

类别

Help CenterFile Exchange 中查找有关 Simscape Multibody 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by