Customizing supercomponents > Example 2: 2-level customized supercomponent with global parameters
Constructing the flat system
Reload the old system and check the results against the following figure. This is the valve lift and the reference set of results we will use to check the new generic supercomponent and its customized version.
Figure 46: Reconstructing the generic supercomponent
Step 1: Create a generic supercomponent including all components except PM000
Figure 47: Create the supercomponent
No standard Simcenter Amesim icon is really suitable for this supercomponent. If you are very short of time you can use any icon of the Mechanical category which has a single rotary port such as the following:
However, for a more artistic solution we suggest you do the following:
Procedure
Click on the Component Icon tab.
Click on Open in designer.
The Icon designer opens.
From the Icon tab, select File > Import image.
A suitable icon already exists in a folder of the Simcenter Amesim system area. Enter the following name:
$AME/tutorial/Icons/twinvalves.xbm, or
%AME%\tutorial\Icons\twinvalves.xbm
The icon should now be loaded into the Icon designer.
From the Ports tab, define a rotary shaft as shown below:
Save the icon.
Step 2: Save your supercomponent in a category
Procedure
Go to the Category Saving tab.
Under Component Icon, create a new parent category, by clicking on the + button. Indicate a storage directory and a name for your category.
Give a Name and a Description to your component and save it.
Under Submodel & Properties, give a Name and a Description to your supercomponent.
Indicate the storage directory and click Save.
Step 3: Add the generic supercomponent to your Simcenter Amesim system and run a simulation to check that the results are correct
Figure 48: Add the supercomponent to the Simcenter Amesim system
Note
You will have to open the supercomponent and add the two displacement variables to the Exposed variables pane and then run a new simulation to be able to plot them.
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.AMECustom/Constructing_the_flat_system_1 · retrieved 2026-07-17