
Convert a 2013a multibody model to 2022b
4 次查看(过去 30 天)
显示 更早的评论
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



0 个评论
采纳的回答
Yifeng Tang
2025-3-6
编辑:Yifeng Tang
2025-3-6
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.

更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multibody Dynamics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!