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

2 vues (au cours des 30 derniers jours)
Foad Sojoodi Farimani
Foad Sojoodi Farimani le 20 Fév 2019
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

Réponses (1)

Naman Bhaia
Naman Bhaia le 1 Mar 2019
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.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by