In this paper, distribution network fault recovery problem is studied. The theoretical knowledge of graph theory is analysed. On this basis, the simple model of distribution network electrical equipment and distribution network tree model are established, and then distribution network connection analysis was studied, which is divided into substation bus connection analysis and feeder analysis. Substations are designated as a number of bus in the former of the connection analysis, and bus connect each other through the feeder."Stack" principle and breadth first search are used to realize the process. Finally, power flow calculation method which is suitable for distribution network is introduced.Mathematical model of distribution network fault recovery is established, including objective function and constraints. The objective is the recovery of the load as much as possible, and constraints are mainly divided into equality constraints and inequality constraints in this paper. On this basis, improved layered heuristic search algorithm for distribution characteristics is proposed in this paper, including adjacency table, heuristic rules, the transfer of secondary load. Each algorithm in detail the implementation process and ideas are studied. The two operation modes of distributed generation in the distribution network is studied.And then, distribution system restoration considering distributed generation is researched.Fault restoration system is designed and implemented. The technical route of the system and design ideas are researched. The role of each module of the system is described.This system is tested in a practical region distribution network and in IEEE69 model. The results show that the method in this paper is effective and reasonable. |