원시데이터 수집 시스템
선정목록으로

Electric vehicle path optimization research based on charging and switching methods under V2G

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Haoran Liu — School of Science, Shenyang University of Technology, Shenyang, 100870, China
  2. Aobei Zhang — School of Management, Shenyang University of Technology, Shenyang, 100870, China. zab@smail.sut.edu.cn|||School of Management, Shenyang University of Technology, Shenyang, 100870, China
DOI
10.1038/s41598-024-81449-0
저널
Scientific Reports
발행년도
2024
발행기관
Nature Portfolio
피인용수
6
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-024-81449-0
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4405843477

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This study presents a novel framework for advancing sustainable urban logistics and distribution systems, with a pivotal focus on fast charging and power exchange modalities as the cornerstone of our research endeavors. Our central contribution encompasses the formulation of an innovative electric vehicle path optimization model, whose paramount objective is to minimize overall operational costs. Integrating V2G technology, we facilitate sophisticated slow charging and discharging management of EVs upon their return to distribution centers, enhancing resource utilization. Moreover, we introduce a robust algorithmic approach for estimating battery degradation costs, meticulously accounting for ambient temperature fluctuations and discharge depth. This methodology, combined with the V2G framework encompassing both charging modes, is effectively solved using a genetic algorithm, ensuring the logistics distribution model's optimal performance. Simulation outcomes underscore the remarkable capacity of our V2G model to augment operational flexibility in EV logistics distribution, culminating in substantial cost reductions. Simultaneously, it adeptly equilibrates peak and off-peak loads within the distribution grid, fostering a more resilient and efficient energy ecosystem. Through rigorous experimental comparisons, we delve into the intricacies of the charging and swapping mode model, offering profound insights that can inform strategic decision-making within the logistics sector regarding optimal charging and swapping strategies. Furthermore, we explore the ramifications of slow charging and discharging management on the distribution system's performance, illuminating their potential benefits. A comprehensive sensitivity analysis is conducted to unravel the factors that influence battery loss in EVs, revealing a pronounced positive correlation between elevated temperatures, deeper discharge depths, and accelerated battery degradation. This revelation underscores the importance of considering environmental conditions in EV operation and maintenance strategies.

본문 59,195자

본문 펼치기
## OPEN # Electric vehicle path optimization research based on charging and switching methods under V2G Haoran Liu <sup>1,3</sup> & Aobei Zhang <sup>2,3</sup> <sup></sup> This study presents a novel framework for advancing sustainable urban logistics and distribution systems, with a pivotal focus on fast charging and power exchange modalities as the cornerstone of our research endeavors. Our central contribution encompasses the formulation of an innovative electric vehicle path optimization model, whose paramount objective is to minimize overall operational costs. Integrating V2G technology, we facilitate sophisticated slow charging and discharging management of EVs upon their return to distribution centers, enhancing resource utilization. Moreover, we introduce a robust algorithmic approach for estimating battery degradation costs, meticulously accounting for ambient temperature fluctuations and discharge depth. This methodology, combined with the V2G framework encompassing both charging modes, is effectively solved using a genetic algorithm, ensuring the logistics distribution model’s optimal performance. Simulation outcomes underscore the remarkable capacity of our V2G model to augment operational flexibility in EV logistics distribution, culminating in substantial cost reductions. Simultaneously, it adeptly equilibrates peak and off-peak loads within the distribution grid, fostering a more resilient and efficient energy ecosystem. Through rigorous experimental comparisons, we delve into the intricacies of the charging and swapping mode model, offering profound insights that can inform strategic decision-making within the logistics sector regarding optimal charging and swapping strategies. Furthermore, we explore the ramifications of slow charging and discharging management on the distribution system’s performance, illuminating their potential benefits. A comprehensive sensitivity analysis is conducted to unravel the factors that influence battery loss in EVs, revealing a pronounced positive correlation between elevated temperatures, deeper discharge depths, and accelerated battery degradation. This revelation underscores the importance of considering environmental conditions in EV operation and maintenance strategies. With the growth of the social economy, users’ consumption levels and frequency of online shopping have significantly increased, leading to a remarkable expansion of the logistics and transportation industry. Logistics and transportation play a pivotal role in promoting economic development. However, this growth has also brought about a series of problems, such as increased energy consumption and environmental pollution in the logistics and transportation processes, which are currently constraining the development of the logistics industry. Given the context of environmental and energy concerns, the progress in new technology has catalyzed the development of the new energy vehicle industry. As a result, new energy logistics vehicles have emerged as the primary focus for the development of logistics and distribution systems. According to statistics, the growth and application of Electric Vehicles (EVs) have been steadily increasing year by year. In comparison to traditional fuel vehicles, EVs offer significant advantages, including no pollution, energy efficiency, and lower energy costs. Consequently, the large-scale integration of EVs into logistics transportation is an inevitable trend. The Edison Institute <sup>1</sup> counted a 79%, 78%, and 34% increase in electric vehicle sales in the United States, China, and Europe, respectively, in 2018. Projections indicate that there will be 250 million electric vehicles on the road by 2030 <sup>2</sup> . In 2020, the General Office of the State Council issued the New Energy Vehicle Industry Development Plan (2021–2035), which aims to accelerate the in-depth integration and efficient synergy between new energy vehicles and energy systems, transportation networks, and communication platforms. The plan seeks to optimize energy consumption structures, transportation systems, and enhance city intelligence levels. EVs possess energy storage characteristics and can function as mobile distributed power sources, allowing them to connect to the grid. Leveraging Vehicle-to-Grid (V2G) technology enables the rational planning of EV charging and discharging 1School of Science, Shenyang University of Technology, Shenyang 100870, China. 2School of Management, Shenyang University of Technology, Shenyang 100870, China. <sup>3</sup> Haoran Liu and Aobei Zhang contributed equally to this work. <sup></sup> email: zab@smail.sut.edu.cn times. Consequently, this approach can effectively reduce the difference between peak and off-peak periods and ensure a smooth power supply, enhancing the safety and reliability of the grid. EVs are subject to various factors that influence their performance during logistics transportation, including battery capacity and energy consumption. Such factors can lead to mileage anxiety among drivers. In cases where the battery power runs low during transportation, drivers must select appropriate charging stations for power exchange or fast charging. Consequently, effective EV logistics distribution path planning and electric energy replenishment management are of utmost importance. The electric vehicle path problems (EVRP) have emerged as a prominent research topic in the field of modern logistics, attracting significant attention from academia and industry alike. The primary focus of research in this domain revolves around charging methods and energy consumption models, tailored to the application scenarios and characteristics of EVs. Bruglieri <sup>3</sup> investigates the economic and safety benefits associated with the full charging of EVs during transportation. Based on this, Erdelić <sup>4</sup> compares two strategies: partial charging and full charging. It has been determined that partial charging reduces waiting time and costs. However, it also leads to an increase in the psychological stress experienced by drivers, and results in both an expanded distribution of vehicles and an increase in driving distance. Erdelić <sup>5</sup> has examined the EVRP with both single and multiple charging strategies. Yang <sup>6</sup> proposed an EVRP with mixed return and charging strategies. Different charging strategies affect the path selection. The calculation of electrical energy consumption directly affects the accuracy of the overall path optimization model. He <sup>7</sup> investigates the impact of traffic congestion on EV energy consumption. In the literature <sup>8</sup>, electrical energy consumption is represented using a fuzzy number based on reliability theory. Kancharla <sup>2</sup> presents a nonlinear model for charging and vehicle load-related electrical consumption. Basso <sup>9</sup> has also examined an enhanced electric power consumption model, taking into account factors such as terrain and speed. In recent years, logistics companies and operators have been striving to maximize their economic benefits from electric vehicle distribution and aim to apply vehicle network connectivity in a more flexible manner. V2G technology can mitigate the electrical load on the power grid by addressing peak demand and low demand periods. As a result, optimizing the EV charging and discharging strategy becomes crucial. Nevertheless, the effectiveness and profitability of V2G technology, along with the potential impact of frequent charging and discharging on battery performance degradation, remain to be considered. The issue of EV dispatch in the smart grid is closely tied to electricity pricing. Rasheed <sup>10</sup> proposes a distributed pricing mechanism, while <sup>11</sup> suggests a coordinated dynamic pricing mechanism. Xu <sup>12</sup> proposes an electricity pricing strategy based on regional and time partitioning. These novel pricing mechanisms dynamically adjust price incentives to encourage EV charging during off-peak periods. Implementing V2G effectively necessitates data from both vehicles and the grid. Grée <sup>13</sup> proposes a cloud-based big data platform to harness this data. Triviño-Cabrera <sup>14</sup> applies V2G technology to EVRP. Das <sup>15</sup> proposes a charge/discharge model for EVRP aiming to minimize both the cost of power input and battery degradation. Yao <sup>16</sup> presents a two-tier optimization model that considers temporal variations in toll prices. Barco <sup>17</sup> estimated electric vehicle energy consumption by employing a model with longitudinal kinetic equations of motion for electric vehicle charging, discharging, and scheduling. In a related study, it was shown <sup>14</sup> that fine-tuning driving habits can benefit electric vehicle users and improve the overall effectiveness of network operation. The proper design of tariffs plays a crucial role in promoting V2G participation. Currently, none of the existing literature addresses the charging and discharging management, as well as the resulting cost of battery depletion, within the context of EV logistics. Therefore, further research is required in the domains of path optimization and charge/discharge management for EV logistics distribution. Upon meticulous review of the existing literature, it becomes clear that urban logistics distribution and air pollution have garnered significant attention in recent times. EV distribution stands as a promising avenue to tackle these concerns. Nevertheless, prior investigations have primarily concentrated on individual user behaviors towards EV charging and discharging, overlooking a comprehensive assessment of battery degradation dynamics within the logistics distribution cycle. Additionally, there is a notable absence of research delving into the management of EV charging and discharging upon their return to distribution centers. These limitations highlight gaps in the EVRP literature, particularly concerning the interplay of slow charge/discharge management and battery degradation within the intricate logistics and distribution processes, encompassing both charge swap and fast charging scenarios. Recognizing these gaps, the present study contributes by proposing two complementary models: an EV logistics distribution path optimization model and a charge/ discharge management model, both rooted in V2G technology. These models aim to comprehensively address the aforementioned issues, offering practical insights and solutions for the logistics sector to navigate the challenges of sustainable EV distribution. Electric vehicle charging and discharging path optimization Problem description The problem of optimizing EV logistics distribution path and charging/discharging management in a smart grid can be described as follows: there is a single distribution center with charging piles for slow charging and discharging. Before distribution, we have information about customer demand, time windows, and geographical locations. The charging station is available for charging and swapping, and its location is known. Additionally, we have data on charging and swapping tariffs and grid tariffs. All EVs are subject to uniform specifications, and their load capacity and distance traveled must remain within the maximum design specifications of the vehicle. The distribution process must adhere to both time window and power constraints. If the electric vehicle does not have enough power to support the distribution needs, it needs to go to the nearest charging station for charging. The act of charging is only considered when the vehicle has run out of power and needs to reach a full state of charge. The mathematical model aims to minimize fixed costs, driving costs, electric energy consumption costs, and charging and discharging costs to optimize EV logistics path selection and charging/discharging Fig. 1 . Electric vehicle charging and discharging management. Fig. 2 . Schematic diagram of time-sharing tariff. management. Figure 1 shows a schematic diagram of the charge/discharge management process using V2G technology. The tariff program is dynamically adjusted according to the time of use, with rates varying throughout the day. Higher tariffs are applied at times when energy demand exceeds supply, i.e., during peak hours, while tariffs are comparatively lower during off-peak hours. This time-of-day tariff scenario is derived from the distribution network load data in Literature <sup>18</sup>, and the time-of-day tariff diagram is shown in Fig. 2. Battery degradation analysis Electric vehicles rely on power exchange and fast or slow charging to replenish their electric energy. In logistics city distribution, time efficiency is crucial. Hence, we separately consider the charging and switching costs for fast charging and power exchange modes. Electric vehicles handle distribution tasks, returning to the distribution center for slow charging and discharging management. While generating profits, the battery incurs wear and tear costs accordingly. The actual lifetime of a battery is influenced by a combination of factors, including the rate of charge, state of charge, ambient temperature, and degree of discharge <sup>18</sup> . It is particularly important to consider the ambient temperature and the degree of discharge during the energy conversion process using vehicle-to-grid (V2G) technology. In the case of lithium-ion batteries, the performance degradation is rooted in the chemical reactions that occur internally, which contribute to the formation of an oxide layer on the surface of the electrodes. This change in turn causes an increase in the internal resistance of the battery. Moreover, the ambient temperature directly impacts the rate of these chemical reactions occurring inside the battery, which typically follows the Arrhenius formula <sup>19</sup> . _µ_ = _Ae_ <sup>_−_</sup> _kT_ <sup>_<u>E</u>_</sup> (1) where _µ_ is the reaction rate; _A_ is the Arrhenius constant in the same units as _µ_ ; _E_ is the activation energy, a temperature-independent constant; _k_ is the Boltzmann constant; _T_ represents the absolute temperature, _K_ . Assuming the same time for each charge and discharge cycle, denoted by ∆ _t_, Then the increase in the internal resistance of the battery after a single cycle is obtained according to the Arrhenius formula. ∆ _r_ = _r_ 0 _Ae_ <sup>_−_</sup> _kT_ <sup>_<u>E</u>_</sup> <sup>∆</sup> <sup>_t_</sup> (2) where _r_ 0 is the increment of resistance value per unit time, The unit is Ω. According to the test standard of lithium-ion battery cycle life, combining with Eq. (2), the increase in internal resistance of a lithium-ion battery over its full life cycle can be obtained as follows. _rN_ = _LN_ _r_ 0 _Ae−_ _kTNE_ <sup>∆</sup> <sup>_t_</sup> (3) The subscript _N_ is the quasi-side value under standard conditions. It is known that at any temperature, _T_ . The actual cycle life of the lithium-ion battery is ) _LN_ (4) _L_ = <sup>_<u>r</u>_</sup> _µ_ <sup>_<u>N</u>_</sup> ( _<u>E</u>_ _k_ <u>1</u> <u>1</u> _T_ <sup>_−_</sup> _TN_ _L_ = <sup>_<u>r</u>_</sup> _µ_ <sup>_<u>N</u>_</sup> <sup>=</sup> <sup>_e_</sup> ) represents the temperature adjustment coefficient that influences the cycle life of a lithium ( <u>1</u> <u>1</u> _T_ <sup>_−_</sup> _TN_ where _e_ _<u>E</u>_ _k_ ion battery at temperature _T_, denoted as _ω_ . The lifetime of Li-ion batteries is also dependent on the depth of discharge (DOD) during each charge and discharge cycle. The cycle life is shorter with a deeper depth of discharge <sup>20,21</sup> . The battery life test value is measured at a 100% depth of discharge, implying that the actual battery life exceeds the nominal value under the same ambient temperature conditions. Additionally, an exponential relationship exists between the actual cycle life and the depth of discharge <sup>22</sup> . _L_ = _LN_ _D_ <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>795</sup> (5) where: _D_ represents the depth of discharge, expressed as a percentage; _LN_ denotes the lifespan of the lithiumion battery when operating under normal conditions ( _D_ = 1). Thus, the value − 0.795 can be identified as the correction factor for depth of discharge, impacting the cycle life of lithium-ion batteries at varying depths of discharge ( _D_ ), and is referred to as _φ_ . Models _M_ = _{_ 1 _,_ 2 _, · · ·_ _, m}_ is a collection of the number of EVs used. _N_ = _{_ 0 _,_ 1 _,_ 2 _, · · ·_ _, n}_ is a collection of the distribution center and customer credits. _W_ = _{n, n_ + 1 _, · · ·_ _, n_ + _m}_ represents the collection of _m_ charging stations. _qi_ denotes the demand of customer _i_ . _P_ 1 stands for the fixed cost per EV unit, _P_ 2 represents the transportation cost per unit of time for the EV, _P_ 3 corresponds to the price per unit of electricity consumed, _P_ 4 is the price per unit of time of fast charging electricity, and _P_ 5 is the cost of single exchange of electricity. _Q_ and _D_ represent the maximum load and maximum distance the electric vehicle can cover, respectively. _aik_ and [ _Bi, Ei_ ] indicate the arrival time of vehicle _k_ at node _i_ and the time window for node _i_ . _E_ 0 is the anticipated minimum charge needed while driving the electric vehicle. _x_ <sup>_k_</sup> _ij_ <sup>is a 0–1 variable for whether the EV is transporting on that</sup> charge needed while driving the electric vehicle. _x_ <sup>_k_</sup> _ij_ <sup>is a 0–1 variable for whether the EV is transporting on that</sup> roadway, _yi_ <sup>_k_</sup> <sup>is a 0–1 variable for whether the EV is delivering to that customer point, and</sup> <sup>_z_</sup> _i_ <sup>_k_</sup> <sup>is a 0–1 variable for</sup> roadway, _yi_ <sup>_k_</sup> <sup>is a 0–1 variable for whether the EV is delivering to that customer point, and</sup> <sup>_z_</sup> _i_ <sup>_k_</sup> <sup>is a 0–1 variable for</sup> whether the EV is charging or switching at that charging station. A mathematical model of EV path optimization with a minimum total cost is constructed by considering charging and discharging cases. The model’s cost structure includes fixed costs, transportation fees, energy use, expenses for charging efficiency, extra costs from slow charging and discharging, and wear and tear costs from prolonged battery usage. _yi_ <sup>_k_</sup> <sup>is a 0–1 variable for whether the EV is delivering to that customer point, and</sup> <sup>_z_</sup> _i_ <sup>_k_</sup> (1) Fixed costs and transportation costs _n_ _i_ =0 ∑ _n_ _j_ =0 ∑ _C_ 1 = _K × P_ 1 + _P_ 2 _m_ _k_ =1 ∑ _tijkx_ <sup>_k_</sup> _ij_ (6) In Eq. (6), _K_ represents the number of transport vehicles, m is the total number of vehicles at the distribution center ( _k_ = 1 _,_ 2 _, · · ·_ _, m_ ), and _tijk_ denotes the travel time of the EVs in the selected area. (2) Energy costs. The energy consumption of an electric vehicle is affected by a variety of factors, mainly including the amount of load, driving speed, and duration, especially in a dynamically changing road network. When the vehicle passes through road sections [ _i, j_ ], its energy consumption can be calculated as <sup>_<u>g · f</u>_</sup> <sup>_<u>· v</u>_</sup> <sup><u>+</u></sup> <sup>_<u>C</u>_</sup> ~~<u>21</u>~~ <sup>_<u>d·A</u>_</sup> _<u>.</u>_ ~~<u>15</u>~~ <sup>_<u>·v</u>_</sup> <sup>3</sup> (8) <u>3600</u> _η_ _Eijk_ = _n_ _t_ <u>∑</u> _Qik, vijk_ <sup>_t_</sup> _Qik, v_ <sup>_t_</sup> <u>)</u> _∗_ _tijk_ (7) _t_ _P_ <sup><u>(</u></sup> <sup>_<u>Q</u>_</sup> ~~<u>21</u>~~ _<u>.</u>_ ~~<u>15</u>~~ _P_ ( _Qk, v_ ) = <sup><u>(</u></sup> <sup>_<u>Q</u>_</sup> <sup><u>0 +</u></sup> <sup>_<u>Qk</u>_</sup> <sup><u>)</u></sup> <sup>_<u>· g · f</u>_</sup> <sup>_<u>· v</u>_</sup> <sup><u>+</u></sup> <sup>_<u>Cd·A·v</u>_</sup> <sup>3</sup> <u>3600</u> _η_ Thus the total energy cost of the distribution process is _n_ _j_ =1 ∑ _C_ 2 = _P_ 3 _m_ _k_ =1 ∑ _n_ _i_ =0 ∑ _x_ <sup>_k_</sup> _ij_ <sup>_t_</sup> _ijk_ <sup>_E_</sup> _ijk_ (9) _x_ <sup>_k_</sup> _ij_ In Eqs. (7), (8), _P_ ( _Qk, v_ ) represents the power level during operation, _g_ corresponds to the physical quantity of gravitational acceleration, _A_ is set as the area of wind blowing on the electric vehicle, while _Cd_ and _f_ portray the coefficients of air resistance and friction resistance, respectively, encountered by the vehicle during traveling. In addition, _η_ reflects the efficiency of the mechanical transmission of the whole system. As for _Q_ 0 and _Qk_, they point to the performance parameters of the EV under no-load condition and the specific performance when carrying current load, respectively. (3) Fast charging or power exchange cost. When the remaining power of an electric vehicle is not sufficient for it to reach the next service point to complete its task, it has to travel to the nearest charging station for emergency fast charging. The cost to be paid for charging is related to the length of charging, where the length of charging is _t_ <sup>_c_</sup> _ik_ <sup>=</sup> <sup>_<u>E</u>_</sup> <sup><u>max</u></sup> _rc_ <sup>_<u>−Eik</u>_</sup> _zi_ <sup>_k_</sup> <sup>. The</sup> <sup>_c_</sup> _ik_ <sup>=</sup> <sup>_<u>E</u>_</sup> <sup><u>max</u></sup> _rc_ <sup>_<u>−Eik</u>_</sup> _i_ <sup>_k_</sup> <sup>. The</sup> corresponding cost is calculated by the formula _C_ 31 = _P_ 4 _m_ _k_ =1 ∑ _w_ _i_ =0 ∑ <sup>_c_</sup> _ik_ <sup>_· z_</sup> _i_ <sup>_k_</sup> _rc_ <sup>_<u>−Eik</u>_</sup> _zi_ <sup>_k_</sup> _t_ <sup>_c_</sup> _i_ <sup>_k_</sup> (10) where _E_ max represents the electric vehicle’s maximum battery capacity, _Eik_ is the remaining power when the vehicle reaches charging station _i_, and _rc_ indicates the charging station’s efficiency. The cost of a battery change will vary depending on the charging method used. For electric logistics vehicles, the cost will be directly affected by the number of battery changes. The formula for calculating the switching cost is _C_ 32 = _P_ 5 _m_ _w_ _k_ =1 _i_ =0 ∑ ∑ _zi_ <sup>_k_</sup> (11) (4) V2G slow charge and discharge costs and battery wear costs. At the end of the distribution mission, the electric vehicle will return to the distribution center and perform a slow charging and discharging operation using a time-sharing tariff system to obtain some economic return. In this process, the costs involved in charging and discharging are _T_ 1 _T_ 0 ∑ _d_ ) _C_ 4 = _a_ ( _PcWc −_ _b_ _T_ 1 _T_ 0 ∑ _PdWd_ ( _T_ 1 _−_ _T_ 0) (12) In Eq. (19), _Pc_ and _Pb_ are set as specific identifiers of the charging cost rate and the discharging cost rate, while _Wc_ and _Wb_ correspond to the power involved in the charging process and the power required in the discharging process, respectively. Further, _a_ and _b_ are introduced as parameters that assume the roles of characterizing the charging and discharging states, respectively: when the system is engaged in charging operations, _a_ is transformed to 0, while _b_ is changed to 1, which clearly reflects the conduct of discharging activities and the cessation of charging activities. In addition, two time points, _T_ 0 and _T_ 1 are precisely defined to delineate the start and end moments of the charging and discharging operations. _C_ 6 = _ωφLPNbE_ max (13) In summary, the overall cost component model for distribution, charging and discharging of EVs in the switching mode can be expressed as follows _C_ = _K_ _× P_ 1 + _P_ 2 _n_ _i_ =0 ∑ _i_ =0 _tijkx_ <sup>_k_</sup> _ij_ <sup>+</sup> <sup>_P_</sup> 3 <sup>_k_</sup> _ij_ <sup>+</sup> <sup>_P_</sup> 3 _m_ _k_ =1 ∑ _x_ <sup>_k_</sup> _ij_ <sup>_t_</sup> _ijk_ <sup>_E_</sup> _ijk_ _k_ =1 _n_ _i_ =0 ∑ _i_ =0 _n_ _j_ =1 ∑ _j_ =1 ) (14) _n_ _j_ =0 ∑ _j_ =0 _T_ 1 _T_ 0 ∑ _T_ 0 _w_ _i_ =0 ∑ _m_ _k_ =1 ∑ + _P_ 4 _m_ _k_ =1 ∑ <sup>_c_</sup> _ik_ <sup>_· z_</sup> _i_ <sup>_k_</sup> ( _t_ <sup>_c_</sup> _i_ <sup>_k_</sup> <sup>+</sup> _a_ _T_ 1 _T_ 0 ∑ _T_ 0 _PdWd_ _<u>Pb</u>_ ( _T_ 1 _−_ _T_ 0) + _ωφLN_ _E_ max _PcWc −_ _b_ The following constraints apply _k_ =1 _i_ =1 _x_ <sup>_k_</sup> _ij_ <sup>_≤_</sup> <sup>_m,_</sup> <sup>_i_</sup> <sup>= 0</sup> (15) _m_ _k_ =1 ∑ _n_ _j_ =1 ∑ _m_ _k_ =1 ∑ _m_ _k_ =1 ∑ _n_ _i_ =1 ∑ _x_ <sup>_k_</sup> _ij_ <sup>=</sup> <sup>_k_</sup> _ij_ <sup>=</sup> _k_ =1 _n_ _j_ =1 ∑ _j_ =1 _x_ <sup>_k_</sup> _ji_ <sup>_,_</sup> <sup>_i_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>_k_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, m_</sup> (16) _yi_ <sup>_k_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, n_</sup> (17) _i_ <sup>_k_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, n_</sup> (17) _n_ _i_ =1 ∑ _m_ _k_ =1 ∑ _qiyi_ <sup>_k_</sup> <sup>_≤_</sup> <sup>_Q,_</sup> <sup>i</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_j,_</sup> <sup>_k_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, m_</sup> (18) _i_ =1 _i_ <sup>_k_</sup> <sup>_≤_</sup> <sup>_Q,_</sup> <sup>i</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_j,_</sup> <sup>_k_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, m_</sup> (18) _n_ _i_ =0 ∑ _n_ _j_ =0 ∑ _i_ =0 _j_ =0 _dijx_ <sup>_k_</sup> _ij_ <sup>_≤_</sup> <sup>_D,_</sup> <sup>i</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_j,_</sup> <sup>_k_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, m_</sup> (19) <sup>_k_</sup> _ij_ <sup>_≤_</sup> <sup>_D,_</sup> <sup>i</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_j,_</sup> <sup>_k_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, m_</sup> (19) _m_ _k_ =1 ∑ _w_ _i_ =0 ∑ 1 ( _E_ 0 _≤_ _Eik_ <sup>_a_</sup> _aik_ + _tik_ _≥_ _Bi_ (20) _aik_ + _tik_ _≤_ _Ei_ (21) _ik_ <sup>_a_</sup> <sup>_≤_</sup> <sup>_E_</sup> max (23) ) + _E_ max = _m_ _k_ =1 ∑ _k_ =1 _Eik_ <sup>_l_</sup> (22) _Eik_ <sup>_a_</sup> _Eik_ <sup>_a_</sup> _i_ 1 _−_ _z_ <sup>_k_</sup> _E_ <sup>_l_</sup> _w_ _i_ =0 ∑ _i_ =0 (15) states that the number of EVs allocated should at least match the number of distribution routes or more. (16) Requires that the distribution vehicles depart from the distribution center and complete the established distribution tasks. (17) Provide that each demand location can be visited only once by an EV and only once at that location. (18) Ensure that the total demand at all customer locations on each distribution route does not exceed the maximum load capacity of the electric vehicle. (19) Provide that the total distance of each distribution route must be within the maximum range of the electric vehicle. (20) and (21) relate to time window constraints. (22) stipulates that EVs must complete charging at a charging station prior to departure. (23) addresses the limitation regarding the energy supply of each electric vehicle at each customer site. The overall expenses associated with distribution and the charging/discharging processes in the rapid charging mode of electric vehicles are represented as. (24) _C_ <sup>_′_</sup> = _K_ _× P_ 1 + _P_ 2 _tijkx_ <sup>_k_</sup> _ij_ <sup>+</sup> <sup>_P_</sup> 3 _m_ _k_ =1 ∑ _x_ <sup>_k_</sup> _ij_ <sup>_t_</sup> _ijk_ <sup>_E_</sup> _ijk_ _k_ =1 _n_ _j_ =0 ∑ _k_ =1 _n_ _i_ =0 ∑ _i_ =0 _n_ _j_ =1 ∑ _n_ _i_ =0 ∑ _i_ =0 _T_ 0 _m_ _k_ =1 ∑ ( + _P_ 5 _m_ _k_ =1 ∑ _w_ _i_ =0 ∑ _zi_ <sup>_k_</sup> <sup>+</sup> _i_ <sup>_k_</sup> <sup>+</sup> _T_ 1 _T_ 0 ∑ _a_ _T_ 1 _T_ 0 ∑ _PdWd_ ) ( _T_ 1 _−_ _T_ 0) _PcWc −_ _b_ The constraints are as above. Algorithm research An enhanced genetic algorithm is developed for addressing the electric vehicle path optimization and charging/ discharging management issues using V2G. Genetic algorithms are efficient parallel search algorithms for solving global optimization problems. Unlike traditional exact algorithms, they can handle various types of complex optimization problems. By virtue of their adaptive ability, genetic algorithms show great applicability when dealing with objective functions and constraints that contain nonlinear and discrete properties. Because of this, they show strong robustness and high efficiency in dealing with complex nonlinear and discrete problem challenges. Figure 3 illustrates the basic flow framework of the enhanced genetic algorithm used in this study. In order to improve the accuracy of model solving and accelerate the process of local convergence, genetic algorithms incorporate a reverse evolution strategy, which in turn enhances the search efficiency. The specific steps of the genetic algorithm in solving the electric vehicle path planning problem are described in detail next. Fig. 3 . Basic flowchart of the algorithm. Step 1: Encoding and decoding. This step represents the order in which each client is accessed. The clients are encoded with natural numbers. The length of the chromosome is _n_ + _m_ + _k −_ 1, where _n_ represents the number of client sites, labeled as client numbers 1, 2,, _n._ _m_ represents the number of charging stations, denoted as _n_ + 1 _, n_ + 2 _, ..., n_ + _m._ _k_ denotes the number of electric vehicles utilized and the total number of distribution paths. The position of the distribution center on the chromosome is indicated by _k −_ 1, which is marked as 0. For instance, the number series (6, 2, 5, 4, 3, 1, 7, 10, 9, 8) indicates the visitation sequence to various customer locations. After accounting for load limits, timing restrictions, and incorporating distribution hubs, the initial sequence transforms to (0, 6, 2, 5, 0, 4, 3, 1, 7, 0, 10, 9, 8, 0), with ‘0’ denoting a distribution hub or the journey’s start/end points. Moreover, should the electric vehicle require recharging en route, the plan includes detours through charging stations, revising the sequence to (0, 6, 2, 11, 5, 0, 4, 12, 3, 1, 7, 0, 10, 9, 8, 0), where ‘11’ and ‘12’ are specific charging station locations. The decoding phase reverses the encoding process, translating the coded sequence back into actual delivery routes. In detail, this deciphers into three routes: Route 1 from 0 (beginning), passing through 6, 2, to 11 (charging stop), then 5, ending at 0; Route 2 starting anew at 0, proceeding through 4, 12 (a different charging spot), 3, 1, 7, concluding at 0; and Route 3 kicking off again at 0, through 10, 9, 8, to finish at 0. This setup effectively depicts task allocation among three EVs, including necessary charging station visits within the delivery network to recharge. Step 2: The process of initializing the population involves calculating the total energy consumption of the electric vehicle path planning model from the starting node. Whenever the vehicle reaches a node, the system checks whether the remaining power is sufficient to travel to the next customer node or the nearest charging station. If the power is not enough to continue the journey, the nearest charging station marker will be inserted after the current node. This process will continue until all nodes have been visited. The specific way in which each chromosome is coded can be illustrated by the example in step 1, where the customers are arranged in a randomized order. We integrate the distribution centers and charging stations into the chromosome structure, taking into account the load and power constraints. This process is repeated until a predetermined population size is reached. Step 3: Setting criteria for adaptation assessment. Adaptation functions are often tailored to the specific problem at hand. In the EVRP model and the charging/discharging strategy in the charge-switching mode, the core objective is to reduce the overall cost. Chromosomes that possess a higher fitness value are more competitive when passed on to the next generation. Accordingly, the fitness function is set as the reciprocal of the objective function value. Step 4: Selection. In the selection phase, an elite retention strategy was first used, i.e., chromosomes were sorted according to their fitness values. In the subsequent population composition, the top 5% of the optimal chromosomes are directly retained as elites, while the remaining 95% are screened by a roulette wheel selection mechanism. In this process, chromosomes with higher fitness values are more likely to be selected for crossover and mutation operations, thus generating a new generation of populations. Step 5: Crossover. During the chromosome encoding process of the EVRP problem, the numbering information of the charging stations is included. However, this practice may cause problems as the original layout of the charging stations may be corrupted, which in turn leads to a large number of non-optimal solutions in the offspring. To cope with this challenge, the extra added genes need to be removed before performing crossover and mutation operations. In the crossover session, we select unique gene segments from the paternal chromosomes and arrange them in order in the offspring. For example, if there are two paternal chromosomes P1 (1,2,3,4,5,6,7) and P2 (6,4,2,3,7,1), crossover may produce offspring chromosomes O1 (1,6,2,4,3,5,7) (and O2 (6,1,4,2,3,7,5), where the example of O1 suffers from the problem of duplicate elements, which is required to ensure that crossover results in practical applications are Validity. Step 6: Mutation. Genetic variation plays a key role in the whole process of genetic manipulation. Mutation on chromosomes is an important means of preventing premature convergence due to rapid descent into a local optimum, as well as maintaining chromosomal population diversity. During the mutation phase, a number of gene loci are randomly selected from the parental chromosomes for rearrangement, while the remaining loci are maintained as they are. Step 7: The quality of the solution can be optimized, and the acceleration of local convergence can be facilitated by using the evolutionary inversion technique, a process that focuses on chromosomes that have been subjected to selection, crossover, and mutation. In the inversion operation, two random integers are first generated to identify a specific interval on the chromosome. Subsequently, the genes within that interval are reversed in order to generate a new chromosome. In the case of the parent P1 (1,2,3,4,5,6,7), for example, if the random integers are 3 and 6, the offspring O1 will become (1,2,6,5,4,3,7). It is worth noting that the change is accepted only if the inversion operation enhances the fitness value. The algorithm’s iteration limit is established at 500. The process automatically concludes once the iteration reaches this threshold. Example analysis Example data and parameter settings The experimental dataset used in this study was obtained from the figshare database ​( ​ h​t​t​p ​ [s​:​/​/​d​o](https://doi.org/) ​ [i​.​o​r​g​/h​t​t​p​s​:​/​](https://doi.org/10.6084/m9.figshare.10288326) ​ [/​d​o​i​.​o​r​g​/​1​0​.​6​0​8​4​/​m​9​.​fig​s​h​a​r​e​.​1​0​2​8​8​3​2​6](https://doi.org/10.6084/m9.figshare.10288326) ​ )​, ensuring accessibility and replicability for researchers. Specifically, ​ we selected the R-2-C-30 simulation example from which to conduct the experimental analysis, as it comprehensively reflects a real-world scenario involving 30 customer nodes and two charging stations. This choice was not arbitrary but rather driven by the need to balance complexity and comprehensibility to facilitate a deeper understanding of potential optimization challenges. Each customer node in the dataset is identified by a unique number ranging from 1 to 30, representing a discrete demand point in the network. In addition, the distribution center, which serves as the starting point for all service routes, is designated as node 0. The two charging stations, which are important components of the logistics system, are explicitly labeled as nodes 31 and 32. To substantiate the veracity and applicability of our findings, detailed information is provided for each customer node, which includes the demand, the service time, and the time window, among others. This careful attention to data granularity allows us to accurately model real-world constraints and evaluate the performance of our proposed strategies under different operating conditions. Electric vehicles return to the distribution centers after completing their distribution tasks and are connected to the grid through batteries. Here, they are able to both charge and discharge from the grid in order to utilize the time-of-use tariff mechanism to generate revenue by selling excess electricity through the market. This decision is based on time-of-use tariff data provided in the relevant literature <sup>12</sup> and aims to optimize charging and discharging behavior. The day is divided into peak and off-peak hours, and the specific time-of-day tariffs are shown in Table 1. When electric vehicles finish their distribution tasks and reconnect to the distribution center’s grid, they maximize their potential profit by deciding whether to receive or deliver power based on time-of-day tariff fluctuations. The genetic algorithm was implemented on a computer equipped with a 2.20 GHz processor and 4 GB of random access memory, and the data were analyzed using MATLAB software (version R2018b). See Table 2 for specific parameter configurations. Algorithm comparison analysis In order to verify the effectiveness of the improved genetic algorithm in this study, it is solved with the particle swarm algorithm, simulated annealing algorithm, and genetic algorithm, respectively, for the optimization <u>Types</u> <u>Time period</u> <u>Charge price (yuan/kwh)</u> <u>Discharge price (yuan/kwh)</u> <u>Peak hours</u> <u>10:00–20:00</u> <u>1.28</u> <u>0.9</u> 00:00–10:00 Non-peak hours 0.35 0.20 <u>20:00–24:00</u> Table 1 . Time-sharing tariff. <u>Parameters</u> <u>Parameter value</u> <u>Parameters</u> <u>Parameter value</u> _<u>P</u>_ <u>1</u> <u>100 yuan/veh</u> _<u>Q</u>_ <u>0</u> <u>2</u> _<u>t</u>_ _P_ <u>2</u> 50yuan/h _g_ <u>9.81</u> _<u>m/s</u>_ <sup>2</sup> _<u>P</u>_ <u>3</u> <u>0.5 yuan/kwh</u> _<u>f</u>_ <u>0.015</u> _<u>P</u>_ <u>4</u> <u>1yuan/min</u> _<u>Cd</u>_ <u>0.6</u> _<u>P</u>_ <u>5</u> <u>100yuan/time</u> _<u>Pb</u>_ <u>60000yuan</u> _<u>LN</u>_ <u>800time</u> _<u>E</u>_ <u>max</u> <u>100kw.h</u> _<u>Q</u>_ <u>100 kg</u> _<u>v</u>_ <u>40 km/h</u> _<u>∂</u>_ <u>0.01</u> _<u>η</u>_ <u>1.46</u> _<u>Wc</u>_ <u>9kw</u> _<u>Wd</u>_ <u>6kw</u> _<u>A</u>_ <u>6</u> _<u>m</u>_ <sup><u>2</u></sup> _rc_ 2 kw/h Table 2 . Model parameter values. Fig. 4 . Comparison of iteration results under different algorithms. model of electric vehicle logistics and distribution path under the above power exchange mode for comparative analysis. The experimental data use R-2-C-30 instances, and the iterative comparison graph of the solution results of the four algorithms is shown in Fig. 4, where NV denotes the number of iterations. As can be seen from Fig. 4, the improved algorithm (IGA) of this paper solves the minimum total cost optimum of the electric vehicle path optimization model under the power switching model with better convergence speed. In contrast, the particle swarm algorithm (PSO) has a faster convergence speed, but it is easy to fall into the local optimal solution, is sensitive to the parameters, and needs to be carefully adjusted to ensure the stability of the algorithm and the convergence of the algorithm. The simulated annealing algorithm (SA) has a relatively slow search speed and is prone to fall into local optimal solutions. When dealing with complex problems similar to the model of this study, it may be difficult to find the global optimal solution due to the large search space. Genetic Algorithm (GA) has strong global search ability and is not easy to fall into local optimal solutions. However, the local search ability is poor, often can only get the suboptimal solution, slow convergence speed, and strong dependence on parameters. The above comparative analysis verifies the applicability and effectiveness of the improved algorithm of this paper in solving the electric vehicle path optimization problem. Fig. 5 . Distribution path diagrams for two scales in scenario 1. Fig. 6 . Distribution path diagrams for two scales in scenario 2. Analysis of distribution path planning and charging and discharging management results In order to verify the effectiveness of the designed path planning and charge/discharge management models, four different scenarios are designed for comparative analysis. Scenarios 1 and 2 mainly focus on cost reduction by optimizing the distribution paths, where Scenario 1 employs a power switching strategy, while Scenario 2 chooses a fast charging method that specifically considers the impact of fast charging on battery life and the cost it incurs. Scenarios 3 and 4 are based on the logistical framework of Scenarios 1 and 2 and further incorporate the management of slow charging and discharging when EVs return to the distribution center. A modified genetic algorithm is applied to solve the four scenarios, with examples of R-2-C-30 and R-2-60 sizes. The optimal path assignments for the EVs are shown in Figs. 5, 6, 7, 8, while Table 3 lists the charging times under Scenario 2 and Scenario 4 in the R-2-30 example. As depicted in Figs. 5, 6, 7, 8, the number of intersections among electric vehicle distribution paths in cases 1 and 3 is noticeably lower compared to cases 2 and 4. A higher number of crossings indicates longer total logistics distribution paths, leading to increased logistics and distribution costs as well as longer charging times. Specifically, the two models employing the fast charging method during transportation have longer charging times than the model using the power exchange method. Due to the complexity of distribution costs, fast charging takes more time than power exchange. Consequently, a higher number of path crossings will result in increased charges and swaps, ultimately leading to higher total distribution costs. In the experimental results, we obtained data on the number and duration of charging and discharging in the four scenarios. Scenarios 1 and 3 share the same charging time and frequency. As shown in Table 3, the scenario 4 has more charging cycles but a shorter total charging time compared to scenario 2. Scenario 2’s charging time (h) is 1.21-0.49-1.14-1.05-0.32, while scenario 4’s charging time (h) is 1.31-0.72-1.28-0.71-1.04-1.15. This difference is mainly attributed to the charging and discharging costs, along with battery wear and tear, when scenario 4 utilizes V2G technology to connect to the grid. To maximize the benefits of charging and discharging, it’s essential to consider not only the time-sharing tariff differences but also the power load of the electric vehicle upon returning from the distribution task. By doing so, the vehicle can charge more effectively. However, it’s Fig. 7 . Distribution path diagrams for two scales in scenario 3. Fig. 8 . Distribution path diagrams for two scales in scenario 4. <u>Charge time(h)</u> <u>Scenario 2</u> <u>1.21–0.49–1.14–1.05–0.32</u> <u>Scenario 4</u> <u>1.31–0.72–1.28–0.71–1.04–1.15</u> Table 3 . Charging time in two charging scenarios. important to note that charging and discharging activities can impact battery health, leading to a reduction in charging time. Table 4 summarizes the experimental results for each type of cost. Specifically, GC represents the fixed cost, YC is the transportation cost, NC represents the energy consumption cost, CC is the charging cost, HC is the variable power cost, VC represents the slow charging and discharging cost, DC is the battery depletion cost, and TC is the total cost, all of which are measured in yuan. From Table 4, it is evident that: (1) The optimal solution for all four scenarios is the use of four electric vehicles for distribution. Among these scenarios, Scenario 1 exhibits a lower total delivery cost compared to Scenario 2. This difference is primarily attributed to the longer time spent on fast charging during transit and the need for multiple charging instances due to varying degrees of battery aging. In the model, transportation costs are primarily influenced by transportation time, resulting in higher overall transportation expenses. Additionally, more energy costs are incurred due to the necessity of making multiple trips to the charging station for recharging. Although the cost of a single charge change is higher than the average cost of a single charge, the difference in charge and exchange costs for completing the final distribution task is not significant, owing to variations in the number <u>COST</u> <u>Scenario 1</u> <u>Scenario 2</u> <u>Scenario 3</u> <u>Scenario 4</u> <u>R-2–30</u> <u>R-2–60</u> <u>R-2–30</u> <u>R-2–60</u> <u>R-2–30</u> <u>R-2–60</u> <u>R-2–30</u> <u>R-2–60</u> <u>GC</u> <u>400</u> <u>800</u> <u>400</u> <u>800</u> <u>400</u> <u>800</u> <u>400</u> <u>800</u> <u>YC</u> <u>689.82</u> <u>1322.14</u> <u>817.80</u> <u>1805.61</u> <u>682.08</u> <u>1255.63</u> <u>792.91</u> <u>1756.3</u> <u>NC</u> <u>86.53</u> <u>210.54</u> <u>122.31</u> <u>355.02</u> <u>85.57</u> <u>196.07</u> <u>129.17</u> <u>327.22</u> <u>CC</u> <u>0</u> <u>0</u> <u>212.94</u> <u>604.33</u> <u>0</u> <u>0</u> <u>192.34</u> <u>575.74</u> <u>HC</u> <u>200</u> <u>500</u> <u>0</u> <u>0</u> <u>200</u> <u>500</u> <u>0</u> <u>0</u> <u>VC</u> <u>0</u> <u>0</u> <u>0</u> <u>0</u> <u>− 61.2</u> <u>− 130.35</u> <u>− 18</u> <u>− 46</u> <u>DC</u> <u>0</u> <u>0</u> <u>0</u> <u>0</u> <u>0</u> <u>0</u> <u>12.05</u> <u>33.11</u> <u>TC</u> <u>1376.35</u> <u>2832.68</u> <u>1553.05</u> <u>3564.85</u> <u>1306.46</u> <u>2621.35</u> <u>1508.47</u> <u>3446.37</u> Table 4 . Distribution cost comparison. <u>T</u> <u>30</u> ℃ <u>20</u> ℃ <u>10</u> ℃ <u>1</u> ℃ <u>DC (70%)</u> <u>12.25</u> <u>12.05</u> <u>11.46</u> <u>4.66</u> Table 5 . Ambient temperature sensitivity analysis. <u>D</u> <u>100%</u> <u>70%</u> <u>50%</u> <u>30%</u> <u>DC (20℃)</u> <u>16</u> <u>12.05</u> <u>9.23</u> <u>6.25</u> Table 6 . Discharge depth sensitivity analysis. of charges and exchange times. Therefore, it is considered more economical to opt for distribution in case 1, i.e., logistics distribution in the power exchange mode. (2) Scenarios 3 and 4 involve utilizing V2G technology at the distribution center for charging and discharging management. Compared to scenarios 1 and 2, the cost is lower. The primary reason is the negative cost associated with slow charging and discharging in both cases, indicating that the benefits from discharging outweigh the charging cost. This reduction in overall logistics and distribution costs is significant. When examining Scenarios 3 and 4, it is clear that the cost of slow charging and discharging in Case 4 is reduced by 43.2 yuan vs. 84.55 yuan for the two case sizes, respectively. The main reason for this difference is that scenario 3 replenishes power during distribution, eliminating the need to consider battery loss resulting from charging and discharging. In contrast, scenario 4 necessitates accounting for battery loss costs, which are primarily influenced by the depth of discharge. Consequently, the advantages of employing slow charging and discharging at the distribution center, under the power exchange mode, become more apparent without concerns about battery depletion. (3) For all four scenarios, calculation R-2–60 costs more than twice as much as R-2–30, and although the customer locations are exactly twice as large, the number of charging stations remains unchanged, so the travel to the charging stations becomes more complicated. Compared to Scenario 1 and Scenario 3 in the switching mode, Scenario 2 and Scenario 4 in the fast charging mode have a larger percentage increase in total cost for the larger R-2–60 example. This is due to the fact that there are more customer points and the number of charging trips and charging time increases, leading to more transportation and energy costs. Therefore, the switching mode is more suitable for urban logistics and distribution of EVs with multiple scale customer points than the charging mode. Battery loss sensitivity analysis and V2G impact on the grid The efficiency of electric vehicle batteries in supplying power to the grid is mainly affected by the ambient temperature and the degree of discharge. Tables 5 and 6 demonstrate the relevant experimental results, while Figs. 9 and 10 depict the specific effects of ambient temperature and degree of discharge on battery losses, respectively. From the graph above, it is evident that the depth of discharge remains constant. With the rise in ambient temperature, the battery loss cost also increases. The trend of the curve indicates that higher temperatures lead to a smaller magnitude of increased cost loss. This is mainly due to the fact that the higher the temperature, the lower the temperature correction factor _ω_ = _e_ <sup>_k_</sup> <sup>(</sup> <sup>_T_</sup> <sup>_TN_</sup> <sup>)</sup> and the smaller the magnitude of the curve. Similarly, at a constant ambient temperature of 20 ℃. The deeper the discharge depth is, the lower the correction factor _σ_ = _D_ <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>795</sup> is, and the magnitude of the reduction is not significant. Consequently, the greater the depth of discharge, the higher the cost of battery deterioration. While slow charging and discharging may have an impact on battery life, it is possible to select appropriate charging and discharging strategies during different tariff periods to achieve specific revenue goals. This approach can help in reducing the base load during peak hours of electricity consumption and shifting the peak Fig. 9 . Trend of temperature on battery loss. Fig. 10 . Trend of depth of discharge on battery loss. load, thereby significantly smoothing the grid load fluctuations. The simulation data presented in this paper focuses on a single logistics small-scale distribution study. However, the charge/discharge management model proposed here can be extended to large-scale logistics distribution services to optimize power efficiency and effectively reduce the peak-to-valley load difference. Conclusions The optimization model of electric vehicle logistics paths under power exchange and fast charging modes is centered on minimizing the total distribution cost. We also explore the slow charging and discharging management strategy when EVs return to the distribution site. The total cost of logistics and distribution in the switching mode covers fixed costs, transportation overhead, energy costs, switching cost, and slow charging and discharging costs. In contrast, in the fast charging mode, the logistics and distribution costs reflect more of the conversion of electricity costs to fast charging costs. In addition, slow charging and discharging entails additional battery depletion costs, the calculation of which has been optimized for ambient temperature and discharge depth. We have solved each model using an enhanced genetic algorithm. The main conclusions drawn from the experiments include: (1) compared with the fast charging mode, the power switching mode reduces the complexity of path intertwining in route planning, which cuts down the total distribution cost. (2) Effective management of slow charging and discharging when returning to the distribution site can generate certain discharge benefits, which in turn reduces the overall logistics and distribution cost. (3) In the power switching mode, the slow charging and discharging management is more advantageous than fast charging, as it not only reduces the total logistics and distribution costs, but also provides more benefits than fast charging, as it can reduce the total distribution cost. Advantageous because it not only reduces the total cost but also enhances the load balancing capability within the distribution system. (4) The cost of battery depletion in EVs increases with decreasing ambient temperatures, while deepening the depth of discharge leads to a steady increase. Data availability The datasets generated and/or analyzed in this study are available in the [Figshare] repository ​[ ​ h​t​t​p ​ [s​:​/​/​fig​s​h​a​r​e](https://figshare.com/search?q=10.6084%2Fm9.figshare.24845391) ​ ​ .​ c​o​m​/​s ​ [e​a​r​c​h​?​q​=​1​0​.​6​0​8​4​%​2​F​m​9​.​fig​s​h​a​r​e​.​2​4​8​4​5​3​9​1](https://figshare.com/search?q=10.6084%2Fm9.figshare.24845391) ​ ] ​ ​h​t​t ​ p​s​:​// ​ ​ fig ​ ​ s ​ h ​ a​r​e​. ​ c​o​m ​ / ​ [s​e​a​r​c​h​?​q​=​1​0​.​6​0​8​4​%​2​F​m​9​.​fig​s​h​a​r​e​.​2​4​8​4​](https://figshare.com/search?q=10.6084%2Fm9.figshare.24845391) ​ [5​3​9​1.](https://figshare.com/search?q=10.6084%2Fm9.figshare.24845391) ​​ Received: 19 July 2024; Accepted: 26 November 2024 References 1. Montoya, A., Guéret, C., Mendoza, J. E. & Villegas, J. G. The electric vehicle routing problem with nonlinear charging function. _Transportation Research Part B: Methodological_ 160, 1–17 (2017). 2. Kancharla, S. R. & Ramadurai, G. Electric vehicle routing problem with non-linear charging and load-dependent discharging. _Expert Syst. Appl._ 160, 1–17 (2020). 3. Bruglieri, M., Pezzella, F., Pisacane, O. & Suraci, S. A variable neighborhood search branching for the electric vehicle routing problem with time windows. _Electron. Notes Discret. Math._ 47, 221–228 (2015). 4. Erdelić, T., Carić, T., Erdelić, M. & Tišljarić, L. Electric vehicle routing problem with single or multiple recharges. _Transp. Res._ _Procedia_ 40, 217–224 (2019). 5. Erdelić, T. & Carić, T. Goods delivery with electric vehicles: Electric vehicle routing optimization with time windows and partial or full recharge. _Energies_ 15 (1), 285 (2022). 6. Yang, S., Ning, L., Tong, L. C. & Shang, P. Optimizing electric vehicle routing problems with mixed backhauls and recharging strategies in multi-dimensional representation network. _Expert Syst. Appl._ 176, 114804 (2021). 7. He, F., Yin, Y. & Lawphongpanich, S. Network equilibrium models with battery electric vehicles. _Transp. Res. Part B Methodol._ 67, 306–319 (2014). 8. Zhang, S., Chen, M., Zhang, W. & Zhuang, X. Y. Fuzzy optimization model for electric vehicle routing problem with time windows and recharging stations. _Expert Syst. Appl._ 145, 113123 (2020). 9. Basso, R., Kulcsár, B., Egardt, B., Lindroth, P. & Sanchez-Diaz, I. Energy consumption estimation integrated into the electric vehicle routing problem. _Transp. Res. Part D Transp. Environ._ 69, 141–167 (2019). 10. Rasheed, M. B., Awais, M., Alquthami, T. & Khan, I. An optimal scheduling and distributed pricing mechanism for multi-region electric vehicle charging in smart grid. _IEEE Access_ 8, 40298–40312 (2020). 11. Moghaddam, Z., Ahmad, I., Habibi, D. & Masoum, M. A. S. A coordinated dynamic pricing model for electric vehicle charging stations. _IEEE Trans. Transp. Electrif.._ 5 (1), 226–238 (2019). 12. Xu, X., Niu, D., Li, Y. & Sun, L. J. Optimal pricing strategy of electric vehicle charging station for promoting green behavior based on time and space dimensions. _J. Adv. Transp._ 2020, 1–16 (2020). 13. Grée, F. et al. Cloud-based big data platform for vehicle-to-grid (v2g). _World Electr. Veh. J._ 11 (2), 30 (2020). 14. Triviño-Cabrera, A., Aguado, J. A. & De La Torre, S. Joint routing and scheduling for electric vehicles in smart grids with V2G. _Energy_ 175, 113–122 (2019). 15. Das, R., Wang, Y., Busawon, K., Putrus, G. & Neaimeh, M. Real-time multi-objective optimisation for electric vehicle charging management. _J. Clean. Prod._ 292, 126066 (2021). 16. Yao, C., Chen, S., Salazar, M. & Yang, Z. Y. Joint routing and charging problem of electric vehicles with incentive-aware customers considering spatio-temporal charging prices. _IEEE Trans. Intell. Transp. Syst._ [https://doi.org/10.2139/ssrn.4113885 (2023).](https://doi.org/10.2139/ssrn.4113885) 17. Barco, J., Guerra, A., Munoz, L. & Quijano, N. Optimal routing and scheduling of charge for electric vehicles: A case study. _Math._ _Probl. Eng._ 2017, 8509783 (2017). 18. Lacey G, Jiang T, Putrus G, Kotter R. The effect of cycling on the state of health of the electric vehicle battery. 2013 48th International Universities’ Power Engineering Conference (UPEC). 1–7. (2013). 19. Han, S., Han, S. & Aki, H. A practical battery wear model for electric vehicle charging applications. _App. Energy_ 113 (8), 1100–1108 (2014). 20. Perger, T. & Auer, H. Energy efficient route planning for electric vehicles with special consideration of the topography and battery lifetime. _Energy Effic._ 13, 1705–1726 (2020). 21. Xu, B., Shi, J., Li, S., Li, H. Y. & Wang, Z. Energy consumption and battery aging minimization using a Q-learning strategy for a battery/ultracapacitor electric vehicle. _Energy_ 229, 120705 (2021). 22. Qian K, Zhou C, Yuan Y, Allan M. Temperature effect on electric vehicle battery cycle life in vehicle-to-grid applications. CICED 2010 Proceedings. 1–6. (2010). Author contributions Z.A.B.: Conceptualization, funding acquisition, investigation, methodology, supervision, writing, review, editing. L.H.R.: formal analyses, methodology, review, editing. All authors reviewed the manuscript Declarations Competing interests The authors declare no competing interests. Additional information Correspondence and requests for materials should be addressed to A.Z. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to [obtain permission directly from the copyright holder. To view a copy of this licence, visit ​h​t​t​p​:​/​/​c​r​e​a​t​i​v​e​c​o​m​m​o​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [n​s​.​o​r​g​/​l​i​c​e​n​s​e​s​/​b​y​-​n​c​-​n​d​/​4​.​0​/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) ​​ © The Author(s) 2024

섹션 본문 80문단 · 35,580자

(제목 없음)

1This paper presents a novel approach to advancing sustainable urban logistics and distribution, focusing on fast charging and power exchange modes as the core research objects.Our key contribution lies in the development of an electric vehicle path optimization model, wherein the primary objective is total cost minimization.Additionally, we leverage V2G technology to enable slow charging and discharging management of electric vehicles upon their return to the distribution center.Furthermore, we introduce a robust calculation method for estimating battery loss costs, taking into account ambient temperature and discharge depth.The logistics distribution model is effectively solved using a genetic algorithm, incorporating both charging modes under the V2G framework.The simulation results demonstrate that our V2G model significantly enhances the operational flexibility of electric vehicle logistics distribution, leading to a substantial reduction in distribution costs.Moreover, it effectively balances peak and valley loads within the distribution system.In this study, we conduct an in-depth analysis of the charging and swapping mode model through experimental comparisons, offering valuable insights to aid decisionmaking in the logistics sector regarding charging and swapping strategies.Additionally, we investigate the impact of slow charging and discharging management on the distribution system.Furthermore, we perform a comprehensive sensitivity analysis to explore factors influencing battery loss in electric vehicles.Notably, we find a direct correlation between higher temperatures and deeper discharge depths with increased battery loss.Our research introduces a cutting-edge solution to optimize urban logistics, significantly contributing to sustainable development.The proposed model provides critical implications for the logistics industry, driving efficient and eco-friendly practices in electric vehicle distribution.Acknowledgements (optional) Author contributionsNames must be given as initials.For example: B.W. conceived the experiment(s).R.W. and D.W. conducted the experiment(s), and B.W. performed statistical analysis and figure generation.All authors reviewed the manuscript.

Introduction

2With the growth of the social economy, users' consumption levels and frequency of online shopping have significantly increased, leading to a remarkable expansion of the logistics and transportation industry.Logistics and transportation play a pivotal role in promoting economic development.However, this growth has also brought about a series of problems, such as increased energy consumption and environmental pollution in the logistics and transportation processes, which are currently constraining the development of the logistics industry.Given the context of environmental and energy concerns, the progress in new technology has catalyzed the development of the new energy vehicle industry.As a result, new energy logistics vehicles have emerged as the primary focus for the development of logistics and distribution systems.According to statistics, the growth and application of Electric Vehicles (EVs) have been steadily increasing year by year.In comparison to traditional fuel vehicles, EVs offer significant advantages, including no pollution, energy efficiency, and lower energy costs.Consequently, the large-scale integration of EVs into logistics transportation is an inevitable trend.The Edison Institute 1 counted a 79%, 78%, and 34% increase in electric vehicle sales in the United States, China, and Europe, respectively, in 2018.Projections indicate that there will be 250 million electric vehicles on the road by 2030 2 .

3In 2020, the General Office of the State Council proposed the "New Energy Vehicle Industry Development Plan (2021-2035)" with the aim of promoting the comprehensive and seamless integration of new energy vehicles with energy, transportation, and communication systems.The plan seeks to optimize energy consumption structures, transportation systems, and enhance city intelligence levels.Electric Vehicles (EVs) possess energy storage characteristics and can function as mobile distributed power sources, allowing them to connect to the grid.Leveraging Vehicle-to-Grid (V2G) technology enables the rational planning of EV charging and discharging times.Consequently, this approach can effectively reduce the difference between peak and off-peak periods and ensure a smooth power supply, enhancing the safety and reliability of the grid.

4Electric vehicles (EVs) are subject to various factors that influence their performance during logistics transportation, including battery capacity and energy consumption.Such factors can lead to mileage anxiety among drivers.In cases where the battery power runs low during transportation, drivers must select appropriate charging stations for power exchange or fast charging.Consequently, effective EV logistics distribution path planning and electric energy replenishment management are of utmost importance.The electric vehicle path problems (EVRP) have emerged as a prominent research topic in the field of modern logistics, attracting significant attention from academia and industry alike.The primary focus of research in this domain revolves around charging methods and energy consumption models, tailored to the application scenarios and characteristics of EVs.The literature 3 investigates the economic and safety benefits associated with the full charging of EVs during transportation.Based on this, the literature 4 compares two strategies: partial charging and full charging.It has been determined that partial charging reduces waiting time and costs.However, it also leads to an increase in the psychological stress experienced by drivers, and results in both an expanded distribution of vehicles and an increase in driving distance.The literature 5 has examined the EVRP with both single and multiple charging strategies.The literature 6 proposed an EVRP with mixed return and charging strategies.Different charging strategies affect the path selection.The calculation of electrical energy consumption directly affects the accuracy of the overall path optimization model.The literature 7 investigates the impact of traffic congestion on EV energy consumption.In the literature 8 , electrical energy consumption is represented using a fuzzy number based on reliability theory.The literature 2 presents a nonlinear model for charging and vehicle load-related electrical consumption.The literature 9 has also examined an enhanced electric power consumption model, taking into account factors such as terrain and speed.In recent years, logistics companies and operators have been striving to maximize their economic benefits from electric vehicle distribution and aim to apply vehicle network connectivity in a more flexible manner.

5V2G technology can mitigate the electrical load on the power grid by addressing peak demand and low demand periods.As a result, optimizing the EV charging and discharging strategy becomes crucial.Nevertheless, the effectiveness and profitability of V2G technology, along with the potential impact of frequent charging and discharging on battery performance degradation, remain to be considered.The issue of EV dispatch in the smart grid is closely tied to electricity pricing.The literature 10 proposes a distributed pricing mechanism, while 11 suggests a coordinated dynamic pricing mechanism.The literature 12 proposes an electricity pricing strategy based on regional and time partitioning.These novel pricing mechanisms dynamically adjust price incentives to encourage EV charging during off-peak periods.Implementing vehicle-to-grid (V2G) effectively necessitates data from both vehicles and the grid.The literature 13 proposes a cloud-based big data platform to harness this data.The literature 14 applies V2G technology to EVRP.The literature 15 proposes a charge/discharge model for EVRP aiming to minimize both the cost of power input and battery degradation.The literature 16 presents a two-tier optimization model that considers temporal variations in toll prices.The literature 17 estimated electric vehicle energy consumption by employing a model with longitudinal kinetic equations of motion for electric vehicle charging, discharging, and scheduling.In a related study, it was shown 14 that slight changes in driving patterns can provide benefits to EV users and improve network operation.The proper design of tariffs plays a crucial role in promoting V2G participation.Currently, none of the existing literature addresses the charging and discharging management, as well as the resulting cost of battery depletion, within the context of EV logistics.Therefore, further research is required in the domains of path optimization and charge/discharge management for EV logistics distribution.

6Based on the comprehensive analysis of the above research, it is evident that urban logistics distribution and air pollution have become significant concerns in recent years.To address these issues, EV distribution emerges as a promising solution.However, previous studies have predominantly focused on collective responses of individual users to EV charging and discharging, neglecting a thorough analysis of battery degradation during the logistics distribution process.Furthermore, there is a lack of research on vehicle return to the distribution center for charging and discharging management.Consequently, there exist research gaps in the EVRP domain, particularly when considering slow charge/discharge management and battery degradation in the logistics and distribution process, whether it involves a change of charge or fast charging.In light of this, the paper proposes two models: an EV logistics distribution path optimization model and a charge/discharge management model, both based on V2G technology, to address these issues comprehensively.

Electric vehicle charging and discharging path optimization Problem Description

7The problem of optimizing EV logistics distribution path and charging/discharging management in a smart grid can be described as follows: There is a single distribution center with charging piles for slow charging and discharging.Before distribution, we have information about customer demand, time windows, and geographical locations.The charging station is available for charging and swapping, and its location is known.Additionally, we have data on charging and swapping tariffs and grid tariffs.All electric vehicles have identical specifications, and their load and distance must not exceed the maximum vehicle specifications.The distribution process must adhere to both time window and power constraints.If an electric vehicle's power is insufficient to complete the distribution, it needs to be charged at the nearest charging station.Charging is only considered when the vehicle reaches full charge.The mathematical model aims to minimize fixed costs, driving costs, electric energy consumption costs, and charging and discharging costs to optimize EV logistics path selection and charging/discharging management.Figure 1 illustrates the schematic diagram of charging and discharging management based on V2G technology.

8The tariff is a time-of-day, variable tariff, with different rates applied during different times of the 24hour period.During peak hours, when the power system cannot meet the energy demand, the tariff is increased.Conversely, the price of electricity is reduced during off-peak hours.This time-of-day tariff scenario is derived from the distribution network load data in Literature 18 , and the time-of-day tariff diagram is shown in Figure 2.

Battery degradation analysis

9Electric vehicles rely on power exchange and fast or slow charging to replenish their electric energy.In logistics city distribution, time efficiency is crucial.Hence, we separately consider the charging and switching costs for fast charging and power exchange modes.Electric vehicles handle distribution tasks, returning to the distribution center for slow charging and discharging management.While generating profits, the battery incurs wear and tear costs accordingly.

10The actual battery life is influenced by several factors, including the charging rate, state of charge, ambient temperature, and depth of discharge [18] .The effects of ambient temperature and depth of discharge are the primary considerations when employing V2G technology for charging and discharging.In the case of lithium-ion batteries, the main principle behind battery loss is attributed to chemical reactions that take place within the battery, resulting in the formation of an oxide film on the electrode surface.Consequently, this leads to an increase in the internal resistance of the battery.Moreover, the ambient temperature directly impacts the rate of these chemical reactions occurring inside the battery, which typically follows the Arrhenius formula [19] E kT Ae 

11Where  is the reaction rate; A is the Arrhenius constant in the same units as  ; E is the activation energy, a temperature-independent constant; k is the Boltzmann constant; T represents the absolute temperature, K .

12Assuming the same time for each charge and discharge cycle, denoted by t  , Then the increase in the internal resistance of the battery after a single cycle is obtained according to the Arrhenius formula.

13Where 0 r is the increment of resistance value per unit time, The unit is  .

14According to the test standard of lithium-ion battery cycle life, Combining with equation ( 2), the increase in internal resistance of a lithium-ion battery over its full life cycle can be obtained as follows.

15The subscript N is the quasi-side value under standard conditions.It is known that at any temperature, T .The actual cycle life of the lithium-ion battery is

16where

17 is the temperature correction factor for the cycle life of the lithium-ion battery at temperature T , denoted as  .

18The lifetime of Li-ion batteries is also dependent on the depth of discharge (DOD) during each charge and discharge cycle.The cycle life is shorter with a deeper depth of discharge [20,21] .The battery life test value is measured at a 100% depth of discharge, implying that the actual battery life exceeds the nominal value under the same ambient temperature conditions.Additionally, an exponential relationship exists between the actual cycle life and the depth of discharge [22] .

19Where: D represents the depth of discharge, expressed as a percentage; N L represents the cycle life of the Li-ion battery under standard conditions (D = 1).Therefore, -0.795 can be defined as the depth-of-discharge correction factor for the cycle life of lithiumion batteries at any depth of discharge (D), denoted as  .

Models

20{1, 2, , } M m = is the set of the number of EVs used.

21is the set of distribution centers and customer points.

22is the set of m charging stations.i q is the demand of customer i .x denotes the 01 − variable,

23A mathematical model of EV path optimization with a minimum total cost is constructed by considering charging and discharging cases.The cost is composed of fixed costs, transportation costs, energy costs, charging and switching costs, slow charging and discharging costs, and battery wear and tear costs.

24(1)Fixed Costs and Transportation Costs

25Where K is the number of vehicles used, m is the number of vehicles available ( 1, 2, ,

26), and ijk t is the travel time of an electric vehicle in section , i j.

27(2)Energy Costs

28The energy consumption of electric vehicles is related to the load, speed, and transport time.In a timevarying road network environment.The power consumption of a vehicle traveling on road section [ , ] ij is ( )

29Therefore, the energy cost of electric vehicles is

30Where ( )

31is the wind-blown area of the electric vehicle, the air resistance coefficient and the friction resistance coefficient of the car,  is the mechanical transmission efficiency of the system, and 0 k QQ 、 is the no-load and current load of the electric vehicle, respectively.

32(3) Fast charging or power exchange cost When the remaining power of the electric vehicle is not enough to complete the distribution requirements to the next service point, it needs to go to the nearest charging station for quick charging.Charging costs are related to charging time.Charging time is

33Where max E is the maximum battery capacity of the EV, ik E is the power left in the EV at the charging station i , and c r is the charging efficiency of the charging station.

34The cost of power change is different from the charging method.The cost of the electric logistics vehicle is related to the number of times the electricity is changed.The cost of power change is

35In summary, the total cost model of distribution and charging and discharging in the electric vehicle switching mode is ( )

36The constraints are as follows

11

37, 0

38,

39, i , 1, 2, ,

400 max (15) states that the number of electric vehicles used for distribution should be equal to or greater than the number of distribution routes.(16) specifies that the starting point for each distribution vehicle must be a distribution center to complete its assigned distribution mission.(17) indicates that each demand point can only be served by one electric vehicle, and just once.(18) ensures that the total demand of customer points in each distribution route must not exceed the maximum carrying capacity of electric vehicles.(19) mandates that the total distribution distance of each distribution path should not exceed the electric vehicle's maximum distribution distance.( 20) and ( 21) represent the time window constraints.( 22) requires the electric vehicle to depart after recharging at the charging station.(23) refers to the power constraint for each electric vehicle at every customer point.

41The total cost of distribution and charging/discharging in the fast-charging mode of electric vehicles is modeled as follows:

42The constraints are as above.

Algorithm Research

43An enhanced genetic algorithm is developed for addressing the electric vehicle path optimization and charging/discharging management issues using V2G.Genetic algorithms are efficient parallel search algorithms for solving global optimization problems.Unlike traditional exact algorithms, they can handle various types of complex optimization problems.Due to their evolutionary nature, genetic algorithms can effectively handle objective functions and constraints, including nonlinear and discrete ones.Consequently, they offer robustness and efficiency in solving discrete and complex nonlinear problems.

44To enhance the model's solution quality and expedite local convergence, the genetic algorithm incorporates a reverse evolution operation, thus improving the search efficiency.The specific steps of the genetic algorithm for the EVRP problem are outlined below.

45Step 1. Encoding and decoding.To be able to represent the order in which each client in the instance is accessed with the access.The clients are encoded using natural numbers.The chromosome length is

46, where n represents the number of client sites, i.e., client numbers 1, 2, …, n. m represents the number of charging stations, numbered n 11, n 12,..., nm + .k represents the number of electric vehicles used and also the total number of distribution paths. 1 k − represents the location of the distribution center on the chromosome.The distribution center is represented by 0. For example, an integer sequence (6, 2, 5, 4, 3, 1, 7, 10, 9, 8) represents the order of customer points.After inserting the distribution center based on load and time window constraints, the new sequence becomes (0, 6, 2, 5, 0, 4, 3, 1, 7, 0, 10, 9, 8, 0).Additionally, when the electric vehicle is low on power, a charging station is inserted, resulting in the sequence (0, 6, 2, 11, 5, 0, 4, 12, 3, 1, 7, 0, 10, 9, 8, 0).Decoding refers to the reverse process of encoding, meaning that the decoded path for this chromosome is as follows: Path 1: 0, 6, 2, 11, 5, 0; Path 2: 0, 4, 12, 3, 1, 7, 0; Path 3: 0, 10, 9, 8, 0.This indicates the use of three electric vehicles for delivery, with a total of two charges en route.

47Step 2: Population initialization begins by calculating the sum of consumed power for the EVRP model, starting from the first node.When a node is reached, we check if the remaining power is sufficient for the transporter to reach the next node or the nearest charging station from the next node.If it's insufficient, the number of the nearest charging station is inserted after the node.This process continues until the last node is reached.The specific encoding rules for each chromosome can be understood from the example given in step 1 encoding, where the customers are generated in a random order.We insert the distribution center and charging station based on the load constraint and power constraint to generate a chromosome.This process is repeated until the desired population size is reached.

48Step 3: Determining the adaptation function.The fitness function is generally determined based on the specific problem.Both the EVRP model and charge/discharge management in charge-swap mode aim to minimize the total cost.The higher the chromosome fitness value, the more likely it is to be inherited by the next generation.Consequently, the fitness function is the inverse of the objective function.

49Step 4: Selection.The selection process begins with an elite retention strategy, where fitness values are ranked by size.In the subsequent generation population, the top 5% of chromosomes are preserved as the elite, while the remaining 95% are selected using the roulette wheel selection method.Chromosomes with high fitness are chosen for crossover and mutation to form the next generation population.

50Step 5: Crossover.During the chromosome coding process in the EVRP problem, a charging station number is inserted.Subsequently, crossover and mutation operations are performed.However, this introduces an issue as the original insertion position of the charging station is destroyed, leading to the emergence of many inferior solutions in the offspring.To mitigate this, the inserted genes should be removed before conducting the crossover and mutation operations.In the crossover operation, genes that are not duplicated on the parent chromosome are selected and sequentially placed into the offspring.For example, considering parents P1 (1,2,3,4,5,6,7) and P2 (6,4,2,3,7,1), after crossover, the offspring O1 (1,6,2,4,3,5,7,1) and O2 (6,1,4,2,3,7,5) are obtained.

51Step 6: Mutation.Genetic variation is present throughout the genetic manipulation process.Chromosomal mutation is necessary to avoid premature maturation caused by rapid local convergence and to ensure chromosomal diversity.During the mutation operation, a few gene positions on the paternal chromosome are randomly selected and rearranged, while leaving the other positions unchanged.

52Step 7: Evolutionary reversal operation is applied to enhance the solution's quality and accelerate local convergence.This operation targets chromosomes that have already undergone selection and crossover mutation.During the reversal process, two random integers are generated to determine the chromosome positions.The numbers between these two positions are then reversed to create a new chromosome.For instance, consider parent P1 (1,2,3,4,5,6,7).Two random integers, 3 and 6, are generated.After the reversal, the offspring O1 becomes (1,2,6,5,4,3,7), wherein only reversals resulting in improved fitness values are considered valid.

53The number of iterations is set to 500 in the algorithm calculation.The output is automatically terminated when the iteration count reaches 500.

Example Analysis Example data and parameter settings

54The experimental data is retrieved from the figshare database (https://doi.org/10.6084/m9.figshare.10288326).The simulation data selected for analysis is the R-2-C-30 example, comprising 30 customer points an d 2 charging stations.Customer nodes are represented by numbers 1 to 30, while the distribution center is denoted as 0, and the charging stations are represented by 31 and 32.The known information for each cust omer point includes their demand, service time, and time window.

55Electric vehicles complete distribution tasks and return to the distribution center, where they are connected to the grid through batteries.They can receive or deliver electricity from/to the grid and sell excess electricity to the electricity market, aiming for profitable gains based on time-of-use tariffs.This decision-making process is supported by the time-of-use tariff data extracted from relevant literature 12 , facilitating efficient charging and discharging.The day is divided into peak hours and off-peak hours, represented as time-of-day tariffs in Table 1.Electric vehicles accomplish their distribution tasks and then return to the distribution center to connect to the grid via batteries.They either receive electricity from or deliver electricity to the grid, aiming to generate a profit by selling electricity to the electricity market based on the impact of time-of-use tariffs.These decisions are facilitated by the time-of-use tariff data obtained from the relevant literature 12 .

56The genetic algorithm was employed to address the problem on a computer processor running at 2.20 GHz with 4 GB of memory, and utilizing MATLAB (R2018b).The corresponding parameters were configured as presented in Table 2.

Analysis of distribution path planning and charging and discharging management results

57In order to assess the efficacy of the proposed path planning and charging/discharging management model, we establish four distinct scenarios for comparative analysis.As depicted in Fig. 3, the number of intersections among electric vehicle distribution paths in cases 1 and 3 is noticeably lower compared to cases 2 and 4. A higher number of crossings indicates longer total logistics distribution paths, leading to increased logistics and distribution costs as well as longer charging times.Specifically, the two models employing the fast charging method during transportation have longer charging times than the model using the power exchange method.Due to the complexity of distribution costs, fast charging takes more time than power exchange.Consequently, a higher number of path crossings will result in increased charges and swaps, ultimately leading to higher total distribution costs.

58In the experimental results, we obtained data on the number and duration of charging and discharging in the four scenarios.Scenarios 1 and 3 share the same charging time and frequency.However, scenario 4 has more charging cycles but a shorter total charging time compared to scenario 2. Scenario 2's charging time (h) is 1.21-0.49-1.14-1.05-0.32,while scenario 4's charging time (h) is 1.31-0.72-1.28-0.71-1.04-1.15.This difference is mainly attributed to the charging and discharging costs, along with battery wear and tear, when scenario 4 utilizes V2G technology to connect to the grid.To maximize the benefits of charging and discharging, it's essential to consider not only the time-sharing tariff differences but also the power load of the electric vehicle upon returning from the distribution task.By doing so, the vehicle can charge more effectively.However, it's important to note that charging and discharging activities can impact battery health, leading to a reduction in charging time.

59The experimental results for each cost are presented in Table 3. GC represents the fixed cost, YC refers to the transportation cost, NC stands for the energy cost, CC represents the charging cost, HC denotes the changing electricity cost, VC accounts for the slow charging and discharging cost, DC represents the battery loss cost, and TC is the total cost, all measured in yuan.From Table 3, it is evident that:

60(1) The optimal solution for all four scenarios is the use of four electric vehicles for distribution.Among these scenarios, Scenario 1 exhibits a lower total delivery cost compared to Scenario 2. This difference is primarily attributed to the longer time spent on fast charging during transit and the need for multiple charging instances due to varying degrees of battery aging.In the model, transportation costs are primarily influenced by transportation time, resulting in higher overall transportation expenses.Additionally, more energy costs are incurred due to the necessity of making multiple trips to the charging station for recharging.Although the cost of a single charge change is higher than the average cost of a single charge, the difference in charge and exchange costs for completing the final distribution task is not significant, owing to variations in the number of charges and exchange times.Therefore, it is considered more economical to opt for distribution in case 1, i.e., logistics distribution in the power exchange mode.

61(2) Scenarios 3 and 4 involve utilizing V2G technology at the distribution center for charging and discharging management.Compared to scenarios 1 and 2, the cost is lower.The primary reason is the negative cost associated with slow charging and discharging in both cases, indicating that the benefits from discharging outweigh the charging cost.This reduction in overall logistics and distribution costs is significant.When examining cases 3 and 4, it becomes evident that the slow charging and discharging cost in case 4 is lower by $43.2.The main reason for this difference is that scenario 3 replenishes power during distribution, eliminating the need to consider battery loss resulting from charging and discharging.In contrast, scenario 4 necessitates accounting for battery loss costs, which are primarily influenced by the depth of discharge.Consequently, the advantages of employing slow charging and discharging at the distribution center, under the power exchange mode, become more apparent without concerns about battery depletion.

Battery loss sensitivity analysis and V2G impact on the grid

62The performance of electric vehicle batteries during discharging to the grid is primarily affected by ambient temperature and depth of discharge.The experimental findings are presented in Table 4 and Table 5, while the impact of ambient temperature and depth of discharge on battery loss is depicted in Figures 4 and 5. From the graph above, it is evident that the depth of discharge remains constant.With the rise in ambient temperature, the battery loss cost also increases.The trend of the curve indicates that higher temperatures lead to a smaller magnitude of increased cost loss.This is mainly due to the fact that the higher the temperature, the lower the temperature correction factor is, and the magnitude of the reduction is not significant.Consequently, the greater the depth of discharge, the higher the cost of battery deterioration.

63While slow charging and discharging may have an impact on battery life, it is possible to select appropriate charging and discharging strategies during different tariff periods to achieve specific revenue goals.This approach can help in reducing the base load during peak hours of electricity consumption and shifting the peak load, thereby significantly smoothing the grid load fluctuations.The simulation data presented in this paper focuses on a single logistics small-scale distribution study.However, the charge/discharge management model proposed here can be extended to large-scale logistics distribution services to optimize power efficiency and effectively reduce the peak-to-valley load difference.

Conclusions

64The optimization models for EV logistics paths in both power exchange mode and fast charging mode aim to minimize the total cost.Additionally, the management of slow charging and discharging of electric vehicles back to the distribution center is investigated.The logistics distribution cost under the power exchange mode consists of fixed cost, transportation cost, energy cost, power exchange cost, and slow charging and discharging cost.On the other hand, the distribution cost in the fast charging mode is based on the conversion of power cost into fast charging cost.Furthermore, there is an additional cost associated with battery loss due to slow charging and discharging.A proposed calculation method for battery loss cost takes into account the ambient temperature and the depth of discharge.To solve the models, an improved genetic algorithm is used separately for each.The experimental results indicate the following findings: (1) Compared to the fast charging mode, the power exchange mode for distribution path planning reduces path crossing complexity and the total cost of accompanying delivery.(2) Managing slow charging and discharging of electric vehicles back to the distribution center results in certain discharge gains, contributing to the reduction of overall logistics and distribution costs.(3) In the power exchange mode, slow charging and discharging management is more beneficial than fast charging and discharging management.It not only reduces the total cost but also has a better effect on peak shaving and valley filling for the distribution system.(4) The cost of battery loss for electric vehicles is accelerated as the ambient temperature decreases, while it increases uniformly as the depth of discharge deepens.

Figure 1 .

65Figure 1.Electric vehicle charging and discharging management.

Figure 2 .

66Figure 2. Schematic diagram of time-sharing tariff.

y

67denotes the 01 − variable, if the electric vehicle k delivers for customer point j , 1 k j y = , otherwise 0 k j y = .k i z denotes the 01 − variable, 1 k i z = when EV k is charging and exchanging at i charging station, otherwise

( 4 ) 1 T

68V2G slow charging and discharging costs and battery wear and tear costs Electric vehicles return to the distribution center after completing the distribution task.They can be charged and discharged at the distribution center at a slow rate according to the time-sharing tariff to obtain certain benefits.The cost of charging and discharging is and b P denotes the charging tariff and discharging tariff respectively, c W and b W denotes the charging power and discharging power respectively.a and b denotes the charging and discharging parameters respectively.When charging, a is 1 and b is 0. When discharging, a is 0 and b is 1. 0 T and denotes the start time and end time of charging and discharging respectively.

69Scenario 1 and Scenario 2 entail the minimization of cost through path optimization for distribution routes, utilizing the power exchange and fast charging methods respectively.Scenario 3 and Scenario 4 are derived from the logistics distribution of Scenarios 1 and 2, incorporating slow charging and discharging management upon the electric vehicle's return to the distribution center.Notably, the fast charging method incorporates consideration of battery loss costs.Utilizing a genetic algorithm, we solve the R-2-C-30 instances within each of the four scenarios.The optimized diagram illustrating the distribution path for electric vehicles is presented in Figure3.

(a)Scenario 1 (b)Scenario 2 (c)Scenario 3 (d)Scenario 4 Figure 3 .

70Distribution path diagram.

Figure 4 .

71Figure 4. Trend of temperature on battery loss.

Figure 5 .

72Figure 5. Trend of depth of discharge on battery loss.

73the magnitude of the curve.Similarly, at a constant ambient temperature of 20 degrees Celsius The deeper the discharge depth is, the lower the correction factor

74P is the price per unit of time of fast charging electricity, and 5 P is the cost of single exchange of electricity.QD 、 denotes the maximum load and maximum distance of electric vehicle respectively.、 denotes the time of arrival of vehicle k at node i , and the time window of node i , respectively.0 E is the expected minimum charge during the driving of the electric vehicle.

751 P is the fixed cost per unit of EV, 2 P is the transportation cost per unit of time of EV, 3 P is the price per unit of electricity consumption, 4 k ij

Table 1 .

76Time-sharing tariff.

Table 2 .

77Model parameter values.

Table 3 .

78Distribution cost comparison.

Table 4 .

79Ambient Temperature Sensitivity Analysis.

Table 5 .

80Discharge depth sensitivity analysis.

참고문헌 22건

  1. The effect of cycling on the state of health of the electric vehicle battery 2022 57th International Universities Power Engineering Conference (UPEC) · 2013 10.1109/upec.2013.6715031
  2. A practical battery wear model for electric vehicle charging applications Applied Energy · Elsevier BV · 2013 10.1016/j.apenergy.2013.08.062
  3. A Variable Neighborhood Search Branching for the Electric Vehicle Routing Problem with Time Windows Electronic Notes in Discrete Mathematics · Elsevier BV · 2015 10.1016/j.endm.2014.11.029
  4. Network equilibrium models with battery electric vehicles Transportation Research Part B Methodological · Elsevier BV · 2014 10.1016/j.trb.2014.05.010
  5. 2020 55th International Universities Power Engineering Conference (UPEC) 2022 57th International Universities Power Engineering Conference (UPEC) · 2020 10.1109/upec49904.2020
  6. The electric vehicle routing problem with nonlinear charging function Transportation Research Part B Methodological · Elsevier BV · 2017 10.1016/j.trb.2017.02.004
  7. Transportation Research Part B: Methodological 2009
  8. A Coordinated Dynamic Pricing Model for Electric Vehicle Charging Stations IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2019 10.1109/tte.2019.2897087
  9. Energy consumption estimation integrated into the Electric Vehicle Routing Problem Transportation Research Part D Transport and Environment · Elsevier BV · 2019 10.1016/j.trd.2019.01.006
  10. Joint routing and scheduling for electric vehicles in smart grids with V2G Energy · Elsevier BV · 2019 10.1016/j.energy.2019.02.184
  11. Optimal Routing and Scheduling of Charge for Electric Vehicles: A Case Study Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2017 10.1155/2017/8509783
  12. Electric vehicle routing problem with single or multiple recharges Transportation research procedia · Elsevier BV · 2019 10.1016/j.trpro.2019.07.033
  13. Fuzzy optimization model for electric vehicle routing problem with time windows and recharging stations Expert Systems with Applications · Elsevier BV · 2019 10.1016/j.eswa.2019.113123
  14. An Optimal Scheduling and Distributed Pricing Mechanism for Multi-Region Electric Vehicle Charging in Smart Grid IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2976710
  15. Cloud-Based Big Data Platform for Vehicle-to-Grid (V2G) World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2020 10.3390/wevj11020030
  16. Electric vehicle routing problem with non-linear charging and load-dependent discharging Expert Systems with Applications · Elsevier BV · 2020 10.1016/j.eswa.2020.113714
  17. Energy efficient route planning for electric vehicles with special consideration of the topography and battery lifetime Energy Efficiency · Springer Science+Business Media · 2020 10.1007/s12053-020-09900-5
  18. Real-time multi-objective optimisation for electric vehicle charging management Journal of Cleaner Production · Elsevier BV · 2021 10.1016/j.jclepro.2021.126066
  19. Optimizing electric vehicle routing problems with mixed backhauls and recharging strategies in multi-dimensional representation network Expert Systems with Applications · Elsevier BV · 2021 10.1016/j.eswa.2021.114804
  20. Energy consumption and battery aging minimization using a Q-learning strategy for a battery/ultracapacitor electric vehicle Energy · Elsevier BV · 2021 10.1016/j.energy.2021.120705
  21. Goods Delivery with Electric Vehicles: Electric Vehicle Routing Optimization with Time Windows and Partial or Full Recharge Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15010285
  22. Joint Routing and Charging Problem of Electric Vehicles with Incentive-Aware Customers Considering Spatio-Temporal Charging Prices SSRN Electronic Journal · Social Science Electronic Publishing · 2022 10.2139/ssrn.4113885