AmesimKnowledge

Getting started > A simple mechanical system

Setting parameters and running a simulation

Figure 16: Numbers of components

Switch to Parameter mode.

Note

The setting parameters operation can also be performed in Simulation mode through the Contextual parameters tab.

Procedure

  1. Set the following parameters according to the component numbers in the figure above.

Submodel name and type

Main simulation parameters

1

1d translation mass [MECMAS21]

mass [kg] = 400

inclination [degree] = -90

2

linear spring with 2 ports capable of linear motion [SPR000A]

spring rate [N/m] = 15000

3

1d translation mass [MECMAS21]

mass [kg] = 50

inclination [degree] = -90

4

linear spring with 2 ports capable of linear motion [SPR000A]

spring rate [N/m] = 200000

5

step signal source [STEP0]

value after step [null] = 0.1

step time [s] = 1

The other components keep their default values.

  1. Click on the Simulation mode tab.

The system is compiled. See the following figure: there are five explicit variables, and no implicit variables. Figure 17: Information about your system

  1. Click on the Run parameters button .

  2. In the Run Parameters dialog box, set the Final time to 5 s and the Print interval to 0.002 s.

Figure 18: Set the Final time and Print interval

  1. Click on the Run simulation button .

  2. Double-click on the mass component to produce the dialog box shown below:

Figure 19: Variable list dialog box

This gives a list of variables that are associated with the mass submodel and may be plotted. The same list is displayed in the Variable view: Figure 20: Variable view and variable list

Next to each variable name is the latest value for that variable. Near the bottom of the Variable List dialog box, the run time is given. You can select items to plot but you can also select items to alias their titles.

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