PENDING
Please predict whether this patent is acceptable.PATENT ABSTRACT: A method estimates an optimal power flows (OPF) in a power grid, which is represented as a graph partitioned into virtual sub-graphs, each including at least one bus, and associated with agents that measure local variables and updates consensus variables (CV). The consensus variables of adjacent virtual sub-graphs are exchanged and updated using the agents. An OPF problem is solved for the virtual sub-graphs using the agents based on the CV and the local variables. The exchanging and the solving are iterated until a termination condition is satisfied, when the optimal OPF is outputted for each virtual sub-graph.