Model not assembled, position violation for SimScape Multibody

For context I am very new to matlab and simscape. I am working on a project to create a DRS system for a formula student car that I am going to use in a class, I want to control this assembly with a single angular velocity. However, I just wanted to start simple by having the system held at a constant. However, if I switch this constant value to anything but 0 I recieve the following error:
['DRS_Assembly/Solver Configuration']: Model not assembled. The following violation occurred: Position Violation. The failure occurred during the attempt to assemble all joints in the system and satisfy any motion inputs. If an Update Diagram operation completes successfully, the failure is likely caused by motion inputs. Consider adjusting the motion inputs to specify a different starting configuration. Also consider adjusting or adding joint targets to better guide the assembly.
When first imported, I ran the system with just the gravity and everything rotates freely, so I am not understanding what I am missing. Is this a newbie mistake? What am I missing? All help is greatly appreciated.

1 个评论

I am facing the same problem.
If you managed to solve it, can you share the steps you did with me.

请先登录,再进行评论。

回答(1 个)

Hi Kaelan,
As per my understanding, you are getting an error message “[‘DRS_Assembly/Solver Configuration’] Model not assembled, position violation”.
After a quick google search, I found few related questions to your error:
I hope this resolves the issue you were facing.

类别

帮助中心File Exchange 中查找有关 Simscape Multibody 的更多信息

产品

版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by