One of the issues of reliable performance in the power grid is the existence of electromechanical oscillations between interconnected generators. The number of generators participating in each electromechanical oscillation mode and the frequency oscillation depends on the structure and function of the power grid. In this paper, to improve the transient nature of the network and damping electromechanical fluctuations, a decentralized robust adaptive control method based on dynamic programming has been used to design a stabilizing power system and a complementary static var compensator (SVC) controller. By applying a single line to ground fault in the network, the robustness of the designed control systems is demonstrated. Also, the simulation results of the method used in this paper are compared with controllers whose parameters are adjusted using the PSO algorithm. The simulation results show the superiority of the decentralized robust adaptive control method based on dynamic programming for the stabilizing design of the power system and the complementary SVC controller. The performance of the control method is tested using the IEEE 16-machine, 68-bus, 5-area is verified with time domain simulation.