Three defensive lines based automatic batch fault set generation method

The invention provides a classified fault template based on the concept of three lines of defense in a power system, which is generally adopted by power grid construction in China. On the basis, the automatic batch fault set generation is realized and the batch generation with same faults can be realized for a plurality of nodes in the same region or same voltage grade. Compared with a traditional single fault generation method for elements, the automatic batch fault set generation method can be used for saving multiple repeated operations, so that the time for fault generation is greatly saved and the work efficiency is improved. Meanwhile, various fault templates are classified according to the requirement of three lines of defense, thus weak spots and safety and danger points in the operation of the power grid can be found more comprehensively and accurately, and further, references can be provided for safe and stable operation of a large power grid.