Altair Twin Activate® Challenge #2: Physical based modelling of a mass-spring-damper system

RSGarciarivas
RSGarciarivas
Altair Employee
edited October 2023 in Altair HyperWorks

Modelica is an equation-based language that is especially well-suited for modeling the behavior of physical components. Activate supports several Modelica libraries, allowing users to create physical-based models, often simpler than their signal-based counterparts.

Modelica components are acausal, which means that, instead of blocks having explicit inputs and outputs, they have connectors which propagate physical quantities.

Your task for this challenge is to replicate the model created in Altair Activate® Challenge #1: Signal based modelling of a mass-spring-damper system using Modelica components. Start from the template attached here, creating the physical model inside the empty super block and, once ready, link each signal to its relevant output.

To get a head start, please look at the examples available in the demo browser. Specifically, I’d recommend looking at Demo Browser > Modelica > Mechanical > Bouncing ball.scm, as the Modelica blocks used there will be useful for your own implementation.

Good luck!

Tip: If you are not familiar with super blocks, take a look here.

Level: Easy

Product Required: Activate 2020 or later version (including Personal Edition)

The solution can be attached in the comment section of this post. The desired output format is a JPG or PNG picture of the output scopes, containing both signal and physical based model outputs.

The solution to Challenge Batch calling OML scripts can be found here.

If you would like to solve more challenges and get regular challenge release updates, Subscribe to the Altair Community Challenge forum.

Edit: The solution to this challenge has been attached as another model. Try to solve it on your own before looking at it!