The invention discloses an optimal
power flow calculation method, device, equipment and medium based on a Kolmogov-Arnode graph neural network, and relates to the technical field of power systems, and the method comprises the steps: obtaining the current operation parameters of a power
system, and constructing a corresponding graph
data structure based on the current operation parameters; inputting the graph
data structure into a preset optimal
power flow analysis model, and performing aggregation
processing on the
voltage state characteristics of the neighborhood nodes based on the injected active power, the injected reactive power and a node
admittance matrix through the preset optimal
power flow analysis model to obtain aggregated node characteristics; and carrying out
nonlinear transformation on the aggregated node features by utilizing a learnable
edge function of a Kolmogov-Arnod network in a preset optimal power flow analysis model to obtain target node feature representation so as to generate and output a generator set optimization output scheme of the power
system. According to the real-time change of the
power grid, a faster decision-making speed is provided for suppressing frequency fluctuation, optimizing
voltage distribution and preventing cascading failures.