Validate Simscape Double Pendulum model with Lagrange Matlab Code

조회 수: 4 (최근 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 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