In Switzerland and many other European countries, the future energy system will rely heavily on renewable energy. This will cause an important reengineering of this part of the electrical infrastructure. Therefore, a massive penetration of distributed power sources and distributed storage devices calls for a new layout and system design of the urban energy system.

The results of our studies will form the basis for the planning such systems and grids. Both the design (planning) of the energy system and the operation will be considered.

The developed microgrid framework consists of independent resource and grid agents communicating with each other. The goal is that the grid operates in a safe state as it can determine the load on its lines and the resources can operate flexibly and independently. This cooperation based, distributed control scheme has a cycle time of 100ms leading to fast corrections form optimal trajectories. With this scheme one can also operate in islanding mode with the ability to connect and disconnect whole districts to the distribution grid.