This document describes using particle swarm optimization (PSO) to solve the economic load dispatch (ELD) problem of optimizing the operation of six interconnected generating units. ELD aims to minimize total generation costs while satisfying constraints. PSO is applied to find optimal unit outputs that minimize cost, accounting for transmission losses. The proposed PSO approach is compared to genetic algorithms and conventional methods on a test system, showing PSO provides better solutions faster. Key steps of the PSO algorithm for ELD are initializing particles, evaluating fitness at each iteration, and updating personal and global best positions to iteratively improve solutions.