mosaik — Blog

Mosaik 2.6.0 released

The new version 2.6.0 of mosaik is just released.

The print of the simulation progress is now optional. This might be useful when using mosaik in jupyter notebooks and can also reduce the simulation time considerably. To disable it, the following flag has to be used: world.run(END, print_progress=False)

Thanks to Edmund Widl, additional starters to the standard ones python’, ‘cmd’, and ‘connect’ can now be added via external packages.

To get the newest mosaik version, run from within your mosaik virtualenv: pip install -U mosaik

We have also moved our development from Bitbucket to GitLab (https://gitlab.com/mosaik). We will mirror the repositories to Bitbucket for a while, but this might change in the near future. If you want to contribute code or report issues, please use our new GitLab projects instead of Bitbucket from now on.

Author: Thomas Raub, Jan Sören Schwarz

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.

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

« newer articles

page 2 of 5

older articles »