A V2G intelligent charging and discharging method for electric vehicles

By constructing the probability density curve of the driving data and dischargeable set of electric vehicles, combined with optimization algorithms, the discharge and charging distribution of electric vehicles are optimized, and the grid voltage fluctuation caused by uneven charging and discharging distribution of electric vehicles is solved, and the benefits of users and the grid are realized and the stable improvement of the power grid.

CN113964854BActive Publication Date: 2024-11-01STATE GRID SICHUAN ECONOMIC RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111327718.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-10
Publication Date
2024-11-01
Estimated Expiration
2041-11-10

AI Technical Summary

Technical Problem

The uneven charging and discharging distribution of electric vehicles leads to large fluctuations in the load of charging piles, affecting the stability of the grid voltage, and traditional optimization methods fail to take into account the interests of users and the grid.

Method used

By obtaining the historical driving data of electric vehicles, a probability density curve is constructed to simulate driving status, a dischargeable set is constructed based on vehicle model information, an internal and external optimization model is established, and a genetic algorithm and multi-objective optimization method is used to optimize the discharge and charging distribution to minimize voltage fluctuations and user charging expenses.

Benefits of technology

The optimal discharge and charging distribution of electric vehicles is achieved, the grid voltage fluctuations are reduced, the user's enthusiasm for discharge is stimulated, and the use of electric vehicles and the grid operation stability are optimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113964854B_ABST
    Figure CN113964854B_ABST
Patent Text Reader

Abstract

The invention discloses an electric vehicle V2G intelligent charging and discharging method, which relates to the technical field of power systems. An inner optimization model considers the loss of a discharge battery, sets a discharge benefit constraint, constructs a dischargeable set, performs flow calculation for different discharge situations, takes the minimum voltage fluctuation as the objective function, and adopts an optimization algorithm to solve and obtain the optimal discharge number; an outer optimization model adds a low voltage constraint, takes the minimum voltage fluctuation and the minimum total user charging cost as the objective function, independently encodes the charging start time and the charging duration, and adopts a multi-objective optimization algorithm to solve, thereby obtaining the optimal charging distribution of each electric vehicle. Under the premise of considering the battery loss of the electric vehicle, the inner layer of the invention provides a discharge guidance price to the power grid, thereby fully stimulating the enthusiasm of users to discharge; the outer layer fully considers the influence of the charging distribution of electric vehicles on the power grid, thereby reducing the voltage fluctuation of the distribution network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and more specifically, to a V2G intelligent charging and discharging method for electric vehicles. Background Art

[0002] In November 2020, the sales and ownership of electric vehicles have been growing rapidly in recent years. In 2020, the national electric vehicle ownership was 4 million, and as of the first quarter of 2021, the national electric vehicle ownership has reached 5.51 million. With the increase in the number of electric vehicles, the disorderly charging of electric vehicles will inevitably cause the load fluctuations of the power grid to intensify, which will lead to intensified voltage fluctuations in the power grid and even affect the normal and stable operation of the power grid. According to research, cars are only driving 5% of the time in a day, and about 90% are idle in a parking state, which provides the possibility for the implementation of V2G technology. V2G technology utilizes the source-load duality of electric vehicles. When the power grid load is high, the power supply characteristics of electric vehicles are used to release electrical energy. On the contrary, the load characteristics of electric vehicles are used to absorb electrical energy.

[0003] Since electric vehicles often cause great losses to the battery during the discharge process, and the replacement cost of the battery is relatively high, it is unreasonable to only consider the benefits of electric vehicles' "high storage and low generation" when analyzing user benefits. In addition, when analyzing the impact of V2G technology on the power grid, traditional optimization methods mostly optimize the minimum mean square error of the load fluctuation of the charging station. When large-scale electric vehicles are distributedly connected to the power grid, the voltage of the power grid will drop, thus affecting the normal operation of the power grid.

[0004] Therefore, it is necessary to propose a simple, convenient and easily expandable method for charging and discharging electric vehicles while taking into account the interests of both users and the power grid. Summary of the invention

[0005] The purpose of the present invention is to provide an electric vehicle V2G intelligent charging and discharging method to solve the problem that the existing electric vehicle charging and discharging distribution is uneven, resulting in large load fluctuations on the charging pile, causing the grid voltage to drop, and affecting the normal operation of the grid.

[0006] The above technical objectives of the present invention are achieved through the following technical solutions:

[0007] An electric vehicle V2G intelligent charging and discharging method comprises the following steps:

[0008] Step 1: Obtain the historical driving data of electric vehicles, and construct the probability density curve of the daily driving mileage, the last arrival time and the initial departure time of the electric vehicle based on the historical driving data;

[0009] Step 2: Obtain the number of electric vehicles N in the target area, simulate the driving status of N electric vehicles through the probability density curve to obtain the driving data of N electric vehicles, and obtain the remaining charge state of the vehicle when it arrives home based on the model information of the electric vehicle;

[0010] Step 3: Construct the electric vehicle discharge set based on the driving data of N electric vehicles and the remaining charge state at the time of arrival;

[0011] Step 4: Establish an inner optimization model including the number of electric vehicles, discharge electricity price, voltage fluctuation and user discharge income, solve the inner optimization model, and obtain the optimal discharge electricity price and discharge distribution of electric vehicles;

[0012] Step 5: Establish an outer optimization model that includes the start time of charging, charging time, voltage fluctuation and the minimum total charging expenditure of users, and solve the outer optimization model to obtain the optimal charging distribution of electric vehicles.

[0013] Compared with the prior art, the present invention constructs a probability density curve of electric vehicle driving data based on the historical driving data of electric vehicles, simulates the driving data of electric vehicles in a region through the probability density curve, calculates the remaining power of the electric vehicle when arriving home based on the driving data and the model information of the electric vehicle, constructs a dischargeable set of electric vehicles based on the driving data and the remaining charge state when arriving home, and obtains the number of electric vehicles that have actually discharged based on the dischargeable set.

[0014] One of the variables to be optimized in the inner optimization model is the number of electric vehicles that actually discharge. Then, a corresponding number of electric vehicles are selected from the dischargeable set to participate in the discharge process. The genetic optimization algorithm is used to solve the inner optimization model, update the end time of discharge of all electric vehicles and the remaining charge state when arriving home, and obtain the optimal discharge distribution of electric vehicles, which is then transmitted to the outer optimization model for optimization. Therefore, the inner optimization model gives the power grid a discharge guidance price under the premise of considering the battery loss of electric vehicles, thereby fully stimulating the enthusiasm of users to discharge.

[0015] The outer optimization model optimizes the charging of electric vehicles based on the end of discharge time of all electric vehicles and the remaining charge state when arriving home obtained by the inner optimization model, with the goal of minimizing voltage fluctuation and minimizing total charging expenditure of users, so as to meet the owners' travel needs for the next day and obtain the optimal charging distribution of electric vehicles. The outer layer fully considers the impact of electric vehicle charging distribution on the power grid to reduce the voltage fluctuation of the power grid.

[0016] Furthermore, in step 2, the calculation formula for obtaining the remaining charge state of the electric vehicle when it arrives home is: Among them, SOC o , SOC dThey represent the remaining charge state of the electric vehicle at the time of leaving home and arriving home, respectively. x Indicates daily mileage, W 100 It represents the power consumption of electric vehicles per 100 kilometers, and C represents the battery capacity of electric vehicles.

[0017] Furthermore, in step 3, constructing the dischargeable set of the electric vehicle includes the following steps:

[0018] Step 3.1: Get the time when the electric vehicle can start discharging, and the calculation formula is: Among them, represents the start time of the regional load peak, represents the time when the i-th electric car arrives home;

[0019] Step 3.2: Get the discharge time of the electric vehicle, which is calculated as follows: Among them, SOC d,i It represents the remaining state of charge when the i-th electric car arrives home, SOC L,i represents the lower limit of the state of charge set for the i-th electric vehicle, C i , η d,i 、p d,i They represent the battery capacity, discharge efficiency and discharge power of the i-th electric vehicle respectively, T SOCdi,SOCLi Indicates that the i-th electric vehicle is from SOC d,i Discharge to SOC L,i The duration used, x2 represents the end time of the regional load peak, represents the time when the i-th electric vehicle starts discharging, and represents the discharge time of the i-th electric vehicle;

[0020] Step 3.3: Update and extend the dischargeable time of the electric vehicle in step 3.2 to obtain the actual dischargeable time of the electric vehicle;

[0021] Step 3.4: If the actual discharge time of the electric vehicle in step 3.3 is greater than zero, the i-th electric vehicle is determined to be dischargeable; otherwise, it is not dischargeable; repeat the generation steps from step 3.1 to step 3.3 to generate a dischargeable set L = (L1L2…L n )(1≤n≤N), n represents the number of electric vehicles that can be discharged, and any element L in L i Indicates L i =(t d,i ,T' d,i )(1≤i≤n).

[0022] Furthermore, in step 3.3, the calculation formula for the actual discharge time of the electric vehicle is: Among them, SOC de,i represents the discharge T of the i-th electric vehicle d,i The remaining state of charge after a certain period of time, SOC S,iT represents the initial charge state of the i-th electric vehicle when it is expected to travel the next day, S ' OCdei,SOCSi Indicates that the i-th electric vehicle is from SOC de,i Charge to SOC S,i The time required, η c,i 、p c,i They represent the charging efficiency and charging power of the i-th electric vehicle, t s,i represents the next day's travel time of the i-th electric car, T' d,i It represents the actual discharge time of the i-th electric vehicle after updating.

[0023] Furthermore, in step 4, the inner layer optimization model is established and implemented as follows:

[0024] The number of electric vehicles participating in V2G discharge is obtained according to the dischargeable set of electric vehicles, and the number of electric vehicles participating in V2G discharge and the discharge electricity price are used as variables to be optimized;

[0025] The voltage of the charging pile node is obtained by calculating the basic load power flow of the charging station node, with the minimum voltage fluctuation as the objective function;

[0026] Set the user's discharge revenue, taking the user's discharge revenue as a constraint.

[0027] Furthermore, the calculation formula for user discharge revenue is: Among them, D DOD Indicates the depth of discharge, a and b are constants, L(D DOD ) indicates that the discharge depth is D DOD Battery cycle number under the condition, C bat Represents the battery purchase cost, Indicates that the battery is at a discharge depth of D DOD Discharge unit power loss in this case, A d , A L Represent the discharge price and the minimum charge price, F i It represents the low-storage and high-generation transfer benefit of the i-th electric car.

[0028] Furthermore, in step 5, solving the outer optimization model includes the following steps:

[0029] Step 5.1: According to the optimal discharge distribution of the electric vehicle, obtain the end time of the electric vehicle discharge and the remaining state of charge;

[0030] Step 5.2: The time when the electric vehicle starts charging and the charging time are taken as the variables to be optimized;

[0031] Step 5.3: The time when the electric vehicle starts charging is encoded using a real integer, and the charging time of the electric vehicle is encoded using a binary Gray code;

[0032] Step 5.4: Taking the minimum total charging expenditure of users and the minimum voltage fluctuation as the objective function;

[0033] Step 5.5: Using the coding method of step 5.3, the two objective functions in step 5.4 are optimized and solved by multi-objective optimization method to obtain the optimal charging distribution of electric vehicles.

[0034] Furthermore, in step 5.1, the calculation formula for the discharge end time and the remaining state of charge is: Among them, t de,i is the discharge end time of the i-th electric vehicle, SOC de,i is the remaining state of charge of the i-th electric vehicle at the end of discharge.

[0035] Furthermore, in step 5.2, the variable X to be optimized is composed of the charging start time and charging duration of N electric vehicles, with a total of 2N elements. The calculation formula of the variable to be optimized is: Among them, t i 、T i They represent the time when the i-th electric vehicle starts charging and the charging time, t de,i ,t s,i They represent the time when the i-th electric car ends discharging and leaves home, T S ' OCdei,SOCSi 、T S ' OCdei,1 They represent the i-th electric vehicle from SOC de The time required to charge to the desired SOC and full charge state.

[0036] Furthermore, in step 5.4, the function expression for minimizing the total charging expenditure of the user and minimizing the voltage fluctuation is: Among them, f1 and f2 represent the total expenditure of all users and the total voltage fluctuation of the node, N is the total number of electric vehicles, and p i,c is the charging power of the i-th electric vehicle, t i,j is the charging time of the i-th electric vehicle in the time period [j, j+1], A c,j is the charging electricity price at time j, The battery of the i-th electric vehicle is discharged at a depth of D DOD Discharge unit power price loss in this case, T d,i is the discharge time of the i-th electric vehicle, p i,d is the discharge power of the i-th electric vehicle, A d is the discharge price, U tis the magnitude of the voltage vector of the charging station node at time t, where t represents the time.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention discloses an electric vehicle V2G intelligent charging and discharging method. The inner optimization model considers the discharge battery loss, sets the discharge benefit constraint, constructs the dischargeable set, performs the power flow calculation for different discharge conditions, takes the minimum voltage fluctuation as the objective function, adopts the optimization algorithm to solve and obtain the optimal discharge distribution number and provide guidance for the setting of the discharge electricity price; the outer optimization model adds the low voltage constraint, takes the minimum voltage fluctuation and the minimum total user charging cost as the objective function, independently encodes the charging start time and the charging duration, adopts the multi-objective optimization algorithm to solve, and thus obtains the optimal charging distribution of each electric vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0040] Figure 1 A flow chart of a charging and discharging method provided by an embodiment of the present invention;

[0041] Figure 2 A flow chart for generating a dischargeable set of an electric vehicle provided by an embodiment of the present invention;

[0042] Figure 3 A Monte Carlo simulation result diagram provided by an embodiment of the present invention;

[0043] Figure 4 A diagram showing the construction result of a dischargeable set provided by an embodiment of the present invention;

[0044] Figure 5 A graph showing the fluctuation of charging station node voltage and discharge electricity price provided by an embodiment of the present invention;

[0045] Figure 6 A diagram of the remaining charge state after discharge provided by an embodiment of the present invention;

[0046] Figure 7 An outer layer optimized Pareto front solution curve diagram provided by an embodiment of the present invention;

[0047] Figure 8 The minimum state of charge in the Pareto frontier solution set provided by an embodiment of the present invention;

[0048] Fig. 9 This is an example diagram of the IEEE 33-node standard network. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0050] It should be noted that the parameters set in this embodiment are only for the convenience of describing the present invention and simplifying the description, and are not intended to indicate or imply that the electric vehicle of this model should be adopted or that this calculation parameter must be selected, and therefore cannot be understood as a limitation of the present invention. When a component is referred to as being "fixed to" or "set on" another component, it may be directly on the other component or indirectly on the other component. When a component is referred to as being "connected to" another component, it may be directly or indirectly connected to the other component.

[0051] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0052] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0053] Example

[0054] like Figure 1 As shown, a V2G intelligent charging and discharging method for an electric vehicle comprises the following steps:

[0055] Step 1: Obtain the historical driving data of electric vehicles, and construct the probability density curve of the electric vehicle's daily mileage, the last arrival time at home, and the initial departure time based on the historical driving data.

[0056] Specifically, based on the driving habits of electric car owners, the historical driving data of electric cars is collected to construct probability density curves of the electric car's daily mileage, the last arrival time at home, and the initial departure time.

[0057] Step 2: If Figure 1As shown, the number of electric vehicles N in the target area is obtained, and the driving status of N electric vehicles is simulated by the probability density curve to obtain the driving data of N electric vehicles. Here, Monte Carlo simulation is used to simulate the probability density curve, and the remaining charge state of the car when the car arrives home is obtained according to the model information of the electric car.

[0058] Specifically, based on the development scale of electric vehicles in the region, the number of electric vehicles N is predicted, and the travel behavior of N electric vehicles is simulated through the probability density curve constructed in step 1. By simulating the travel characteristics of 200 electric vehicles, the travel characteristics of each electric vehicle are composed of three factors, namely, the time of arrival at home, the time of departure from home, and the daily mileage. The simulation results are as follows: Figure 3 shown.

[0059] Step 3: Construct the electric vehicle discharge set based on the driving data of N electric vehicles and the remaining charge state when arriving home.

[0060] Specifically, a set of dischargeable times is established based on the driving data of the N electric vehicles and the remaining charge state of the electric vehicles when they arrive home. The actual discharge time of the N electric vehicles can be obtained based on the dischargeable set, which is used to construct the inner optimization model for the next step.

[0061] Step 4: Establish an inner optimization model including the number of electric vehicles, discharge electricity price, voltage fluctuation and user discharge revenue, solve the inner optimization model, and obtain the optimal discharge electricity price and discharge distribution of electric vehicles.

[0062] Specifically, Figure 1 As shown in the figure, an inner optimization model is established with the number of electric vehicles and discharge electricity price as variables, the minimum voltage fluctuation as the goal, and the electric vehicle discharge income as the constraint. The optimal discharge electricity price and the actual discharge number of electric vehicles are obtained by solving the inner optimization model through genetic algorithm. Among them, the optimal discharge electricity price provides guidance for the electricity price specification to solve the problem that it is unreasonable to only consider the income of electric vehicles with "high storage and low generation". According to the number of electric vehicles participating in the actual discharge, the end time of discharge of these electric vehicles and the remaining state of charge after the end of discharge are calculated.

[0063] Step 5: Establish an outer optimization model that includes the start time of charging, charging time, voltage fluctuation and the minimum total charging expenditure of users, and solve the outer optimization model to obtain the optimal charging distribution of electric vehicles.

[0064] Specifically, Figure 1 As shown in the figure, the outer optimization model optimizes the charging of electric vehicles according to the end time of electric vehicle discharge and the remaining charge state after the end of discharge. The sampling multi-objective genetic algorithm solves the objective function of the outer optimization model with the minimum voltage fluctuation and the minimum total user expenditure as the goals to obtain the optimal charging distribution of electric vehicles.

[0065] The following describes the feasible execution methods of each step of the routing method provided in the embodiment of the present application.

[0066] Based on the above embodiment, in a further embodiment of the present application, in step 2, the calculation formula for obtaining the remaining charge state of the electric vehicle when it arrives home is: Among them, SOC o , SOC d They represent the remaining charge state of the electric vehicle at the time of leaving home and arriving home, respectively. x Indicates daily mileage, W 100 It represents the power consumption of electric vehicles per 100 kilometers, and C represents the battery capacity of electric vehicles.

[0067] Specifically, by the calculation formula Calculate the remaining state of charge of the electric car when it arrives home, which is simply the amount of power left in the car battery.

[0068] Based on the above embodiments, in a further embodiment of the present application, Figure 2 As shown, in step 3, constructing the dischargeable set of the electric vehicle includes the following steps:

[0069] Step 3.1: Get the time when the electric vehicle can start discharging, and the calculation formula is: Among them, represents the start time of the regional load peak, represents the time when the i-th electric car arrives home;

[0070] Step 3.2: Get the discharge time of the electric vehicle, which is calculated as follows: Among them, SOC d,i It represents the remaining state of charge when the i-th electric car arrives home, SOC L,i represents the lower limit of the state of charge set for the i-th electric vehicle, C i , η d,i 、p d,i They represent the battery capacity, discharge efficiency and discharge power of the i-th electric vehicle respectively, T SOCdi,SOCLi Indicates that the i-th electric vehicle is from SOC d,i Discharge to SOC L,i The duration, x2 represents the end time of the regional load peak, t d,i represents the time when the i-th electric car starts discharging, T d,i represents the discharge time of the i-th electric vehicle;

[0071] Step 3.3: Update and extend the dischargeable time of the electric vehicle in step 3.2 to obtain the actual dischargeable time of the electric vehicle;

[0072] Step 3.4: If the actual discharge time of the electric vehicle in step 3.3 is greater than zero, the i-th electric vehicle is determined to be dischargeable; otherwise, it is not dischargeable; repeat the generation steps from step 3.1 to step 3.3 to generate a dischargeable set L = (L1 L2… L n )(1≤n≤N), n represents the number of electric vehicles that can be discharged, and any element L in L i Indicates L i =(t d,i ,T' d,i )(1≤i≤n).

[0073] Specifically, in this embodiment, all electric vehicles are BYD E6 models, and the model parameters are shown in the following Table 1:

[0074] Table 1. Electric vehicle parameter settings

[0075] Model BYD E6 Charging power (kW) 7 Battery capacity (kWh) 82 Discharge power (kW) 7 Battery cost (yuan) 114800 Charging efficiency 0.9 Power consumption per 100 km (kWh / 100km) 20.5 Discharge efficiency 0.9

[0076] The generation process of the dischargeable set of electric vehicles is as follows Figure 2 As shown in Table 1, the lower limit state of charge is set to 0.2, the expected state of charge when leaving home is 0.8, and the load peak period is [19:00, 23:00]. The vehicle model parameters are shown in Table 1, and the construction results of the dischargeable set are shown in Figure 4 As shown, Figure 4 The upper curve indicates the start time of discharge, and the lower curve indicates the discharge duration.

[0077] On the basis of the above embodiment, in a further embodiment of the present application, in step 3.3, the calculation formula for the actual discharge time of the electric vehicle is: Among them, SOC de,i represents the discharge T of the i-th electric vehicle d,i The remaining state of charge after a certain period of time, SOC S,i represents the initial charge state of the i-th electric vehicle when it is expected to travel the next day, T' SOCdei,SOCSi Indicates that the i-th electric vehicle is from SOC de,i Charge to SOC S,i The time required, η c,i 、p c,i They represent the charging efficiency and charging power of the i-th electric vehicle, t s,i represents the next day's travel time of the i-th electric car, T' d,i It represents the actual discharge time of the i-th electric vehicle after updating.

[0078] Specifically, the actual dischargeable time is calculated by this formula to ensure the travel needs of the electric vehicle the next day, because an electric vehicle can run 150 kilometers on a full charge. Therefore, after a charge, the electric vehicle may be used for many days. Therefore, step 3.4 in the previous embodiment performs a loop iterative calculation to obtain the final dischargeable set.

[0079] On the basis of the above embodiment, in a further embodiment of the present application, in step 4, establishing the inner layer optimization model is specifically implemented as follows:

[0080] The number of electric vehicles participating in V2G discharge is obtained according to the dischargeable set of electric vehicles, and the number of electric vehicles participating in V2G discharge and the discharge electricity price are used as variables to be optimized;

[0081] The voltage of the charging pile node is obtained by calculating the basic load power flow of the charging station node, with the minimum voltage fluctuation as the objective function;

[0082] Set the user's discharge revenue, taking the user's discharge revenue as a constraint.

[0083] Specifically, the inner optimization takes the number of discharged electric vehicles and the discharge electricity price as the variables to be optimized, the minimum voltage fluctuation as the optimization target, sets the discharge benefit constraint, and uses the optimization algorithm to solve; in this embodiment, the following is adopted: Fig. 9 The calculation is performed on the IEEE 33-node standard network example shown in the figure. The 33 nodes are charging station nodes in the area. The node load fluctuation curve adopts the normalized daily load fluctuation of a certain area. The electricity price is set to A when the load is low. L = 0.31228 yuan / kWh, and the genetic algorithm is used for optimization. The daily load changes in a certain area of ​​Chongqing are shown in Table 2:

[0084] Table 2. Daily load changes in a certain area of ​​Chongqing

[0085]

[0086]

[0087] The node voltage and discharge price of the charging station change with the number of discharged electric vehicles. Figure 5 As shown in the figure, the remaining charge state of all electric vehicles after discharge at the optimal discharge number is as follows: Figure 6 shown.

[0088] On the basis of the above embodiment, in a further embodiment of the present application, the calculation formula of the user's discharge benefit is: Among them, D DOD Indicates the depth of discharge, a and b are constants, L(D DOD ) indicates that the discharge depth is D DODBattery cycle number under the condition, C bat Represents the battery purchase cost, Indicates that the battery is at a discharge depth of D DOD Discharge unit power loss in this case, A d , A L Represent the discharge price and the minimum charge price, F i It represents the low-storage and high-generation transfer benefit of the i-th electric car.

[0089] Based on the above embodiment, in a further embodiment of the present application, in step 5, solving the outer layer optimization model includes the following steps:

[0090] Step 5.1: According to the optimal discharge distribution of the electric vehicle, obtain the end time of the electric vehicle discharge and the remaining state of charge;

[0091] Step 5.2: The time when the electric vehicle starts charging and the charging time are taken as the variables to be optimized;

[0092] Step 5.3: The time when the electric vehicle starts charging is encoded using a real integer, and the charging time of the electric vehicle is encoded using a binary Gray code;

[0093] Step 5.4: Taking the minimum total charging expenditure of users and the minimum voltage fluctuation as the objective function;

[0094] Step 5.5: Using the coding method of step 5.3, the two objective functions in step 5.4 are optimized and solved by multi-objective optimization method to obtain the optimal charging distribution of electric vehicles.

[0095] Specifically, in step 5.3, since the range of fluctuations of the time when the electric vehicle starts charging is relatively large, while the range of fluctuations of its charging time is relatively small, independent encoding methods are adopted for the two, the first N optimization variables are encoded in real integer encoding, and the last N optimization variables are encoded in binary Gray code.

[0096] In step 5.5, the coding method proposed in S5.3 is adopted to optimize and solve the objective function proposed in S5.4 with a multi-objective optimization algorithm, thereby obtaining a set of optimal electric vehicle charging distribution Pareto frontier solution sets.

[0097] In this embodiment, the electricity price change during the day adopts the peak-to-valley difference electricity price of a charging station in the Sichuan State Grid during the flat water period, and its change is shown in Table 3:

[0098] Table 3. Peak-to-valley price difference of a charging station of the State Grid in Sichuan Province (unit: yuan / kWh)

[0099]

[0100] Set the number of iterations to 500, and the Pareto frontier solution set is as follows: Figure 7 As shown in the figure, F1 is the total expenditure of the user, F2 is the mean square error of the voltage fluctuation at the charging station node, and the multi-chromosome non-dominated sorting genetic algorithm is used for optimization and solution. The minimum state of charge of each electric vehicle at the time of leaving home is as follows: Figure 8 Shown

[0101] Based on the above embodiment, in a further embodiment of the present application, in step 5.1, the calculation formula for the discharge end time and the residual charge state is: Among them, t de,i is the discharge end time of the i-th electric vehicle, SOC de,i is the remaining state of charge of the i-th electric vehicle at the end of discharge.

[0102] On the basis of the above embodiment, in a further embodiment of the present application, in step 5.2, the variable X to be optimized is composed of the charging start time and charging duration of N electric vehicles, with a total of 2N elements, and the calculation formula of the variable to be optimized is: Among them, t i , T i They represent the time when the i-th electric vehicle starts charging and the charging time, t de,i ,t s,i They represent the time when the i-th electric car finishes discharging and leaves home, T' SOCdei,SOCSi , T' SOCdei,1 They represent the i-th electric vehicle from SOC de The time required to charge to the desired SOC and full charge state.

[0103] Based on the above embodiment, in a further embodiment of the present application, in step 5.4, the function expression for minimizing the total charging expenditure of the user and minimizing the voltage fluctuation is: Where f1 and f2 represent the total expenditure of all users and the total voltage fluctuation of the node, N is the total number of electric vehicles, and p i,c is the charging power of the i-th electric vehicle, t i,j is the charging time of the i-th electric vehicle in the time period [j, j+1], A c,j is the charging electricity price at time j, The battery of the i-th electric vehicle is discharged at a depth of D DOD Discharge unit power price loss in this case, T d,i is the discharge time of the i-th electric vehicle, p i,d is the discharge power of the i-th electric vehicle, A d is the discharge price, U t is the magnitude of the voltage vector of the charging station node at time t, where t represents the time.

[0104] Based on the above technical solutions, it can be concluded that the present application constructs a probability density curve of electric vehicle driving data based on the historical driving data of electric vehicles, simulates the driving data of electric vehicles in a region through the probability density curve, calculates the remaining power of the electric vehicle when arriving home based on the driving data and the model information of the electric vehicle, constructs a dischargeable set of electric vehicles based on the driving data and the remaining charge state when arriving home, and obtains the number of electric vehicles that have actually discharged based on the dischargeable set.

[0105] One of the variables to be optimized in the inner optimization model is the number of electric vehicles that actually discharge. Then, a corresponding number of electric vehicles are selected from the dischargeable set to participate in the discharge process. The genetic optimization algorithm is used to solve the inner optimization model, update the end time of discharge of all electric vehicles and the remaining charge state when arriving home, and obtain the optimal discharge distribution of electric vehicles, which is then transmitted to the outer optimization model for optimization. Therefore, the inner optimization model gives the power grid a discharge guidance price under the premise of considering the battery loss of electric vehicles, thereby fully stimulating the enthusiasm of users to discharge.

[0106] The outer optimization model optimizes the charging of electric vehicles based on the end of discharge time of all electric vehicles and the remaining charge state when arriving home obtained by the inner optimization model, with the goal of minimizing voltage fluctuation and minimizing total charging expenditure of users, so as to meet the owners' travel needs for the next day and obtain the optimal charging distribution of electric vehicles. The outer layer fully considers the impact of electric vehicle charging distribution on the power grid to reduce the voltage fluctuation of the power grid.

[0107] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A V2G intelligent charging and discharging method for electric vehicles, characterized in that: Includes steps: Step 1: Obtain the historical driving data of electric vehicles, and construct the probability density curve of the daily driving mileage, the last arrival time and the initial departure time of the electric vehicle based on the historical driving data; Step 2: Obtain the number of electric vehicles N in the target area, simulate the driving status of N electric vehicles through the probability density curve to obtain the driving data of N electric vehicles, and obtain the remaining charge state of the vehicle when it arrives home based on the model information of the electric vehicle; Step 3: Construct the electric vehicle discharge set based on the driving data of N electric vehicles and the remaining charge state at the time of arrival; Step 4: Establish an inner optimization model including the number of electric vehicles, discharge electricity price, voltage fluctuation and user discharge income, solve the inner optimization model, and obtain the optimal discharge electricity price and discharge distribution of electric vehicles; the establishment of the inner optimization model is specifically implemented as follows: according to the dischargeable set of electric vehicles, the number of electric vehicles participating in V2G discharge and the discharge electricity price are taken as the variables to be optimized; the voltage of the charging pile node is calculated by the basic load power flow of the charging station node, and the minimum voltage fluctuation is taken as the objective function; the user discharge income is set, and the user discharge income is taken as the constraint condition; Step 5: Establish an outer optimization model including the start time of charging, charging time, voltage fluctuation and minimum total user charging expenditure, and solve the outer optimization model to obtain the optimal charging distribution of the electric vehicle; wherein, solving the outer optimization model includes the following steps: Step 5.1: According to the optimal discharge distribution of the electric vehicle, obtain the end time of discharge of the electric vehicle and the remaining state of charge; Step 5.2: Take the start time of charging of the electric vehicle and the charging time as the variables to be optimized; Step 5.3: The start time of charging of the electric vehicle is coded with real integers, and the charging time of the electric vehicle is coded with binary Gray code; Step 5.4: Take the minimum total user charging expenditure and the minimum voltage fluctuation as the objective function; Step 5.5: Using the encoding method of step 5.3, the two objective functions in step 5.4 are optimized and solved by the multi-objective optimization method to obtain the optimal charging distribution of the electric vehicle.

2. The V2G intelligent charging and discharging method for electric vehicles according to claim 1, characterized in that: In step 2, the calculation formula for obtaining the remaining charge state of the electric vehicle when it arrives home is: Among them, SOC o , SOC d They represent the remaining charge state of the electric vehicle at the time of leaving home and arriving home, respectively. x Indicates daily mileage, W 100 It represents the power consumption of electric vehicles per 100 kilometers, and C represents the battery capacity of electric vehicles.

3. The V2G intelligent charging and discharging method for electric vehicles according to claim 1, characterized in that: In step 3, constructing the dischargeable set of the electric vehicle includes the following steps: Step 3.1: Get the time when the electric vehicle can start discharging, and the calculation formula is: Among them, x1 represents the start time of the regional load peak, t a,i represents the time when the i-th electric car arrives home; Step 3.2: Get the discharge time of the electric vehicle, which is calculated as follows: Among them, SOC d,i It represents the remaining state of charge when the i-th electric car arrives home, SOC L,i represents the lower limit of the state of charge set for the i-th electric vehicle, C i , η d,i 、p d,i They represent the battery capacity, discharge efficiency and discharge power of the i-th electric vehicle respectively, T SOCdi,SOCLi Indicates that the i-th electric vehicle is from SOC d,i Discharge to SOC L,i The duration, x2 represents the end time of the regional load peak, t d,i represents the time when the i-th electric car starts discharging, T d,i represents the discharge time of the i-th electric vehicle; Step 3.3: Update and extend the dischargeable time of the electric vehicle in step 3.2 to obtain the actual dischargeable time of the electric vehicle; Step 3.4: If the actual discharge time of the electric vehicle in step 3.3 is greater than zero, the i-th electric vehicle is determined to be dischargeable; otherwise, it is not dischargeable; repeat the generation steps from step 3.1 to step 3.3 to generate a dischargeable set L = (L1 L2…L n ), 1≤n≤N, n represents the number of electric vehicles that can be discharged, any element L in L i Indicates L i =(t d,i ,T d ' ,i ), 1≤i≤n.

4. The V2G intelligent charging and discharging method for electric vehicles according to claim 3, characterized in that: In step 3.3, the calculation formula for the actual discharge time of the electric vehicle is: Among them, SOC de,i represents the discharge T of the i-th electric vehicle d,i The remaining state of charge after a certain period of time, SOC S,i T represents the initial charge state of the i-th electric vehicle when it is expected to travel the next day, S ' OCdei,SOCSi Indicates that the i-th electric vehicle is from SOC de,i Charge to SOC S,i The time required, η c,i 、p c,i They represent the charging efficiency and charging power of the i-th electric vehicle, t s,i represents the next day's travel time of the i-th electric car, T′ d,i It represents the actual discharge time of the i-th electric vehicle after updating.

5. The V2G intelligent charging and discharging method for electric vehicles according to claim 1, characterized in that: The calculation formula for user discharge revenue is: Among them, D DOD Indicates the depth of discharge, a and b are constants, L(D DOD ) indicates that the discharge depth is D DOD Battery cycle number under the condition, C bat Represents the battery purchase cost, Indicates that the battery is at a discharge depth of D DOD Discharge unit power loss in this case, A d , A L Represent the discharge price and the minimum charge price, F i It represents the low-storage and high-generation transfer benefit of the i-th electric car.

6. The V2G intelligent charging and discharging method for electric vehicles according to claim 1, characterized in that: In step 5.1, the calculation formula for the discharge end time and the residual charge state is: Among them, t de,i is the discharge end time of the i-th electric vehicle, SOC de,i is the remaining state of charge of the i-th electric vehicle at the end of discharge, T′ d,i represents the actual discharge time of the i-th electric vehicle after update, t d,i Indicates the time when the i-th electric vehicle starts discharging, SOC d,i represents the remaining charge state of the i-th electric car when it arrives home, C i , η d,i 、p d,i They represent the battery capacity, discharge efficiency and discharge power of the i-th electric vehicle respectively.

7. The V2G intelligent charging and discharging method for electric vehicles according to claim 1, characterized in that: In step 5.2, the variable X to be optimized consists of the charging start time and charging duration of N electric vehicles, with a total of 2N elements. The calculation formula of the variable to be optimized is: Among them, t i 、T i They represent the time when the i-th electric vehicle starts charging and the charging time, t de,i ,t s,i They represent the time when the i-th electric car ends discharging and leaves home, T′ SOCdei,SOCSi , T′ SOCdei,1 They represent the i-th electric vehicle from SOC de The time required to charge to the desired SOC and full charge state, t d,i represents the time when the i-th electric car starts discharging, T′ d,i It represents the actual discharge time of the i-th electric vehicle after updating.

8. The V2G intelligent charging and discharging method for electric vehicles according to claim 1, characterized in that: In step 5.4, the function expression for minimizing the total charging expenditure of the user and minimizing the voltage fluctuation is: Where f1 and f2 represent the total expenditure of all users and the total voltage fluctuation of the node, N is the total number of electric vehicles, and p i,c is the charging power of the i-th electric vehicle, t i,j is the charging time of the i-th electric vehicle in the time period [j, j+1], A c,j is the charging electricity price at time j, The battery of the i-th electric vehicle is discharged at a depth of D DOD Discharge unit power price loss in this case, T d,i is the discharge time of the i-th electric vehicle, p i,d is the discharge power of the i-th electric vehicle, A d is the discharge price, U t is the magnitude of the voltage vector of the charging station node at time t, where t represents the time.