Modelica Model (.mo, .moe)
Background & Context
-
- Modelica models.
- File format specified by the Modelica Association.
Import & Export
- Import["file.mo","MO"] imports the specified model and makes it available as a SystemModel.
- See the following reference pages for full general information:
-
Import, Export import from or export to a file CloudImport, CloudExport import from or export to a cloud object ImportString, ExportString import from or export to a string ImportByteArray, ExportByteArray import from or export to a byte array
Examples
open allclose allBasic Examples (3)
Examine the model's equations:
Save the model, which renames the model to "DiffEq":
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:
Properties & Relations (1)
Use "SME" to import SystemModelSimulationData:
Possible Issues (1)
Already-saved models cannot be saved in a different place using Export:
Make a copy of the model to save it in a different location: