Use FMU Models
Projects that use Functional Mock-up Units can run in the container only if the FMU is compatible with the Linux environment.
Make sure that the following requirements are met:
-
The FMU contains a 64-bit Linux binary.
-
The FMU is stored in the same relative location to the project file as on the original machine.
-
The mounted parent folder preserves this relative path.
Windows-only FMUs cannot run in the container.
Example folder layout on the host machine:
project_folder/
├── my_project.docker.moca
└── models/
└── my_simulation.fmu
Example command:
Copy
docker run --rm -t \
-e LICENSE_USER=<your_user_name> \
--mount type=bind,source=/path/to/project_folder,target=/data \
--mount type=bind,source=/path/to/network.lic,target=/license/network.lic,readonly \
ascmo_image compute /data/my_project.docker.moca