The invention discloses a method for 
islanding microgrid control and optimization based on rotating coordinate 
virtual impedance. Aiming to a fact that the actual microgrids have complicated impedance characteristics, the method for 
islanding microgrid control and optimization based on the rotating coordinate 
virtual impedance includes utilizing the coordinate rotation 
orthogonal transformation to design the coordinate rotation 
virtual impedance, improving the impedance characteristics of the 
microgrid, compensating errors of power distribution and improving power decoupling performance; establishing a complete small-
signal dynamic model of the microgrid, wherein the small-
signal dynamic model comprises distributed energy sources, power 
converters, loads and power grids, and guiding the selection of an optimal value on the basis of the small-
signal dynamic analytical method; and simultaneously, providing a theoretical basis for the optimization selection of 
islanding microgrid 
control parameters by using the small-signal dynamic analytical method, wherein the islanding microgrid 
control parameters comprise droop control coefficients of the power distribution, 
process identifier (PI) parameters of a 
voltage current 
feedback controller, feedforward control coefficients and the like. The microgrid after being subjected to optimization design in an islanded operational mode is capable of effectively achieving power decoupling and improving the accuracy of the power distribution, the stability of the 
system and the dynamic performances.