Site selection planning method for battery swap station based on simulated annealing particle swarm optimization
Optimizing the location of battery swap stations through simulated annealing particle swarm algorithm solves the problem of insufficient traditional charging facilities, achieves efficient planning and low-cost operation of electric vehicle battery swap stations, and meets user needs.
Patent Information
- Application Number
- CN202311862229.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-03
AI Technical Summary
The traditional charging pile model has problems such as long charging time and scarcity of facilities, which limits the promotion and popularization of electric vehicles. How to reasonably select the location and capacity of battery swap stations to meet user needs, improve charging facility utilization and reduce operating costs has become a difficult problem.
A battery swap station location planning method based on simulated annealing particle swarm algorithm is used to obtain regional data, predict the future electric vehicle ownership, divide the blocks to allocate the ownership, calculate the power demand of the battery swap station, import the Matlab site selection and capacity model, and use simulation The annealing particle swarm optimization algorithm calculates the optimal parameters and establishes the battery swap station location to minimize costs and meet user needs.
It achieves high efficiency, accuracy and low comprehensive cost in battery swap station planning, ensuring coverage of user needs and optimization of operating costs.
Smart Images

Figure CN118586960A
Abstract
Description
Technical Field
[0001] The present invention relates to a method for planning a battery swap station, and more specifically, to a method for site selection and planning of a battery swap station based on a simulated annealing particle swarm algorithm. Background Art
[0002] In order to cope with the worsening energy crisis and environmental problems, governments around the world have taken positive measures to promote the development of electric vehicles. However, the rapid popularization of electric vehicles has also brought a series of new challenges. One of them is that the traditional charging pile model has problems such as long charging time and scarce charging facilities during user use, which limits the promotion and popularization of electric vehicles. As another way for electric vehicles to replenish energy, battery swap stations can quickly replace batteries for electric vehicles, provide convenient and efficient services, and alleviate the problem of insufficient charging facilities. However, how to reasonably select the location and capacity of battery swap stations to meet users' battery swap needs, improve the utilization rate of charging facilities, and reduce operating costs has become a problem that needs to be solved urgently. Summary of the invention
[0003] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a battery swap station site planning method based on simulated annealing particle swarm algorithm with high efficiency and accuracy and the lowest comprehensive cost in the battery swap station planning process.
[0004] To achieve the above object, the present invention provides the following technical solution: a method for site selection and planning of a battery swap station based on a simulated annealing particle swarm algorithm, comprising the following steps:
[0005] S1. Obtain basic data parameters of the area where a battery swap station is required;
[0006] S2. Based on the data in the region, predict the future number of electric vehicles in the region;
[0007] S3, dividing the area into several blocks, and allocating the number of electric vehicles to each block in proportion;
[0008] S4. Calculate the cost of building a battery swap station in the area based on the future power demand of the battery swap station in the area;
[0009] S5. Import the relevant data of battery swap station construction into the Matlab battery swap station site selection and capacity determination model, and calculate the optimal parameters of battery swap station construction based on simulated annealing particle swarm optimization algorithm;
[0010] S6. Based on the battery swapping demand points in the area and the influencing factors of the site selection and capacity determination model of the battery swapping station, the corresponding site selection location of the battery swapping station is established to minimize the cost of the battery swapping station so that the planning results of the battery swapping station cover all demand points and meet the user's battery swapping needs.
[0011] The present invention is further configured as follows: in step S2, the data in the region include the population, GDP, number of charging and swapping stations built, environmental pollution index and current number of electric vehicles in the region, and the method for predicting the future number of electric vehicles is to predict the number of electric vehicles by using an ARIMA-LSTM model trained with historical data.
[0012] The present invention is further configured as follows: in step S4, the future regional battery swap station power demand calculation formula is as follows:
[0013] M=(α·A)×(β·Z X )×N
[0014] M is the average daily power demand of the electric vehicle battery swap station; A is the single charge amount of a single electric vehicle; α is the power correction factor, which is used to convert the power of different electric vehicles; N is the average daily number of battery swaps for a single electric vehicle; β is the usage probability correction factor, which is used to correct the number of standard electric vehicles using the public battery swap station; Z X It indicates the predicted number of electric vehicles in the region X years later.
[0015] The present invention is further configured as follows: in step S5, the data related to the construction of the battery swap station includes the number of battery swap machines in the battery swap station, the infrastructure cost of the battery swap station, and the annual operating cost of the battery swap station.
[0016] The present invention is further configured as follows: in the step S6, the influencing factors of the site selection and capacity determination model for setting up the battery swap station include the service radius of the battery swap station, the service capacity of the battery swap station and the total regional battery swap demand.
[0017] Furthermore, in step S6, the calculation formula of the battery swap station cost is as follows:
[0018] min C=C I -C D +15×C O
[0019]
[0020]
[0021]
[0022] C is the comprehensive cost of the battery swap station within 15 years; n is the number of battery swap stations, and j is the battery swap station level corresponding to each station; C I is the initial construction cost, including C In Infrastructure cost and initial battery cost, A is the initial cost of battery per unit capacity; C Dis the residual value of the battery swap station after 15 years, including the residual value of infrastructure and the battery recycling value, α1 is the depreciation rate of infrastructure, and α2 is the depreciation rate of batteries; C O Annual operating cost of the battery swap station.
[0023] By adopting the above technical solution, the future electric vehicle ownership is predicted, and at the same time, the ARIMA-LSTM model is trained using historical regional data. The main idea of the ARIMA-LSTM model is to first use ARIMA and moving average to process the linear part of the data, and at the same time use LSTM to capture more complex nonlinear patterns and long-term dependencies. ARIMA (autoregressive difference moving average model) is a time series analysis method. By differentiating and autoregressing the time series data, the non-stationary time series is converted into a stationary time series for prediction. LSTM (long short-term memory network) is a deep learning model that can capture long-term dependencies in time series data. By combining the time series analysis method and the deep learning method, the fusion of multi-scale features can be achieved, the risk of overfitting can be reduced, and the advantages of the two models can be fully utilized to improve the prediction accuracy.
[0024] Furthermore, by analyzing the constraints of the influencing factors and designing the mathematical model, the service radius of the battery swap station is expressed as follows:
[0025]
[0026]
[0027] The ein is a decision variable, indicating whether the demand point i goes to the battery swap station n, P is the set of all demand points, R is the service range radius of the established battery swap station, and the coordinates of the demand point i are (x i ,y i ), the coordinates of the planned battery swap station are (x n ,y n ).
[0028] Furthermore, the service capacity of the battery swap station is restricted by the number of battery swap units and batteries. Generally speaking, the service capacity of the battery swap station should be greater than the amount of battery swaps during the most battery swapping hours in a day. The specific formula is as follows:
[0029]
[0030] ε max is the proportion of battery replacement during the most battery replacement period in a day, T i is the battery replacement demand at each demand point, f is the battery replacement capacity of each battery replacement machine per hour, H nis the number of battery swapping machines at each battery swapping station. In order to ensure that the battery swapping stations in the region will not have insufficient capacity, the sum of the capacity of the battery swapping stations in the region should meet the battery swapping capacity requirements of all demand points, that is:
[0031] ∑T i ≤∑T n
[0032] The T n The battery capacity of each site, T i The battery replacement capacity requirement for each demand point in the area.
[0033] Furthermore, the simulated annealing particle swarm optimization algorithm is used to solve the battery swap station site selection and sizing model, so that the algorithm can jump out of the local optimal solution and use the global search capability of the particle swarm algorithm for optimization, with high search efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a flow chart of a method for site selection and planning of a battery swap station based on a simulated annealing particle swarm algorithm according to the present invention;
[0035] Figure 2 Information of different levels of battery swap stations in a battery swap station site selection and planning method based on simulated annealing particle swarm algorithm of the present invention;
[0036] Figure 3 A line graph of the comprehensive cost of different numbers of battery swap stations in a battery swap station site selection and planning method based on simulated annealing particle swarm algorithm of the present invention;
[0037] Figure 4 A map of battery swapping demand points and planned battery swapping station sites of a battery swapping station site selection and planning method based on simulated annealing particle swarm algorithm of the present invention;
[0038] Figure 5 The information of each battery swap station obtained by planning the battery swap station site selection planning method based on simulated annealing particle swarm algorithm of the present invention DETAILED DESCRIPTION
[0039] Reference Figures 1 to 5 An embodiment of a method for site selection and planning of a battery swap station based on a simulated annealing particle swarm algorithm of the present invention is further described.
[0040] For ease of explanation, spatial relative terms such as "upper", "lower", "left", "right" and the like are used in the embodiments to illustrate the relationship of one element or feature shown in the figure relative to another element or feature. It should be understood that, in addition to the orientation shown in the figure, the spatial terms are intended to include different orientations of the device in use or operation. For example, if the device in the figure is inverted, the element described as being "under" other elements or features will be positioned "on" other elements or features. Therefore, the exemplary term "under" can include both upper and lower orientations. The device can be positioned in other ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used here can be interpreted accordingly.
[0041] Furthermore, relational terms such as “first” and “second” and the like are merely used to distinguish one component from another having the same name, but do not necessarily require or imply any such actual relationship or order between these components.
[0042] A method for site selection and planning of a battery swap station based on a simulated annealing particle swarm algorithm comprises the following steps:
[0043] S1. Obtain basic data parameters of the area where a battery swap station is required;
[0044] S2. Based on the data in the region, predict the future number of electric vehicles in the region;
[0045] S3, dividing the area into several blocks, and allocating the number of electric vehicles to each block in proportion;
[0046] S4. Calculate the cost of building a battery swap station in the area based on the future power demand of the battery swap station in the area;
[0047] S5. Import the relevant data of battery swap station construction into the Matlab battery swap station site selection and capacity determination model, and calculate the optimal parameters of battery swap station construction based on simulated annealing particle swarm optimization algorithm;
[0048] S6. Based on the battery swapping demand points in the area and the influencing factors of the site selection and capacity determination model of the battery swapping station, the corresponding site selection location of the battery swapping station is established to minimize the cost of the battery swapping station so that the planning results of the battery swapping station cover all demand points and meet the user's battery swapping needs.
[0049] In the step S2, the data in the region include the population, GDP, number of charging and swapping stations, environmental pollution index and current number of electric vehicles in the region, and the method for predicting the number of electric vehicles in the future is to predict the number of electric vehicles by using the ARIMA-LSTM model trained with historical data, and the ARIMA-LSTM model is trained using historical regional data. The main idea of the ARIMA-LSTM model is to first use ARIMA and moving average to process the linear part of the data, and at the same time use LSTM to capture more complex nonlinear patterns and long-term dependencies. ARIMA (autoregressive difference moving average model) is a time series analysis method. By performing difference and autoregression on time series data, non-stationary time series are converted into stationary time series, so as to make predictions. LSTM (long short-term memory network) is a deep learning model that can capture long-term dependencies in time series data. By combining the time series analysis method with the deep learning method, the fusion of multi-scale features can be achieved, the risk of overfitting can be reduced, and the advantages of the two models can be fully utilized to improve the prediction accuracy.
[0050] By predicting the number of electric vehicles in the future, the power demand of the battery swap station in the area is obtained. The calculation formula is as follows:
[0051] M=(α·A)×(β·Z X )×N
[0052] M is the average daily battery replacement power demand of the electric vehicle battery replacement station; A is the single charge amount of a single electric vehicle; α is the power correction coefficient, which is used to convert the power of different electric vehicles; N is the average daily battery replacement times of a single electric vehicle; β is the usage probability correction coefficient, which is used to correct the number of standard electric vehicles using public battery replacement stations; considering that the battery replacement mode will become the main way of energy renewal for electric vehicles in the future, this application sets the value of β to 70%; ZX is the predicted number of electric vehicles in the area after X years.
[0053] Reference Figure 2 The data related to the construction of the battery swap station include the number of battery swap machines in the battery swap station, the infrastructure cost of the battery swap station and the annual operating cost of the battery swap station. Based on the above data, the battery swap stations are divided into 4 levels.
[0054] Reference Figure 3, the optimal parameters of the battery swap station site selection and capacity determination model are obtained through Matlab software, and the particle swarm optimization algorithm based on simulated annealing is used to solve it, in which the inertia weight and temperature drop strategy adopt an adaptive method, and adjust the relevant parameters such as the maximum number of iterations, initial temperature and acceptance probability, and finally obtain the optimal parameters. The simulated annealing particle swarm optimization algorithm is a combination of the particle swarm algorithm and the simulated annealing algorithm. The particle swarm optimization algorithm (Particle Swarm Optimization, PSO) is a group intelligence optimization algorithm. Its basic principle is to simulate the information exchange and cooperation between individuals in a flock of birds, and optimize the solution to the problem by continuously adjusting the position and speed of the individuals. The specific steps are to randomly generate a group of m particles, each particle represents an initial solution to the problem, the position Xi represents the parameter value of the solution, and the speed Vi represents the search direction and step size of the solution. According to the fitness function of the problem, the fitness value of each particle is calculated. According to the current speed and position of the particle, as well as the global optimal solution Pg and the individual optimal solution Pi, the speed and position of the particle are updated. The position and speed of the particle are updated by the following formula:
[0055]
[0056]
[0057] Among them, ω is the inertia weight, which controls the continuity of the particle speed. c1 and c2 are acceleration coefficients, which control the degree of attraction of particles to the individual optimal position and the global optimal position. r1 and r2 are random numbers in the interval [0,1].
[0058] According to the new position and fitness value of the particle, the global optimal solution and the individual optimal solution are updated. According to the preset stopping condition, determine whether to terminate the algorithm. If the stopping condition is met, the global optimal solution is output; otherwise, the above steps are repeated. The particle swarm algorithm continuously updates the speed and position of the particles, so that the particles gradually approach the global optimal solution.
[0059] However, the traditional particle swarm algorithm is greatly affected by the global optimal solution and the individual optimal solution, and is prone to fall into the local optimal solution, which leads to premature convergence of the algorithm and the inability to fully explore the search space. In addition, the algorithm is very sensitive to the initial solution of the problem and the selection of the search space, and is easily disturbed by noise and local extreme values, resulting in poor algorithm robustness. Therefore, it is considered to combine the particle swarm algorithm with the simulated annealing algorithm. The simulated annealing algorithm is a probability-based random search method that gradually reduces the probability of accepting inferior solutions by continuously lowering the temperature, thereby finding the optimal solution in the global scope. Based on the ideas of the two algorithms, randomness is introduced by simulated annealing, so that the algorithm can jump out of the local optimal solution, and at the same time use the global search capability of the particle swarm algorithm for optimization, and has high search efficiency and accuracy.
[0060] Reference Figures 4 to 5 To calculate the number and level of battery swap stations, we first need to calculate the cost of using the battery swap stations. Assuming that the service life of the battery swap stations is 15 years, the calculation formula for the cost of the battery swap stations is as follows:
[0061] min C=C I -C D +15×C O
[0062]
[0063]
[0064]
[0065] C is the comprehensive cost of the battery swap station within 15 years; n is the number of battery swap stations, and j is the battery swap station level corresponding to each station; C I is the initial construction cost, including C In Infrastructure cost and initial battery cost, A is the initial cost of battery per unit capacity; C D is the residual value of the battery swap station after 15 years, including the residual value of infrastructure and the battery recycling value, α1 is the depreciation rate of infrastructure, and α2 is the depreciation rate of batteries; C O Annual operating cost of the battery swap station.
[0066] Secondly, by analyzing the mathematical model, we can get the factors that affect the location and capacity of the battery swap station. Assuming that each user goes to and only goes to one charging station for charging, the coordinates of the battery swap demand point i are (x i ,y i ), the coordinates of the planned battery swap station are (x n ,y n ), the expression formula of the service radius of the battery swap station is as follows:
[0067]
[0068]
[0069] The ein is a decision variable, indicating whether the demand point i goes to the battery swap station n, P is the set of all demand points, and R is the service range radius of the established battery swap station.
[0070] Furthermore, the service capacity of the battery swap station is mainly restricted by the number of battery swap motors and batteries. Generally speaking, the service capacity of the battery swap station should be greater than the amount of battery swaps during the most battery swapping hours in a day. The specific formula is as follows:
[0071]
[0072] In order to ensure that there is no problem of insufficient capacity of the battery swap stations in the region, the sum of the capacity of the battery swap stations in the region should meet the battery swap capacity requirements of all demand points, that is:
[0073] ∑T i ≤∑T n
[0074] The T n The battery capacity of each site, T i The battery replacement capacity requirement for each demand point in the area.
[0075] The following will take a county in a city as an example to explain this application in detail. The county covers an area of about 2,000 kilometers, is about 63.6 kilometers long from east to west, and is about 57.6 kilometers wide from north to south. It is planned to plan several battery swap stations to meet the battery swap needs of electric vehicle users in the county.
[0076] The ARIMA-LSTM model trained with historical data such as the county's population, GDP, number of charging and swapping stations, environmental pollution index, and number of electric vehicles predicts the county's future electric vehicle ownership as follows: 5,486 in 2023, 9,526 in 2024, 13,985 in 2025, and 51,751 in 2030. The 2025 data was selected for subsequent analysis of the site selection and capacity planning of the swapping stations.
[0077] The county area can be divided into 20 blocks according to the streets. The calculated battery replacement demand can be allocated to each street according to the proportion of electric vehicles owned, and the center point of each block is set as the demand point on the map.
[0078] Assuming that electric vehicle batteries are of uniform size, with an average rated battery capacity of 60 kWh, the time required to charge the battery from a depleted state to a fully charged state is 12 hours, and the average battery replacement time is 6 minutes.
[0079] The relevant data was imported into the Matlab battery swap station site selection and sizing model and solved using the particle swarm optimization algorithm based on simulated annealing. Finally, the optimal parameters were obtained. The result showed that when the number of battery swap stations was 11, the comprehensive cost of the battery swap stations was the lowest, which was 104.5 million yuan, while meeting the user's battery swap needs.
[0080] Finally, the above 11 battery swap stations are planned according to the battery swap demand points, so that the planning results cover all demand points and meet the battery swap needs of users.
[0081] By conducting experiments using real data from a certain county as an example, the number of battery swap stations that can meet the battery swap demand while having the lowest overall cost was calculated, and information such as the planned location and capacity of the battery swap stations was obtained, providing a theoretical basis for site selection and capacity determination decisions for battery swap stations.
[0082] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for battery swap station site selection and planning based on simulated annealing particle swarm algorithm. It is characterized in that The following steps are involved: S1. Obtain basic data parameters of the area where a battery swap station is required; S2. Based on the data in the region, predict the future number of electric vehicles in the region; S3, dividing the area into several blocks, and allocating the number of electric vehicles to each block in proportion; S4. Calculate the cost of building a battery swap station in the area based on the future power demand of the battery swap station in the area; S5. Import the relevant data of battery swap station construction into the Matlab battery swap station site selection and capacity determination model, and calculate the optimal parameters of battery swap station construction based on simulated annealing particle swarm optimization algorithm; S6. Based on the battery swapping demand points in the area and the influencing factors of the site selection and capacity determination model of the battery swapping station, the corresponding site selection location of the battery swapping station is established to minimize the cost of the battery swapping station so that the planning results of the battery swapping station cover all demand points and meet the user's battery swapping needs.
2. According to claim 1, a method for site selection and planning of battery swap stations based on simulated annealing particle swarm algorithm, It is characterized in that In step S2, the data in the region include the population, GDP, number of charging and swapping stations built in the region, environmental pollution index and the current number of electric vehicles in the region.
3. According to claim 2, a method for site selection and planning of battery swap stations based on simulated annealing particle swarm algorithm, It is characterized in that The method for predicting the future number of electric vehicles is to predict the number of electric vehicles using an ARIMA-LSTM model trained with historical data.
4. According to claim 1, a method for site selection and planning of battery swap stations based on simulated annealing particle swarm algorithm, It is characterized in that In step S4, the formula for calculating the power demand of the future regional battery swap station is as follows: M=(α·A)×(β·Z X )×N M is the average daily power demand of the electric vehicle battery swap station; A is the single charge amount of a single electric vehicle; α is the power correction factor, which is used to convert the power of different electric vehicles; N is the average daily number of battery swaps for a single electric vehicle; β is the usage probability correction factor, which is used to correct the number of standard electric vehicles using the public battery swap station; Z X It indicates the predicted number of electric vehicles in the region X years later.
5. According to claim 1, a method for site selection and planning of battery swap stations based on simulated annealing particle swarm algorithm, It is characterized in that In step S5, the data related to the construction of the battery swap station includes the number of battery swap machines in the battery swap station, the infrastructure cost of the battery swap station, and the annual operating cost of the battery swap station.
6. According to claim 1, a method for site selection and planning of battery swap stations based on simulated annealing particle swarm algorithm, It is characterized in that In step S6, the factors affecting the site selection and capacity determination model for establishing a battery swap station include the service radius of the battery swap station, the service capacity of the battery swap station, and the total regional battery swap demand.
7. According to claim 1, a method for site selection and planning of battery swap stations based on simulated annealing particle swarm algorithm, It is characterized in that In step S6, the calculation formula of the battery swap station cost is as follows: my C=C I -C D +15×C O C is the comprehensive cost of the battery swap station within 15 years; n is the number of battery swap stations, and j is the battery swap station level corresponding to each station; C I is the initial construction cost, including C In Infrastructure cost and initial battery cost, A is the initial cost of the battery per unit capacity; C D is the residual value of the battery swap station after 15 years, including the residual value of infrastructure construction and the value of battery recycling, α 1 is the depreciation rate of infrastructure, α 2 is the battery depreciation rate; C O Annual operating cost of the battery swap station.
Citation Information
Cited By
Historical-data-free regional battery swap station deployment method based on electric two-wheeled traffic flow
CN119476618A
