CoSSMic aims at enabling higher rates for self-consumption (>50%) of decentralised renewable energy production by coordinating the energy production, consumption, and use of storage units of the buildings in a neighbourhood. Therefore, the project will develop an innovative autonomic ICT based system, controlling the energy usage, production, and storage, and facilitating both peer-to-peer collaboration between micro-grids in a neighbourhood, and collaboration with the public power grid.