Getting started > A simple mechanical system
Setting parameters and running a simulation
Figure 16: Numbers of components
Note
The setting parameters operation can also be performed in Simulation mode through the Contextual parameters tab.
Procedure
- 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.
Click on the Simulation mode tab.
Click on the Run parameters button .
In the Run Parameters dialog box, set the Final time to 5 s and the Print interval to 0.002 s.
Figure 17: Set the Final time and Print interval
Click on the Run simulation button .
Double-click on the mass component to produce the dialog box shown below:
Figure 18: 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 19: 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_Run/Setting_parameters_and_running_a_simulation · retrieved 2026-07-17