AmesimKnowledge

Customizing supercomponents > Example 1: A customized cam supercomponent

Constructing the flat system

Procedure

  1. Construct both models in the same system

  2. Set the following parameters leaving all others at their default values

Submodel

Reference number on sketch if any

Title [units]

Value

GA00

1

value of gain [null]

6

GA00

2 and 3

value of gain [null]

0.001

GA00

4

value of gain [null]

180/pi

PM000

5 and 6

shaft speed [rev/min]

150

CAM00

file of cam position function of angular displacement

$AME/tutorial/data/cam.data

1 for linear splines 2 for cubic splines

2

FXA01

7

name of ASCII file

$AME/tutorial/data/cam.data

output

u

FXA01

8

name of ASCII file

$AME/tutorial/data/cam.data

output

du/dx

  1. Run a simulation and check that the results from the two models are the same

Use a final time of 1 second and enable discontinuity printout. Figure 27: Plot of the CAM00 and VELXC0 submodels displacement

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