This project aims to promote a technological infrastructure that offers customised solutions to the energy demand of buildings and, at the same time, provides flexibility to the distribution network to deal with fluctuating supply and demand services.