With the rapid development of the economy and society,the demand for energy continues to increase.The large-scale use of traditional fossil energy has led to an increasingly serious energy crisis and environmental pollution.Therefore,making full use of the renewable energy and changing the way of energy supply are the keys to alleviating the energy and environmental problems.Microgrid can effectively utilize distributed power generation and promote the grid connection of renewable energy.It is an important technology to effectively solve the energy problems for the intelligent buildings and smart building groups.In this context,this paper mainly studies the microgrid energy dispatching,the microgrid energy trading,and the user demand response for smart buildings.The important energy reserve electric vehicles in the building are included in the microgrid and participate in energy management as distributed energy storage.First,this article explores the impact of electric vehicle charging management on microgrid performance,and proposes a Stackelberg game model for the distributed management of electric vehicle charging behavior in residential areas.By solving the game model,a set of optimal equilibrium strategies is obtained.The simulation results show that the game model can effectively reduce the user’s charging cost,optimize the operation of the microgrid,and create certain benefits for the intermediate retailers.Second,in view of the inconsistency between the peak of renewable energy power generation and the peak of consumer power consumption,we have included the idle electric vehicles as a distributed energy storage in the microgrid system based on the previous electric vehicle charging management model.Electric vehicles can be charged from the microgrid or discharged to the microgrid to regulate the operation of the microgrid and generate revenue for idle electric vehicles.We build a Stackelberg game model of microgrid with electric vehicles and prove that there is a unique Stackelberg equilibrium in the game model.Some simulations are carried out ot verify the superiority of the proposed method.The simulation results show that the model has significantly improved distributed power generation,the user power consumption,and the economic benefits,verifying the superiority of the proposed method.Third,on the basis of the microgrid energy dispatching-demand response model,we use the differences in the time and space distribution of distributed power generation and user power consumption of microgrids in different locations and different building functions to join the multi-microgrids.Energy trading makes both the supply and the demand in the microgrid more balanced.We establish a two-layer master-slave game model,where the upper layer is the electricity market transaction between microgrids and the lower layer is the internal energy dispatch of the microgrid,and it is proved that there exists a unique Stackelberg equilibrium solution for the proposed two-layer games.Through some numerical simulations,the upper-layer game can improve the utilization efficiency of distributed energy and control the power generation cost of the micro-grid.The lower-layer game can optimize the performance of the micro-grid and save electricity costs for users.Last,this paper summarizes the research on energy management methods for smart grid microgrids,and prospects some related research in the future. |