Virtual power plant (VPP) can effectively integrate geographically dispersed and different types of distributed new energy and customer loads on a large scale, break the boundaries between the generation side and the load side, and improve the reliability of power supply, which is an important means to solve the problem of new energy into the grid. The study first constructed a virtual power plant model within the framework of an electronic scale, takes the minimization of VPP operation cost as the objective function, establishes an economic optimization scheduling model of VPP considering the load of the virtual power plant, and searches for the optimal value of the objective function to realize the economic operation of the virtual power plant by using the HGWO algorithm. The simulation results show that the HGWO algorithm can achieve high economic efficiency and high reliability compared with the GWO method. The fine classification of loads to participate in demand response maximizes the benefits of the virtual power plant in the electricity market, minimizes the peak-to-valley difference in the user curve, and minimizes the user cost.