Does the PS-Simulink convert slow the simulation speed down?

3 ビュー (過去 30 日間)
Sebastian
Sebastian 2015 年 1 月 7 日
回答済み: naser poodinh 2021 年 9 月 20 日
I'm using the second generation SimMechanics toolbox to build a whole car suspension model. I derived my model from the double wishbone example provided by MATLAB.
The model is running in real time, or even faster, until I add a PS-Simulink converter block to get access to the generated forces of a spherical joint. I have already checked the output unit of the converter. I try to use forward dynamics. If I try to get access to other values, like the position or velocity the converter would not slow the simulation speed down.
If its necessary I can provide a model. Thanks for your help.
  1 件のコメント
N/A
N/A 2015 年 1 月 12 日
Sebastian, can you upload a model?

サインインしてコメントする。

回答 (2 件)

Sam Hunt
Sam Hunt 2021 年 2 月 9 日
Sensing quantities can slow down simulation because of the simple fact that computations must be done to output values. Some outputs are fast to compute, others are slower. If you are sensing Composite Force/Torques in joints, that computation is expensive and is not surprising that there is a performance penalty.

naser poodinh
naser poodinh 2021 年 9 月 20 日
if true
% code
end

カテゴリ

Help Center および File ExchangeApplications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by