To support the generation of Functional Mock-up Units (FMUs) that contain
executable code for both Windows and Linux platforms, you can install WSL on a Windows 11
computer.
If you have WSL installed, you can also perform noninteractive
simulation of Dymola Behavior Modeling Modelica models using the WSL platform. An additional value
is that you can (noninteractively) simulate, on Windows machines, Dymola Behavior Modeling Modelica models that contain FMUs that are only provided
with the Linux binaries.
In Windows, open a Command Prompt in Administrator mode. Install
WSL and the default Linux Ubuntu by the following command:
To ensure that WSL can change file permissions, you must edit the file
/etc/wsl.conf so it has the following two lines (or create that
file if it does not exist):
[automount]
options = "metadata"
Important:
Restart WSL or restart the computer after any changes of this
file.
What's Next
After installation, you must activate the use of WSL. You do
this from Me > Preferences > App Preferences > 3D Modeling > Systems Modeling and Execution > Dymola Behavior Modeling, the Compiler tab. For more
information, see Desktop Apps Preferences Guide: Compiler.