The Modelica Editor > The Graphical User Interface
The Library tree
The Library tree contains the libraries you have loaded for the Modelica Editor.
Note
The first time you launch the Modelica Editor, the Library tree is empty. To start using the Modelica Editor, we suggest you load our two standardized Modelica libraries. You can find these libraries in the $ame/Modelica directory. They are called the Modelica Standard library, and the SimcenterAmesim library:
Modelica Standard Library 3.2.3 – MSL 3.2.3
Modelica Standard Library 4.0.0 – MSL 4.0.0
SimcenterAmesim – Only compatible with the MSL 3.2.3
SimcenterAmesim 1.1 – Only compatible with the MSL 4.0.0
Please consult the Modelica Platform documentation for more information.
Double-click or right-click and select Open or Open in new Tab in the library tree to open the selected class.
Note
Lock
Lock icon
The root packages of the standard libraries (Modelica, ModelicaServices, ModelicaReference and SimcenterAmesim libraries) are read-only. This is indicated by a lock icon . Additionally, when you open a package in the Text Editor, the content is grayed-out and non-editable.
You can load packages into the Modelica library tree through the File > Open menu. When the name of a package you are trying to load conflicts with an existing package, an error message is displayed:
Figure 9: Warning message
You can unload a library from the Library tree through a right-click. If there are unsaved modifications in that library, a dialog asks you if you wish to save those changes before unloading it.
The Library tree also gives you access to the following contextual menu options:
| Icon | Name | Description |
|---|---|---|
| New... | Create a new model or class | |
| Open | Open a model or class, or load packages in the Library tree | |
| Open in new Tab | Open a model or class in a new tab | |
| Extend... | Create a new class that is extended from the selected one | |
| Save | Save the selected class | |
| Duplicate... | Make a new copy of the selected class | |
| Order | Move the selected class up or down in the Library tree | |
| Delete | Delete the selected class | |
| Refresh | Update the display in the Modelica Editor | |
| Add to active Simcenter Amesim model.. | Convert the selected model or block to an Simcenter Amesim submodel. See below. |
Add to active Simcenter Amesim model
Add to active Simcenter Amesim model
This function allows you to send a model to Simcenter Amesimto be simulated. When you do this, a Modelica icon is inserted on the Simcenter Amesim sketch:
Figure 10: Modelica icon inserted
At the same time, a new Modelica class is created inheriting from the added class and inserted into the Simcenter Amesim models window as shown in the figure below.
Figure 11: Separate window for the added Modelica models in the Simcenter Amesim sketch
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Modelica_Editor/xid923636 · retrieved 2026-07-17