The invention provides a grid-connected and off-grid seamless switching method and
system for a network-constructed
energy storage micro-grid, belongs to the technical field of grid-connected and off-grid switching, and realizes
rapidity and stability of micro-grid
mode switching through multi-stage cooperative control. The method comprises the following steps: a
power grid state real-time monitoring stage: acquiring
power grid short-circuit capacity, impedance angle,
voltage amplitude, frequency and phase parameters through
impedance spectrum analysis and phase-locked loop cooperative detection; a pre-synchronization-
hybrid control-dynamic damping three-stage switching stage; a
steady state maintaining stage: maintaining a
system damping ratio gt through a multi-target cooperative controller; and in the whole switching process, the
bus voltage fluctuation is less than or equal to 2%, and the
frequency deviation is less than or equal to 0.1 Hz. According to the method, MPC pre-synchronization,
hybrid control of dynamic weight,
virtual impedance adaptive compensation and multi-target collaborative optimization are controlled through
model prediction, so that the problems are solved, seamless switching is realized, and the quality of
electric energy is improved.