Patent Document ID: 9573481
Application ID: 14461335
Patent Flag: 1

Claim One:
1. A method for charging an electric vehicle in a power system, comprising: obtaining a first electric vehicle connected to the power system at a dispatching time, and obtaining a rated charging power and a first charging requirement at the dispatching time of each first electric vehicle respectively; determining a first charging period corresponding to the first electric vehicle; determining a forecast period, and obtaining a second electric vehicle to be connected to the power system in the forecast period, in which the forecast period is less than or equal to the first charging period; revising the first charging period to obtain a second charging period, and obtaining a second charging requirement and a maximum charging power of each second electric vehicle at each charging time in the second charging period respectively; establishing a charging model of the first electric vehicle and the second electric vehicle in the second charging period, establishing a first constraint of the charging model according to the rated charging power and the first charging requirement at the dispatching time of each first electric vehicle, and establishing a second constraint of the charging model according to the second charging requirement and the maximum charging power at each charging time in the second charging period of each second electric vehicle; and solving the charging model under the first constraint and the second constraint to obtain an optimal charging power of each electric vehicle at each charging time in the second charging period, and sending the optimal charging power at the dispatching time to each first electric vehicle so as to charge each first electric vehicle under the optimal charging power, wherein, the charging model is expressed according to formula (1), min r n ⁡ ( k ) , n ∈ M t ⋃ L t ⁢ ∑ k ∈ Ω t ⁢ ( ∑ n ∈ M t ⁢ r n ⁡ ( k ) + ∑ n ∈ L t ⁢ r n ⁡ ( k ) + D 0 ⁡ ( k ) ) 2 ⁢ ⁢ s. t. ⁢ ( I ) ⁢ { 0 ≤ r n ⁡ ( k ) ≤ r n ma ⁢ ⁢ x , k ∈ Ω t , n ∈ M t ∑ k ∈ Ω t ⁢ r n ⁡ ( k ) ⁢ Δ ⁢ ⁢ t = R n t , n ∈ M t ⁢ ⁢ ( II ) ⁢ { 0 ≤ r n ⁡ ( k ) ≤ r n _ ^ ⁡ ( k ) , k ∈ Ω t , n ∈ L t ∑ k ∈ Ω t / { t } ⁢ r n ⁡ ( k ) ⁢ Δ ⁢ ⁢ t = R ^ n , n ∈ L t ( 1 ) where t represents the dispatching time, n represents the n th electric vehicle, k represents the k th charging time in the second charging period, r n (k) represents the optimal charging power of the n th electric vehicle at the k th charging time, M t represents a set of the first electric vehicle, L t represents a set of the second electric vehicle, Ω t represents the second charging period, D 0 (k) represents a conventional load power at the k th charging time of the power system, r n max represents the rated charging power of the n th electric vehicle, R n t represents the first charging requirement of the n th electric vehicle at the k th charging time, Δt represents an interval between two charges, {circumflex over (r)} n (k) represents the maximum charging power of the n th electric vehicle at the k th charging time, {circumflex over (R)} n represents the second charging requirement of the n th electric vehicle.