mosaik — Blog

Mosaik - Co-Simulation Workshop in Oldenburg

The Workshop “Co-Simulation with mosaik” took place in Oldenburg at December 6, 2017.

In the course of the workshop we’ve covered topics like manual installation, a basic introduction into the mosaik philiosophy and architecture, as well as some hands-on practice in building up increasingly complex co-simulation scenarios.

One major purpose of events like this is the extension of the community of mosaik users. So if you are interested in workshops on mosaik, co-simulation and related topics, feel free to get into contact with us.

Regular events organized by OFFIS are likely to pop up in the near future, like mid of 2018. So be on the lookout for updates in the near future.

Workshop at OL 2017-12-06

The workshop material can be found here. The zip contains the used slides as well as the source code of the examples.

Author: André El-Ama

Easy-to-use GUI for mosaik available

Maverig is a graphical user interface for the composition and visualization of Smart-Grid-Simulations based on mosaik. The accronym Maverig stands for mosaik Advanced Visualization Environment for Intelligent Power Grids. It includes:

  • a composition mode to create scenarios by drag-and-drop
  • a simulation mode to view simulation results
  • a comprehensible user manual
Maverig in composition mode.

Composition mode of maverig.

Maverig in simulation mode.

Simulation mode of maverig.

As the installation process might be challenging for Python beginners, we provide a detailed step-by-step installation guide for Linux (Ubuntu) and Windows.

Note:Maverig is currently in a prototypical state. It may be used for demonstration purposes, but its maintenance and further development is not our top priority right now. Please understand, if the installation guide is not up-to-date with the newest package versions.

Author: Florian Schloegl

Mosaik-api-java 2.2 released and Java tutorial available

A new release of the mosaik high-level API for Java is available. The mosaik-API-Java allows to connect simulators written in Java to mosaik. The most important changes are support for the setup_done() method (see this blog article or the documentation) and the possibility to run the Java-API in server mode. In server mode the API runs as a TCP server which allows to distribute the simulation across different computers.

We provide now a step by step tutorial how to connect a simple Java simulator to mosaik. The tutorial also describes the different possibilities how to connect simulators to mosaik, including the possibility to run simulators and mosaik on different computers.

You can find the sources of the Java API here.

Author: Florian Schloegl

Mosaik-api-python 2.2 released

Regarding to the new release of mosaik the mosaik-api version 2.2 supports the new method “setup_done()” (see the last blog article or in the documentation).

Furthermore the API version which has to be provided with the META data (see in the documentation) is no longer an integer but a “major.minor” string. Also various minor fixes and stability improvements have been made.

You can get the new version by running pip install -U mosaik-api.

Special thanks to Stefan!

Author: Okko Nannen

Mosaik 2.2.0 released

The biggest change of this release is that we have added an new optional method “setup_done()” to the mosaik API. This method is called after the models are created and before the first simulation step is executed. This facilitates the configuration of models during scenario building.

Furthermore the API version is no longer an integer but a “major.minor” string and therefore the version validation has changed. Now, the major part has to match with mosaik’s major version and the minor part may be lower or equal to mosaik’s minor version. Also we have updated the versions of the used libraries to the last versions in the requirements file of mosaik. And of course, the documentation has been updated.

You can get the new version by running pip install -U mosaik.

Special thanks to Stefan!

Author: Okko Nannen

Adapter to Odysseus available

Odysseus is an in-memory data stream management system that is designed for online processing of big data in real time. It is possible to filter, correlate, extend, and transform data. We now provide an adapter to connect Odysseus with mosaik, which makes it possible to transfer your simulation data to Odysseus for an easy analysis and online-visualization of your simulation results.

odysseus how it works

Date flow in Odysseus.

You can find more about Odysseus on its feature-site. There is also a short introduction how to use Odysseus to visualize and store data in the mosaik documentation.

There are two easy ways to connect mosaik and Odysseus which are described in a step by step tutorial. The adapter has been developed in the context of a master’s thesis. So if you are German-speaking, you can find detailed information in the thesis.

odysseus visualization

Example demonstrating the visualization of time series in Odysseus.

Author: Jan Sören Schwarz

Second mosaik-Workshop held at AIT, Vienna

The 2nd mosaik-Workshop took place at AIT’s TechBASE in Vienna on April 28-29. It was attended by 20 international participants.

Goal of the workshop was the exchange between developers and users of mosaik. In presentations and hands-on programming sessions the prospective users learned about the features of mosaik and how to connect simulators or how to create simulation scenarios.

Moreover, the event provided an opportunity to learn about different use cases and to get into contact with people with similar interests.

Following the success of the first two workshops similar events will be held semi-annually. The next workshop will be end of the year 2015. More information about that will follow at a later date.

mosaik-workshop at AIT 2015-04-28 (c) Ringhofer

Photo courtesy of Ringhofer

Author: Florian Schlögl

page 1 of 4

older articles »