In this paper, an improved version of the particle swarm optimization algorithm is proposed for the online tuning of power system stabilizers in a standard four-machine two-area power system to mitigate local and inter-area mode oscillations. Moreover, an innovative objective function is proposed for performing the optimization, which is a weight function of two functions. The first part of fitness is the function of the angular velocity deviation of the generators, and the other part is a function based on the percentage of undershoot and maximum overshoot, and also the damping time of the power system oscillations. The performance of the proposed stabilization method is compared with the genetic algorithm and bacteria foraging algorithm results. Simulations are made in three different power system operation conditions by changing the system load. The simulation results indicate the superiority of the proposed method over the genetic algorithm and bacteria foraging algorithm. In all the scenarios, power system oscillations are damped faster and with lower amplitude when the power system stabilizers coordinate with the proposed optimization method.
Reactive power compensation is one of the practical tools that can be used to improve power systems and reduce costs. These benefits are achieved when the compensators are installed in a suitable place with optimal capacity. This study solves the issues of optimal supply and the purchase of reactive power in the IEEE 30-bus power system, especially when considering voltage stability and reducing total generation and operational costs, including generation costs, reserves, and the installation of reactive power control devices. The modified version of the artificial bee colony (MABC) algorithm is proposed to solve optimization problems and its results are compared with the artificial bee colony (ABC) algorithm, the particle swarm optimization (PSO) algorithm and the genetic algorithm (GA). The simulation results showed that the minimum losses in the power system requires further costs for reactive power compensation. Also, optimization results proved that the proposed MABC algorithm has a lower active power loss, reactive power costs, a better voltage profile and greater stability than the other three algorithms.