The invention relates to the technical field of
power grid equipment topology, in particular to a
power grid equipment topology node
branch model generation method and
system based on a
graph database, and the method comprises the following steps: the
power grid equipment topology is used as basic data to be imported into the
graph database, and the power grid equipment topology comprises electrical nodes and electrical branches; defining related
object storage node equipment and
branch equipment, and storing all equipment data into a
graph database instance according to a defined point and
edge type; performing weak connection component parallel calculation on the graph
database instance to obtain a corresponding weak connection component number and a corresponding
branch device, searching a start-stop connection electrical node of the branch device, and generating a node branch model; according to the method, data are updated from large to small all the time, invalid
recursion paths are avoided, the number of times of redundancy comparison and
recursion calling is remarkably reduced, the
processing efficiency is improved, and the method has more advantages especially when the node scale is in a million level.