The presence of distributed generation poses new challenges in the management and operation of electrical grids. Distributed generation (wind, combined heat and power, etc.) already accounts for 20% or more of total generation in some electric utilities and this figure is constantly increasing worldwide. TSOs, DSOs and energy markets need to have some visibility on a large number of small power injections. This paper presents solutions to adapt classical tools and processes so that energy management systems can efficiently supervise and manage distributed generation.