The invention relates to an optimal power flow optimization method of distributed power supplies. The optimal power flow optimization method of the distributed power supplies includes the following steps: A, variable in a distribution network is initialized; B, load flow calculation is carried out on the distribution network; C, lines are judged to be overloaded or not, and active output force and reactive output force of an engine and the distributed power supplies are judged to overstep the boundary or not; D, if constraint equations are all met, a step E is continued, otherwise a step F is continued; E, an objective function is judged to be the minimum or not, if the objective function is the minimum, a step J is continued, otherwise a step F is continued; F, net loss correlation coefficients are corrected; G, a Jacobean matrix and a Hessian matrix are calculated; H, a problem of sequential quadratic programming is formed and the search direction and a step size are solved; I, output force at the position of a balancing node bus and output force of each distributed power supply are corrected, and the step B is jumped to; and J, an optimal power flow result is output. The optimal power flow optimization method of the distributed power supplies provides basis of access capacity calculation for determining the distributed power supplies to be connected in a power distribution network, is simple in calculation and low in complexity, and can rapidly calculate the output force of the distributed power supplies.