Are you ready to talk?

How to Compare Animations in Dymola

Table of contents
Video 1 – Example animation from the multibody demo Furuta Pendulum

Once you have simulated your experiment, an animation window automatically opens for that experiment, if it contains animation objects.

To demonstrate this I will compare two experiments from the VeSyMA – Suspensions library developed here at Claytex. We have two similar vehicle experiments where the same vehicle models perform a slalom test, but in one the vehicle’s electronic stability control (ESP) is enabled and in the other it is disabled; Suspensions.Experiments.PathFollowing.Slalom and Suspensions.Experiments.PathFollowing.SlalomESP. So you would expect to see a difference in the vehicle position in the animation between the two experiments.

Accessing animation options in the Variable Browser menu to compare animations
Figure 1 – Animation options in the Variable Browser menu

After I simulate the slalom test with and without ESP enabled, I have two experiment results in my Variable Browser in Dymola. If I right click on a result set, while an animation window is active, I get the context menu shown in the image above, which contains two animation options. Selecting:

  • Animate will show the animation of the selected result in the active animation window
  • Animate Together will show the animation of the selected result in the active animation window as well as the previous animation displayed in that animation window

I used the Animate Together option to create the animation comparison of the slalom test with and without ESP enabled as shown in the video below. A different colour was applied to the vehicle body animation object in each experiment to make it easier to distinguish between them. From this animation comparison it is obvious to see that the vehicle positions are different due to the ESP change between experiments, even before looking at the variable results in detail.

Video 2 – Animations using the Animate Together option to compare the slalom test with and without the ESP enabled

Written by: Hannah Hammond-Scott – Modelica Project Leader

 

Need to talk to an expert?

Our engineering teams are on hand to provide tailored guidance and support with a deep knowledge of the full Dassault Systèmes portfolio.

Want to receive more content like this?

Sign up to receive a weekly roundup of Expert insights as they are published...

  • Related news & articles straight to your inbox
  • Hints, tips & how-tos
  • Thought leadership articles