Using the Ideal Translational Velocity Source

조회 수: 2 (최근 30일)
Jeff
Jeff 2017년 6월 2일
답변: Jeff 2017년 6월 2일
I have no problem prescribing an input force to a mass/spring system in SIMSCAPE. However, applying a prescribed displacement apparently is another matter. Apparently, there is no source element that exists in the SIMSCAPE/Foundation Library/Mechanical/Mechanical Sources in the SIMULINK library. However, I can use the Ideal Translational Velocity Source. I tried this, but not successfully. I have included the model in the .zip file along with the same model that has a prescribed input force. The model using the Ideal Translational Velocity Source generates an error concerning convergence of initial conditions.
"Initial conditions solve failed to converge. ...Dynamic states at start of simulation are not consistent. Set initial dynamic states consistently (for example, parallel capacitors must have equal initial voltages, and parallel masses must have equal initial velocities)."
Can anyone suggest how to do what I am attempting? By the way I am relatively new to SIMULINK & SIMSCAPE so I have little experience on configuring the solvers so that convergence issues are avoided. So if there is any good documentation on the issue please let me know. I did not find the HELP directory very informative.
Thanks for any assistance.

채택된 답변

Jeff
Jeff 2017년 6월 2일
I believe I figured this out. I changed the input signal so that it is smooth at time = 0. If the initial velocity is something other than ZERO then violation of the system @ rest causes the convergence problem.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mechanical Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by