Validate Simscape Double Pendulum model with Lagrange Matlab Code

9 ビュー (過去 30 日間)
Patricia Mihailovici
Patricia Mihailovici 2022 年 3 月 31 日
回答済み: Steve Miller 2022 年 11 月 25 日
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 Center および File ExchangeAssembly についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by