The document describes a study using particle swarm optimization to solve the optimal power flow problem in power systems including wind power generators. The study models the intermittent nature of wind power using a Weibull probability distribution and transforms wind speed to power probabilities. The optimal power flow problem is formulated as a mathematical optimization problem minimizing generation costs subject to constraints. Particle swarm optimization is applied to solve the optimal power flow problem, with the algorithm updating particles based on personal and global best positions to iteratively search for the minimum cost solution satisfying all constraints.