Modelica Model (.mo, .moe)
- File format specified by the Modelica Association.
Import & Export
- Import["file.mo","MO"] imports the specified model and makes it available as a SystemModel.
- Export["MyModel.mo",model,"MO"] saves the SystemModel model as "MyModel".
- Export["directory",package,"MO"] saves the SystemModel package in a directory structure in directory.
Basic Examples (3)
Import a model:
Examine the model's equations:
Simulate the model:
Create a new model:
Save the model, which renames the model to "DiffEq":
Show the saved file:
Clean up by deleting the new file and models:
Create a new model inside a new package:
Save the package in a directory structure:
The package is saved in a directory "MyPackage", where files mirror the model structure:
Clean up by deleting the new files and model:
Properties & Relations (1)
Introduced in 2018