The main objective of this activity has been the development of a system of active management of aggregate demand (microgrid). The main contribution of this activity is that, unlike the rest of the project, it is focused on those aspects of managing a set of microgrids rather than focusing on technical aspects of individual microgrid level. It has been started the study of the added effect that the introduction of several microgrids may have in distribution networks.

In the first part of this paper is developed an analysis on the main aspects to be considered for the integration of microgrids in distribution networks. It specifically identifies the need of the integration of new agents and functionalities within the distribution network, as well as new market processes.

In the second part of the activity is developed a multi-microgrid environment modeling, used to evaluate the proposed microgrid active management system. It also describes the management algorithms implemented in each of the agents identified, defining the objective function, decision variables and constraints associated with optimization problems  embodied in these algorithms. For the modeling of multi-microgrid environment were taken into account management algorithms developed in the work package PT340. In turn, for the definition of simulation scenarios have been taken into
account the outcome document 41.2 of the work package PT410 of this project.

Finally, in line with market scenarios defined in the document 41.3 of the work package PT410, in the latter part of this activity are carried out a series of simulations, to assess the various economic mechanisms that can be implemented for the active management of microgrids in the short, medium and long term. For the short term, the mechanisms discussed are based on the implementation of different price signals, which has allowed to analyze the behavior of individual and aggregate of microgrids economics in response to signals from the network. For the medium term, it was considered that the distributor is able to deliver active power set points to the microgrid through the i-nodes, thus being a direct management mechanism not based on price. For the long term, it has been evaluated the active management system 
of microgrids described in the first part of the document, being launched in this way a secondary regulation market at the level of the distribution network.

The results of the simulations have shown how the implementation of microgrids in the distribution networks may contribute to the penetration of a greater amount of distributed energy resources, increasing security of supply, and facilitating the integration of new loads to the system as the electric vehicle.

In order to make possible the implementation of the mechanisms discussed in this activity, and the integration of microgrids in distribution networks, it is necessary to review certain aspects of current regulation. The review 
of these aspects is described in 43.1 and 43.2 documents in the work package  PT430 of this project.