Random-Forest Surrogate Screening of Particle Swarm Optimization for Constrained PSS-AVR Tuning: Keeping Generator Terminal Voltage Within a Safe Margin

Authors:

Abstract
Tuning power system stabilizers (PSSs) and automatic voltage regulators (AVRs) by swarm intelligence requires hundreds of time-domain simulations, and the high gains that favor damping drive the generator terminal voltage towards the limit of the excitation envelope; in this study, the optimum obtained by penalty-based particle swarm optimization (PSO) lies exactly on the safety limit. This paper proposes a surrogate-screened PSO in which two random-forest models, one for the damping cost and one for the post-fault voltage peak, are trained on 120 Latin-hypercube simulations performed in ANDES and are used to screen every candidate before simulator time is spent on it. Candidates whose predicted peak exceeds the limit of 1.190 p.u. by more than a guard of 0.187 p.u., calibrated on hold-out data, are scored by the surrogate alone. The method is verified on the Kundur two-area four-machine system for a three-phase fault at bus 8 and for a line trip that is not used in tuning. The proposed method yields a cost of 0.00315, compared with 0.00283 for penalty-based PSO, with a terminal-voltage peak of 1.159 p.u.; this peak is lower than both the 1.170 p.u. overshoot of the standard PSS and the 1.1902 p.u. peak of the penalty-based solution. The integral of time-weighted absolute error (ITAE) of the rotor speed and of the terminal voltage is reduced by 44% and 23%, respectively, relative to the standard tuning. The screen rejected 18 of 416 swarm positions, all during the early iterations in which the swarm was still dispersed over the search space, and the reported optimum is always a simulator-verified point.