Exporting a Model to a Modelica File
Export your model to a Modelica .mo file if you want to import your MapleSim model into an application that supports the Modelica modeling language (version 4.0.0). The resulting .mo file is an 'unflattened' Modelica file, meaning that in addition to generating equations and a description of the physics of the model, the topology and layout is preserved in the exported Modelica.
The following are the types of export you can select from along with a brief description.
Model Only: This generates a Modelica .mo file that can be imported into MapleSim. Use this option if you want to view and optionally edit the Modelica file before importing it back into MapleSim. The Modelica file cannot be imported into another application.
Model and Dependencies: This generates a Modelica .mo file that includes MapleSoft dependencies. Use this option if you want to import the .mo file into another application that supports Modelica 4.0.0. The .mo file cannot be imported into MapleSim.
To export a model to a .mo file
From the File menu, select Export Modelica....
Select one of the following options:
Model Only
Model and Dependencies
In the Select File dialog box, browse to the directory in which you want to export the model.
Enter a name for the file and click Save.
See Also
Creating a Custom Library
Importing Modelica Libraries
Main Toolbar
Opening Modelica Models
Download Help Document