Modelica Model (.mo, .moe)

Background & Context

    • Modelica models.
    • File format specified by the Modelica Association.

Import & Export

Examples

open allclose all

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)

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:

Clean up by deleting the new files and model: