主权项 |
1. A method for charging electric vehicles in an aggregation, comprising steps of:
by a computer: S1, obtaining a plurality of first charge power curves of a plurality of electric vehicles in the aggregation; S2, obtaining coordinating information of each of the plurality of electric vehicles from the plurality of first charge power curves, wherein step S2 comprises:
obtaining the coordinating information of each of the plurality of electric vehicles from the plurality of first charge power curves and a plurality of ideal charge power curves according to formula (1),Δim-1=∑j=1,j≠iNPjm-1-D(1) where Δim-1 is the coordinating information of the i-th electric vehicle, Pjm-1 is the first charge power curve of the j-th electric vehicle, D is an ideal charge power curve of the aggregation, N is a number of electric vehicles in the aggregation, m is the number of iterations, i, j and m are positive integers greater than 0; S3, obtaining a first feedback charge power curve of each of the plurality of electric vehicles from the coordinating information and a charging cost curve of each of the plurality of electric vehicles, wherein step S3 comprises:
obtaining a first optimal solution of a first quadratic programming according to formula (2), and the first optimal solution for the i-th electric vehicle is the first feedback charge power curve of the i-th electric vehicle,minPim*(0),…,Pim*(T-1)ω1∑k=0T-1(Pim*(k)+Δim-1(k))2+ω2∑k=0T-1ci(k)Pim*(k)s.t.gi(Pim*(0),…,Pim*(T-1))≥0(2) where ω1 and ω2 are weight coefficients, Pim* is the first feedback charge power curve of the i-th electric vehicle, ci is the charging cost curve of the i-th electric vehicle, k is a period of time, T is the number of periods of time, the first feedback charge power curve of the i-th electric vehicle, the coordinating information of the i-th electric vehicle, and the charging cost curve of the i-th electric vehicle respectively comprise a plurality of components on the period of time 0 period of time k, and gi(Pim*(0), . . . , Pim*(T−1))≧0 is a first constraint condition of the first quadratic programming, gi(•)≧0 is a multiple linear vector-valued function of the i-th electric vehicle, which is denoted as
Ei(k+1)=Ei(k)+Pi(k)Δt k=0, . . . ,T−1(a){tilde under (E)}i(k)≦Ei(k)≦{tilde over (E)}i(k) k=1, . . . ,T−1(b){tilde under (P)}i(k)≦Pi(k)≦{tilde over (P)}i(k) k=0, . . . ,T−1(c)Ei(0)=Ei0,Ei(T)=EiT(d) (1) where Ei(k) is a battery energy storage of the i-th electric vehicle in the k-th period of time, {tilde under (E)}i(k) is a lower limit of Ei(k), {tilde over (E)}i(k) is an upper limit of Ei(k), {tilde under (P)}i(k) is a lower limit of Pi(k), {tilde over (P)}i(k) is an upper limit of Pi(k); Ei0 is a battery energy storage of the i-th electric vehicle at the beginning time for charging, EiT is a battery energy storage of the i-th electric vehicle at the end time for charging, Δt is a time difference; S4, for each of the plurality of electric vehicles, judging whether the first feedback charge power curve of the respective electric vehicle is same as the first charge power curve of the respective electric vehicle; S5, if yes, charging the respective electric vehicle in accordance with the first charge power curve of the respective electric vehicle; S6, if no, under the condition that the first feedback charge power curve of the respective electric vehicle is not the same as the first charge power curve of the respective electric vehicle, obtaining a change of the first charge power curve of the respective electric vehicle from the first feedback charge power curve and the first charge power curve of the respective electric vehicle; S7, judging whether the change of the first charge power curve of the respective electric vehicle is 0; S8, if yes, charging the respective electric vehicle in accordance with the first charge power curve of the respective electric vehicle; and S9, if no, obtaining a second charge power curve for the respective electric vehicle from the first feedback charge power curve, the change of the first charge power curve and the first charge power curve of the respective electric vehicle, changing m=m+1, and repeating steps S2 to S9 in accordance with the second charge power curve. |