This paper proposes a modified equilibrium algorithm (MEA) to optimally determine the placement and capacity of wind power plants in a transmission power network with 30 nodes. The paper considers two objectives: minimizing generation cost and active power loss. It evaluates cases of placing one and two wind power plants at predetermined and unknown nodes. The MEA and four other algorithms are applied and compared. Results show that MEA most effectively reduces generation cost and power loss by optimizing wind plant location and capacity. MEA performs better than the other algorithms. The paper concludes that wind power integration can reduce costs and losses when optimally placed, and MEA is effective for solving this optimal power flow problem.