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

Evolutionary Algorithm for the Electric Vehicle Routing Problem with Battery Degradation and Capacitated Charging Stations

관련 모빌리티 소재 · (3) 자동차 인테리어 소재

기본 정보

저자
  1. Juan-Pablo Futalef — a:1:{s:5:"en_US"|||s:19:"University of Chile"
  2. Diego Muñoz‐Carpintero — Universidad de O'Higgins
  3. Heraldo Rozas — University of Chile
  4. Marcos E. Orchard — University of Chile
DOI
10.36001/phmconf.2020.v12i1.1281
저널
Annual Conference of the PHM Society
발행년도
2020
발행기관
PHM Society
피인용수
10
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.36001/phmconf.2020.v12i1.1281
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W3104464976

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 자동차 인테리어 소재' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

As CO2 emission regulations increase, fleet owners increasingly consider the adoption of Electric Vehicle (EV) fleets in their business. The conventional Vehicle Routing Problem (VRP) aims to find a set of routes to reduce operational costs. However, route planning of EVs poses different challenges than that of Internal Combustion Engine Vehicles (ICEV). The Electric Vehicle Routing Problem (E-VRP) must take into consideration EV limitations such as short driving range, high charging time, poor charging infrastructure, and battery degradation. In this work, the E-VRP is formulated as a Prognostic Decision-Making problem. It considers customer time windows, partial midtour recharging operations, non-linear charging functions, and limited Charge Station (CS) capacities. Besides, battery State of Health (SOH) policies are included in the E-VRP to prevent early degradation of EV batteries. An optimization problem is formulated with the above considerations, when each EV has a set of costumers assigned, which is solved by a Genetic Algorithm (GA) approach. This GA has been suitably designed to decide the order of customers to visit, when and how much to recharge, and when to begin the operation. A simulation study is conducted to test GA performance with fleets and networks of different sizes. Results show that E-VRP effectively enables operation of the fleet, satisfying all operational constraints.

본문 53,170자

본문 펼치기
# An Evolutionary Algorithm for the Electric Vehicle Routing Problem with Battery Degradation and Capacitated Charging Stations Juan Pablo Futalef <sup>1</sup>, Diego Mu˜noz-Carpintero <sup>2</sup>, Heraldo Rozas <sup>1</sup>, Marcos Orchard <sup>1</sup> 1 _Department of Electrical Engineering, University of Chile, Santiago, Chile_ _juan.futalef@ing.uchile.cl_ _heraldo.rozas@ing.uchile.cl_ _morchard@ing.uchile.cl_ 2 _Institute of Engineering Science, Universidad de O’Higgins, Rancagua, Chile_ _diego.munoz@uoh.cl_ ABSTRACT As CO2 emission regulations increase, fleet owners increasingly consider the adoption of Electric Vehicle (EV) fleets in their business. The conventional Vehicle Routing Problem (VRP) aims to find a set of routes to reduce operational costs. However, route planning of EVs poses different challenges than that of Internal Combustion Engine Vehicles (ICEV). The Electric Vehicle Routing Problem (E-VRP) must take into consideration EV limitations such as short driving range, high charging time, poor charging infrastructure, and battery degradation. In this work, the E-VRP is formulated as a Prognostic Decision-Making problem. It considers customer time windows, partial midtour recharging operations, non-linear charging functions, and limited Charge Station (CS) capacities. Besides, battery State of Health (SOH) policies are included in the E-VRP to prevent early degradation of EV batteries. An optimization problem is formulated with the above considerations, when each EV has a set of costumers assigned, which is solved by a Genetic Algorithm (GA) approach. This GA has been suitably designed to decide the order of customers to visit, when and how much to recharge, and when to begin the operation. A simulation study is conducted to test GA performance with fleets and networks of different sizes. Results show that E-VRP effectively enables operation of the fleet, satisfying all operational constraints. 1. INTRODUCTION Fleet owners continuously strive to operate their fleets efficiently. In economic affairs, fleet owners attempt to minimize operational costs while ensuring operational constraints. Nonetheless, the minimization of operational costs does not imply an environmental-friendly operation (Dekker, Juan P. Futalef et al. This is an open-access article distributed under the terms of the Creative Commons Attribution 3.0 United States License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Bloemhof, & Mallidis, 2012). In the case of land vehicles, their operation phase contributes to the most Greenhouse Gasses (GHG) emission of their whole life cycle (Faria et al., 2013). Moreover, they contribute to significant space usage and noise pollution (Lee & Sener, 2016). The well-known Vehicle Routing Problem (VRP) arises as an intuitive optimization problem to look for efficient routes. The VRP aims at finding the least-cost routes a set of vehicles can follow to serve a finite number of customers (Kumar & Panneerselvam, 2012)(Cattaruzza, Absi, Feillet, & Gonz´alezFeliu, 2017). The routes are constrained to the nature of the operation to execute. The VRP is an NP-hard problem, i.e. the computational effort required to solve it grows exponentially when the problem size increases. Consequently, exact solutions of large real-world problems become computationally intractable quickly, even when only a few hundred customers are considered (Nazari, Oroojlooy, Snyder, & Tak´ac, 2018). Despite this issue, fleet owners require solving big problem instances in short periods. This hard requirement makes exact algorithms unpractical; thus, researchers and commercial solvers have focused on metaheuristics, which are generic heuristics dedicated to efficiently explore the search space so as to determine near–optimal solutions. Some of these metaheuristics include: Genetic Algorithms (GA), Ant Colony Optimization (ACO), Tabu Search (TS), Simulated Annealing (SA), among others (Gendreau, Potvin, Br¨aumlaysy, Hasle, & Løkketangen, 2008). The Electric Vehicle Routing Problem (E-VRP) is a VRP variant where all vehicles are Electric Vehicles (EV) (Montoya, Gu´eret, Mendoza, & Villegas, 2017) (Erdelic & Caric, 2019). We consider Battery Electric Vehicles (BEV), which are only powered from batteries installed inside the vehicles. Therefore, many advantages and disadvantages arise. Some of the most critical BEV advantages include: they are much quieter than Internal Combustion Engine Ve 1 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 hicles (ICEV), they do not emit GHG locally, and there is the possibility to recharge batteries from clean sources (Faria et al., 2013)(Notter et al., 2010). Most BEV disadvantages derive from the limited battery capacity and the little recharging infrastructure available. Battery capacity directly impacts the driving range of a BEV, which averages around 200 km, nearly one-third the average driving range of an ICEV (Erdelic & Caric, 2019)(Feng & Figliozzi, 2013). This limitation forces BEVs to visit charging stations (CS) frequently. However, most cities around the world are not equipped with large and robust recharging infrastructure yet. Consequently, a properly formulated E-VRP must address both BEV constraints and recharging infrastructure limitations. Another significant BEV limitation comes from battery degradation. Studies have shown that improper handling of batteries can lead to an increase in long-term operational costs (Perez, Moreno, Moreira, Orchard, & Strbac, 2016). This cost increase occurs because mishandled batteries degrade faster, which forces fleet owners to replace them early. Furthermore, this replacement produces a large environmental burden: GHG emissions from battery manufacturing are comparable to manufacturing all the rest of the vehicle itself (Faria et al., 2013) (Notter et al., 2010). To increment the battery lifespan, one can constrain the State of Charge (SOC) of the battery (Perez et al., 2016). We denominate this method as State Of Health (SOH) policy. Some studies consider this kind of policy into the E-VRP formulation. In (Barco, Guerra, Mu˜noz, & Quijano, 2017), they address an airport shuttle with BEVs, and directly constrain SOC to prevent the battery from degrading faster. In (Sassi, Cherif, & Oulamara, 2014), they tackle the delivery of goods with a mixed fleet of ICEV and BEV, while incorporating the same SOH policy. However, the latter two works do not mention CS capacity, which, according to (Froger, Mendoza, Jabali, & Laporte, 2017), influences the feasibility of solutions. In this work, we propose a new formulation of the E-VRP considering non-linear charging functions, battery degradation, and limited CS capacity. To solve the problem, we develop a custom Genetic Algorithm (GA). This GA is capable of inserting charging operation on-execution; thus, no additional methodologies and heuristics are required. Results show that the GA is capable of finding optimal feasible routes each vehicle can follow. The paper structure is as follows. Section 2 describes the problem in detail. Section 4 introduces the GA to solve the problem. Section 5 shows results of four experiments of different complexity. Finally, section 6 concludes about the work and future trends to improve research. 2. THE E-VRP-NL-TW WITH BATTERY DEGRADA- TION 2.1. Problem Statement Consider a directed network _D_ = ( _{_ 0 _} ∪_ _N_ _∪_ _F, A_ ), where _{_ 0 _}_ is the depot, _N_ = _{_ 1 _, . . ., n}_ are _n_ nodes representing customers to be visited, and _F_ = _{n_ + 1 _, . . ., n_ + _l}_ are _l_ nodes representing all available CS. The set _V_ represents all the nodes in the network, i.e. _V_ = _N_ _∪{_ 0 _} ∪_ _F_ . The set _A_ = _{_ ( _i, j_ ) : _i, j_ _∈_ _N_ _∪{_ 0 _} ∪_ _F, i̸_ = _j}_ are all the arcs connecting the network nodes. Each customer _j_ _∈_ _N_ requires a demand _Dj_, which is delivered by an EV. When the EV arrives at _j_, it takes a known time _Tj_ until the EV departs from _j_ . A time window [ _Tj_ <sup>_−, T_</sup> _j_ <sup>+]</sup> leave before _Tj_ <sup>+. Both</sup> <sup>_T −_</sup> _j_ <sup>and</sup> <sup>_T_</sup> <sup>+</sup> _j_ <sup>belong to the set Ω</sup> <sup>_⊂_</sup> <sup>R+,</sup> which contains the times of the day. The time window is such that its width is larger than the service time. In order to serve all customers, a fleet _M_ of _m_ EVs is available. Each EV _i_ _∈_ _M_ must visit a set of previously assigned customers _N_ <sup>_i_</sup> . This assignation of customers per vehicle is always the same throughout operation, and it is such that the EV does not carry more weight than its weight limit. Additional to its weight limit, each EV _i_ has a battery capacity _Q_ <sup>¯</sup> _i_ . All EVs have the same maximum tour time duration of _T_ <sup>¯</sup> . Travel across arc ( _i, j_ ) _∈_ _A_ defines the travel time the EV must spend, and energy consumption the EV battery spends. The travel time is _tij_, while the energy consumption is _eij_ ( _w_ ) = _e_ ¯ _ij_ _×_ ( _w_ + _wEV_ ) _,_ where _e_ ¯ _ij_ is the per-weight-unit energy cost, _w_ is the weight the EV carries across the arc, and _wEV_ is the EV weight. There are two methods to calculate both _tij_ and _e_ ¯ _ij_ : first, assume they are a function of the Euclidean distance among _i_ and _j_ ; second, solve the Shortest Path Problem (SPP), which aims to find the road path that minimizes the distance among two nodes. The SOC is a representation of the remaining energy in the battery (Pola et al., 2015). When the battery is full, the SOC is one; on the other hand, when the battery is empty, the SOC is zero. Several studies tackle the E-VRP by assuming SOC instead of energy consumption because it does not rely on EV parameters(Montoya et al., 2017)(Sassi et al., 2014). Following the same assumption, we will assume that _eij_ is the decrease in the battery SOC when the EV travels from _i_ to _j_ . When the EV battery operates with a SOC too close to zero or one for long periods, it tends to degrade faster (Perez et al., 2016). Therefore, to prevent early degradation of EV batteries, we consider a State Of Health (SOH) policy. This policy consists of constraining the battery SOC in an interval [ _α_ <sup>_−_</sup> _, α_ <sup>+</sup> ], where _α_ <sup>_−_</sup> _, α_ <sup>+</sup> _∈_ [0 _,_ 100]%. 2 _j_ <sup>_−, T_</sup> _j_ <sup>+</sup> _Tj_ until the EV departs from _j_ . A time window [ _Tj_ <sup>_−, T_</sup> _j_ <sup>+]</sup> constrains this service, i.e., the EV must arrive after _Tj_ <sup>_−_</sup> <sup>and</sup> leave before _Tj_ <sup>+. Both</sup> <sup>_T −_</sup> _j_ <sup>and</sup> <sup>_T_</sup> <sup>+</sup> _j_ <sup>belong to the set Ω</sup> <sup>_⊂_</sup> <sup>R+,</sup> _j_ <sup>+. Both</sup> <sup>_T −_</sup> _j_ <sup>_−_</sup> _j_ <sup>and</sup> <sup>_T_</sup> <sup>+</sup> _j_ ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 During operation, vehicles can visit any CS to recharge the battery. Each CS _j_ _∈_ _F_ can do a limited number of _rj_ parallel charging operations. A charging operation made at CS _j_ takes time ∆ _j_ ( _p, q_ ), where _p_ is the SOC when the EV reaches the CS, and _q_ is the SOC increase made by the charging operation. This operation is characterized by a charging function, which is concave and non-linear (Montoya et al., 2017). To calculate charging times, we consider the method presented by (Montoya et al., 2017), where a piece-wise function approximates the charging function of a CS. The criteria to choose the routes is to minimize total travel times, total energy consumption, and total charging times. A solution of the problem must return: an ordered sequence of nodes each EV will visit, the time of the day each EV departs from the depot, and, if visiting a CS, the SOC increase made by the charging operation. A feasible solution satisfies: _•_ all customers are visited precisely once, _•_ all EVs do not exceed their limitations, _•_ CS capacities are not surpassed, _•_ all EVs begin and end operation at the depot, _•_ all customers are visited within their time windows. 2.2. Electric Vehicle State-Space Model The path EV _i ∈_ _M_ will follow is _S_ <sup>_i_</sup> = [ _S_ 0 <sup>_i_</sup> <sup>_, . . ., S_</sup> _s_ <sup>_i_</sup> _i−_ 1 <sup>]</sup> <sup>_T_</sup> _•_ _x_ <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>) is the weight the vehicle carries when it arrives to</sup> stop _k_ . Thus, the weight at instant _k_ + 1 is the weight at instant _k_ minus the requirement at stop _k_ . If stop _k_ is a CS, then the requirement is zero. Initial condition _x_ <sup>_i_</sup> 3 <sup>(0)</sup> is the sum of all customer demands to be delivered by the vehicle plus the EV weight. The state equations use a discrete time _k_ that represents when the EV arrives to the _k_ -th stop in its path. Consequently, each vehicle has its own time _k_, which ranges from 0 to _si_ _−_ 1. Equations (1) to (3) are case-wise defined. These cases depend on the node type the EV visits: a customer or a CS. <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>)+∆</sup> _Sk_ <sup>_i_</sup> <sup>(</sup> <sup>_x_</sup> <sup>2(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, L_</sup> _k_ <sup>_i_</sup> _x_ <sup>_i_</sup> 1 _k_ <sup>_i_</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> _k_ <sup>_i_</sup> +1 if _Sk_ <sup>_i_</sup> _x_ <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> _x_ <sup>_i_</sup> 1   _x_ <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>) +</sup> <sup>_T_</sup> _Sk_ <sup>_i_</sup> <sup>+</sup> <sup>_tS_</sup> _k_ <sup>_i_</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> +1 if _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N_</sup> _x_ <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>)+∆</sup> _Sk_ <sup>_i_</sup> <sup>(</sup> <sup>_x_</sup> <sup>2(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, L_</sup> _k_ <sup>_i_</sup> <sup>)</sup> if _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_F_</sup> <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>) +</sup> <sup>_T_</sup> _Sk_ <sup>_i_</sup> <sup>+</sup> <sup>_tS_</sup> _k_ <sup>_i_</sup> if _Sk_ <sup>_i_</sup> _k_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_F_</sup> (1)  <sup>)+∆</sup> _Sk_ <sup>_i_</sup> <sup>(</sup> <sup>_x_</sup> <sup>2(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, L_</sup> _k_ <sup>_i_</sup> <sup>)</sup> + _tSki_ <sup>_S_</sup> _k_ <sup>_i_</sup> +1 _ki_ <sup>_S_</sup> _k_ <sup>_i_</sup> _k_ +1 _x_ <sup>_i_</sup> 2 _k_ <sup>_i_</sup> +1 <sup>(</sup> <sup>_x_</sup> 3 <sup>_i_</sup> 3 <sup>_i_</sup> <sup>(</sup> <sup>_k_</sup> <sup>))</sup> if _Sk_ <sup>_i_</sup> <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_e_</sup> _Sk_ <sup>_i_</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−e_</sup> _Sk_ <sup>_i_</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> _k_ <sup>_i_</sup> +1 <sup>(</sup> <sup>_x_</sup> 3 <sup>_i_</sup> _x_ <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup>   _x_ <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_e_</sup> _Sk_ <sup>_i_</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> +1 <sup>(</sup> <sup>_x_</sup> 3 <sup>_i_</sup> <sup>(</sup> <sup>_k_</sup> <sup>))</sup> if _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N_</sup> _x_ <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−e_</sup> _Sk_ <sup>_i_</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> +1 <sup>(</sup> <sup>_x_</sup> 3 <sup>_i_</sup> <sup>(</sup> <sup>_k_</sup> <sup>))</sup> if _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_F_</sup> if _Sk_ <sup>_i_</sup> _k_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_F_</sup> (2)  <sup>)</sup> <sup>_−e_</sup> _Sk_ <sup>_i_</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> +1 <sup>(</sup> <sup>_x_</sup> 3 <sup>_i_</sup> <sup>(</sup> <sup>_k_</sup> <sup>))</sup> + _L_ <sup>_i_</sup> _k_ _k_ <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> - _xi_ 3 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_D_</sup> _Sk_ <sup>_i_</sup> if _Sk_ <sup>_i_</sup> _x_ <sup>_i_</sup> _S_ <sup>_i_</sup> _x_ <sup>_i_</sup> 3 _xi_ 3 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_D_</sup> _Sk_ <sup>_i_</sup> if _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N_</sup> _x_ <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> if _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_F_</sup> <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> if _Sk_ <sup>_i_</sup> (3) _k_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_F_</sup> _ki_ <sup>is</sup> <sup>the</sup> <sup>customer</sup> <sup>service</sup> <sup>time</sup> <sup>at</sup> <sup>node</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> where _TSki_ where _TSki_ <sup>is</sup> <sup>the</sup> <sup>customer</sup> <sup>service</sup> <sup>time</sup> <sup>at</sup> <sup>node</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> <sup>,</sup> ∆ _Ski_ <sup>(</sup> <sup>_x_</sup> <sup>2(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, L_</sup> _k_ <sup>_i_</sup> <sup>) is the charging time at CS</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> <sup>when the EV</sup> _ki_ <sup>(</sup> <sup>_x_</sup> <sup>2(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, L_</sup> _k_ <sup>_i_</sup> _k_ <sup>_i_</sup> <sup>) is the charging time at CS</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> where _si_ is the length of _S_ <sup>_i_</sup> . Each _Sk_ <sup>_i_</sup> _k_ <sup>_i_</sup> +1 <sup>.</sup> where _si_ is the length of _S_ <sup>_i_</sup> . Each _Sk_ <sup>_i_</sup> <sup>is</sup> <sup>the</sup> <sup>_k_</sup> <sup>-th</sup> <sup>node</sup> <sup>the</sup> EV visits. As the number of customers each EV is serving is fixed, the length _si_ varies if charging operations are inserted. The vector ∆ _Ski_ <sup>(</sup> <sup>_x_</sup> <sup>2(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, L_</sup> _k_ <sup>_i_</sup> <sup>) is the charging time at CS</sup> <sup>_S_</sup> _k_ <sup>_i_</sup> <sup>when the EV</sup> arrives with SOC _x_ 2( _k_ ) and leaves with SOC _x_ 2( _k_ )+ _L_ <sup>_i_</sup> _k_ <sup>;</sup> <sup>_tij_</sup> and _eij_ ( _w_ ) are the travel time and SOC decrease when the EV travels from node _i_ towards node _j_ ; _DSki_ +1 <sup>is the demand</sup> _L_ <sup>_i_</sup> = [ _L_ <sup>_i_</sup> 0 <sup>_i_</sup> 0 <sup>_, . . ., Li_</sup> _si−_ 1 <sup>]</sup> <sup>_T_</sup> defines the charging plan, where _L_ <sup>_i_</sup> defines the charging plan, where _L_ <sup>_i_</sup> _k_ <sup>represents</sup> <sup>the</sup> <sup>SOC</sup> <sup>in-</sup> crease made in the _k_ -th stop. Thus, if the node to visit is a customer node, _L_ <sup>_i_</sup> _k_ <sup>=</sup> <sup>0.</sup> <sup>On</sup> <sup>the</sup> <sup>other</sup> <sup>hand,</sup> <sup>if</sup> <sup>the</sup> <sup>node</sup> <sup>to</sup> visit is a CS, there must be a SOC increase, i.e., _L_ <sup>_i_</sup> _k_ <sup>_>_</sup> <sup>0.</sup> EV travels from node _i_ towards node _j_ ; _DSki_ +1 <sup>is the demand</sup> requirement at node _Sk_ <sup>_i_</sup> +1 <sup>.</sup> A good forecasting of the EV state variables is essential to provide a high-quality solution to the problem. In our case, SOC prognosis is crucial to obtain solutions that satisfy the SOH policy. The incorporation of the EV weight and the per-weight energy consumption allows us to predict the SOC decrease with great detail, which is determinant on E-VRP research, and there is still a lack of E-VRP variants tackling this issue (Erdelic & Caric, 2019). To simplify notation, Eqs. (1) to (3) are redefined as: <sup>_i_</sup> _k_ <sup>_>_</sup> <sup>0.</sup> EV _i_ state variables are three: _•_ _x_ <sup>_i_</sup> 1 _x_ <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>) is the time of the day the vehicle arrives at the</sup> <sup>_k_</sup> <sup>-th</sup> stop. The arrival time at stop _k_ +1 depends on the arrival time at stop _k_ plus: the time the EV spends at stop _k_, and the travel time from stop _k_ to stop _k_ +1. Initial condition _x_ <sup>_i_</sup> 1 <sup>(0) is the time of the day the vehicle leaves the depot;</sup> _x_ <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>) is the battery SOC when the vehicle arrives at</sup> <sup>_k_</sup> <sup>-th</sup> stop. When the vehicle arrives at _k_ + 1 stop, the battery SOC depends on SOC at the previous stop _k_ minus the SOC decrease by traveling from stop _k_ to stop _k_ + 1. The SOC decrease depends on the weight the EV carries across the arc, with is tracked by state variable _x_ 3( _k_ ) If the EV visits a CS at instant _k_, then the SOC at _k_ + 1 must add this SOC increase. Initial condition _x_ <sup>_i_</sup> 2 <sup>(0)</sup> <sup>is</sup> the battery SOC when the vehicle leaves the depot; 2.3. Counting the Number of Vehicles at Each Node The operation of different EVs is coupled by the constraint of CS capacity, as the presence of an EV in a charging station reduces the capacity for the remaining EVs. In order to enforce this constraint, a method to count the number of vehicles at each node at any time is needed. The purpose of this section is to present this method, which cannot be done with the standard EV state variables. 3 <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> _k_ <sup>_i_</sup> +1 <sup>_, Li_</sup> _k_ _k_ <sup>_i_</sup> +1 <sup>_, Li_</sup> _k_ _k_ <sup>_i_</sup> +1 <sup>_, Li_</sup> _k_ _k_ _k_ _k_ - (4) - (5) - (6) _x_ <sup>_i_</sup> 1 <sup>(0) is the time of the day the vehicle leaves the depot;</sup> _•_ _x_ <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>) is the battery SOC when the vehicle arrives at</sup> <sup>_k_</sup> <sup>-th</sup> _x_ <sup>_i_</sup> 1 _x_ <sup>_i_</sup> 2 _x_ <sup>_i_</sup> 3 <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> <sup>_F_</sup> <sup>1</sup> - _x_ <sup>_i_</sup> 1 <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> <sup>_F_</sup> <sup>2</sup> - _x_ <sup>_i_</sup> 2 <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> <sup>_F_</sup> <sup>3</sup> - _x_ <sup>_i_</sup> 3 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 In this case, a different discrete time counter is needed. A global discrete time counter _k_ <sup>¯</sup> is used, which tracks the occurence of two events: an EV arriving at a node and an EV leaving from a node. To count the number of vehicles, consider the vector _θ_ ( _k_ <sup>¯</sup> ) _∈_ R <sup>_|V |_</sup> . This vector contains as many components as nodes in the network. The _j_ -th component of _θ_ ( _k_ <sup>¯</sup> ) contains the number of vehicles at node _j_ at the moment the _k_ <sup>¯</sup> -th event is triggered. For example, if at instant _k_ <sup>¯</sup> two vehicles are visiting node _j_, then _θj_ ( _k_ <sup>¯</sup> ) = 2. If any of the two vehicles leave _j_, the event _k_ <sup>¯</sup> + 1 “leaving a node” is triggered, and the value _θj_ ( _k_ <sup>¯</sup> + 1) = 1. This implies that the counting vector evolves every time the counter _k_ <sup>¯</sup> changes as follows: _θ_ ( _k_ <sup>¯</sup> + 1) = _θ_ ( _k_ <sup>¯</sup> ) + _δ_ ( _k_ <sup>¯</sup> ) _γ_ ( _k_ <sup>¯</sup> ) (7) where _γ_ ( _k_ <sup>¯</sup> ) _∈_ R <sup>_|V |_</sup> is a vector such that its _j_ -th component satisfies where _S_ = [ _S_ <sup>1</sup> _, . . ., S_ <sup>_m_</sup> ] _L_ = [ _L_ <sup>1</sup> _, . . ., L_ <sup>_m_</sup> ], and _x_ 0 = [ _x_ <sup>0</sup> 0 <sup>_, . . ., xm_</sup> 0 <sup>] are the decision variables.</sup> <sup>The weights</sup> <sup>_ω_</sup> <sup>1,</sup> <sup>_ω_</sup> <sup>2,</sup> and _ω_ 3 tune the importance given to the item they multiply. The following constraints are initial conditions. Equation (11) forces all EV to start from depot; Eq. (12) indicates that EVs do not increase their SOC at the beginning of the tour; Eq. (13) forces each EV to have their own starting time; Eq. (14) implies that each EV leaves the depot with the maximum value allowed by the SOH policy; Eq. (15) implies that each EV leaves the depot carrying a weight equal to the sum of the demands of all customers the EV must visit. _S_ 0 <sup>_i_</sup> <sup>= 0</sup> _∀i ∈_ _M_ (11) _L_ <sup>_i_</sup> 0 <sup>= 0</sup> _∀i ∈_ _M_ (12) _x_ <sup>_i_</sup> 3 <sup>(0) =</sup> (15) _x_ <sup>_i_</sup> 1 <sup>(0) =</sup> <sup>_xi_</sup> 0 _∀i ∈_ _M_ (13) _x_ <sup>_i_</sup> 2 <sup>(0) =</sup> <sup>_α_</sup> <sup>+</sup> _∀i ∈_ _M_ (14) _DSki_ <sup>+</sup> <sup>_wEV_</sup> _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> _Sk_ <sup>_i_</sup> <sup>_∈N_</sup> _Sk_ <sup>_i_</sup> _ki_ <sup>+</sup> <sup>_wEV_</sup> _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> The following constraints are terminal conditions. Equation (16) forces all EVs to end at depot; Eq. (17) prevents EVs tour duration to exceed the maximum tour time. _Ss_ <sup>_i_</sup> _i−_ 1 <sup>= 0</sup> _∀i ∈_ _M_ (16) _x_ <sup>_i_</sup> 1 <sup>(</sup> <sup>_si_</sup> <sup>_−_</sup> <sup>1)</sup> <sup>_≤_</sup> <sup>_T_</sup> <sup>¯</sup> <sup>+</sup> <sup>_x_</sup> 1 <sup>_i_</sup> <sup>(0)</sup> _∀i ∈_ _M_ (17) Equation (18) prevents EVs from carrying more weight than their maximum weight limitation. _γj_ ( _k_ <sup>¯</sup> ) = - 1 if at instant _k_ <sup>¯</sup>, event occurs at node _j_ (8) 0 otherwise _,_ and _δ_ ( _k_ <sup>¯</sup> ) is such that _δ_ ( _k_ <sup>¯</sup> ) = �+1 if at instant _k_ <sup>¯</sup>, a vehicle arrives to a node _−_ 1 if at instant _k_ <sup>¯</sup>, a vehicle leaves a node _._ (9) The vector _γ_ ( _k_ <sup>¯</sup> ) tracks the node where the event happens, and _δ_ ( _k_ <sup>¯</sup> ) tracks the kind of event. The initial condition of _θ_ ( _k_ <sup>¯</sup> ) is _θ_ (0) = [ _m,_ 0 _, . . .,_ 0] <sup>_T_</sup>, since all _m_ vehicles are at depot at the start of operation. 3. NONLINEAR PROGRAMMING FORMULATION The problem is formulated as a non-linear program. Decision variables are node sequences _S_ <sup>_i_</sup>, SOC increase sequences _L_ <sup>_i_</sup>, and departure times _x_ <sup>_i_</sup> 0 <sup>for</sup> <sup>each</sup> <sup>EV</sup> <sup>_i_</sup> <sup>_∈_</sup> <sup>_M_</sup> <sup>.</sup> <sup>The</sup> <sup>cost</sup> <sup>is</sup> the weighted sum of three elements: total travel times among nodes; total charging times; and total energy consumption: _k_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N_</sup> _Sk_ <sup>_i_</sup> <sup>_∈N_</sup> _DSki_ <sup>_≤_</sup> <sup>_D_</sup> <sup>¯</sup> <sup>_i_</sup> _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> Equations (19) and (20) define time windows. _T_ <sup>_−_</sup> _Sk_ <sup>_i_</sup> _k_ <sup>_i_</sup> <sup>_≤_</sup> <sup>_x_</sup> 1 <sup>_i_</sup> _S_ <sup>_i_</sup> 1 <sup>_i_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _∀i ∈_ _M,_ _∀k_ _∈_ _K_ <sup>_i_</sup> _,_ _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N_</sup> _k_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N_</sup> <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_T_</sup> <sup>+</sup> _Sk_ <sup>_i_</sup> _∀i ∈_ _M,_ _k_ <sup>_i_</sup> _∀k_ _∈_ _K_ <sup>_i_</sup> _,_ _Sk_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N_</sup> _x_ <sup>_i_</sup> 1 <sup>+</sup> _Sk_ <sup>_i_</sup> <sup>_−_</sup> <sup>_TS_</sup> _k_ <sup>_i_</sup> _ki_ <sup>_S_</sup> _k_ <sup>_i_</sup> _si−_ 1 _tSki_ _J_ ( _S, L, x_ 0) = _ω_ 1 _m_ _k_ +1 _i_ =1 _k_ =0 <u>�</u> �� Total travel time Equations (21) to (23) are state equations of each EV. <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> _k_ <sup>_i_</sup> +1 <sup>_, Li_</sup> _k_ _k_ _i_ =1 _k_ =0 _x_ <sup>_i_</sup> 1 <sup>_i_</sup> 1 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> <sup>_F_</sup> <sup>1</sup> - _x_ <sup>_i_</sup> 1 (18) (19) (20) (21) (22) (23) ∆ _Ski_ _ki_ <sup>(</sup> <sup>_x_</sup> 2 <sup>_i_</sup> <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> _k_ <sup>_i_</sup> +1 <sup>_, Li_</sup> _k_ _k_ _x_ <sup>_i_</sup> 2 <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> <sup>_F_</sup> <sup>2</sup> - _x_ <sup>_i_</sup> 2 2 <sup>_i_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, Li_</sup> _k_ <sup>)</sup> + _ω_ 2 + _ω_ 3 _m_ _m_ _i_ =1 _eSki_ _ki_ <sup>_S_</sup> _k_ <sup>_i_</sup> _i_ =1 _Sk_ <sup>_i_</sup> <sup>_∈F_</sup> _k∈K_ <sup>_i_</sup> (10) _x_ <sup>_i_</sup> 3 <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>+ 1) =</sup> <sup>_F_</sup> <sup>3</sup> - _x_ <sup>_i_</sup> 3 <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> <sup>_, S_</sup> _k_ <sup>_i_</sup> _k_ <sup>_i_</sup> +1 <sup>_, Li_</sup> _k_ _k_ - _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> - _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> - _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> <u>�</u> <u>��</u> <u>�</u> Total charging time _si−_ 1 _k_ =0 Equation (24) are the dynamics of the counting vector and Eq. (25) the initial value of the counting vector. Equation (26) limit the maximum parallel charging operations at CSs. _θ_ ( _k_ <sup>¯</sup> + 1) = _θ_ ( _k_ <sup>¯</sup> ) + _δ_ ( _k_ <sup>¯</sup> )ˆ _γ_ ( _k_ <sup>¯</sup> ) _∀k_ <sup>¯</sup> _∈_ _K_ <sup>0</sup> (24) 4 _k_ +1 - _x_ <sup>_i_</sup> 3 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <u>�</u> <u>��</u> <u>�</u> Total energy consumption ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 _θ_ (0) = [ _m,_ 0 _, . . .,_ 0] <sup>_T_</sup> (25) _θj_ ( _k_ <sup>¯</sup> ) _≤_ _rj_ _∀j_ _∈_ _F,_ _∀k_ <sup>¯</sup> _∈_ _K_ <sup>0</sup> (26) The following constraints are SOH policies. Equation (27) bounds SOC of vehicles arriving at a node, while Eq. (28) bounds SOC of vehicles leaving from a node. _α_ <sup>_−_</sup> _≤_ _x_ <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_α_</sup> <sup>+</sup> _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> _α_ <sup>_−_</sup> _≤_ _x_ <sup>_i_</sup> 2 <sup>(</sup> <sup>_k_</sup> <sup>) +</sup> <sup>_Li_</sup> _k_ <sup>_≤_</sup> <sup>_α_</sup> <sup>+</sup> _∀i ∈_ _M_ _∀k_ _∈_ _K_ <sup>_i_</sup> (27) (28) The following constraints define decision variables domains. _k_ <sup>_i_</sup> <sup>_∈_</sup> <sup>_N i ∪_</sup> <sup>_F_</sup> _L_ <sup>_i_</sup> _k_ <sup>_i_</sup> 0 <sup>_∈_</sup> <sup>Ω</sup> _∀i ∈_ _M,_ _∀k_ _∈_ _K_ <sup>_i_</sup> _Sk_ <sup>_i_</sup> <sup>_i_</sup> _k_ <sup>_∈_</sup> <sup>R</sup> 0 <sup>+</sup> 0 <sup>+</sup> _x_ <sup>_i_</sup> 0 (29) Finally, the problem is to find a set of node sequences _S_ <sup>_∗_</sup>, a set of charging plans _L_ <sup>_∗_</sup>, and a set of departure times _x_ <sup>_∗_</sup> 0 such that the cost function in Eq. (10) is minimized. These optimal decision variables are such that all above constraints are satisfied. Equation (30) summarizes the problem as an optimization problem. _S_ <sup>_∗_</sup> _, L_ <sup>_∗_</sup> _, x_ <sup>_∗_</sup> 0 <sup>=</sup> <sup>arg</sup> _S,L,x_ <sup>min</sup> 0 <sup>_J_</sup> <sup>(</sup> <sup>_S, L, x_</sup> <sup>0)</sup> (30) <u>Algorithm 1:</u> <u>Generic GA</u> _k ←_ 0; _P(k) ←_ Initial population; _evaluate(P(k))_ ; while _notFinished()_ do _P_ 0 _←_ _select(P(k))_ ; _P_ 1 _←_ _crossover(P_ 0 _)_ ; _mutate(P_ 1 _)_ ; _evaluate(P_ 1 _)_ ; _P_ ( _k_ + 1) _←_ _newPopulation_ ( _P_ 1 _, P_ ( _k_ )); _k_ _←_ _k_ + 1; end <u>return</u> _<u>bestIndividual(P(k))</u>_ 4.1. Encoding Routes We consider a hybrid strategy of direct and indirect representation of routes in the individuals. The whole individual is the concatenation of several sub-individuals, as shown in Figure 1; each one of these sub-individuals stores the route information of a single EV. Three blocks form a sub-individual: a customer block, a charging operation block, and a departure time block. For EV _i_, a customer block is a vector of integers of length equal to the number of customers in _N_ <sup>_i_</sup> which defines the sequence the customers will be visited. The _k_ -th component of this vector is the customer ID of the _k_ -th customer the vehicle will visit in its sequence. Notice this does not define the route of the EV because this does not consider charging operations. A charging operations block defines in-route charging operations. The whole block is the concatenation of several charging operations sub-blocks, as shown in Figure 2. A sub-block structure is interpreted as follows. After the EV serves customer _Nj_ <sup>_∗_</sup> <sup>,</sup> <sup>it</sup> <sup>goes</sup> <sup>to</sup> <sup>CS</sup> <sup>_F ∗_</sup> _j_ <sup>and</sup> <sup>charges</sup> <sup>the</sup> <sup>amount</sup> <sup>_qj_</sup> <sup>.</sup> <sup>If</sup> _N_ <sup>_∗_</sup> _j_ is -1, then the charging operation does not take place at all. Each EV is allowed to make _n_ <sup>_∗_</sup> charging operations at most. Consequently, the whole charging operations block is made up of _n_ <sup>_∗_</sup> charging operation sub-blocks. A departure time block is a single real number denoting the time of the day the EV will leave the depot. The operations Ψ <sup>_S_</sup> ( _Ij_ ), Ψ <sup>_L_</sup> ( _Ij_ ) and Ψ <sup>_x_</sup> <sup>0</sup> ( _Ij_ ) are decoding operations that convert the individual _Ij_ into decision variables _S_, _L_ and _x_ 0, respectively. The operation Ψ( _Ij_ ) returns the optimization vector as a result of the individual _Ij_ . 4.2. Genetic Operators 4.2.1. Crossover The crossover operator creates two children by recombination of two parents. In this work, the crossover first chooses an EV and a block associated with this EV; the blocks can be the customer block, the charging operation block or the departure time block. Then, for two randomly selected parents, 5 s.t. Eqs. (11) - (29) 4. GENETIC ALGORITHM TO SOLVE THE E-VRP-TW The optimization problem of Eq. (30) is nonlinear, and contains continuous and integer (combinatorial) variables; thus, it cannot be solved in polynomial time. Because of this, a Genetic Algorithm (GA) (Goldberg, 1989) is proposed for solving the newly proposed E-VRP because of its capacity to handle this type of problem. GA is a population-based optimization scheme, that mimics natural evolution in a population. Several operators inspired on the evolutionary process (mutation, crossover, and selection) that are used over several generations in the algorithm, are designed to drive a population of individuals to find or approximate solutions to the optimum. Mutation and crossover operations aid the diversity of the population, which helps solving problems with multiple minima, and selection drives the population to the best solutions. A pseudo-code describing a generic GA is presented in Algorithm 1. In this section we define each of the used operators, including the ad-hoc encoding and mutation operator, defined specifically for this formulation. ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 Charging Customers operations Departure Charging Customers time operations Departure Departure ... Charging Customers time operations ... Charging Departure Customers operations time Departure Sub-individual vehicle 1 Sub-individual vehicle 2 Sub-individual vehicle m Figure 1. A full individual is made up of the concatenation of each vehicle sub-individual Sub-block 1 Sub-block 2 Sub-block _n*_ _N_ <sup>_*_</sup> _1_ _F_ <sup>_*_</sup> _1_ _q1_ _N_ <sup>_*_</sup> _2_ _F_ <sup>_*_</sup> _2_ _q2_ ... _N_ <sup>_*_</sup> _n* F_ <sup>_*_</sup> _n*_ <sup>_q_</sup> _n*_ Charging operations block Figure 2. A full charging operations block is the concatenation of _n_ <sup>_∗_</sup> charging operation sub-blocks. the operator generates two children by copying the parents with the chosen blocks swapped. 4.2.2. Mutation The mutation operator modifies a randomly chosen block of a single individual. The modification depends on the block type: _•_ Customer block: the mutation operator will randomly swap two customers in their positions. _•_ Charging operations block: the mutation operator modifies a single randomly-chosen sub-block. The following procedure is applied: the customer is replaced by a value randomly sampled from _N_ <sup>_i_</sup> _∪{−_ 1 _}_, the CS is replaced by a value randomly sampled from _F_, and the charging amount is modified by a random number. _•_ Departure time block: the value is modified by adding a random number sampled from the interval [ _−_ 60 _,_ 60). 4.2.3. Selection In this work, a tournament selection of size _τ_ is considered. Under this approach, the best individual might be lost; thus, GA considers elitism as well. We implement elitism by preserving the best _κ_ individuals of generation _k_, and appending them into generation _k_ + 1. The worst _κ_ individuals of generation _k_ + 1 are dismissed. 4.3. Constraint Handling In this work, inequality constraints are handled by a penalization scheme. In some constraints a large negative constant is added to the fitness when the individual is outside the feasible zone. In other constraints, a value dependent on the distance to the feasible zone is added to the fitness. The distance function is where _Ij_ is the j-th individual in the population, Ψ( _Ij_ ) is the optimization vector after decoding _Ij_, and _fi_ (Ψ( _Ij_ )) and _bi_ are such that constraint _fi_ (Ψ( _Ij_ )) _≤_ _bi_ cannot be satisfied, i.e. are outside the feasible zone Ω. This quadratic penalization scheme allows the GA to violate inequality constraints by small amounts. We permit this behavior because most of these constraints are soft constraints, as it is possible that EVs reach customers outside their time windows or operate the battery outside the SOH policy by little amounts. Equality constraints are hard-constraints; thus, the penalty function does not make use of them. Instead, equality constraints are input-evaluated via recursion. Therefore, the GA requires the definition of the one-step prediction, the initial conditions, and the sequence of future inputs. All of these requirements are obtained by decoding the individual. 4.4. Fitness For feasible individuals, the fitness function Γ is minus the cost function in Eq. (10). For infeasible individuals, the fitness function adds a penalization equal to minus the distance function in Eq. (31) minus a large positive number _C_ . The above two cases are summarized in the following case-wise function: Γ( _Ij_ ) = - _−Jcost_ if feasible, _−Jcost −_ _D_ (Ψ( _Ij_ )) _−_ _C_ if infeasible. <sup>(32)</sup> where _Jcost_ = _J_ �Ψ <sup>_S_</sup> ( _Ij_ ) _,_ Ψ <sup>_L_</sup> ( _Ij_ ) _,_ Ψ <sup>_x_</sup> <sup>0</sup> ( _Ij_ )�. Fitness evaluation consists of four steps: first, decode each individual to obtain all decision variables; second, use these decision variables to evaluate all EV state variables; third, evaluate cost and constraints; four, evaluate fitness according to feasibility. 5. RESULTS AND DISCUSSION 5.1. System Configuration Three computational experiments were conducted. Each experiment varies in the number of customers and the fleet size, as detailed in Table 1. All experiments consider two CS; each of them with a limit of three parallel charging operations and the charging function in Figure 3. The charging function is an adaptation from the normal and slow charging functions provided by (Montoya et al., 2017). 6 _D_ ( _Ij_ ) = _i∈_ Ω <sup>_′_</sup> ( _fi_ (Ψ( _Ij_ )) _−_ _bi_ ) <sup>2</sup> (31) ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 10 ~~0~~ 80 60 40 20 0 Charging function 0 20 40 60 80 100 120 Time (min) Arrival and departure times (EV 0) <u>0</u> 10 7 1 11 ~~<u>2</u>~~ <u>11</u> 8 5 <u>3</u> <u>Serving customer</u> ~~4~~ <u>Charging operation</u> 0 Travelling ~~Cust. time window~~ 0 2 4 6 8 10 Stop (a) <u>EV Battery SOC (EV 0)</u> 0 0 2 4 6 8 10 Stop (b) Figure 3. Charging function of each CS Table 1. Experiments description <u>Network</u> Exp. # <u>Customer</u> <u>nodes</u> <u>Fleet</u> <u>size</u> <u>nodes</u> <u>size</u> <u>Exp.</u> <u>1</u> <u>13</u> <u>10</u> <u>2</u> Exp. 2 38 35 3 <u>Exp.</u> <u>3</u> <u>58</u> <u>55</u> <u>11</u> <u>size</u> <u>4</u> ~~2~~ 1 11 7 <u>10</u> ~~<u>0</u>~~ Instances are created by generating random nodes in a space of 20 km by 20 km. Travel times are the distance among all nodes multiplied by a factor of 1.7e-3, which is equivalent to EVs traveling at 35 km/hr. Similarly, per-weight energy consumption is obtained as the product of the distance among all nodes and the factor 2.8e-4. Customer time windows are generated from 9:00 hrs to 13:00 hrs with a random width within 1.5 hrs to 3.5 hrs. The SOH policy is determined by _α_ <sup>_−_</sup> = 38% and _α_ <sup>+</sup> = 82%. Therefore, all EVs leave the depot with a SOC of 82%. An EV weight of 1 _._ 52 tonnes is considered. The maximum tour time duration is 360 minutes. The cost function weights are set to ( _ω_ 1 _, ω_ 2 _, ω_ 3) = (0 _._ 2 _,_ 0 _._ 8 _,_ 1 _._ 2). We choose these values to turn travel times and energy consumption into similar scales, while giving more importance to charging times and energy consumption. The GA is implemented in Python 3.7.7 using the DEAP v1.3.0 library and runs in Windows 10 in an Intel Core i78750H @ 2.20GHz CPU with 16GB RAM. Each experiment has its set of GA hyper-parameters, which are detailed in Table 2. Table 2. GA hyper-parameters per experiment <u>Hyperparameter</u> <u>Exp.</u> <u>1</u> <u>Exp.</u> <u>2</u> <u>Exp.</u> <u>3</u> <u>Individuals</u> <u>90</u> <u>170</u> <u>180</u> Generations 150 510 540 Crossover prob. 0.55 0.65 0.65 Mutation prob. 0.85 0.85 0.85 Penal. const. 5e5 5e5 5e5 Tournament size 3 3 3 _<u>n</u>_ <sup>_∗_</sup> <u>2</u> <u>3</u> <u>3</u> Figure 4. Visualization of a feasible operation obtained from Experiment 1, case EV 0. In (a), the EV visits all customers within their time windows, even though two charging operations have been inserted. In (b), charging operations prevent EV SOC from operating outside SOC constraints. 5.2. Experiment Results Table 3 summarizes the results of all experiments. All of them accomplish all constraints; thus, penalization is zero in all of them. 5.3. Contribution of Charging Operations to Feasibility A proper insertion of charging operations allows EVs to: accomplish the SOH policy and accomplish time windows. The former result is evident, while the second one occurs because charging operations act as time-delay events. This time delays allow EVs to arrive at customers within their time windows. An example of this case is shown in Figure 4.a where, after visiting CS 11, the EV visits customer 2. If the charging operation is not inserted, then the EV arrives too early. Furthermore, Figure 4.b shows that the charging operation is required to fulfill the SOH policy. 7 1000 950 900 850 800 750 700 100 80 60 40 20 0 3 5 <u>8</u> ~~<u>11</u>~~ Serving customer ~~Charging operation~~ Travelling SOH policy ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 Table 3. Experiments results <u>Best</u> <u>Total</u> Experiment Penalization <u>fitness</u> <u>travel time</u> <u>Total</u> <u>charging time</u> <u>Best</u> <u>Total</u> <u>Total</u> <u>Total</u> <u>Max.</u> <u>CS</u> Experiment Penalization <u>fitness</u> <u>travel time</u> <u>charging time</u> <u>energy consumption</u> <u>occupation</u> <u>Exp.</u> <u>1</u> <u>-201.85</u> <u>0.0</u> <u>273.34</u> <u>57.53</u> <u>97.68</u> <u>1</u> Exp. 2 -225.98 0.0 336.83 30.19 152.97 2 <u>Exp.</u> <u>3</u> <u>-511.56</u> <u>0.0</u> <u>768.05</u> <u>18.33</u> <u>419.93</u> <u>1</u> <u>Total</u> <u>energy consumption</u> <u>Max. capacity = 1</u> CS 36 CS 37 2 1 0 1 0 0 25 50 75 0 25 50 75 Event̄ _K_ Event̄ _K_ <u>Max. capacity = 3</u> CS 36 CS 37 2 (a) (b) Figure 5. Number of EVs per CS. In (a), original result from Experiment 2. In (b), new result with less CS capacity. 5.4. Impact of Charging Station Capacities Experiment 2 results give an operation where two vehicles visit a CS at the same time. This is not an issue because we have constrained the maximum capacity to three. However, if the maximum capacity is one, then the solution is infeasible. We repeat the experiment with CS capacities set to one, and increasing the number of generations to 650 and the population size to 200. The GA finds a feasible solution, with a maximum number of EVs of one. Figure 5 shows a comparison of the number of EVs per CS in both experiments. The number of assigned customers influences the number of charging operations: the more customers to visit, the more likely to insert charging operations. Thus, it is not an issue if the fleet size is large because there is little chance for EVs to visit a CS and surpass the CS capacity. Experiments 2 and 3 show these cases: although the fleet size in Experiment 3 is larger than the fleet size in Experiment 2, the maximum occupation in Experiment 3 is lower than the maximum occupation in Experiment 2. This situation occurs because, in Experiment 2, EVs are assigned to 10 or more customers, while, in Experiment 3, EVs are assigned to five or six customers. 6. CONCLUSION AND FUTURE WORK A Genetic Algorithm (GA) to solve the Electric Vehicle Routing Problem with Non-Linear Charging Functions, Battery Degradation, and Time Windows has been developed. We consider recharging infrastructure limitations, State of Health (SOH) policies to prevent early degradation of the Electric Vehicle (EV) batteries, and an EV model to accurately estimate travel times and energy consumption. Unlike other works, which focus in addressing a single or a small set of limitations, we tackle all limitations in a single formulation. Our results show that the implemented GA is capable of finding feasible solutions in small and medium-sized problems. Feasible solutions ensure that CS capacities will never be exceeded, and the fleet will efficiently serve all customers. In addition, it has been shown that the GA can find routes when CS capacities are lowered. The resulting operation enables the fleet to minimize both short-term and long-term operational costs. Future work involves developing a methodology to assign customers to EVs efficiently, in-depth analysis and improvement of genetic operators, and include traffic network stochasticity into the problem, specifically, into the EV statespace model. The latter will improve the prognosis of travel times and energy consumption. ACKNOWLEDGMENT This work has been partially supported by FONDECYT Chile Grant Nr. 1170044, the Advanced Center for Electrical and Electronic Engineering, AC3E, Basal Project FB0008, ANID, FONDEF Project ID18I10379, ANID, ANID PAI Convocatoria Nacional Subvenci´on a Instalaci´on en la Academia Convocatoria 2009 PAI77190021, and the Department of Electrical Engineering of the University of Chile. NOMENCLATURE _S_ <sup>_i_</sup> Node sequence of EV _i_ _L_ <sup>_i_</sup> SOC increase sequence of EV _i_ _x_ 1(0) <sup>_i_</sup> Departure time of EV _i_ _x_ <sup>_i_</sup> ( _k_ ) State vector of EV _i_ _θ_ ( _k_ <sup>¯</sup> ) Counting vector at instant _k_ <sup>¯</sup> _Dj_ Requirement at node _j_ _K_ <sup>0</sup> Global counter range _K_ <sup>_i_</sup> EV _i_ counter range _m_ Fleet size _N_ <sup>_i_</sup> Customers vehicle _i_ must visit _P_ ¯ _i_ Maximum weight of EV _i_ _Q_ ¯ _i_ Battery capacity of vehicle _i_ _rj_ Maximum capacity of CS _j_ _Tj_ Service time of customer _j_ _Tj_ <sup>+,</sup> <sup>_T −_</sup> _j_ Customer _j_ time window bounds _j_ <sup>+,</sup> <sup>_T −_</sup> _j_ _Tj_ <sup>+,</sup> <sup>_T −_</sup> _j_ Customer _j_ time window bounds _T_ ¯ Maximum tour time 8 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2020 _α_ <sup>_−_</sup>, _α_ <sup>+</sup> SOC safe zone _Fj_ ( _·_ ) State transition function of state variable _j_ _δ_ ( _k_ <sup>¯</sup> ) Binary value tracking event kind at instant _k_ <sup>¯</sup> . _γ_ ( _k_ ) Vector tracking the event position at instant _k_ . _tij_ Travel time across arc _ij_ _eij_ Per-unit energy consumption across arc _ij_ ∆ _i_ Charging time at CS _i_ REFERENCES Barco, J., Guerra, A., Mu˜noz, L., & Quijano, N. (2017). Optimal Routing and Scheduling of Charge for Electric Vehicles: A Case Study. _Math. Probl. Eng._, _2017_, 8509783. doi: 10.1155/2017/8509783 Cattaruzza, D., Absi, N., Feillet, D., & Gonz´alez-Feliu, J. (2017). Vehicle routing problems for city logistics. _EURO_ _J._ _Transp._ _Logist._, _6_ (1), 51–79. doi: 10.1007/s13676-014-0074-0 Dekker, R., Bloemhof, J., & Mallidis, I. (2012). Operations Research for green logistics - An overview of aspects, issues, contributions and challenges. _Eur. J. Oper. Res._, _219_ (3), 671–679. doi: 10.1016/j.ejor.2011.11.010 Erdelic, T., & Caric, T. (2019). A Survey on the Electric Vehicle Routing Problem : Variants and Solution Approaches. _J. Adv. Transp._, _2019_, 1–48. Faria, R., Marques, P., Moura, P., Freire, F., Delgado, J., & De Almeida, A. T. (2013). Impact of the electricity mix and use profile in the life-cycle assessment of electric vehicles. _Renew._ _Sustain._ _Energy_ _Rev._, _24_, 271–287. doi: 10.1016/j.rser.2013.03.063 Feng, W., & Figliozzi, M. (2013). An economic and techno logical analysis of the key factors affecting the competitiveness of electric commercial vehicles: A case study from the USA market. _Transp._ _Res._ _Part_ _C_ _Emerg._ _Technol._, _26_, 135–145. doi: 10.1016/j.trc.2012.06.007 Froger, A., Mendoza, J. E., Jabali, O., & Laporte, G. (2017, jun). _A_ _Matheuristic_ _for_ _the_ _Electric_ _Vehicle_ _Rout-_ _ing_ _Problem_ _with_ _Capacitated_ _Charging_ _Stations_ [Research Report]. Gendreau, M., Potvin, J.-Y., Br¨aumlaysy, O., Hasle, G., & Løkketangen, A. (2008). Metaheuristics for the Vehicle Routing Problem and Its Extensions: A Categorized Bibliography BT - The Vehicle Routing Problem: Latest Advances and New Challenges. In B. Golden, S. Raghavan, & E. Wasil (Eds.), (pp. 143–169). Boston, MA: Springer US. doi: 10.1007/978-0-387-777788 ~~7~~ Goldberg, D. E. (1989). _Genetic_ _algorithms_ _in_ _search,_ _optimization_ _and_ _machine_ _learning_ (1st ed.). USA: Addison-Wesley Longman Publishing Co., Inc. Kumar, S. N., & Panneerselvam, R. (2012). A Survey on the Vehicle Routing Problem and Its Variants. _Intell._ _Inf._ _Manag._, _04_ (03), 66–74. doi: 10.4236/iim.2012.43010 Lee, R. J., & Sener, I. N. (2016). Transportation planning and quality of life: Where do they intersect? _Transp. Pol-_ _icy_, _48_, 146–155. doi: 10.1016/j.tranpol.2016.03.004 Montoya, A., Gu´eret, C., Mendoza, J. E., & Villegas, J. G. (2017). The electric vehicle routing problem with nonlinear charging function. _Transp._ _Res._ _Part_ _B_ _Methodol._, _103_, 87–110. doi: 10.1016/j.trb.2017.02.004 Nazari, M., Oroojlooy, A., Snyder, L., & Tak´ac, M. (2018). Reinforcement learning for solving the vehicle routing problem. In _Advances in neural information processing_ _systems_ (pp. 9839–9849). Notter, D. A., Gauch, M., Widmer, R., W¨ager, P., Stamp, A., Zah, R., & Althaus, H.-J. (2010, sep). Contribution of Li-Ion Batteries to the Environmental Impact of Electric Vehicles. _Environ. Sci. Technol._, _44_ (17), 6550– 6556. doi: 10.1021/es903729a Perez, A., Moreno, R., Moreira, R., Orchard, M., & Strbac, G. (2016). Effect of Battery Degradation on Multi-Service Portfolios of Energy Storage. _IEEE_ _Trans._ _Sustain._ _Energy_, _7_ (4), 1718–1729. doi: 10.1109/TSTE.2016.2589943 Pola, D. A., Navarrete, H. F., Orchard, M. E., Rabi´e, R. S., Cerda, M. A., Olivares, B. E., ... P´erez, A. (2015). Particle-filtering-based discharge time prognosis for lithium-ion batteries with a statistical characterization of use profiles. _IEEE_ _Trans._ _Reliab._, _64_ (2), 710–720. doi: 10.1109/TR.2014.2385069 Sassi, O., Cherif, W. R., & Oulamara, A. (2014, oct). _Vehi-_ _cle_ _Routing_ _Problem_ _with_ _Mixed_ _fleet_ _of_ _conventional_ _and heterogenous electric vehicles and time dependent_ _charging costs._ APPENDIX A. METHODOLOGY TO CONSTRUCT _θ_ VECTOR Vector _θ_ is built by following these directions: 1. Initialize a zero-vector of size _|V |_, and initialize _k_ <sup>¯</sup> = 0 2. Calculate times each EV _i_ arrives at each node in its path _S_ <sup>_i_</sup> . 3. Calculate times each EV _i_ leaves from each node in its path _S_ <sup>_i_</sup> . 4. Repeat 3+2 _∗_ <sup>�</sup> <sup>_m_</sup> _i_ =0 <sup>(</sup> <sup>_si_</sup> <sup>_−_</sup> <sup>1) times the following: identify</sup> the next events according to arrival times and departure times. The event is characterized by the node where it occurs ( _γj_ ( _k_ <sup>¯</sup> )), and the event kind: arriving time or a departure time (i.e. _δ_ ( _k_ <sup>¯</sup> )). Do Eq. (7). Increase _k_ <sup>¯</sup> by one. 9

섹션 본문 68문단 · 27,322자

(제목 없음)

1As CO2 emission regulations increase, fleet owners increasingly consider the adoption of Electric Vehicle (EV) fleets in their business. The conventional Vehicle Routing Problem (VRP) aims to find a set of routes to reduce operational costs. However, route planning of EVs poses different challenges than that of Internal Combustion Engine Vehicles (ICEV). The Electric Vehicle Routing Problem (E-VRP) must take into consideration EV limitations such as short driving range, high charging time, poor charging infrastructure, and battery degradation. In this work, the E-VRP is formulated as a Prognostic Decision-Making problem. It considers customer time windows, partial midtour recharging operations, non-linear charging functions, and limited Charge Station (CS) capacities. Besides, battery State of Health (SOH) policies are included in the E-VRP to prevent early degradation of EV batteries. An optimization problem is formulated with the above considerations, when each EV has a set of costumers assigned, which is solved by a Genetic Algorithm (GA) approach. This GA has been suitably designed to decide the order of customers to visit, when and how much to recharge, and when to begin the operation. A simulation study is conducted to test GA performance with fleets and networks of different sizes. Results show that E-VRP effectively enables operation of the fleet, satisfying all operational constraints.

INTRODUCTION

2Fleet owners continuously strive to operate their fleets efficiently. In economic affairs, fleet owners attempt to minimize operational costs while ensuring operational constraints. Nonetheless, the minimization of operational costs does not imply an environmental-friendly operation (Dekker, Juan P. Futalef et al. This is an open-access article distributed under the terms of the Creative Commons Attribution 3.0 United States License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Bloemhof, & Mallidis, 2012). In the case of land vehicles, their operation phase contributes to the most Greenhouse Gasses (GHG) emission of their whole life cycle (Faria et al., 2013). Moreover, they contribute to significant space usage and noise pollution (Lee & Sener, 2016).

3The well-known Vehicle Routing Problem (VRP) arises as an intuitive optimization problem to look for efficient routes. The VRP aims at finding the least-cost routes a set of vehicles can follow to serve a finite number of customers (Kumar & Panneerselvam, 2012) (Cattaruzza, Absi, Feillet, & González-Feliu, 2017). The routes are constrained to the nature of the operation to execute. The VRP is an NP-hard problem, i.e. the computational effort required to solve it grows exponentially when the problem size increases. Consequently, exact solutions of large real-world problems become computationally intractable quickly, even when only a few hundred customers are considered (Nazari, Oroojlooy, Snyder, & Takác, 2018). Despite this issue, fleet owners require solving big problem instances in short periods. This hard requirement makes exact algorithms unpractical; thus, researchers and commercial solvers have focused on metaheuristics, which are generic heuristics dedicated to efficiently explore the search space so as to determine near-optimal solutions. Some of these metaheuristics include: Genetic Algorithms (GA), Ant Colony Optimization (ACO), Tabu Search (TS), Simulated Annealing (SA), among others (Gendreau, Potvin, Bräumlaysy, Hasle, & Løkketangen, 2008).

4The Electric Vehicle Routing Problem (E-VRP) is a VRP variant where all vehicles are Electric Vehicles (EV) (Montoya, Guéret, Mendoza, & Villegas, 2017) (Erdelic & Caric, 2019). We consider Battery Electric Vehicles (BEV), which are only powered from batteries installed inside the vehicles. Therefore, many advantages and disadvantages arise. Some of the most critical BEV advantages include: they are much quieter than Internal Combustion Engine Ve-hicles (ICEV), they do not emit GHG locally, and there is the possibility to recharge batteries from clean sources (Faria et al., 2013) (Notter et al., 2010). Most BEV disadvantages derive from the limited battery capacity and the little recharging infrastructure available. Battery capacity directly impacts the driving range of a BEV, which averages around 200 km, nearly one-third the average driving range of an ICEV (Erdelic & Caric, 2019) (Feng & Figliozzi, 2013). This limitation forces BEVs to visit charging stations (CS) frequently. However, most cities around the world are not equipped with large and robust recharging infrastructure yet. Consequently, a properly formulated E-VRP must address both BEV constraints and recharging infrastructure limitations.

5Another significant BEV limitation comes from battery degradation. Studies have shown that improper handling of batteries can lead to an increase in long-term operational costs (Perez, Moreno, Moreira, Orchard, & Strbac, 2016). This cost increase occurs because mishandled batteries degrade faster, which forces fleet owners to replace them early. Furthermore, this replacement produces a large environmental burden: GHG emissions from battery manufacturing are comparable to manufacturing all the rest of the vehicle itself (Faria et al., 2013) (Notter et al., 2010).

6To increment the battery lifespan, one can constrain the State of Charge (SOC) of the battery (Perez et al., 2016). We denominate this method as State Of Health (SOH) policy. Some studies consider this kind of policy into the E-VRP formulation. In (Barco, Guerra, Muñoz, & Quijano, 2017), they address an airport shuttle with BEVs, and directly constrain SOC to prevent the battery from degrading faster. In (Sassi, Cherif, & Oulamara, 2014), they tackle the delivery of goods with a mixed fleet of ICEV and BEV, while incorporating the same SOH policy. However, the latter two works do not mention CS capacity, which, according to (Froger, Mendoza, Jabali, & Laporte, 2017), influences the feasibility of solutions.

7In this work, we propose a new formulation of the E-VRP considering non-linear charging functions, battery degradation, and limited CS capacity. To solve the problem, we develop a custom Genetic Algorithm (GA). This GA is capable of inserting charging operation on-execution; thus, no additional methodologies and heuristics are required. Results show that the GA is capable of finding optimal feasible routes each vehicle can follow.

8The paper structure is as follows. Section 2 describes the problem in detail. Section 4 introduces the GA to solve the problem. Section 5 shows results of four experiments of different complexity. Finally, section 6 concludes about the work and future trends to improve research. Each customer j ∈ N requires a demand D j , which is delivered by an EV. When the EV arrives at j, it takes a known time T j until the EV departs from j. A time window [T − j , T + j ] constrains this service, i.e., the EV must arrive after T − j and leave before T + j . Both T − j and T + j belong to the set Ω ⊂ R + , which contains the times of the day. The time window is such that its width is larger than the service time.

THE E-VRP-NL-TW

9In order to serve all customers, a fleet M of m EVs is available. Each EV i ∈ M must visit a set of previously assigned customers N i . This assignation of customers per vehicle is always the same throughout operation, and it is such that the EV does not carry more weight than its weight limit. Additional to its weight limit, each EV i has a battery capacityQ i . All EVs have the same maximum tour time duration ofT .

10Travel across arc (i, j) ∈ A defines the travel time the EV must spend, and energy consumption the EV battery spends. The travel time is t ij , while the energy consumption is

11whereē ij is the per-weight-unit energy cost, w is the weight the EV carries across the arc, and w EV is the EV weight. There are two methods to calculate both t ij andē ij : first, assume they are a function of the Euclidean distance among i and j; second, solve the Shortest Path Problem (SPP), which aims to find the road path that minimizes the distance among two nodes.

12The SOC is a representation of the remaining energy in the battery (Pola et al., 2015). When the battery is full, the SOC is one; on the other hand, when the battery is empty, the SOC is zero. Several studies tackle the E-VRP by assuming SOC instead of energy consumption because it does not rely on EV parameters (Montoya et al., 2017) (Sassi et al., 2014). Following the same assumption, we will assume that e ij is the decrease in the battery SOC when the EV travels from i to j.

13When the EV battery operates with a SOC too close to zero or one for long periods, it tends to degrade faster (Perez et al., 2016). Therefore, to prevent early degradation of EV batteries, we consider a State Of Health (SOH) policy. This policy consists of constraining the battery SOC in an interval

14During operation, vehicles can visit any CS to recharge the battery. Each CS j ∈ F can do a limited number of r j parallel charging operations. A charging operation made at CS j takes time ∆ j (p, q), where p is the SOC when the EV reaches the CS, and q is the SOC increase made by the charging operation. This operation is characterized by a charging function, which is concave and non-linear (Montoya et al., 2017). To calculate charging times, we consider the method presented by (Montoya et al., 2017), where a piece-wise function approximates the charging function of a CS.

15The criteria to choose the routes is to minimize total travel times, total energy consumption, and total charging times. A solution of the problem must return: an ordered sequence of nodes each EV will visit, the time of the day each EV departs from the depot, and, if visiting a CS, the SOC increase made by the charging operation. A feasible solution satisfies:

16• all customers are visited precisely once, • all EVs do not exceed their limitations, • CS capacities are not surpassed, • all EVs begin and end operation at the depot, • all customers are visited within their time windows.

Electric Vehicle State-Space Model

17The path EV i ∈ M will follow is

18where s i is the length of S i . Each S i k is the k-th node the EV visits. As the number of customers each EV is serving is fixed, the length s i varies if charging operations are inserted. The vector L i = [L i 0 , . . . , L i si−1 ] T defines the charging plan, where L i k represents the SOC increase made in the k-th stop. Thus, if the node to visit is a customer node, L i k = 0. On the other hand, if the node to visit is a CS, there must be a SOC increase, i.e., L i k > 0. EV i state variables are three:

19is the time of the day the vehicle arrives at the k-th stop. The arrival time at stop k + 1 depends on the arrival time at stop k plus: the time the EV spends at stop k, and the travel time from stop k to stop k + 1. Initial condition x i 1 (0) is the time of the day the vehicle leaves the depot; • x i 2 (k) is the battery SOC when the vehicle arrives at k-th stop. When the vehicle arrives at k + 1 stop, the battery SOC depends on SOC at the previous stop k minus the SOC decrease by traveling from stop k to stop k + 1. The SOC decrease depends on the weight the EV carries across the arc, with is tracked by state variable x 3 (k) If the EV visits a CS at instant k, then the SOC at k + 1 must add this SOC increase. Initial condition x i 2 (0) is the battery SOC when the vehicle leaves the depot;

20is the weight the vehicle carries when it arrives to stop k. Thus, the weight at instant k + 1 is the weight at instant k minus the requirement at stop k. If stop k is a CS, then the requirement is zero. Initial condition x i 3 (0) is the sum of all customer demands to be delivered by the vehicle plus the EV weight.

21The state equations use a discrete time k that represents when the EV arrives to the k-th stop in its path. Consequently, each vehicle has its own time k, which ranges from 0 to s i − 1.

22Equations (1) to (3) are case-wise defined. These cases depend on the node type the EV visits: a customer or a CS.

23is the charging time at CS S i k when the EV arrives with SOC x 2 (k) and leaves with SOC x 2 (k) + L i k ; t ij and e ij (w) are the travel time and SOC decrease when the EV travels from node i towards node j; D S i k+1 is the demand requirement at node S i k+1 . A good forecasting of the EV state variables is essential to provide a high-quality solution to the problem. In our case, SOC prognosis is crucial to obtain solutions that satisfy the SOH policy. The incorporation of the EV weight and the per-weight energy consumption allows us to predict the SOC decrease with great detail, which is determinant on E-VRP research, and there is still a lack of E-VRP variants tackling this issue (Erdelic & Caric, 2019).

24To simplify notation, Eqs. (1) to (3) are redefined as:

Counting the Number of Vehicles at Each Node

25The operation of different EVs is coupled by the constraint of CS capacity, as the presence of an EV in a charging station reduces the capacity for the remaining EVs. In order to enforce this constraint, a method to count the number of vehicles at each node at any time is needed. The purpose of this section is to present this method, which cannot be done with the standard EV state variables.

26In this case, a different discrete time counter is needed. A global discrete time counterk is used, which tracks the occurence of two events: an EV arriving at a node and an EV leaving from a node.

27To count the number of vehicles, consider the vector θ(k) ∈ R |V | . This vector contains as many components as nodes in the network. The j-th component of θ(k) contains the number of vehicles at node j at the moment thek-th event is triggered. For example, if at instantk two vehicles are visiting node j, then θ j (k) = 2. If any of the two vehicles leave j, the eventk + 1 "leaving a node" is triggered, and the value θ j (k + 1) = 1. This implies that the counting vector evolves every time the counterk changes as follows:

28where γ(k) ∈ R |V | is a vector such that its j-th component satisfies

29and δ(k) is such that δ(k) = +1 if at instantk, a vehicle arrives to a node −1 if at instantk, a vehicle leaves a node.

30The vector γ(k) tracks the node where the event happens, and δ(k) tracks the kind of event. The initial condition of θ(k) is θ(0) = [m, 0, . . . , 0] T , since all m vehicles are at depot at the start of operation.

NONLINEAR PROGRAMMING FORMULATION

31The problem is formulated as a non-linear program. Decision variables are node sequences S i , SOC increase sequences L i , and departure times x i 0 for each EV i ∈ M . The cost is the weighted sum of three elements: total travel times among nodes; total charging times; and total energy consumption: are the decision variables. The weights ω 1 , ω 2 , and ω 3 tune the importance given to the item they multiply.

32The following constraints are initial conditions. Equation (11) forces all EV to start from depot; Eq. (12) indicates that EVs do not increase their SOC at the beginning of the tour; Eq. (13) forces each EV to have their own starting time; Eq. (14) implies that each EV leaves the depot with the maximum value allowed by the SOH policy; Eq. (15) implies that each EV leaves the depot carrying a weight equal to the sum of the demands of all customers the EV must visit.

33x

34The following constraints are terminal conditions. Equation (16) forces all EVs to end at depot; Eq. (17) prevents EVs tour duration to exceed the maximum tour time.

35Equation (18) prevents EVs from carrying more weight than their maximum weight limitation.

36Equations (19) and (20) define time windows.

37Equations (21) to (23) are state equations of each EV.

38Equation (24) are the dynamics of the counting vector and Eq. (25) the initial value of the counting vector. Equation (26) limit the maximum parallel charging operations at CSs.

39The following constraints are SOH policies. Equation (27) bounds SOC of vehicles arriving at a node, while Eq. (28) bounds SOC of vehicles leaving from a node.

40The following constraints define decision variables domains.

41Finally, the problem is to find a set of node sequences S * , a set of charging plans L * , and a set of departure times x * 0 such that the cost function in Eq. (10) is minimized. These optimal decision variables are such that all above constraints are satisfied. Equation (30)

GENETIC ALGORITHM TO SOLVE THE E-VRP-TW

42The optimization problem of Eq. (30) is nonlinear, and contains continuous and integer (combinatorial) variables; thus, it cannot be solved in polynomial time. Because of this, a Genetic Algorithm (GA) (Goldberg, 1989) is proposed for solving the newly proposed E-VRP because of its capacity to handle this type of problem. GA is a population-based optimization scheme, that mimics natural evolution in a population. Several operators inspired on the evolutionary process (mutation, crossover, and selection) that are used over several generations in the algorithm, are designed to drive a population of individuals to find or approximate solutions to the optimum. Mutation and crossover operations aid the diversity of the population, which helps solving problems with multiple minima, and selection drives the population to the best solutions. A pseudo-code describing a generic GA is presented in Algorithm 1.

43In this section we define each of the used operators, including the ad-hoc encoding and mutation operator, defined specifically for this formulation.

44Algorithm 1: Generic GA k ← 0; P(k) ← Initial population; evaluate(P(k)); while notFinished() do P 0 ← select(P(k)); P 1 ← crossover(P 0 ); mutate(P 1 ); evaluate(P 1 ); P (k + 1) ← newPopulation(P 1 , P (k)); k ← k + 1; end return bestIndividual(P(k))

Encoding Routes

45We consider a hybrid strategy of direct and indirect representation of routes in the individuals. The whole individual is the concatenation of several sub-individuals, as shown in Figure 1; each one of these sub-individuals stores the route information of a single EV.

46Three blocks form a sub-individual: a customer block, a charging operation block, and a departure time block. For EV i, a customer block is a vector of integers of length equal to the number of customers in N i which defines the sequence the customers will be visited. The k-th component of this vector is the customer ID of the k-th customer the vehicle will visit in its sequence. Notice this does not define the route of the EV because this does not consider charging operations.

47A charging operations block defines in-route charging operations. The whole block is the concatenation of several charging operations sub-blocks, as shown in Figure 2. A sub-block structure is interpreted as follows. After the EV serves customer N * j , it goes to CS F * j and charges the amount q j . If N * j is -1, then the charging operation does not take place at all. Each EV is allowed to make n * charging operations at most. Consequently, the whole charging operations block is made up of n * charging operation sub-blocks. A departure time block is a single real number denoting the time of the day the EV will leave the depot.

48The operations Ψ S (I j ), Ψ L (I j ) and Ψ x0 (I j ) are decoding operations that convert the individual I j into decision variables S, L and x 0 , respectively. The operation Ψ(I j ) returns the optimization vector as a result of the individual I j .

Crossover

49The crossover operator creates two children by recombination of two parents. In this work, the crossover first chooses an EV and a block associated with this EV; the blocks can be the customer block, the charging operation block or the departure time block. Then, for two randomly selected parents,

Mutation

50The mutation operator modifies a randomly chosen block of a single individual. The modification depends on the block type:

51• Customer block: the mutation operator will randomly swap two customers in their positions. • Charging operations block: the mutation operator modifies a single randomly-chosen sub-block. The following procedure is applied: the customer is replaced by a value randomly sampled from N i ∪ {−1}, the CS is replaced by a value randomly sampled from F , and the charging amount is modified by a random number. • Departure time block: the value is modified by adding a random number sampled from the interval [−60, 60).

Selection

52In this work, a tournament selection of size τ is considered. Under this approach, the best individual might be lost; thus, GA considers elitism as well. We implement elitism by preserving the best κ individuals of generation k, and appending them into generation k + 1. The worst κ individuals of generation k + 1 are dismissed.

Constraint Handling

53In this work, inequality constraints are handled by a penalization scheme. In some constraints a large negative constant is added to the fitness when the individual is outside the feasible zone. In other constraints, a value dependent on the distance to the feasible zone is added to the fitness. The distance function is

54where I j is the j-th individual in the population, Ψ(I j ) is the optimization vector after decoding I j , and f i (Ψ(I j )) and b i are such that constraint f i (Ψ(I j )) ≤ b i cannot be satisfied, i.e. are outside the feasible zone Ω.

55This quadratic penalization scheme allows the GA to violate inequality constraints by small amounts. We permit this behavior because most of these constraints are soft constraints, as it is possible that EVs reach customers outside their time windows or operate the battery outside the SOH policy by little amounts.

56Equality constraints are hard-constraints; thus, the penalty function does not make use of them. Instead, equality constraints are input-evaluated via recursion. Therefore, the GA requires the definition of the one-step prediction, the initial conditions, and the sequence of future inputs. All of these requirements are obtained by decoding the individual.

Fitness

57For feasible individuals, the fitness function Γ is minus the cost function in Eq. (10). For infeasible individuals, the fitness function adds a penalization equal to minus the distance function in Eq. (31) minus a large positive number C. The above two cases are summarized in the following case-wise function:

58where J cost = J Ψ S (I j ), Ψ L (I j ), Ψ x0 (I j ) .

59Fitness evaluation consists of four steps: first, decode each individual to obtain all decision variables; second, use these decision variables to evaluate all EV state variables; third, evaluate cost and constraints; four, evaluate fitness according to feasibility.

System Configuration

60Three computational experiments were conducted. Each experiment varies in the number of customers and the fleet size, as detailed in Table 1. All experiments consider two CS; each of them with a limit of three parallel charging operations and the charging function in Figure 3. The charging function is an adaptation from the normal and slow charging functions provided by (Montoya et al., 2017). Instances are created by generating random nodes in a space of 20 km by 20 km. Travel times are the distance among all nodes multiplied by a factor of 1.7e-3, which is equivalent to EVs traveling at 35 km/hr. Similarly, per-weight energy consumption is obtained as the product of the distance among all nodes and the factor 2.8e-4. Customer time windows are generated from 9:00 hrs to 13:00 hrs with a random width within 1.5 hrs to 3.5 hrs.

61The SOH policy is determined by α − = 38% and α + = 82%. Therefore, all EVs leave the depot with a SOC of 82%. An EV weight of 1.52 tonnes is considered. The maximum tour time duration is 360 minutes. The cost function weights are set to (ω 1 , ω 2 , ω 3 ) = (0.2, 0.8, 1.2). We choose these values to turn travel times and energy consumption into similar scales, while giving more importance to charging times and energy consumption.

62The GA is implemented in Python 3.7.7 using the DEAP v1.3.0 library and runs in Windows 10 in an Intel Core i7-8750H @ 2.20GHz CPU with 16GB RAM. Each experiment has its set of GA hyper-parameters, which are detailed in Table 2. Figure 4. Visualization of a feasible operation obtained from Experiment 1, case EV 0. In (a), the EV visits all customers within their time windows, even though two charging operations have been inserted. In (b), charging operations prevent EV SOC from operating outside SOC constraints. Table 3 summarizes the results of all experiments. All of them accomplish all constraints; thus, penalization is zero in all of them.

Contribution of Charging Operations to Feasibility

63A proper insertion of charging operations allows EVs to: accomplish the SOH policy and accomplish time windows. The former result is evident, while the second one occurs because charging operations act as time-delay events. This time delays allow EVs to arrive at customers within their time windows. An example of this case is shown in Figure 4.a where, after visiting CS 11, the EV visits customer 2. If the charging operation is not inserted, then the EV arrives too early. Furthermore, Figure 4.b shows that the charging operation is required to fulfill the SOH policy.

Impact of Charging Station Capacities

64Experiment 2 results give an operation where two vehicles visit a CS at the same time. This is not an issue because we have constrained the maximum capacity to three. However, if the maximum capacity is one, then the solution is infeasible. We repeat the experiment with CS capacities set to one, and increasing the number of generations to 650 and the population size to 200. The GA finds a feasible solution, with a maximum number of EVs of one. Figure 5 shows a comparison of the number of EVs per CS in both experiments.

65The number of assigned customers influences the number of charging operations: the more customers to visit, the more likely to insert charging operations. Thus, it is not an issue if the fleet size is large because there is little chance for EVs to visit a CS and surpass the CS capacity. Experiments 2 and 3 show these cases: although the fleet size in Experiment 3 is larger than the fleet size in Experiment 2, the maximum occupation in Experiment 3 is lower than the maximum occupation in Experiment 2. This situation occurs because, in Experiment 2, EVs are assigned to 10 or more customers, while, in Experiment 3, EVs are assigned to five or six customers.

CONCLUSION AND FUTURE WORK

66A Genetic Algorithm (GA) to solve the Electric Vehicle Routing Problem with Non-Linear Charging Functions, Battery Degradation, and Time Windows has been developed. We consider recharging infrastructure limitations, State of Health (SOH) policies to prevent early degradation of the Electric Vehicle (EV) batteries, and an EV model to accurately estimate travel times and energy consumption. Unlike other works, which focus in addressing a single or a small set of limitations, we tackle all limitations in a single formulation.

67Our results show that the implemented GA is capable of finding feasible solutions in small and medium-sized problems. Feasible solutions ensure that CS capacities will never be exceeded, and the fleet will efficiently serve all customers. In addition, it has been shown that the GA can find routes when CS capacities are lowered. The resulting operation enables the fleet to minimize both short-term and long-term operational costs.

68Future work involves developing a methodology to assign customers to EVs efficiently, in-depth analysis and improvement of genetic operators, and include traffic network stochasticity into the problem, specifically, into the EV statespace model. The latter will improve the prognosis of travel times and energy consumption.

참고문헌 18건

  1. The Vehicle Routing Problem: Latest Advances and New Challenges Operations research, computer science. Interface series · Springer Nature · 2008 10.1007/978-0-387-77778-8
  2. Operations Research for green logistics – An overview of aspects, issues, contributions and challenges European Journal of Operational Research · Elsevier BV · 2011 10.1016/j.ejor.2011.11.010
  3. A Survey on the Vehicle Routing Problem and Its Variants Intelligent Information Management · Scientific Research Publishing · 2012 10.4236/iim.2012.43010
  4. Particle-Filtering-Based Discharge Time Prognosis for Lithium-Ion Batteries With a Statistical Characterization of Use Profiles IEEE Transactions on Reliability · Institute of Electrical and Electronics Engineers · 2015 10.1109/tr.2014.2385069
  5. Contribution of Li-Ion Batteries to the Environmental Impact of Electric Vehicles Environmental Science & Technology · American Chemical Society · 2010 10.1021/es903729a
  6. Impact of the electricity mix and use profile in the life-cycle assessment of electric vehicles Renewable and Sustainable Energy Reviews · Elsevier BV · 2013 10.1016/j.rser.2013.03.063
  7. An economic and technological analysis of the key factors affecting the competitiveness of electric commercial vehicles: A case study from the USA market Transportation Research Part C Emerging Technologies · Elsevier BV · 2012 10.1016/j.trc.2012.06.007
  8. Vehicle routing problems for city logistics EURO Journal on Transportation and Logistics · Springer Science+Business Media · 2015 10.1007/s13676-014-0074-0
  9. Transportation planning and quality of life: Where do they intersect? Transport Policy · Elsevier BV · 2016 10.1016/j.tranpol.2016.03.004
  10. Effect of Battery Degradation on Multi-Service Portfolios of Energy Storage IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2016 10.1109/tste.2016.2589943
  11. The electric vehicle routing problem with nonlinear charging function Transportation Research Part B Methodological · Elsevier BV · 2017 10.1016/j.trb.2017.02.004
  12. A Matheuristic for the Electric Vehicle Routing Problem with Capacitated Charging Stations HAL (Le Centre pour la Communication Scientifique Directe) · Le Centre pour la Communication Scientifique Directe · 2017
  13. A Survey on the Electric Vehicle Routing Problem: Variants and Solution Approaches Journal of Advanced Transportation · Hindawi Publishing Corporation · 2019 10.1155/2019/5075671
  14. Reinforcement learning for solving the vehicle routing problem Neural Information Processing Systems · 2018
  15. Optimal Routing and Scheduling of Charge for Electric Vehicles: A Case Study Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2017 10.1155/2017/8509783
  16. Genetic algorithms in search, optimization, and machine learning Choice Reviews Online · Association of College and Research Libraries · 1989 10.5860/choice.27-0936
  17. Reinforcement Learning for Solving the Vehicle Routing Problem arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1802.04240
  18. Vehicle Routing Problem with Mixed Fleet of Conventional and Heterogenous Electric Vehicles and Time Dependent Charging Costs HAL (Le Centre pour la Communication Scientifique Directe) · Le Centre pour la Communication Scientifique Directe · 2015