Simcape simulation won't start due to "Model not assembled: position violation" error, how do I fix it?

6 views (last 30 days)
I'm learning Simscape and in this project the error appears when trying to start the simulation. I really have no info of what could be wrong since I'm new to Simscape. Before adding the Beam subsystem and what's connected to the P input of the subsystem, the simulation would start without any errors. Parameters used in the simulation are in system_1.m

Answers (1)

Juan Sagarduy
Juan Sagarduy on 14 Jun 2021
Hi Lovre This is an indication that the kinematics in your mechanism are not physically possible. If the model is not too complex i can have a look during the week. Br Juan
  1 Comment
Lovre Petrovic
Lovre Petrovic on 15 Jun 2021
Hi Juan thank you for that. The model is not too complex, it's just a simple ball and beam system. I will make sure to let you know if I fix by any chance.

Sign in to comment.

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!