Aiming at the problem of large power fluctuation in photovoltaic(PV)microgrids,which requires a large amount of energy storage capacity to calm the load,in order to minimize the investment in energy storage,and considering that the V2G has the characteristic of energy storage,the range of decision variables,the constraints of the power balance requirements,and the energy exchange strategy are given.By establishing a cooperative scheduling model of storage battery and V2G in PV microgrid with the dual objectives of economy and grid-connected load fluctuation rate.The particle swarm algorithm is used to compare the economic and safety impacts of four operation modes,namely,no,uncontrolled,transferring and dispatching V2G EV loads,among the three parties:the grid,the microgrid scheduling center and the EV users.Finally,based on the example analysis,the two-level load curves and the economic benefit table under the four modes are solved.The comparative analysis concludes that the introduction of V2G can replace part of the capacity of the battery,so that the photovoltaic microgrid can be further optimized in terms of load peaks and valleys smoothing,tripartite economy and safety.