Cooperative charging and discharging control method for connected electric vehicles based on game between users
Through the collaborative charging and discharging control method of connected electric vehicles based on the game between users, and combining the data of electric vehicles and photovoltaic power stations, the charging strategy of electric vehicles is optimized, which solves the problem that traditional interactive mechanisms cannot effectively reduce charging costs and peak and valley differences in grid load. More efficient electric vehicle charging management is achieved.
Patent Information
- Application Number
- CN202211404068.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-11-10
AI Technical Summary
The traditional centralized management interaction mechanism cannot effectively help electric vehicle users find strategies to minimize charging costs, and does not fully consider the interaction between electric vehicle users, making it difficult to adjust the peak and valley differences in grid load and increasing the cost of charging stations.
A collaborative charging and discharging control method for connected electric vehicles based on games between users is adopted. By establishing a feasible charging strategy model for electric vehicles, a charging station cost model and a generalized Nash game model, combined with electric vehicle driving data and photovoltaic power station output data, multi-objective particles are used. The swarm algorithm is used to solve the problem and optimize the charging strategy of each electric vehicle user to minimize the charging cost and the peak and valley difference of the grid load.
It realizes the electric vehicle charging strategy under the multi-party interactive mechanism, fully mobilizes the flexibility of electric vehicles, reduces the cost of charging stations and the peak and valley difference of grid load, and improves the convenience and safety of charging strategy selection for electric vehicle users.
Smart Images

Figure CN115626072B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electric vehicle charging optimization strategies, and in particular relates to a method for coordinated charging and discharging control of networked electric vehicles based on game-playing among users. Background Art
[0002] In recent years, the number of electric vehicles has increased dramatically, but the growth rate of electric vehicles is significantly higher than that of public charging piles. This is mainly due to the large investment in the construction of charging stations, which will increase the mileage anxiety of electric vehicle owners. In order to solve the above problems, it is necessary to optimize the scheduling and management of electric vehicle charging points. Electric vehicles have the ability to store electrical energy. When electric vehicle owners have no travel needs or excess electricity, the electrical energy stored in electric vehicles can be used as idle resources to participate in grid demand response through large-scale charging stations, reducing the peak load pressure of the grid.
[0003] In the traditional centralized management interaction mechanism, the smart charging station collects information of all electric vehicle users, and then transfers the electric vehicle load to the low load period by updating the charging price in real time. However, with the continuous increase in users, this traditional interaction mechanism may not enable electric vehicles to find the charging strategy with the lowest cost. In this case, a new mechanism has emerged: vehicle-to-vehicle mechanism (V2V). Most existing studies focus on the interaction between charging stations and users, and rarely consider the interaction between electric vehicle users. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a method for coordinated charging and discharging control of networked electric vehicles based on inter-user game, an electric vehicle scheduling method that provides convenience for users while improving traffic operation efficiency, and can reduce the cost of charging stations and the peak-to-valley difference of power grid load while allowing each electric vehicle user to choose the optimal charging strategy to minimize their charging costs with higher safety.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is a method for coordinated charging and discharging control of networked electric vehicles based on game between users, comprising the following steps:
[0006] Step 1: Establish a feasible charging strategy model for electric vehicles;
[0007] Step 2: Establish a charging station cost model;
[0008] Step 3: Establish a generalized Nash game model among electric vehicle users;
[0009] Step 4: Solve the generalized Nash game model between electric vehicle users.
[0010] The beneficial effects of the present invention are:
[0011] (1) The present invention proposes an electric vehicle charging strategy under a multi-party interactive mechanism. Compared with the V2G mechanism that only considers the interaction between each electric vehicle and the power grid, the proposed mechanism combines the V2V mechanism, each participant can interact with each other, and can fully mobilize the flexibility of electric vehicles.
[0012] (2) The present invention is based on electric vehicle driving data and photovoltaic power station output data, and fully considers the upper and lower limit constraints of electric vehicle batteries to avoid damage to the battery caused by excessive charging and discharging. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0014] Figure 1 It is a flow chart of using multi-objective particle swarm algorithm to solve the problem in the present invention.
[0015] Figure 2 It is the output curve of photovoltaic power station under different weather conditions.
[0016] Figure 3 It is a comparison chart between the load curve after the electric vehicle charging strategy is optimized and the basic load curve.
[0017] Figure 4 It is the cost diagram for the case of one-way energy flow between charging stations and electric vehicles.
[0018] Figure 5 It is the cost diagram in the case of bidirectional flow of energy between charging stations and electric vehicles.
[0019] Figure 6 It is a possible SOC curve diagram during charging of an electric vehicle. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] The embodiment of the present invention discloses a method for coordinated charging and discharging control of networked electric vehicles based on inter-user game. The idea is: to obtain the power consumption and photovoltaic power generation data of all electric vehicles in a region, take the charging station cost and the peak-to-valley difference of the power grid load as the objective function, establish a generalized Nash game framework, and use a multi-objective particle swarm algorithm to solve the model in order to find a unique Nash equilibrium solution.
[0022] The specific steps include:
[0023] Step 1: Establish a feasible charging strategy model for electric vehicles.
[0024] Step 2: Build a charging station cost model.
[0025] Step 3: Establish a generalized Nash game model among electric vehicle users.
[0026] Step 4: Solve the generalized Nash game model between electric vehicle users.
[0027] Specifically:
[0028] Step 1 includes:
[0029] Suppose the set of all electric vehicles in the region is N = {1, 2, ..., N}, the set of time periods within the charging and discharging range of electric vehicles in a day is Τ = {1, 2, ..., T}, and the charging and discharging power of electric vehicle n within the charging and discharging time range is defined as e n =(e n,1 ,e n,2 ,...,e n,T ), where e n,t represents the charging and discharging power of electric vehicle n in time period t, e n,t >0 means electric vehicle charging, e n,t <0 means discharge, e n,t =0 means idle.
[0030] use represents the charging and discharging power curves of all electric vehicles in the charging station, Yes n The transpose of , which is a matrix of size N × T:
[0031]
[0032] During the charging and discharging process of electric vehicles, the constraints of the charging station are:
[0033]
[0034] f max is the maximum charging power allowed by the transformer, L tis the non-electric vehicle load in the area, L sol is the power generated by the photovoltaic equipment in the charging station. Figure 2 As shown, non-EV load and PV power generation are predicted one day in advance based on historical load data and weather conditions.
[0035] During the charging and discharging process of electric vehicles, the constraints of electric vehicles are shown in equations (3)-(5):
[0036] P min <e n,t <P max (3)
[0037] P max and P min They are the maximum charging power and maximum discharging power of electric vehicles respectively.
[0038] The initial charge of electric vehicle n is The power at the end of charging is In the whole charging and discharging time range, there are:
[0039]
[0040] set up and The upper and lower limits of the battery capacity of electric vehicle n. At any time, the power of electric vehicle n cannot exceed its rated battery capacity, and cannot be lower than the minimum battery capacity allowed:
[0041]
[0042] For each electric vehicle, its feasible charging and discharging power curve, that is, the charging strategy set is:
[0043] E n ={e n |(2)-(5)} (6)
[0044] The feasible charging strategy set for all electric vehicles in the region is
[0045] Step 2 includes:
[0046] Since the feasible charging strategy set of each electric vehicle is affected by the charging strategies of other electric vehicles, an electric vehicle charging price model is introduced:
[0047]
[0048]
[0049] q t is the charging price at the charging station at time t, α tis the positive correlation coefficient of time-of-use electricity price, β t is the positive correlation coefficient of the distance from the charging station to the power plant. It is the sum of the loads of all electric vehicles being charged at time t.
[0050] The price function is a function that is positively correlated with the total load of electric vehicles. The more electric vehicles that charge in the same time period, the higher the charging price. This causes electric vehicles without urgent charging needs to adjust their charging plans to off-peak time periods.
[0051] The charging station (CS) purchases electricity from the power grid, collects the load of electric vehicles in the area at different time periods, and formulates real-time electricity prices based on the load curve. Electric vehicle users formulate their own charging / discharging strategies based on the real-time electricity price and battery capacity. The charging station obtains profits by stabilizing the power grid load and reducing the peak-to-valley difference, so that M t is the cost of the charging station at time t, which is positively correlated with the load level of electric vehicles in the region at time t. A typical cost model is used to represent the load cost of the charging station:
[0052]
[0053] Due to the battery loss during the discharge process and the expected power that may not be achieved due to the participation of electric vehicles in the V2G mechanism, the charging station needs to pay users a certain amount of battery degradation compensation and dissatisfaction compensation. For an electric vehicle, its charging period (from arrival time t0 to departure time t end ) can be used to measure the state of charge (SOC) level. Figure 6 The charge curve in the figure shows that the SOC of the electric vehicle during charging is A, B, and C. S0 is the SOC level of the electric vehicle when it arrives at the charging station, S(t end ) is the SOC level when leaving the charging station, S max and S min are the highest and lowest SOC levels of electric vehicles, respectively. Electric vehicle owners with emergency charging plans usually tend to charge at maximum power P from the time they reach the destination. max To charge their electric vehicles, Figure 6 As shown in the reference charging curve A, t min Indicates the time required to charge an electric vehicle according to the benchmark curve.
[0054] Electric vehicles contribute their flexibility by adjusting the charging and discharging power in different time periods. Curves B and C delay charging and discharging during peak load periods to respond to the needs of the power grid. The contribution of electric vehicles that delay charging and discharge during peak load periods to the charging station is q bdc It is expressed as:
[0055]
[0056] Among them, the first Indicates that the electric vehicle is in [t0,t end ] Total mileage during the period, item 2 represents the charging demand of electric vehicles, η is the charging and discharging efficiency. From a cost perspective, the battery degradation is caused by the deviation of the charging power curve from the benchmark charging curve. Therefore, the above formula reflects the battery degradation cost. If q bdc =0, it means that the electric vehicle is charged according to the benchmark charging curve.
[0057] The electric car shown by curve C is in [t0,t end ] did not reach its SOC target S obj , that is, S(t end )≠S obj , electric vehicles sacrifice their end The SOC level at the time of the flexible contribution q fcc It is expressed as:
[0058]
[0059] For electric car users, fcc ≠0 than q bdc ≠ 0 is more inconvenient, because this will actually affect the charging results and travel plans of electric vehicles. Therefore, the index q fcc Reflects the cost of loss of electric vehicle user satisfaction.
[0060] The charging station is at [t0,t end The total flexibility contribution compensation cost Q during the period is quantified using the weighting factor y,z>0:
[0061] Q=y·q bdc +z·q fcc (11)
[0062] The higher the willingness of electric vehicle users to provide flexibility, the greater the flexibility contribution compensation cost Q. If the user has an urgent charging need and tends to charge strictly according to the benchmark charging curve, then Q = 0.
[0063] The cost of the charging station over the entire cycle is:
[0064]
[0065] Step 3 includes:
[0066] The charging station coordinates all electric vehicles in the area to reasonably adjust their charging strategies by adjusting prices, minimizing the cost of the charging station while meeting the charging needs of electric vehicles and the cost constraints of the charging station.
[0067] make The fees paid by electric vehicle n during the entire charging cycle, then the fees paid by all electric vehicles must be greater than the cost of the charging station, as shown in formula (13).
[0068]
[0069] While minimizing the cost of charging stations, the load level in the area must also be stabilized. max and L min are the peak and valley values of the load in the area during the day, and the peak-to-valley difference L will be minimized. d As one of the objective functions. The objective function and constraints are as follows:
[0070]
[0071] Formula (14) constitutes a generalized Nash game, in which the cost and strategy set of the participants are interdependent. The game model consists of the following elements:
[0072] 1) Participant set N = {1, 2, ..., N};
[0073] 2) Policy Set
[0074] 3) Cost function p n .
[0075] Use G={N,E,{p n} n∈N} to represent the game model.
[0076] Step 4 includes:
[0077] like Figure 1 The charging station collects the power information, photovoltaic power station data and basic load data of all electric vehicles, and formulates the charging strategy of electric vehicles. The charging / discharging strategy of all electric vehicles in one day is expressed as is a matrix of size T×N, where is the strategy of all electric vehicles, is a matrix. The specific steps are as follows:
[0078] S1: Obtain the power information, photovoltaic power generation and basic load data of all electric vehicles;
[0079] S2: Use the multi-objective particle swarm algorithm to solve the model described in step 1, the steps are as follows: 1) Set the inertia weight coefficient, learning factor, and mutation probability, generate the first generation of particles with a scale of N, and judge whether the first generation of particles meets the constraints according to formulas (2)-(5). If not, regenerate them. After the constraints are met, calculate the objective function value of each particle according to formula (1). 2) Select the current global optimal solution from the particles, store the individual optimal solution, and update the non-inferior solution set. 3) Update the position and speed of each particle according to the global optimal solution and the individual optimal solution, update the non-inferior solution set and use the grid elimination mechanism to maintain the non-inferior solution set, and then perform mutation operation with a probability of 0.5, compare the mutated particles with the original particles, and replace them if they are better than the original particles. 4) Repeat steps 2) and 3) until the set number of iterations is reached, and use roulette to select the best individual from the non-inferior solution set as the Pareto solution of the model, that is, the charging / discharging strategy of all electric vehicles within 1 day.
[0080] In this example, 24 hours a day is divided into 48 time periods, each of which is half an hour. It is assumed that the electric vehicle load in each time period remains unchanged, that is, the charging price remains unchanged. A particle X represents the charging plan of all electric vehicles in a day, X = [E1, E2, ..., E T ] Among them, E t represents the charging plan of all electric vehicles in time period t, E t =[e1,e2,…e n ] T .
[0081] Reference Figure 3 , is a comparison chart of the load curve after the optimization of the electric vehicle charging strategy and the basic load curve, and the change curve of the transformer load under different weather conditions. The photovoltaic power generation output is concentrated between 10:00-16:00, which is the low period of the basic load. The addition of photovoltaic power generation will aggravate the formation of the low period. Therefore, it is particularly important for electric vehicles to participate in peak load regulation during this period. The optimization effect is shown in Table 1.
[0082] Table 1
[0083] Weather Type Load peak-valley difference (kW) Load standard deviation (kW) sunny 280.02 63.86 Partly Cloudy 253.22 61.74 partly cloudy 230.22 61.13
[0084] The multi-objective particle swarm algorithm will perform multiple iterations to select the optimal solution. As the number of iterations increases, the charging station cost (objective function) will decrease and then stabilize at a value. Figure 4 , Figure 5 , which shows the change process of the charging station cost in the iteration. As the number of iterations increases, the charging station cost decreases and gradually stabilizes. Figure 4 For the control group, the cost of the charging station is RMB 167,800 when the energy between the charging station and the electric vehicle flows in one direction. Figure 5 The cost is reduced to 65,600 yuan to enable two-way flow of energy between charging stations and electric vehicles.
[0085] From the comparison of the above graphical curves and table data, it can be seen that using the generalized Nash game model of the present invention to optimize the electric vehicle charging strategy can significantly reduce the cost of charging stations, reduce the peak-to-valley difference in load, and stabilize the grid load.
[0086] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0087] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A coordinated charging and discharging control method for connected electric vehicles based on game between users. It is characterized in that The following steps are involved: Step 1: Establish a feasible charging strategy model for electric vehicles; Step 2: Establish a charging station cost model; Step 3: Establish a generalized Nash game model among electric vehicle users; Step 4: Solve the generalized Nash game model between electric vehicle users; The step 1 comprises: Set the electric vehicle collection in the area to , the set of time periods within the charging and discharging range of electric vehicles in a day is , electric vehicles The charge and discharge power within the charge and discharge time range is defined as ;in, Indicates electric vehicle In time period The charge and discharge power, Indicates electric vehicle charging, Indicates discharge, Indicates idleness; use represents the charging and discharging power curves of all electric vehicles in the charging station, yes The transpose of is a The matrix: (1) During the charging and discharging process of electric vehicles, the constraints of the charging station are: (2) is the maximum charging power allowed by the transformer, is the non-electric vehicle load in the area, is the power generated by the photovoltaic equipment in the charging pile; During the charging and discharging process of electric vehicles, the constraints of electric vehicles are shown in equations (3)-(5): (3) and They are the maximum charging power and maximum discharging power of electric vehicles respectively; Electric Vehicles The initial charge is , the power at the end of charging is , then in the entire charge and discharge time range: (4) set up and For electric vehicles The upper and lower limits of battery capacity, electric vehicles at any time The battery capacity cannot exceed the rated capacity of the battery and cannot be less than the minimum capacity allowed: (5) For each electric vehicle, its feasible charging and discharging power curve, that is, the charging strategy set is: (6) The feasible charging strategy set for all electric vehicles in the region is ; The step 2 comprises: Introducing the electric vehicle charging price model: ; (7) yes The charging price of the charging station at all times, is the positive correlation coefficient of time-of-use electricity price. is the positive correlation coefficient of the distance from the charging station to the power plant, yes The sum of all electric vehicle loads being charged at any given moment; make for The cost of charging stations at all times is The load level of electric vehicles in the region is positively correlated, and the cost model is used to represent the load cost of the charging station. (8) Electric vehicles contribute their flexibility by adjusting the charging and discharging power in different time periods, and delay charging and discharging during peak load periods. It is expressed as: (9) in, is the state of charge level of the electric vehicle when it arrives at the charging station, is the state of charge level when leaving the charging station, Electric vehicles Total mileage during the period, represents the charging demand of electric vehicles, is the charge and discharge efficiency, and the above formula reflects the battery degradation cost; Electric vehicles in The state of charge target was not reached during the period ,Right now , electric vehicles sacrifice their The SOC level at which the It is expressed as: (10) index It reflects the cost of loss of satisfaction among electric vehicle users; Charging station Total flexibility contribution compensation cost during the period Use weighting factor To quantify: (11) The higher the willingness of electric vehicle users to provide flexibility, the more flexibility contribution will compensate for the cost The larger the value, the higher the charging speed. If the user has an urgent charging demand and tends to charge strictly according to the benchmark charging curve, ; The cost of the charging station over the entire cycle is: (12) The step 3 comprises: make For electric vehicles The fees paid during the entire charging cycle, then the fees paid by all electric vehicles must be greater than the cost of the charging station, as shown in formula (13); (13) definition and The peak and valley values of the load in the area during the day will be minimized. As one of the objective functions, the objective function and constraints are as follows: (14) Formula (14) constitutes a generalized Nash game, in which the cost and strategy set of the participants are interdependent. The game model consists of the following elements: 1) Participant Collection ; 2) Policy Set ; 3) Cost Function ; use To represent the game model; The step 4 comprises: The charging station collects the power information, photovoltaic power station data and basic load data of all electric vehicles and formulates the charging strategy of electric vehicles. The charging / discharging strategy of all electric vehicles in a day is expressed as , is a size of The specific steps are as follows: S1: Obtain the power information, photovoltaic power generation and basic load data of all electric vehicles; S2: Use the multi-objective particle swarm algorithm to solve the model described in step 1, the steps are as follows: 1) Set the inertia weight coefficient, learning factor, and mutation probability, generate a first generation of particles with a scale of N, and judge whether the first generation of particles meets the constraints according to equations (2)-(5). If not, regenerate them. After the constraints are met, calculate the objective function value of each particle according to equation (1); 2) Select the current global optimal solution from the particles, store the individual optimal solution, and update the non-inferior solution set; 3) Update the position and velocity of each particle according to the global optimal solution and the individual optimal solution, update the non-inferior solution set and use the grid elimination mechanism to maintain the non-inferior solution set, and then perform mutation operation with a probability of 0.5, compare the mutated particles with the original particles, and replace them if they are better than the original particles; 4) Repeat steps 2) and 3) until the set number of iterations is reached, and use roulette to select the best individual from the non-inferior solution set as the Pareto solution of the model, that is, the charging / discharging strategy of all electric vehicles within 1 day.
