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

조회 수: 8 (최근 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
sergio castellani 2019년 7월 1일
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