Altair Compose® Challenge #3: Transfer Functions & Data Handling

RSGarciarivas
RSGarciarivas
Altair Employee
edited August 2023 in Altair HyperWorks

In this challenge, we will focus on highlighting how Altair Compose can simulate a system’s response from its transfer function, and how data can be written into and read from CSV files. We will model a simple mass-spring-damper system:

image

The transfer function of this system is given by:

image

Where m is the systems mass and b and k are the damper and spring constants, respectively.

Look at the attached script and the documentation of the functions referenced there to fill in the missing gaps and simulate the step response of this system for different masses, print all in a single CSV and read back into Compose for plotting.

 

Tip: You can right click or press F1 to access documentation on any OML function.

 

Level: Easy

Product Required: Compose 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 plot containing all created step responses.

The solution to Challenge Physical based modelling of a mass-spring-damper system 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.