I. Introduction
Renewable energy sources such as wind energy and solar energy use converter interfaces to replace traditional mechanical switches for grid connection. As its penetration rate in the power system continues to increase, the system inertia continues to decrease, and the primary frequency modulation capability decreases, which is not conducive to system frequency stability [1] –[3]. There are usually two ways to solve this problem: one is to improve the control algorithm of new energy power generation, so that it has inertial support and primary frequency modulation capability; the other is to install the energy storage system (ESS) in the power grid and utilize the charge and discharge characteristics of it to maintain the grid frequency stability. The control methods of the ESS include vector control, droop control, virtual synchronous generator (VSG) control, etc. Among them, VSG has been a research hotspot since it was put forward. VSG realizes grid connection by simulating the characteristics of synchronous generators, so that grid stability analysis and management are consistent with traditional synchronous generators. It is also beneficial to the stability of the control and management of the grid system [4–5].