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

2 views (last 30 days)
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!

Answers (1)

Naman Bhaia
Naman Bhaia on 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.


Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!