The invention provides a multi-
microgrid energy collaborative optimization method and
system. The method comprises the following steps: S1, establishing an energy
collaborative network topology structure comprising a plurality of
microgrid nodes; s2, constructing an
energy balance model based on the real-time
power demand, the
new energy output prediction and the
power grid dispatching instruction; s3, taking the minimization of the total operation cost of the multi-
microgrid system as a target to form an optimization function; s4, an improved
whale optimization
algorithm is adopted to solve the optimization function, and an
energy scheduling scheme of each microgrid in each time period is obtained; s5, regulating and controlling an
energy storage device, a charging
pile and an adjustable load in each micro-grid according to the
energy scheduling scheme, and coordinating the energy flow direction and the transmission power between the micro-grids; and S6, monitoring the actual operation state and the energy interaction effect of each micro-grid, and when it is detected that the predicted deviation exceeds a preset threshold value, re-executing the steps S2 to S5 based on the real-
time data. According to the invention, energy
collaboration among multiple microgrids can be realized, the
new energy consumption capability is improved, the operation cost is reduced, and the economy and stability of
power grid operation are enhanced.