Tutorials
In the basic tutorial you’ll first learn how to write a mosaik scenario by following along a relatively simple example that introduces most of what you need. In the sceond part, we demonstrate how to implement your own simulator (which is also what you need when you want to integrate an existing simulator into the mosaik ecosystem.
At the end of the two tutorials, you should have basic knowledge of how to use mosaik. The tutorials will also refer you to further explanations and how-tos to deepen that knowledge. You should also feel free to ask any questions that you have on GitHub discussions here. All levels of questions are welcome there.
In additions to the basic tutorial, we also have tutorials on how to implement simulators in Java, using both the basic simulator API, and a version based on Java generics and annotations that you might find more ergonomic.
Finally, there is a tutorial on using mosaik’s graphing capabilities which you can use to illustrate the connections and execution sequences of a mosaik scenario.
Basic tutorial
Java API tutorial
Java-Generics API tutorial
Visualization tutorial