← Latest papers
💻 computer science

mosaiks are made of tesserae: GUI design for a co-simulation framework

This paper introduces "tesserae," a concept for grouping simulation entities, and presents a graphical user interface (GUI) that leverages this abstraction to enable intuitive, drag-and-drop creation and execution of co-simulation scenarios in the mosaik framework while preserving its flexibility and ensuring consistent data flow.

Original authors: Eike Schulte, Jan Sören Schwarz, Malte Stomberg, Sharaf Alsharif, Danila Valko, Jirapa Kamsamsong

Published 2026-04-16
📖 5 min read🧠 Deep dive

Original authors: Eike Schulte, Jan Sören Schwarz, Malte Stomberg, Sharaf Alsharif, Danila Valko, Jirapa Kamsamsong

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to build a massive, intricate mosaic floor. In the real world, you pick up tiny, individual stones (called tesserae) and place them one by one to create a picture.

Now, imagine that instead of a floor, you are building a simulation of a complex energy system (like a smart city's power grid). In the past, to do this with the software tool called Mosaik, you had to be a professional coder. You had to write long, complex scripts (like a recipe written in a secret language) to tell the computer: "Create 500 solar panels, connect this one to that transformer, and make sure they talk to each other."

If you made a tiny typo in the script, the whole thing could break. It was like trying to build that mosaic floor by writing a computer program to tell a robot exactly where to put every single stone, one by one.

This paper introduces a new way to do it: The "Drag-and-Drop" Mosaic.

Here is the breakdown of their solution using simple analogies:

1. The Problem: The "Script" Barrier

Currently, only computer programmers can easily build these energy simulations. If you are a city planner, an energy expert, or a student, you are locked out because you don't speak "Python" (the coding language used). It's like trying to bake a cake, but the only recipe available is written in a language you don't understand, and you have to measure every grain of sugar by hand.

2. The Solution: "Tesserae" (The Smart Blocks)

The authors realized that in a real mosaic, you don't look at the floor as 10,000 individual stones. You look at it as groups of stones. A "sun" might be made of 50 yellow stones, but you see it as one sun.

They introduced Tesserae for their software.

  • What is a Tessera? Think of it as a Lego block or a smart sticker. Instead of placing one solar panel, you place a "Solar Panel Block" that represents all the solar panels you need.
  • How it works: You drag this block onto your screen. You tell it, "I need 50 of these," and the computer automatically creates all 50 individual panels for you.
  • The Magic: You can connect two blocks together (e.g., connect the "Solar Block" to the "Grid Block"), and the software automatically figures out how to connect all 50 panels to the grid correctly. It ensures the wires don't get crossed and the data flows the right way, without you having to check every single connection manually.

3. The New Tool: The GUI (The Visual Workshop)

The paper describes a new Graphical User Interface (GUI).

  • Before: You were in a dark room with a typewriter, writing code to build your simulation.
  • Now: You are in a bright, visual workshop. You have a toolbox on the left. You drag a "Wind Turbine" block onto the canvas. You drag a "Battery" block next to it. You drag a line between them to connect them.
  • The Result: You can see your whole simulation as a map or a flowchart. If you want to change how many wind turbines you have, you just click the block and change the number. The software updates the whole system instantly.

4. Why is this a big deal?

  • Accessibility: Now, a policy maker or a grid engineer can build complex simulations without needing to be a software engineer. It lowers the barrier to entry.
  • Safety: In the old way, if you forgot to connect two things in your code, the simulation would run but give wrong results. In the new way, the visual blocks make it obvious if something is disconnected.
  • Flexibility: It's not just a toy. It's still powerful enough to handle thousands of components (like a whole country's power grid), but it hides the messy details so you can focus on the big picture.

5. The "Baking" Process

The paper mentions a concept called "baking."

  • Imagine you are designing a cake on a tablet (the GUI). You draw the layers and pick the flavors.
  • When you hit "Start," the software takes your drawing and bakes it into a real, working simulation (the "Orbit").
  • If you change your mind later (e.g., "Actually, let's add more chocolate"), the software knows how to adjust the cake without ruining the whole thing. It's smart enough to reuse the parts that didn't change.

Summary

The authors have taken a powerful but difficult-to-use tool (Mosaik) and wrapped it in a user-friendly, visual interface. They replaced the tedious task of writing code for every single component with drag-and-drop blocks (Tesserae) that represent groups of components.

The Analogy:

  • Old Way: Writing a line-by-line instruction manual for a robot to build a house, brick by brick.
  • New Way: Using a blueprint app where you drag pre-made walls, windows, and doors onto a screen, and the robot builds the house for you.

This makes it possible for non-coders to design, test, and understand complex energy systems, which is crucial for solving real-world problems like climate change and smart grid management.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →