Using the Ideal Translational Velocity Source

8 次查看(过去 30 天)
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 中查找有关 Simulation Setup 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by