In this paper,we use the double particle swarm optimization algorithm to solve the two models for the coordinated operation of electric vehicle in distribution system with distributed photovoltaic power supply. This paper firstly establishes the mathematical model of the distributed load of photovoltaic and electric vehicle. Then two kinds of cooperative scheduling strategies are given:optimizing the charging position of electric vehicle and optimizing the dispatching strategy of electric vehicle charging time.The optimal model is based on the minimum loss of the distribution system,and the two cases are optimized for the fixed charging address and the fixed address,Monte Carlo method is used to simulate the charging load of electric vehicle. The optimal solution is optimized by using the double particle swarm optimization algorithm. At last, a 33-node system is used as an example to simulate the proposed scheduling strategy,and it is proved that the optimization strategy can stabilize the fluctuation of the power grid and reduce the network loss of the distribution system.