List of high-level APIs

mosaik provides high-level APIs for some popular programming languages. Among these, the Python API stands out as it is developed in conjuction with mosaik, and Python simulators can be run in the same process as the scenario script.

In the following list, APIs marked with mosaik are developed by us. The others are developed and maintained elsewhere. If you have created bindings for mosaik for a programming language not listed here, feel free to contact us so we can add it to this list.

mosaik Python API

See High-level Python API.

mosaik Java API

For the use of the Java API please refer to the Java tutorial.

There is also a secondary Java API based on annotations and generics that makes common use-cases more ergonomic, see Java tutorial.

mosaik Julia API

See the Julia mosaik API docs.

mosaik Matlab

There are two options to connect mosaik to Matlab. The first is the direct API for Matlab, the second is an API using Java as an intermediary.

mosaik C#

See here for the API for C#.

Rust

See here for the API for Rust.