Building and simulating a model in Dymola

Here we build a simple but non-trivial mechanical system by using standard Modelica components, and run the simulations in Dymola. We see some not-so-obvious dynamics caused by the flexible elements (a spring and a damper).

​​​​​​​