Model not assembled, position violation for SimScape Multibody
36 views (last 30 days)
Show older comments
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 Comment
Rami AlAwar
on 14 Apr 2023
I am facing the same problem.
If you managed to solve it, can you share the steps you did with me.
Answers (1)
Manikanta Aditya
on 21 Apr 2023
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:
- https://stackoverflow.com/questions/36089858/whats-wrong-with-this-matlab-example-user-added-coordinate-systems
- https://www.physicsforums.com/threads/how-to-make-the-small-ball-slide-into-the-groove-in-simscape-multibody.1002413/
I hope this resolves the issue you were facing.
0 Comments
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!