Convert a 2013a multibody model to 2022b

2 visualizaciones (últimos 30 días)
Cédric DEPOILLY
Cédric DEPOILLY el 3 de Mzo. de 2025
Comentada: Cédric DEPOILLY el 6 de Mzo. de 2025
Hi, I'm trying to convert this 2013a multibody model to 2022b version but I'm a beginner in multibody simscape and I'm stuck because I have the error message attached. I think the problem comes from the prismatic link, I'm not sure if the world frame block is well placed. Can you help me on this model? For information it simulates the vertical movement of a crank rod system. Thanks

Respuesta aceptada

Yifeng Tang
Yifeng Tang el 6 de Mzo. de 2025
Editada: Yifeng Tang el 6 de Mzo. de 2025
Looks like some of the frames need a rotation. I'm not sure about what mechanism you are trying to model, but right now, the three bars can rotation in the x-y plane, but the prismatic joint is trying to make one end to move in the z-direction, i.e. out of the x-y plane. I suspect the prismatic joint should be constraining the motion in the x or y direction instead.
I took out the 1D Simscape part and kept only the Multibody. After adding some rigid transform blocks to align the motion direction, the model will at least assemble and move. See attached. Not sure whether that's what you intended. Here is a picture.

Más respuestas (0)

Categorías

Más información sobre Multibody Dynamics en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by