Research on the Location Selection Problem of Electric Bicycle Battery Exchange Cabinets Based on an Improved Immune Algorithm
Abstract
:1. Introduction
2. Materials and Methods
2.1. Related Theory of Location Selection Method
2.2. Location Selection Method-Related Algorithm
3. Problem Description
3.1. Basic Problems
- Identifying the battery exchange demand among electric bicycle riders in the area.
- 2.
- Analyzing the distribution differences and clustering of demand hotspots.
- 3.
- Factors influencing the siting of electric bicycle battery exchange cabinets
- 4.
- The delineation of battery exchange point siting ranges in space
3.2. Basic Assumptions
- According to the principle of proximity, riders prefer to go to the nearest battery exchange cabinet to their current location.
- In the study area, rider demand points remain the same every day.
- Due to the small footprint of battery exchange cabinets, they can be set up in most streets and alleys. Therefore, this paper does not consider whether the selected locations for setting up battery exchange cabinets meet the conditions for construction.
- The number of battery exchange cabinets set up in the network is not considered, i.e., ensuring they can meet the battery exchange demand of all riders within their service range.
- Battery data are collected from internal sensors, which accurately reflect riders’ cycling conditions.
- The distance between riders and battery exchange cabinets is their Euclidean distance, shown in Equation (6). The point and the point are the coordinates of the demand point and candidate point, respectively.
- During data collection, battery levels are uniformly distributed within a specified range. We know that riders have no intention to exchange batteries when their battery level is above a certain threshold. Therefore, we assume that riders have no battery exchange demand when their battery level is greater than 60%. Data points where the battery level exceeds 60% are excluded from the original dataset. Although this exclusion may cause slight deviations in the latitude and longitude of demand points, we believe it will not significantly affect the final results of this study.
- This paper assumes that is the maximum tolerable service radius for all e-bike riders.
4. Model Construction and Algorithm Design
4.1. Model Construction
- (a)
- It is ensured that each battery exchange cabinet’s candidate point serves multiple demand points and that each demand point is served by only one candidate point of a battery exchange cabinet. The constraints are formulated as in Equation (9).
- (b)
- In Equation (10), this paper selects p candidate points as the coordinate points set up by the battery exchange cabinet.
- (c)
- If the candidate point serves the demand point, then the distance between the demand point and the candidate point is less than radius , as shown in Equation (11).
4.2. Improved Immune Algorithm
- (a)
- A multi-point mutation operator is introduced in the mutation process. Compared with the single point variation and small number of mutations in the traditional immune algorithm, more changes are introduced in the generation of new candidate solutions in the early stage of population evolution, which increases the chance of generating the optimal solution in the iterative process and speeds up algorithm convergence. In the later stage of population evolution, the algorithm is prevented from falling into the local optimal solution and prematurely converging.
- (b)
- Guided mutation is added to the mutation operator of the traditional immune algorithm, mainly to improve the orientation of the mutation at the initial stage of population evolution and guide the antibody towards the optimal solution region, which can greatly increase the initial convergence of the algorithm compared with the traditional immune algorithm.
- (c)
- In the improved immune algorithm, the solution is fine-tuned and optimized by local search and setting termination conditions. In the late stage of population evolution, traditional immune algorithms often fall into the dilemma of local optimization. Local search can greatly improve this situation and speed up the convergence of the algorithm.
Algorithm 1: Improved immune algorithm |
Input: Population size , antibody characteristics (number of battery exchange cabinets) , generations of population evolution , clone rate , mutation ratio . Output: Site selection scheme for electric bicycle battery exchange cabinets |
Step 1. Initialize Population According to the point demand theory, among the candidate points with a total amount of , we select the candidate point with a number of as the location of the battery exchange cabinet. These candidate sites form an antibody. Therefore, antibodies are a feasible solution to the location problem, and the number of candidate points composed of antibodies is . These candidates have zero similarity to each other. A population is formed by the clumping together of q antibodies. The immune algorithm iterates the optimal antibody through continuous population multiplication. During antibody generation, we define the distance between each candidate point and at least one demand point to be within , which can greatly improve the convergence speed of the algorithm. Step 2. Population evolution Evolve the population over multiple generations, with the specific number of iterations determined by parameter . In each generation, perform the following operations: Step 2.1. Affinity calculation The electric bicycle battery exchange cabinet siting model is a multi-objective nonlinear model, which can be handled using linear weighting methods. The affinity value is defined as , where and are the normalized objective values of rider satisfaction and the service capacity of battery exchange cabinets, respectively. and are the weights for each objective, satisfying . The normalization of and is calculated as shown in the equation below. and represent the maximum and minimum values that can attain. |
Step 2.2. Update optimal antibody Identify the antibody with the highest affinity from the population. Compare the affinity of this antibody with the current optimal antibody and update the optimal site selection scheme if the affinity exceeds the current best solution. Step 2.3. Clonal elite antibody Sort antibodies based on their affinity values. Select proportion of antibodies as elite antibodies. Clone each elite antibody, generating a few clones equal to . Step 2.4. Multi-point Mutation and Guided Mutation Perform multi-point mutation on half of the cloned antibodies, selecting new candidate points to replace the old ones. Conduct guided mutation on the other half of the cloned antibodies, mutating based on the current optimal solution to increase directionality. Step 2.5. Local Search Perform a search on elite antibodies by aggregating searches within the elite antibody domain to enhance the directionality of mutation. Step 2.6. Termination Condition Evaluation At the end of each generation, check if the termination condition is met. If satisfied, terminate the algorithm early to reduce unnecessary computation. Step 2.7. Update Population Combine the newly generated clone antibodies of selected antibodies into a new population. Add elite antibodies to the new population to ensure that the optimal solution is retained within the population. Step 3. Population iteration Repeat Step 2 until the number of iterations reaches the generations of population evolution . |
4.3. Multi-Point Mutation, Guided Mutation, and Local Search
5. Computing Example
5.1. Data Pre-Processing
5.2. Nuclear Density Analysis
5.3. Theoretical Model Analysis
5.4. Comparison of the Two Algorithms
- (1)
- Sensitivity analysis
- (2)
- Convergence analysis
6. Conclusions and Future Research
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Jackson, J.K.; Weiss, M.A.; Schwarzenberg, A.B.; Nelson, R.M.; Sutter, K.M.; Sutherland, M.D. Global Economic Effects of COVID-19. In Congressional Research Service (CRS) Reports and Issue Briefs; Congressional Research Service: College Park, MD, USA, 2021. [Google Scholar]
- Andrijevic, M.; Schleussner, C.; Gidden, M.; McCollum, D.; Rogelj, J. COVID-19 Recovery Funds Dwarf Clean Energy Investment Needs. Science 2020, 370, 298–300. [Google Scholar] [CrossRef] [PubMed]
- Farid, S.; Naeem, M.; Paltrinieri, A.; Nepal, R. Impact of COVID-19 on the Quantile Connectedness between Energy, Metals and Agriculture Commodities. Energy Econ. 2022, 109, 105962. [Google Scholar] [CrossRef] [PubMed]
- Irfan, M.; Zhao, Z.; Ahmad, M.; Batool, K.; Jan, A.; Mukeshimana, M.C. Competitive Assessment of Indian Wind Power Industry: A Five Forces Model. J. Renew. Sustain. Energy 2019, 11, 063301. [Google Scholar] [CrossRef]
- Zhao, X.; Wen, J.; Zou, X.; Wang, Q.; Chang, C. Strategies for the Sustainable Development of China in the Post-epidemic Era. Sustain. Dev. 2023, 31, 426–438. [Google Scholar] [CrossRef]
- Yasir, A.; Hu, X.; Ahmad, M.; Alvarado, R.; Anser, M.K.; Isik, C.; Choo, A.; Ausaf, A.; Khan, I.A. Factors Affecting Electric Bike Adoption: Seeking an Energy-Efficient Solution for the Post-COVID Era. Front. Energy Res. 2022, 9, 817107. [Google Scholar] [CrossRef]
- Pal, A.; Zhang, Y. Free-Floating Bike Sharing: Solving Real-Life Large-Scale Static Rebalancing Problems. Transp. Res. Part C-Emerg. Technol. 2017, 80, 92–116. [Google Scholar] [CrossRef]
- Liu, X. Shared Travel Is on a Low-Carbon Road. China’s Foreign Trade 2022, 2, 62–63. [Google Scholar]
- Zhi, X. Overall Stable and Steady Progress—Analysis of Economic Operation of China’s Bicycle Industry in 2020. Chin. Bicycl. 2021, 2, 16–21. [Google Scholar]
- Zhang, G. Electric Bicycle Fire Risk and Prevention Measures. Mass Stand. 2022, 3, 119–121. [Google Scholar]
- Zhou, Q.; Shen, M.; Wang, X.; Chen, J. Survey Report of Electric Bicycle Riders in Pudong New Area of Shanghai. Cars Saf. 2019, 6, 12. [Google Scholar]
- Kou, Y. Mobile Battery Replacement Path Planning Problem in Urban Shared Electric Bicycle System. Master’s Thesis, Beijing Jiaotong University, Beijing, China, 2020. [Google Scholar]
- Chen, Y.; Mo, G.; Shen, J. Technical Requirements and Testing Specifications for Intelligent Charging Cabinets for Electric Bicycles. Qual. Certif. 2020, 4, 3. [Google Scholar]
- Xu, Y.; Lin, F.; Lin, X. Analyze the Development Status and Future Trend of Take-out O2O Industry. Theory Chin. Commer. 2017, 2, 15–16. [Google Scholar]
- Wang, X. The Three Kingdoms of Bike-Sharing. Chin. Entrep. 2020, 10, 4. [Google Scholar]
- Church, R.L.; ReVelle, C.S. Theoretical and Computational Links between the P-median, Location Set-covering, and the Maximal Covering Location Problem. Geogr. Anal. 1976, 8, 406–415. [Google Scholar] [CrossRef]
- Murad, A.; Faruque, F.; Naji, A.; Tiwari, A.; Qurnfulah, E.; Rahman, M.; Dewan, A. Optimizing Health Service Location in a Highly Urbanized City: Multi Criteria Decision Making and P-Median Problem Models for Public Hospitals in Jeddah City, KSA. PLoS ONE 2024, 19, e0294819. [Google Scholar] [CrossRef] [PubMed]
- Ramadhan, M.H.; Setiawan, D.; Sulistio, J. Comparative Study on Determining Warehouse Locations Using Set-Covering and P-Median; AIP Publishing: Long Island, NY, USA, 2024; Volume 2891. [Google Scholar]
- Janjić, A.; Velimirović, L.; Velimirović, J.; Vranić, P. Estimating the Optimal Number and Locations of Electric Vehicle Charging Stations: The Application of Multi-Criteria p-Median Methodology. Transp. Plan. Technol. 2021, 44, 827–842. [Google Scholar] [CrossRef]
- Hanif, M.; Zhang, L.; Mujtaba, N.; Li, J.; Shah, A.H.; Ullah, S. A Single Non-Obnoxious Facility Location Selection for Utility Stores Corporation Using Center of Gravity and P-Median Methods. In Proceedings of the 2021 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), Singapore, 13 December 2021; pp. 693–697. [Google Scholar]
- Davidov, S. Optimal Charging Infrastructure Planning Based on a Charging Convenience Buffer. Energy 2020, 192, 116655. [Google Scholar] [CrossRef]
- Zhou, G.; Zhu, Z.; Luo, S. Location Optimization of Electric Vehicle Charging Stations: Based on Cost Model and Genetic Algorithm. Energy 2022, 247, 123437. [Google Scholar] [CrossRef]
- He, F.; Yin, Y.; Zhou, J. Deploying Public Charging Stations for Electric Vehicles on Urban Road Networks. Transp. Res. Part C Emerg. Technol. 2015, 60, 227–240. [Google Scholar] [CrossRef]
- Pan, M.; Sun, X.; Li, X.; Chen, H.; Wang, W.; Yuan, X.; Chen, Z. Charging Pile Layout Optimization Based on Set Coverage Model of Cost Control. Mod. Electr. 2021, 38, 230–236. [Google Scholar] [CrossRef]
- Huang, S. Spatial Layout Optimization of Urban Public Charging Stations Based on Location Model. Master’s Thesis, Henan University, Kaifeng, China, 2023. [Google Scholar]
- Hakimi, S. Optimum Locations of Switching Centers in a Communication Network and Medians of Graph. Oper. Res 1964, 12, 450–459. [Google Scholar] [CrossRef]
- Liu, Y. Two Lower-Bounding Algorithms for the p-Center Problem in an Area. Comput. Urban Sci. 2022, 2, 5. [Google Scholar] [CrossRef]
- Ma, Y.; Cui, N.; Jiang, Z.-Z.; Yuan, Y.; Wang, G. Group Homophily Based Facility Location Selection in Geo-Social Networks. World Wide Web 2023, 26, 33–53. [Google Scholar] [CrossRef]
- Yi, L.; Xianjun, Z.; Peng, K.; Ping, Z.; Chenxu, Z.; Fangxing, C. Planning of Charging Facilities Considering Terrain Characteristics; IOP Publishing: Bristol, UK, 2021; Volume 1754, p. 012057. [Google Scholar]
- Zhou, S. Research on Multi-Scenario Planning of EV Charging Facilities for Typical Mountain Cities. Master’s Thesis, Southwest University, Chongqing, China, 2020. [Google Scholar]
- Ahmad, F.; Iqbal, A.; Ashraf, I.; Marzband, M.; Khan, I. Placement of Electric Vehicle Fast Charging Stations in Distribution Network Considering Power Loss, Land Cost, and Electric Vehicle Population. Energy Sources Part A Recovery Util. Environ. Eff. 2022, 44, 1693–1709. [Google Scholar] [CrossRef]
- Gao, Z.; Li, X.; Jia, D.; Wang, Y. Electric Vehicle Charging Station Location Selection Based on Existing Charging Station Adjustment. Smart Power 2022, 50, 79–84, 91. [Google Scholar]
- Min, D.; Jiang, K.; Liu, R.; Zhou, Z. Two-Stage Siting Capacity Model of Pure Electric Truck Charging Station. J. Chongqing Univ. Technol. (Nat. Sci.) 2023, 37, 186–195. [Google Scholar]
- Zhang, B.; Zhao, M.; Hu, X. Location Planning of Electric Vehicle Charging Station with Users’ Preferences and Waiting Time: Multi-Objective Bi-Level Programming Model and HNSGA-II Algorithm. Int. J. Prod. Res. 2023, 61, 1394–1423. [Google Scholar] [CrossRef]
- Xu, J.; Ge, L.; Yang, C.; Zhang, W. The Location and Capacity of EV Charging Station Considering the Convenience of Users and the Acceptance Capacity of Distribution Network. Power Eng. Technol. 2020, 39, 112–119, 142. [Google Scholar]
- Tran, C.Q.; Ngoduy, D.; Keyvan-Ekbatani, M.; Watling, D. A User Equilibrium-Based Fast-Charging Location Model Considering Heterogeneous Vehicles in Urban Networks. Transp. A Transp. Sci. 2020, 17, 439–461. [Google Scholar] [CrossRef]
- Zhang, Q.; Mao, Q.; Liang, P. Research on Electric Vehicle Charging Station Location Based on Improved Moth Algorithm. J. Hunan Univ. Arts Sci. (Nat. Sci. Ed.) 2021, 33, 12–19. [Google Scholar]
- Mulay, S.R.; Desai, J.; Kumar, S.V.; Eberhard, J.N.; Thomasova, D.; Romoli, S.; Grigorescu, M.; Kulkarni, O.P.; Popper, B.; Vielhauer, V. Towards a Network Theory of the Immune System. Ann. Dimmunologie 1974, 125C, 373. [Google Scholar]
- Liu, Z.; Li, Z.; Chen, W.; Zhao, Y.; Yue, H.; Wu, Z. Path Optimization of Medical Waste Transport Routes in the Emergent Public Health Event of COVID-19: A Hybrid Optimization Algorithm Based on the Immune–Ant Colony Algorithm. Int. J. Environ. Res. Public Health 2020, 17, 5831. [Google Scholar] [CrossRef] [PubMed]
- Yang, G.; Wei, J. Warehouse Task Scheduling Based on Immune Ant Colony Optimization Algorithm. Comb. Mach. Tools Autom. Process. Technol. 2023, 1, 179–183. [Google Scholar] [CrossRef]
- Xu, D. Research on EV Charging Station Location Planning Based on Multi-Objective Optimization. Master’s Thesis, Shandong Jiaotong University, Jinan, China, 2023. [Google Scholar]
- Wang, B.; Hu, J.; Zhang, K.; Li, X.; Zhang, Y.; Sun, S. Research and Application of Improved Immune Algorithm Based on Solution Space Oriented Optimization. Fire Command Control 2020, 45, 64–67. [Google Scholar]
- Xu, Y.; Zhang, J. Regional Integrated Energy Site Layout Optimization Based on Improved Artificial Immune Algorithm. Energies 2020, 13, 4381. [Google Scholar] [CrossRef]
- Zhou, Y.; Zhang, H.; Ma, L. An Tmproved Immune Algorithm for Solving the Hierarchical and Progressive Location Problem of Emergency Medical Facilities. J. Oper. Res. 2021, 25, 15–34. [Google Scholar] [CrossRef]
Symbol | Description |
---|---|
Represents the identification index of demand points, . | |
Set representing the collection of demand points. | |
Represents the identification index of candidate points, . | |
Set representing the collection of candidate points. | |
Represents the number of demand points. | |
Represents the number of candidate points. | |
Represents the number of exchange cabinets (antibody characteristics in immune algorithm). | |
Distance between demand points. | |
The service radius of battery exchange cabinet. | |
The farthest distance from the power change cabinet when the rider is most satisfied. | |
Indicates the maximum change cabinet distance the rider can tolerate. | |
Population size in the immune algorithm. | |
Generations of population evolution in the immune algorithm. | |
Clone rate in the immune algorithm. | |
The weight of the objective function . | |
The weight of the objective function . | |
Mutation ratio in the immune algorithm. | |
Decision variables. | |
Decision variables. |
Number of Cabinets | Value | Value | ||
---|---|---|---|---|
790 | 0.948688589 | 0.920485882 | 0.976891297 | |
800 | 0.957488589 | 0.929024274 | 0.985952904 | 0.0088 |
810 | 0.960188589 | 0.931644009 | 0.98873317 | 0.0027 |
820 | 0.961288589 | 0.932711308 | 0.989865871 | 0.0011 |
830 | 0.961988589 | 0.933390498 | 0.99058668 | 0.0007 |
840 | 0.962588589 | 0.933972661 | 0.991204517 | 0.0006 |
0.1 | 0.2 | 0.3 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Optimal Value | Average Value | Standard Deviation | Optimal Value | Average Value | Standard Deviation | Optimal Value | Average Value | Standard Deviation | ||
0.1 | Traditional | 0.9537 | 0.9500 | 0.0031 | 0.9309 | 0.9224 | 0.0048 | 0.9110 | 0.9067 | 0.0039 |
Improved | 0.9602 | 0.9578 | 0.0018 | 0.9382 | 0.9339 | 0.0025 | 0.9244 | 0.9205 | 0.0050 | |
0.2 | Traditional | 0.9540 | 0.9501 | 0.0046 | 0.9309 | 0.9205 | 0.0061 | 0.9076 | 0.9041 | 0.0031 |
Improved | 0.9635 | 0.9614 | 0.0030 | 0.9404 | 0.9349 | 0.0033 | 0.9156 | 0.9124 | 0.0022 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zou, Z.; Yang, W.; Sheng, S.Y.; Yan, X. Research on the Location Selection Problem of Electric Bicycle Battery Exchange Cabinets Based on an Improved Immune Algorithm. Sustainability 2024, 16, 8394. https://doi.org/10.3390/su16198394
Zou Z, Yang W, Sheng SY, Yan X. Research on the Location Selection Problem of Electric Bicycle Battery Exchange Cabinets Based on an Improved Immune Algorithm. Sustainability. 2024; 16(19):8394. https://doi.org/10.3390/su16198394
Chicago/Turabian StyleZou, Zongfeng, Weihao Yang, Shirley Ye Sheng, and Xin Yan. 2024. "Research on the Location Selection Problem of Electric Bicycle Battery Exchange Cabinets Based on an Improved Immune Algorithm" Sustainability 16, no. 19: 8394. https://doi.org/10.3390/su16198394
APA StyleZou, Z., Yang, W., Sheng, S. Y., & Yan, X. (2024). Research on the Location Selection Problem of Electric Bicycle Battery Exchange Cabinets Based on an Improved Immune Algorithm. Sustainability, 16(19), 8394. https://doi.org/10.3390/su16198394