Energy consumption has to be managed by an intelligent grid when it comes to highly populated areas. Smart-grid technologies allow for the integration of renewable energy into the grid as well as energy from distributed sources.