With the change of China's energy structure, wind, light, solar energy and other new energy gradually connected to the power grid, due to the uncertainty of natural renewable energy, it will make the output of the generator powered by new energy can not be accurately controlled. Therefore, large-scale wind power grid integration will certainly bring influence to the power system, including the influence on the optimal power flow calculation of the power system. As a result, how to deal with the uncertain factors in the power system correctly has become a difficulty in optimal power flow calculation. This paper mainly uses the second-order cone programming relaxation technology and the adjustable robust optimization theory to study the optimal power flow calculation of the power system with wind power grid connection. The economy and conservatism of deterministic optimal power flow model, robust optimization model and adjustable robust optimal power flow model are analyzed.