AmesimKnowledge

The Diagram Editor

Redeclaring components

Replaceable components are surrounded by a frame in the Diagram Editor, so you can easily identify them.

The symbol at the bottom left corner of a replaceable component indicates that you can redeclare it.

To redeclare a replaceable component:

Procedure

  1. Right-click on the component and select Redeclare.

    A list with all the compatible components is displayed. Figure 53: Redeclare a component

  2. Select the component you want to use.

    Note When the list of compatible components is too long, it opens in a new window. Select the component you want to use and click OK.

Results

When you switch to the Text Editor, you can see your component has been redeclared:

Figure 54: Redeclared component in the Text Editor

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