Solver Configuration error in simpscape multibody
조회 수: 4 (최근 30일)
이전 댓글 표시
Could help me I have the following warring when i'm trying to run simulation:
An error occurred while running the simulation and the simulation was terminated
Caused by:
['untitled1/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.
댓글 수: 1
Alex
2023년 11월 10일
I'm not interested in opening an unknown zip file. So please describe your project by posting a picture of the model and by giving details of the individual parts.
답변 (1개)
Yash
2023년 11월 14일
Hi Max,
I understand that you are facing the "Model not assembled" error while simulating a Simscape Multibody Model.
The error indicates that the issue is either with assembly of joints or with the motion inputs. The first step to debug this error is to Update Model Diagram (You can use the shortcut Ctrl + D). If the Update Diagram operation completes successfully, the failure is likely caused by the motion inputs.
I downloaded the model you provided and performed the Update Diagram operation, which completed without any errors. Upon examining the motion inputs, I noticed that there are three sine wave inputs in the model, as shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1538867/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1538872/image.png)
This usage of the Sine Wave block is unusual since both the Bias and Amplitude are set to zero. Consequently, this configuration produces a constant zero signal, resulting in the error you encountered. To rectify this, I modified the Bias to 4 and the Amplitude to 1. After making these adjustments, the model executed without any errors, and the motion was visible in the Mechanics Explorer window.
However, note that it only works for a very few values of Bias and Amplitude. As it is a very complex model, I can not provide the exact reason for these limitations just by looking at the model. I recommend examining the motion input logic and implementing the model accordingly.
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simscape Multibody에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!