Abstract:As an efficient and flexible energy distribution system, microgrid can integrate renewable energy and traditional power generation resources, optimize energy scheduling and improve the operation efficiency of the system. The complexity and dynamic problems in microgrid scheduling were studied, the structure of microgrid was analyzed, and a microgrid system model including photovoltaic cells, wind turbines, gas turbines, diesel generators and batteries was established. The scheduling was optimized by improving the artificial hummingbird algorithm, and multi-objective optimization was performed in combination with the objective function (including operating cost and environmental governance cost) to ensure that the operating cost and carbon emissions are minimized while meeting the load demand. In terms of algorithm, a hybrid technical strategy was used to improve the basic artificial hummingbird algorithm: the Latin hypercube sampling (LHS) was introduced to improve the diversity of the initial population, which helped to expand the search space and improve the global search ability. The simulated annealing (SA) mechanism was introduced to enhance the ability of the algorithm to jump out of the local optimum, thereby improving the overall convergence performance. The experiment compared different scheduling strategies. The results showed that the improved artificial hummingbird algorithm showed faster convergence speed and higher solution accuracy in the early stage of iteration, which was significantly better than the traditional artificial hummingbird algorithm and particle swarm algorithm. Through practical application in microgrids, the optimized scheduling of microgrids based on the improved artificial hummingbird algorithm has achieved the improvement of energy utilization efficiency and reduced the phenomenon of wind and solar power abandonment. At the same time, it has reduced electricity costs through reasonable time-of-use electricity price strategies and optimized the electricity procurement and sales process. It also has good performance when applied to more complex microgrid environments and has good engineering application prospects.