SIMULINK model of a mass-spring with discrete external force is stuck

I'm trying to implement this Modelica model in SIMULINK to see why it is stuck on OpenModelica. I see that SIMULINK is also not able to finish the simulation though!
Capture222.PNG

回答 (1 件)

Naman Bhaia
Naman Bhaia 2019 年 3 月 1 日

0 投票

Hey Foad,
I tried running your model at my end and similarly got stuck at ~29%. It actually isnt stuck, it is just progressing very slowly. Try using any stiff solver by choosing it from Configuration Parameters->Solver.
For more clarification you can visit this page.

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

質問済み:

2019 年 2 月 20 日

回答済み:

2019 年 3 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by