AmesimKnowledge

Getting started with Simcenter Amesim Real-Time Simulation

Simcenter Amesim model imported into Simulink

Simulink, model import

Open the Simulink model called skyhook.slx, which is located in the quartercar_.simulink_controller folder with the Simcenter Amesim model. To switch between manual and automatic input of road surface use the "Manual Switch" blocks (Do_RoadBump, and Manual/Auto Input) in the lower left corner.

Figure 5: Simulink/Simcenter Amesim model (skyhook.slx) with some interactive possibilities

After the Simcenter Amesim S-function is imported into Simulink it is important to verify that the complete Simcenter Amesim/Simulink system can run and give correct results using a fixed step integration method with a time step that can result in real-time performance on the target platform. For the current system, we will use the ode2 method with a time step of 0.5 milliseconds. It is seldom useful to use anything more complex than ode4. Quite often Euler is the most efficient compromise between speed and numerical stability/precision.

This example uses some specificities of a dSPACE system. If you use an Opal-RT or a Concurrent (SimWB) system instead, you can look for the similar models located in the OpalRT or the SimWB folder (at the same level as the dSPACE folder), or RT-LAB in the demo directory mentioned above. Do not hesitate to copy the appropriate directory to a working directory of your choice.

Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Real_Time/xid951249 · retrieved 2026-07-17