%X We study the effects of the allocation of distributed generation on the resilience of power grids. We find that an unconstrained allocation and growth of the distributed generation can drive a power grid beyond its design parameters. In order to overcome such a problem, we propose a topological algorithm derived from the field of Complex Networks to allocate distributed generation sources in an existing power grid. %I Springer %K Distributed generation; AC power model; complex networks; pagerank %T Distributed Generation and Resilience in Power Grids %P 71-79 %B Critical Information Infrastructures Security %O 7th International Workshop, CRITIS 2012, Lillehammer, Norway, September 17-18, 2012. Revised Selected Papers %D 2013 %R 10.1007/978-3-642-41485-5_7 %S Lecture Notes in Computer Science %L eprints1903 %N 7722 %A Antonio Scala %A Mario Mureddu %A Alessandro Chessa %A Guido Caldarelli %A Alfonso Damiano