Validate Simscape Double Pendulum model with Lagrange Matlab Code

8 次查看(过去 30 天)
I am modelling a wing with folding wingtips using Simscape Multibody and I made a code to validate my results using the Lagrangian method. Howerer, when plotting the angular displacements, there is an offset between the Simscape result and Lagrange. When creating the model, I did not consider any damping and all the initial conditions are 0.
Does anyone have any idea why there is this offset? Thank you.

回答(1 个)

Steve Miller
Steve Miller 2022-11-25
Theta2 starts deviating noticeably within the first 0.1 seconds, and Theta1 shows deviations right away as well. The general behavior is quite similar. Could it be that the gravitational constant is not identical in these two analyses? Share the files and we could look further.
--Steve

类别

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

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by