| With the increasing prominence of energy and environmental problems,electric vehicles,known for environmental protection and energy saving,have developed rapidly.As one of the current renewable energy application fields,photovoltaic power generation has played a huge role in alleviating environmental pollution and improving economic benefits.Therefore,the use of distributed power sources such as photovoltaic power generation system to charge electric vehicles arises at the historic moment.However,the randomness of photovoltaic power generation and EV charging brings new challenges to the scheduling problem of distribution networks.Therefore,it is necessary to coordinate the dispatching of electric vehicles and photovoltaic output to relieve the dispatching pressure of the distribution network.This thesis first analyzes the research status of smart grid and electric vehicle charge and discharge,which leads to the importance of renewable energy and electric vehicle research.This thesis introduces the basic concept of microgrid and related distributed power technology,and focuses on the analysis of the vehicle-to-grid(V2G)technology of electric vehicles and the influence of disordered charging of electric vehicles on the Grid.From the perspective of day-ahead and real-time optimization,the coordinated scheduling strategy of electric vehicle and photovoltaic output is proposed.Secondly,in view of the uncertainty of photovoltaic output,an orderly charging and discharging strategy of electric vehicles controlled by charging piles is proposed based on scenario analysis method based on the research background of microgrid in the residential area.In the energy control system,an optimization model was established with the objective of load rate,total load variance and microgrid operation cost.Optimization Algorithm Based on Beetle Antennae Search(BSO)was used to obtain the optimal charging load at each time period of the next day,which was converted into the charging and discharging margin at each time period of the power grid and then quantified and sent to the charging pile in the form of probability.At the beginning of the control period of the day,the charging pile generates a charge and discharge plan independently according to the relevant charging information for users to choose by themselves,so as to realize the charge and discharge control of the EV by the charging pile.The simulation results show that this strategy can guide the harmonious grid-connection between electric vehicles and photovoltaic power generation,significantly reduce the peak and valley difference of the total load of the power grid,and is conducive to the stable operation of the power grid.It is suitable for charging and discharging management of large-scale electric vehicles.Finally,taking the business district as the research background,from the perspective of real-time optimization,the clustering scheduling strategy is proposed to improve the calculation speed,so as to meet the precision requirements of real-time optimization.Considering the influence of photovoltaic output and the randomness of EV charging on the microgrid,an optimal scheduling method of microgrid based on state space model predictive control was proposed.Taking the real-time net load of the microgrid as the objective function,the charging and discharging power of electric vehicles was calibrated in real time through rolling optimization.By comparing the equivalent load of three cases and charging and discharging power of electric vehicles,the simulation results show that this strategy can better implement the day-ahead plan. |