How to set initial velocity to Simscape (with wheels with input torque)?

6 次查看(过去 30 天)
Hello,
I am trying to simulate a pod for the Hyperloop 4 competition, and I already have the main parts finished, nevertheless, the goal is to study the vibrational behavior of the structure applying some gaps between rails. At the moment, the pod accelerates with the provided imput. The problem arises when a small change is made in the Simulink and it has to compile and simulate again (2+ hours) to see the new results. This is due to the fact that the pod has to be at max speed when facing the gaps, so an initial rail of 500 m has been set so that the pod accelerates, which makes the simulation too long and heavy to process (800+ m in total). My question is, is there any other way to provide the wheels with some initial angular velocity so that the pod achieves the desired velocity and MATLAB only had to simulate few seconds?
I attach some screenshots of the SimScape and simulation. Please ask for any additional info you may need.
Thanks for considering my request,
Clemente.

采纳的回答

Christoph Hahn
Christoph Hahn 2019-1-9
Hi Clemente,
of course you can set an initial angular veloctiy. You seem to be using Revolute joints. By adding Properties -> Motion -> Provided by Input (see figure), you get an additional input port called 'q' where you can add a signal (see second figure). Make sure you specify a suitable unit.
2019-01-09_13-23-41.png
2019-01-09_13-27-29.png
Hope that helps!
Best, Christoph

更多回答(1 个)

sergio castellani
hello
by doing this u specify indeed a motion --> a position. Which is not what is was asked in the post. We are asking how do you specify an initial velocity, which can change after due to external forces. So, i would at least revert the way in which the joint is controlled using " Motion, automatically computed" and then finding a way to insert an initial velocity, which is sitll not clear by your answer.
Sergio
  1 个评论
Christoph Hahn
Christoph Hahn 2019-7-5
Hi Sergio,
the answer to this question was already accepted.
Would you mind asking a new question where you explain your specific problem and ideally share a model to illustrate.
Please send the URL of the new question to racinglounge@mathworks.com. We'll be happy to help.
Thanks and Best,
Christoph

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Nonlinear Operators 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by