mosaik — Blog

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

Co-Simulation Workshop of Energy Informatics Oldenburg and Carnegie Mellon University in Pittsburgh

Seven scientists of the energy informatics groups in Oldenburg (Uni Oldenburg and OFFIS) visited the Carnegie Mellon University in Pittsburgh, PA, USA in order to explore cooperation possibilities. This was funded by the Deutsche Forschungsgemeinschaft (DFG) in form of an initial workshop. The focus of the visit was on intensive discussions about the topics “co-simulation” and “architecture development” – next to the active participation in the annual conference “Carnegie Mellon Conference on the Electricity Industry” on the topic “Testbeds for Smart Grids and Smart Cities: Means of Learning“. On the host side, which was supported by the U.S. National Science Foundation (NSF), ten experts from the working group of Prof. Marija Ilic participated in a very fruitful discussion. Different use cases for further cooperation could be identified, which have already been introduced and furthered by Prof. Sebastian Lehnhoff and Prof. Marija Ilic in the context of the DFG-JST-NSF workshop “Future Power System Architectures and Control Paradigms”, during 20-22 April 2015 in Arlington, VA, USA.

Workshop at CMU 2015-04-02

Author: Florian Schlögl

Mosaik 2.1.3 released

We have improved the process to stop simulators after a simulation run and we did some minor bug fixes. Also we have updated the version of simpy and simpy.io to the last versions in the requirements file of mosaik. This solves the problem that the demo didn’t start. Furthermore the documentation has been updated.

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

Author: Okko Nannen

« newer articles

page 2 of 4

older articles »