AmesimKnowledge

The Modelica platform in detail

Storing Modelica Models

Before describing the details of how you create and modify Modelica models, it is helpful to understand how they are stored in Simcenter Amesim. Modelica models are human readable ASCII stored as .mo files. Typically, Modelica developers will organize libraries into a hierarchical set of packages which contain models and the classes used to define them. However, you can also create a stand-alone model class if there is no need for such hierarchical organization. A collection of Modelica models can be stored all in a single .mo file (a “non-structured” package), or within multiple .mo files in a hierarchy of folders (a “structured” package).

As will be described in subsequent sections, the Modelica Editor is essentially a tool for viewing and modifying .mo files. Simulating and post-processing Modelica models, however, is done within the main Simcenter Amesim platform. Whenever your model contains a Modelica component, Simcenter Amesim will create a special .modelica_tools folder that is archived within the .ame file. This folder will contain several subfolders including modelica_files (where the source Modelica files are stored) and modelica_block_submodels (where the compiled Modelica models exist as local submodels).

The key point here is that the .ame file will contain a local folder that stores the source code of the Modelica model that you’re using.

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