Next Article in Journal
Spectral Kurtosis Based Methodology for the Identification of Stationary Load Signatures in Electrical Signals from a Sustainable Building
Next Article in Special Issue
An Examination of Consumers’ Opinions toward Adopting Electric Vehicles in the United Arab Emirates: On the Effects of Functional and Symbolic Values
Previous Article in Journal
Carbon Emission Efficiency and Low-Carbon Optimization in Shanxi Province under “Dual Carbon” Background
Previous Article in Special Issue
Smart Charging of Electric Vehicles Considering SOC-Dependent Maximum Charging Powers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Clustering Approach for the Optimal Siting of Recharging Stations in the Electric Vehicle Routing Problem with Time Windows

by
Danny García Sánchez
1,
Alejandra Tabares
2,
Lucas Teles Faria
3,
Juan Carlos Rivera
4 and
John Fredy Franco
1,3,*
1
Department of Electrical Engineering, São Paulo State University (UNESP), Ilha Solteira, São Paulo 15385-000, Brazil
2
Department of Industrial Engineering, Los Andes University, Bogotá 111711, Colombia
3
Department of Energy Engineering, São Paulo State University (UNESP), Rosana, São Paulo 19274-000, Brazil
4
Department of Mathematical Sciences, EAFIT University, Medellín 050022, Colombia
*
Author to whom correspondence should be addressed.
Energies 2022, 15(7), 2372; https://doi.org/10.3390/en15072372
Submission received: 25 February 2022 / Revised: 14 March 2022 / Accepted: 22 March 2022 / Published: 24 March 2022

Abstract

:
Transportation has been incorporating electric vehicles (EVs) progressively. EVs do not produce air or noise pollution, and they have high energy efficiency and low maintenance costs. In this context, the development of efficient techniques to overcome the vehicle routing problem becomes crucial with the proliferation of EVs. The vehicle routing problem concerns the freight capacity and battery autonomy limitations in different delivery-service scenarios, and the challenge of best locating recharging stations. This work proposes a mixed-integer linear programming model to solve the electric location routing problem with time windows (E-LRPTW) considering the state of charge, freight and battery capacities, and customer time windows in the decision model. A clustering strategy based on the k-means algorithm is proposed to divide the set of vertices (EVs) into small areas and define potential sites for recharging stations, while reducing the number of binary variables. The proposed model for E-LRPTW was implemented in Python and solved using mathematical modeling language AMPL together with CPLEX. Performed tests on instances with 5 and 10 clients showed a large reduction in the time required to find the solution (by about 60 times in one instance). It is concluded that the strategy of dividing customers by sectors has the potential to be applied and generate solutions for larger geographical areas and numbers of recharging stations, and determine recharging station locations as part of planning decisions in more realistic scenarios.

1. Introduction

The transport sector is one of the principal sources of environmental pollutants, producing 20% of the gas emissions that accelerate climate change, according to reports presented by the European Union in 2014 [1]. Since then, merchandise distribution companies and civil society have defined strategies to mitigate these effects [2]. In recent years, researchers have been seeking strategies for logistical operations to balance the assistance quality, operating cost, and environmental impact. The target is to reduce emissions of polluting gases via logistical route planning for each vehicle according to its freight [3].
The vehicle routing problem (VRP) is one of the most studied combinatorial optimization problems in the specialized literature. Its classification is NP-hard, where researchers look for reasonable quality solutions through algorithms to solve it in a limited time [4]. It serves customers to minimize the overall distance traveled by conventional vehicle fleets. The complexity of this problem depends on the different variants of the characteristics or constraints considered when determining the solution, which make it difficult to find a single optimal solution within an appropriate computational time in most cases.
Currently, there are two different approaches to solving VRP instances, which minimize the environmental impact. The first incorporates the cost of greenhouse gas emissions into the objective function, while the second suggests the use of less polluting means of transport, such as electric vehicles (EVs), and route planning models thus incorporate their operating characteristics [5]. The advantage of incorporating EVs is that they do not produce air or noise pollution, and they have high energy efficiency and low maintenance costs due to their electric motors. Recent studies include EVs in the VRP, renaming it the electric vehicle routing problem (E-VRP), in which the freight capacity and battery operation constraints are integrated. Some mathematical models minimize the number of EVs used and the total distance traveled, with EVs possibly recharging at any available station.
The first work on the E-VRP was developed by Conrad and Figliozzi, including standard VRP constraints and additional constraints related to EV recharging stations sited in customer vertices or the middle of the road [6]. Following works added specific conditions referring to the battery charge, vehicle state of charge (SOC), traveling time between vertices, recharging stations [7], partial recharging [8], energy consumption on the road [9], heterogeneous fleets [10], driver cost [11], and time windows to serve customers [12]. The first research to model simultaneous routing and recharging station siting decisions was proposed in [13]; however, the stations were considered as battery exchange sites instead of for battery recharging.
Most of the previous works proposed metaheuristics to solve the E-VRP, such as an adaptive tabu search algorithm, large-scale adaptive neighborhood search, or genetic algorithm (GA) [14]. Other studies used hybrid optimization algorithms based on mathematical programming techniques within a heuristic or metaheuristic structure, also known as matheuristics [15]. Some studies used exact methods to solve the E-VRP, considering two directions in the arcs and multiple visits to the recharging stations [16], although they were limited in how they could deal with large-scale scenarios.
In terms of routing, the solutions have better computational performance when clustering is performed first, and then the optimal route is found using optimization algorithms [17]. The majority of the previous works focused on generating routes, and clustering techniques were used to find the optimal locations of depots according to the customer distribution; thus, depots were allocated in centroids to reduce the total distance traveled and the number of vehicles [18]. Some works applied this technique to large-scale real-life problems with time windows. One of the best-known strategies was assigning a group to a vehicle and finding the corresponding optimal route [19].
Among the clustering techniques, the k-means algorithm finds customer classification patterns and solves huge, complex routing problems, including the position, time windows, and customer demand [20]. In [21], the authors showed that combining clustering techniques with a GA produced the best route recommendations according to the total cost and processing time. K-means is also practical for the different EV charging technologies, such as fast-charging stations, wherein the clustering is defined by taking into account the EV charging demand and proximity to distribution lines [22].
The k-means algorithm was introduced to categorize the behavior of EV users at recharging stations installed in public parks [23]. According to [24], clustering customers by their driver behavior, demographic information, population distribution, tourist attractions, and convenient facilities is a helpful strategy for real-life applications. Some clustering works have addressed the E-VRP and recharging station placement in a simultaneous approach. One of the first works to consider the E-VRP and clustering techniques was by [25], comparing four clustering techniques: random generation, great route, customer location, and k-means. In this work, the k-means algorithm was used to locate the recharging stations in centroids and then apply a vehicle routing algorithm to optimize the routes by considering the operating constraints of the EVs.
To conclude the above literature review, and to the best of the authors’ knowledge, none of the previous research concluded on customer clustering or solved the E-VRP using exact algorithms.
The VRP is a well-known combinatorial optimization problem in the specialized literature. Despite that, this problem remains challenging. Its classification is NP-hard, where it is difficult to solve it and obtain a quality solution in a limited time. It is not easy to simultaneously solve two complex NP-hard problems, i.e., the location of recharging stations and EV routing. Although there has been considerable research separately addressing them, it is necessary to develop optimization methods for joint E-VRP and recharging station location problems that can guarantee convergence and optimal solutions.
In this sense, we propose a mixed-integer linear programming model (MILP) to solve the E-LRPTW. Furthermore, some simplifications described in Section 2 are made to solve the E-LRPTW in a limited time. The traveling time between customers and the time required to recharge are further considered; however, the queuing time at the recharging station is not included. The MILP is implemented in the mathematical modeling language AMPL and solved via the commercial solver CPLEX. Optimal solutions (gap 0%) to the MILP are produced for all simulated scenarios, as described in Section 5.

1.1. Literature Review

The VRP is a traditional and well-known combinatorial optimization problem. The first work to consider simultaneous optimization in routing and siting decisions was proposed by [26], in which EV operating constraints and decisions on the locations of recharging stations were formulated in an exact model. They proposed satisfying customers by overcoming the so-called electric location routing problem with time windows (E-LRPTW). The locations of customers were considered as potential candidates for siting recharging stations. However, they did not consider a clustering approach.
Tahami et al. [27] took three approaches to deal with routing EVs: a polynomial compact-sized formulation-based method, a branch-and-cut algorithm, and a hybrid algorithm using an augmented variant of the compact formulation. Almouhanna et al. [28] addressed the location-routing problem of EVs with a constrained distance. They proposed heuristic and metaheuristic approaches using a fast multi-start heuristic based on Tillman’s heuristic for multi-depot vehicle routing problems and a variable neighborhood search (VNS). Zhang et al. [29] proposed a two-phase method where the first phase uses a fast heuristic to solve a routing problem by considering the locations of charging stations and battery consumption, while the second phase considers charging policies. Çalık et al. [30] considered a heterogeneous fleet for the electric location-routing problem; they formulated the problem and proposed a corresponding benders decomposition algorithm.
Several literature reviews can also be found. For instance, Kucukoglu et al. [14] focused on EVRP variants; they classified the problems based on objective functions, special constraints, and charging policies, among other features. Reddy and Narayana [31] emphasized metaheuristic solution strategies for optimization problems with electric vehicles. Nonlinear energy recharging and consumption problems related to EV routing were studied by Xiao et al. [32]. Surveys on green VRP were also presented by Moghdani et al. [33] and Asghari and Al-e-hashem [34], where hybrid and EVs were included as alternative-fuel-powered vehicles.
Table 1 summarizes the features of E-VRP methods in the literature and highlights the contributions to this work.

1.2. Contributions

A clustering strategy combined with a mixed-integer linear programming model (MILP) to solve the E-LRPTW problem is proposed in this paper. The provision of freight delivery services includes considerations of the customer position, SOC battery constraints, freight transport, and visits to recharging stations. The proposed models can optimize routes to achieve the lowest cost, distance, number of recharging stations, or number of required EVs. The k-means algorithm is applied to reduce the computational time by defining a potential set of centroids to site the necessary charging stations.
The main contributions of this work are:
(1)
A mathematical model for the optimal siting of recharging stations that integrates the generation of routes for a fleet of EVs, satisfying different characteristics of customer demand and considering the charging and draining of EV batteries.
(2)
A clustering strategy to divide customers into small areas that reduce the computational effort.
(3)
An analysis of the variety of routes and costs for different attributes of the fleet, such as the number of vehicles, maximum freight, and battery capacity.

1.3. Paper Structure

The rest of the paper is structured as follows: Section 2 describes in detail the proposed model formulation. The k-means algorithm and siting strategy are introduced in Section 3. Section 4 presents the case studies, while Section 5 shows the results. Finally, Section 6 draws conclusions.

2. Problem Formulation

In this section, the E-LRPTW is introduced as a MILP model to minimize the distance traveled by a fleet of EVs for a delivery service, considering constraints on routes and recharging station site decisions. The objective functions and constraints are presented in Section 2.1 and Section 2.2, respectively.
The proposed deterministic model is described by (1)–(37), assuming that: (1) each vehicle serves only one route that begins and ends at the depot; (2) customers must be visited once; (3) the total customer freight demand on each journey served by an EV must not exceed its freight capacity; (4) the amount of freight available in the depot must be greater than the total freight demand from customers; (5) the SOC of each EV, when leaving a station or depot, must satisfy maximum and minimum values (represented in terms of the battery capacity by factors α and β , respectively); (6) each recharging station can be visited up to once per route, if necessary; (7) recharging stations can be visited simultaneously by EVs; (8) partial recharging is allowed if a recharging station is available; (9) the vehicle speed between vertices is constant and differences in the road slope are disregarded; (10) the energy consumption rate is a linear function depending on the distance driven; (11) the recharging time at stations depends linearly on the amount of energy consumed; and (12) recharging is only allowed at the depot and/or recharging stations.
The notation used for the MILP is as follows: The model is formulated as a graph theory problem where a complete graph G = ( N ,   A ) considers a set of vertices N = { 1 ,   , m } and a set of arcs A = { ( i , j ) | i , j N ,   i j } . The set of vertices N is divided into a set of customers C , the depot vertex, and a set of recharging stations E . Vertex 1 represents the depot vertex. Let set C D be the union of set C and the depot vertex, and set C E be the union of set C and set E . For each arc ( i , j ) A , d i j and c i j represent the distance and cost coefficients associated with traveling between vertices i and j , respectively. A fleet of vehicles V is available at the depot to complete the journeys required. The traveling time τ i j k for each arc is calculated by τ i j k = v k 1 d i j [min], in which v k [km/min] is the average vehicle speed k V . For each vertex j N , the customer demand D j [units], service time s j [min], earliest arrival time λ j [min], and latest arrival time μ j [min] are known constants. For vertices j C , D j and s j are set to zero. The freight capacity B k [units] and battery capacity S k [km] are considered for each vehicle k V .
The recharging time w j k [min] is calculated from the amount of charged energy at vertex j at the recharging rate σ k [W]. The consumed energy is described as a linear relation between d i j [km] and the consumption rate δ k [Wh/km]. To trace vehicles, the binary decision variable x i j k indicates that arc ( i , j ) is traversed by vehicle k . If the arc ( i , j ) is traveled, x i j k = 1 . Otherwise, if the arc ( i , j ) is not traveled, x i j k = 0 holds. For siting decisions, the binary decision variable a j denotes if a recharging station is sited at vertex j . If a recharging station is sited at vertex j , a j = 1 ; otherwise, a j = 0 . The EV arrival time of vehicle k at vertex j after traveling on arc ( i , j ) is given by t i j k [min]. Furthermore, the SOC and freight load of vehicle k arriving at vertex j from vertex i are given by z i j k [km] and y i j k [units], respectively.
Finally, the number of recharging stations is limited by the number of possible vertices ξ . Moreover, potential recharging stations are located in the depot, with customers, or in the middle of the routes. The model has the flexibility of considering two vertices (e.g., a customer or a recharging station) in the same position.
It is necessary to model the dynamics of each of the electric vehicles concerning their travel time, SOC of battery state, and product delivery. Figure 1 illustrates the relationship between the decision variables involved. For the dynamics of travel times t i j k , there is an increasing flow of the variable for each vehicle, i.e., each time a vehicle visits a customer departing from the depot, its travel time increases along with the service time s j characteristic of each customer. The arrival and service times must fit within the customer’s time window [ λ j , μ j ] . In addition, if the vehicle visits a recharging station, the travel time and the time to recharge the vehicle battery γ are added to the total travel time. The figure shows the increased travel time of a vehicle represented by k = 1 with the red arrow. The vehicle visits the customers located at nodes 3 and 4, and additionally, the vehicle visits the recharging station at node 7. Note that the use of the flow strategy to model the increase in travel time works recursively, similarly to the standard network flow equations.
On the other hand, both the SOC of the battery z i j k and the delivery of goods to customers y i j k have a decreasing flow dynamic. For the case of the SOC, the vehicle begins its route from the depot with the battery at its maximum limit, and the SOC will decrease as it advances along with vehicle visits to the customer nodes. However, the vehicle can recharge its battery, by an amount represented by w i j k , by visiting any recharging station. In Figure 1, the green arrow represents the SOC flow for vehicle 1; when it visits node 7, the vehicle is recharging. It is important to note that the SOC should remain between physical battery limits α ,     β , and S k .
The modeling strategy also corresponds to a decreasing flow in the delivery of goods. The vehicle will leave the warehouse with a number of goods that does not exceed its capacity on each visit to customers. This load will decrease as it meets the demand of each of the customers. There is no possibility of including goods within the vehicle in the middle of the route. In Figure 1, the yellow arrow represents the flow of goods to customers 3 and 4, who have demands equal to D 3 and D 4 . Finally, the main parameters related to the electric vehicle are in the lower right of Figure 1. In contrast, the parameters of the arcs have been placed accordingly on top of the arrows of vehicle route 1.

2.1. Objective Functions

Four different objective functions are presented in this section: the driven distance, number of required EVs, number of recharging stations, and monetary cost; the objective functions related to the distance driven and cost were taken from [11]. Selecting one of those objective functions gives flexibility in the decision process, allowing for adjustment to meet the desired goal. For instance, a utility firm that offers services in a region may be interested in minimizing the number of vehicles required, to better satisfy its customers or minimize the total costs; thus, the objective function can be chosen accordingly.
The objective function (1) minimizes the total distance driven for a given limit of recharging stations and vehicles.
min f 1 = k     V   ( i , j )     A d i j x i j k
Furthermore, objective functions (2) and (3) minimize the number of vehicles and recharging stations, respectively. Note that those functions are explicitly written regarding vehicle routing and recharging station-siting decision variables, where a j represents the recharging station siting.
min f 2 = k     V   ( 1 , j )     A x 1 j k
min f 3 = j     E a j
For cases where the monetary cost is the critical function, (4) could be used to minimize the total cost. Within this objective, specific cost factors for investment costs per vehicle c k [€/day], investments cost per recharging station c s [€/day], and operational costs c d [€/day] depending on the distance driven d i j [km] are used.
min f 4 = c k k     V   ( i , j )     A x 1 j k + c s j     E a j + c d k     V   ( i , j )     A d i j x i j k
Recharging stations are needed when the battery capacity of the vehicles is not enough to complete their routes. Thus, the decision on the optimal allocation depends on the chosen objective function: minimization of the total distance driven, number of vehicles used, number of recharging stations, or total cost. Ultimately, the decision of the optimal allocation depends on the lower bound of the battery capacity.

2.2. Constraints

Based on the formulations of Granada-Echeverri et al. [3] and Toro et al. [37], the proposed model defines a set of constraints (5)–(37). The constraints include the route definition, freight flow by arcs, SOC change at vertices, vehicle traveling times, and nature of the variables.

2.2.1. Route Definition

Constraints (5)–(13) ensure that routes start and end at the depot, with vehicles visiting customers and recharging stations. Equation (5) indicates that all customers must have a single arrival arc, while constraint (6) suggests that the recharging stations should be visited at most once per route, if necessary and if they are available. Note that (5) is written for each customer in set C , while (6) is defined by each possible recharging station. The latter establishes that the sum of arc variables for each vehicle k arriving at a recharging station e is at most 1 when the station is built ( a j = 1), or zero otherwise.
Constraint (7) points out that only one vehicle should leave the depot per journey. An arc can also only be used by one vehicle, as indicated in (8). Constraint (9) ensures that, for each vertex j N , the number of active input arcs must equal the number of active output arcs for each vehicle, i.e., the sum of arcs arriving at node j should be the same as the sum of arcs departing the node. Moreover, (10) and (11) guarantee that the output and the input arcs in the depot are not greater than the number of vehicles in the fleet; note that (10) defines the sum of arcs ( 1 , j ) , i.e., leaving the depot, while (11) defines the sum of arcs ( i , 1 ) , i.e., arriving the depot when the route is completed. Besides this, for any vehicle k , an arc can only be active in one direction, i.e., the sum of the variables related to the arc ( x i j k and x j i k ) should be at most 1 when the arc is used, as indicated in (12). Finally, (13) states that the maximum number of arcs traveled by each vehicle k must be less than the number of available arcs.
k     V ( i , j )   A x i j k = 1     j C
k     V ( i , j )   A x i j k a j     j E
( 1 , j )   A x 1 j k 1     k V
k     V x i j k 1     ( i , j ) A
( i , j )     A x i j k = ( i , j )     A x j i k     j N ,   k V
k     V ( 1 , j )     A x 1 j k | V |
k     V ( i , 1 )     A x i 1 k | V |
k     V x i j k + k     V x j i k 1     ( i , j ) A
( i , j )   A x i j k   | A |     k V

2.2.2. Freight Flow by Arcs

Constraints (14)–(17) describe the freight flow by arcs, using the variable y i j k to represent the remaining load of vehicle k after traversing arc ( i , j ). As expressed in (14), the flow in the previous vertex j must be equal to the freight flow of the posterior plus the freight demanded by the customer ( D j ). Constraint (15) indicates that the maximum freight flow per arc cannot be greater than the vehicle freight capacity ( B k ) and is also limited by the usage of the arc ( x i j k ). Finally, constraint (16) establishes that the freight flow leaving the depot cannot be greater than the depot freight capacity ( b ), while constraint (17) indicates that the freight flow at each recharging station j must be the same at the input and output.
k     V ( i , j )     A y i j k = k     V ( j , i )     A y j i k + D j     j C
y i j k   B k · x i j k     ( i , j ) A ,   k V
( 1 , j )     A y 1 j k b     k V
k     V ( i , j )     A y i j k = k     V ( j , i )     A y j i k     j E

2.2.3. SOC Update at Vertices

Constraints (18)–(25) define the vehicle battery’s SOC and the operating conditions along the routes by representing the battery energy state of vehicle k after traversing arc ( i , j ) with the variable z i j k . Equation (18) allows the calculation of the SOC considering the distance traveled by the vehicle ( d i j ) and its energy consumption rate ( δ k ), while constraint (19) indicates that the SOC in the arcs cannot be greater than the EV battery capacity ( S k ). When a vehicle leaves the depot, the battery has the maximum SOC level, as guaranteed in (20); that is represented by the sum of the energy states of the vehicle k across the possible arcs leaving the depot (arcs x 1 j k ). As also indicated in (21) and (22), the vehicle must have enough SOC to return to the depot or reach a recharging station, i.e., the sum of variables z i 1 k should be enough to cover the last distance to the depot ( d i 1 ) along with the lower bound of the battery capacity ( β ). Likewise, constraint (23) forces vehicles to leave the recharging stations with a SOC value within the allowable limits (according to parameters α and β ). Constraint (24) establishes that recharging only occurs at vertices with a ready-built recharging station (in which a j is 1). Finally, constraint (25) limits the number of recharging stations that can be allocated by the number of potential vertices to site recharging stations ( ξ ).
k     V ( i , j )     A z i j k = k     V ( j , i )     A z j i k + k     V ( i , j )     A δ k · d i j · x i j k     j C
z i j k   S k · x i j k     ( i , j ) A ,   k V
( 1 , j )     A z 1 j k = α   · S k ( 1 , j )     A x 1 j k     k V
( i , 1 )     A z i 1 k ( i , 1 )     A ( β ·   S k + δ k · d i 1 ) · x i 1 k     k V
i     C D z i j k i     C D (   β · S k + δ k · d i j ) · x i j k   j E ,   k V
β · S k j     C D x i j k j     C D z i j k α · S k j     C D x i j k   i E ,   k V
z i j k S k · a j   i C D ,   j E ,   k V
j     E a j ξ

2.2.4. Traveling Times

Constraints (26)–(31) describe the arrival time of each vehicle in the route, considering customer service and the recharging time required at stations; variable t i j k is used to represent the time of arrival at vertex j , from vertex i , for vehicle k , and parameter τ i j corresponds to the traveling time between vertices i and j . The total arrival time represents the time required to visit the last customer on the route. Thus, constraint (26) describes the arrival time for each customer bearing in mind their service time s j [min.], by setting the time to arrive at the next vertex i ( t j i k ) in terms of the time when the vehicle arrived at vertex j ( t i j k ), along with the travel time and service time ( τ i j and s j ).
Since the customer must be visited within a time window, constraints (27) and (28) limit the time intervals, considering the earliest and latest times of allowed arrival ( λ j and μ j ). On the other hand, constraint (29), similar to (26), is applied at recharging stations to calculate the arrival time as well as the recharging time w j k [min.]. Constraint (30) describes how the SOC of vehicle k changes at the recharging station considering the recharging rate σ k [W] and recharging time w j k . Likewise, this recharging time is limited to ensure that the vehicle does not remain at the recharging station, as specified by (31) and considering the upper bound for the recharging time at a recharging station ( γ ).
k     V ( i , j )     A t j i k = k     V ( i , j )     A t i j k + k     V ( i , j )     A ( τ i j + s j ) · x i j k     j C
t i j k ( μ j + s j ) · x i j k     ( i , j ) A ,   k V
t i j k λ j · x i j k     ( i , j ) A ,   k V
k     V ( i , j )     A t j i k = k     V ( i , j )     A t i j k + k     V ( i , j )     A ( τ i j + s j )   x i j k + k     V w j k     j E
( i , j )     A z i j k + σ k w j k = ( i , j )     A z j i k + ( i , j )     A δ k · d i j · x i j k     j E ,   k V
w j k γ · a j j E ,   k V

2.2.5. Nature of Variables

The nature of the variables in the problem is defined by (32)–(37). The binary nature of variables a j and x i j k is defined by (32) and (33), respectively. The continuous nature of the variables that describe the time, such as t i j k and w j k , is defined by (34) and (35), respectively; similarly, (36) and (37) represent the continuous nature of variables y i j k and z i j k , respectively. Overall, model (1)–(37) is a MILP formulation that can be implemented in a mathematical modeling language and solved using commercial solvers.
a j { 0 , 1 }     j E
x i j k { 0 , 1 }     ( i , j ) A ,   k V
t i j k +     ( i , j ) A ,   k V
w j k +     j E ,   k V
y i j k +     ( i , j ) A ,   k V
z i j k +     ( i , j ) A ,   k V

3. K-Means Algorithm

The k-means algorithm is used in this section to classify data using patterns that may exist in a database [38]. This process includes identifying similar data in the same set and adding a label representing a category [39].
MacQueen created this algorithm in 1967 for simple unsupervised learning to solve a clustering problem [40]; its classification method finds a local minimum through the convergence of an iterative process in the assignment of groups until they are independent and compact. Its application is extensive, fast, simple, and effective in producing data clusters in fields like biology and medicine, including artificial intelligence and data mining [39].
K-means consists of two separate phases. The first phase randomly defines the centroids, while the second phase assigns each datum to the nearest centroid according to the Euclidean distance. The initial clustering corresponds to that first association between centroids and data. This process is carried out until the function criterion (e.g., distance) reaches the minimum [39]. Figure 2 shows in detail the clustering process performed by the k-means algorithm.

3.1. Recharging Station Assignment

The k-means algorithm adopted in this work is based on the proposal by [41]. It is assumed that there is a data set H = { h 1 , , h L } , h l 2 . The objective is to divide the data into m groups F 1 , , F m until the clustering criterion is optimized. It is worth highlighting that m is the parameter previously defined. The most used clustering criterion is the sum of the square Euclidean distances between each data point h l and its related centroid M p , within cluster F p . This criterion is called the cluster error criterion and depends on the M 1 , , M m centroids, as defined by (38).
ε ( M 1 , , M m ) = l = 1 L p = 1 |   l     F p m h l M p
The k-means algorithm randomly places the centroids and then moves them at each stage to minimize the error. The disadvantage of that process lies in the sensitivity of the starting positions, given their random selection; it is known that cluster performance error depends on the initial starting conditions [42]. Moreover, the process is deterministic, depending solely on the number of clusters as the input parameter. Some authors have considered metaheuristics such as GA or multiple restarts to solve this problem [43]. Further authors have presented research seeking to improve the efficiency of the technique, such as the k-means algorithm based on weights [44], which assigns loads to the numeric and symbolic attributes of the data, thus significantly reducing noise and the effect data without a characteristic pattern. Yet, the downside is that it takes longer to execute. Other studies have proposed solving data clustering systematically to find initial centroids of the sets that are consistent with the data distribution, thus obtaining more accurate results than with the traditional algorithm; however, the execution time and complexity are greater (Yuan 2004). Some works have aimed to improve the solution time, considering that even if the results are the same as with the standard algorithm, the speed of clustering and its complexity are enhanced [39].
In the proposed method, the k-mean algorithm defines vertices where the recharging stations can be located and the customer’s area. Hence, each centroid of the algorithm represents a possible localization for a charging station while each cluster represents a customer’s area. That information is part of the input for the formulation, as presented in Section 2. A graphical description is shown in Figure 3, where two example clusters are defined; in green, customers are related to the cluster on the left, while customers in blue are related to the cluster on the right. According to Algorithm 1, the strategy begins by obtaining the database containing the customer location and depot. Then, the user determines the number of groups and inserts them into the k-means algorithm. Subsequently, the centroids are calculated, labeled, and stored. The calculation of the centroids generates a new vertex with its respective coordinates. Likewise, each datum has a color assigned corresponding to its respective customer’s area. Then, new vertices containing the centroids’ coordinates and the recharging stations are added to the database.

3.2. Strategies for Search Space Reduction

Additional constraints are imposed to reduce the computational effort. It is assumed that visiting two charging stations one after the other is unnecessary. Therefore, constraint (39) is added to the model to forbid the use of direct arcs between recharging stations. Since the depot serves as a recharging station, the EVs leave with their batteries at full capacity. Thus, a visit to a recharging station directly after leaving the depot is not necessary, as indicated by (40).
Algorithm 1. Assignment process of new vertices in the database
Input  p : Number of clusters C D : Set of customers including depot vertex
Output N : Set of vertices including recharging stations and depot vertex
C D o b t a i n _ d a t a ( )  
k m e a n s k m e a n s _ a l g o r i t h m ( p )  
l a b e l k m e a n s . p r e d i c t ( X )  
c e n t r o i d s k m e a n s . c l u s t e r _ c e n t r o i d _
For line in label do 
      a s s i g n m e n t c o l o r ( l i n e )
End
For m in (1, …, p + 1) do
      p o t e n t i a l C D + c e n t r o i d s
End 
N o p t i m i z a t i o n _ s i t e ( p o t e n t i a l )
x i j k = 0     k V ,   i E ,   j E ,   i j  
x 1 j k = 0     k V ,   j E  
The information obtained with the k-means algorithm serves to group customers, identify centroids, and reduce the variables in the mathematical model. In a real context, the number of customers can be large and exact algorithms may not achieve excellent computational performance. Consequently, and to address this shortcoming, companies divide their customer into operation areas and assign certain fleet vehicles to each one. That strategy provides good-quality solutions under a reasonable computational effort. Therefore, the main idea of using k-means is to mimic that common company practice.
Additionally, and to avoid overlapping, arcs between different clusters are avoided, as indicated in constraint (41). This offers a significant advantage in computation time, while having a limited impact on the solution quality.
x i j k = 0     k V ,   i F ,   j F ,   i j  

4. Case Study

Performed experiments are based on the modified Solomon instances presented by [11] and allow for analysis of how the location of recharging stations influences the routing solution. The design of the experiments is described in this section. The advantages of the mathematical formulation proposed in Section 2, recharging station-siting decisions described in Section 3, and impact of the different objective functions are shown here.
Solomon instances are constituted by vehicles with a homogeneous freight capacity of 200 units, and consist of three groups named C, R, and RC. These groups are divided into two subgroups each: C1, C2, R1, R2, RC1, and RC2. Those instances were created by considering several factors that affect the routing and planning algorithms’ behavior, such as geographical data, the number of customers served per vehicle, and the percentage of customers with time windows. In problems R1 and R2, the geographic data are randomly generated, while problems C1 and C2 are grouped or clustered. Finally, problems RC1 and RC2 are a mixture of random and grouped structures. The coordinates of two customers are identical in each group, with the differences in the time windows. The original Solomon problems have 100 customers, and the traveling times correspond to Euclidian distances.
To introduce recharging station planning, Dominik et al. [12] generated instances by taking the information of [11] but reducing the numbers of customers to 5, 10, and 15. These instances are identified using Solomon’s original nomenclature as the number of customers for Dominik’s instances. In this way, a case of a study named RC203-5 was generated using the original Solomon dataset RC203, using information for five customers to create Dominik’s dataset. The first possible recharging substation location was the depot, marked as vertex one. Other possible recharging station locations were decided in a way that guaranteed every customer could be reached from the depot by using at most two recharging stations. Finally, all customers had to be reached in a feasible time.
The experiments in this paper used the customer information from [12], and the possible locations of the recharging stations were determined by the centroid generated for the k-means algorithm. Complete information on the possible vertices of the recharging stations for the 24 test instances is available in [45]. For comparison purposes, Table 2 illustrates the parameters of the potential recharging stations when sited for Dominik et al. instances.

5. Results

The mathematical model described in Section 2 was implemented in AMPL [46] and solved via CPLEX version 20.1 [47]. The simulations were executed using a computer with an Intel Xeon Silver 4116 processor and 128 GB of RAM within a Python 3.8 environment. The time limit for solving the instances was set to 7200 s.
All cases were evaluated considering a single depot. Besides this, the EV freight load capacity B = 200 units with an EV fleet of V = 5, the freight load capacity at the depot vertex b = 500 units, and the battery capacity S k = 30 kWh. The energy consumption per kilometer traveled δ k = 200 Wh/km, and the average speed per vehicle v k = 1 km/min, while the recharge rate of the batteries σ k = 12 kW. The upper charging time limit at the recharging station γ = 120 min. Cost coefficients were derived for a real-world case study of a mid-haul logistic network [26]; these were calculated in euros per day and were fixed as c d = 0.0508 €km−1/day, c k = 53.32 €/day, and c s = 2.47 €/day. To prevent the battery from being completely drained or fully charged, to maintain its lifespan, α = 0.8 and β = 0.2 were defined [48], ensuring that the SOC of each vehicle was between 20% and 80% of its capacity when leaving the depot and recharging stations.
The detailed results for all cases are shown in Table 3, including information about the four objective functions described in Section 2. The results show that the model can find the optimal solution, i.e., the solution gap was 0% for all instances. It is worth highlighting that the computation times for Objective 4 ( f 4 ) are higher than those for the other objective functions in most instances. This can be justified by the combined optimization of the distance and number of EVs/recharging stations under f 4 , which requires more effort to optimize the routes, rather than finding just the minimum number of EVs ( f 2 ) or recharging stations ( f 3 ).
When the instances are solved minimizing Objective 2, the number of vehicles in the planned fleet is smaller than the minimization of Objective 3. At the same time, there is an inverse relationship between the number of vehicles and the number of recharging stations; when comparing the results obtained using Objectives 2 and 3, for instance, the former has a larger number of recharging stations than the latter. As an illustration, consider the results of R105-5, where two EVs and three recharging stations are needed when Objective 2 is minimized. In comparison, three EVs and two charging stations are required when Objective 3 is minimized. Hence, Objectives 1 and 4 show the best results related to the distance traveled, total cost, number of vehicles, and charging stations. In some cases, Objective 4 shows a subtle difference when compared to the optimal solution achieved by Objective 1.
The clustering technique adopted can allow cases to be solved with more customers and still have a reasonable quality of solution. The clustering technique used in Section 3 reduces the search space, leading to low computational times even if the number of vertices increases. To illustrate this, if instance R203-10 is solved to minimize Objective 4 without using k-means, the value of the objective function coincides with that obtained by applying the clustering algorithm, but the computational time spent is 2.245 s; this corresponds to an increase of 5.790% when compared to the result shown in Table 3. It is important to point out that the computational times are presented to show the competitiveness of the modeling and implementation developed for the planning problem, without it being the main interest when solving this kind of problem.
Figure 4 shows a compilation of the optimal routes obtained for each objective function for the R105-5 instance, with a fleet of five EVs and three potential vertices for recharging stations. Figure 4a shows the optimal route for Objective 1, in which two EVs are used to visit all customers; two recharging stations are built and utilized by each EV only once on their routes. For Objective 2, two EVs are used to visit all customers, and three recharging stations are built; vehicle 5 visits two recharging stations, while vehicle 4 visits only one, as shown in Figure 4b.
Figure 4c shows the optimal routes for Objective 3, in which three EVs are used to visit all customers and two recharging stations are proposed. Objective 4 obtained the same route solution as Objective 1, including the siting of recharging stations. The variation is that different EVs leave the depot, as shown in Figure 4d; this is possible because the fleet is homogeneous in terms of freight and price; in the case of a heterogeneous fleet, the same EVs would be used, but in this situation, the choice of EVs would not affect the objective function. Objectives 1 and 4 obtained the minimum distance and total cost for that customer distribution. In contrast, Objectives 2 and 3 had the worst values since a different charging station or longer vehicle route was needed, respectively.

6. Conclusions

The electric location routing problem with time windows (E-LRPTW) is a complex optimization problem that seeks to minimize the transport costs associated with freight delivery routes considering the limitations inherent to the autonomy of electric vehicles (EVs). Thus, it is necessary todevelop models that find global solutions to this problem in different operational situations of transport logistics.
A mixed-integer linear programming model (MILP) has been proposed for the E-LRPTW, considering siting of recharging stations, in which fleet characteristics are considered in the model. Moreover, the proposed model can minimize different objective functions. As a salient aspect, a clustering strategy was adopted to mimic the real-world logistic companies’ strategies to reduce computational effort. The model was implemented in the mathematical modeling language AMPL and solved via the commercial solver CPLEX. The MILP achieved the optimal solutions for all simulated scenarios. The clustering strategy with k-means contributed to finding the optimal locations for charging stations and reducing the binary variables and computational effort.
Results showed that the number of EVs is mainly defined by the freight demand and customer time windows. The recharging station position, time windows, and EV battery capacity impact the visits and their order. Minimizing the number of EVs and recharging stations increased the traveled distance. It was observed a correlation between EVs and recharging stations, whereby minimizing the number of EVs increases the number of recharging stations. Optimizing the number of charging stations built in a set of potential vertices helps to support optimal routes that minimize EV routing costs. The number of charging stations is reduced when construction costs are considered. These stations can be sited at customer locations or in the middle of routes in the model.
Some simplifications were made in the development of the formulation, namely: (1) the queuing time at the recharging station was disregarded; (2) the EVs’ velocity between vertices was deemed constant, and the road slope was disregarded; (3) the energy consumption rate was considered a linear function depending on the distance driven; and (4) the recharging time at stations depended linearly on the amount of energy consumed.
Information related to EVs is deterministic. The model incorporates EVs’ travel time and their batteries’ state of charge. The travel time is influenced by the distance between customers, their service times, and customer time windows, and these parameters are deterministic. EVs’ recharging time and the battery charge’s spent rate have been considered parameters that do not change over time.
Overall, the results show that simultaneous routing and siting optimization for the E-LRPTW with an efficient clustering strategy to divide customers into areas reduces the computational effort. As this paper shows, the outcomes can be extended to heterogeneous or mixed fleets for even different approaches to solving the E-VRP. Future research may be carried out on real-world instances spanning larger geographical regions, including challenging traffic constraints of the major cities, with higher numbers of recharging stations, and integrating specific cases for the planning of logistics companies.

Author Contributions

Conceptualization, D.G.S. and J.F.F.; funding acquisition, J.F.F.; investigation, D.G.S. and A.T.P.; methodology, D.G.S.; software, D.G.S.; supervision, J.F.F.; validation, A.T.P.; writing—original draft, D.G.S., A.T.P. and J.F.F.; writing—review and editing, D.G.S., A.T.P., L.T.F., J.C.R. and J.F.F. All authors have read and agreed to the published version of the manuscript.

Funding

The work was funded in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior—Brasil (CAPES)—Finance Code 001 (process no. 88881.134450/2016-01), FAPESP (grant 2017/02831-8), CNPq (processes nos. 152002/2016-2 and 313047/2017-0) and Los Andes University.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data can be found at https://github.com/DannyGS25/Interface-grafica-de-usuario-PRFVE/tree/master/Data test experiment (accessed on 1 September 2021).

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

Sets and Indices
A ,   ijSet and index of arcs
C Set of customers
C D Set of customers including depot vertex
C E Set of customers and recharging stations without depot vertex
E Set of recharging stations
F , p Set of clusters
H ,   l Set and index of points in the dataset
N , j Set and index of vertices
V , k Set and index of vehicles
Parameters
α Upper bound for the battery capacity [%]
β Lower bound for the battery capacity [%]
γ Upper bound for recharging time at a recharging station [min]
δ k Energy consumption rate of vehicle type k [Wh/km]
λ j Earliest time of arrival allowed at vertex j [min]
μ j Latest time of arrival allowed at vertex j [min]
σ k Recharging rate of vehicle type k [W]
ξ Number of potential vertices to site recharging stations
τ i j raveling time between vertices i and j [min]
υ k Average speed of vehicle type k [km/min]
B k Freight load capacity of vehicle type k [units]
b Freight load capacity of depot vertex [units]
c d Operational cost [€ km−1/day]
c k Investment cost per vehicle [€/day]
c s Investments cost per recharging station [€/day]
D j Demand of vertex j [units]
d i j Distance between vertices i and j [km]
h l Coordinates of point l
L Number of points in the dataset
m Number of clusters
M p Coordinates of the centroid of cluster p
S k Battery capacity of vehicle type k [Wh]
s j Service-time at vertex j [min]
U Number of iterations
Variables
a j Binary decision variable indicating whether recharging station is sited at vertex j
t i j k Decision variable specifying the time of arrival at vertex j , from vertex i , for vehicle k
w j k Decision variable specifying the recharging time at recharging station j for vehicle k
x i j k Binary decision variable indicating whether arc ( i , j ) is traveled by vehicle k
y i j k Decision variable specifying the remaining load of vehicle k after traversing arc ( i , j )
z i j k Decision variable for the remaining battery energy of vehicle k after traversing arc ( i , j )

References

  1. Banco Mundial. Indicador Gases Contaminantes. 2010. Available online: https://datos.bancomundial.org/indicator/EN.CO2.TRAN.ZS (accessed on 1 September 2021).
  2. ONU. Cumbre del Cambio Climático. 2019. Available online: https://www.un.org/es/climatechange (accessed on 1 September 2021).
  3. Granada-Echeverri, M.; Toro, E.M.; Santa, J.J. A mixed integer linear programming formulation for the vehicle routing problem with backhauls. Int. J. Ind. Eng. Comput. 2019, 295–308. [Google Scholar] [CrossRef]
  4. Toth, P.; Vigo, D. Models, relaxations and exact approaches for the capacitated vehicle routing problem. Discret. Appl. Math. 2002, 123, 487–512. [Google Scholar] [CrossRef] [Green Version]
  5. Arango, J.D.S.; Londono, A.A.; Echeverri, M.G. Electric Vehicles for merchandise transportation: Integrated planning taking into acount the electrical distribution system. IEEE Lat. Am. Trans. 2018, 16, 2192–2198. [Google Scholar] [CrossRef]
  6. Conrad, R.G.; Figliozzi, M.A. The recharging vehicle routing problem. In Proceedings of the 61st Annual IIE Conference Expo Proceedings, Portland, OR, USA, May 2011. [Google Scholar]
  7. Erdoğan, S.; Miller-Hooks, E. A Green Vehicle Routing Problem. Transp. Res. Part E Logist. Transp. Rev. 2012, 48, 100–114. [Google Scholar] [CrossRef]
  8. Felipe, M.T.; Ortuño, M.T.; Righini, G.; Tirado, G. A heuristic approach for the green vehicle routing problem with multiple technologies and partial recharges. Transp. Res. Part E Logist. Transp. Rev. 2014, 71, 111–128. [Google Scholar] [CrossRef]
  9. Barco, J.; Guerra, A.; Muñoz, L.; Quijano, N. Optimal Routing and Scheduling of Charge for Electric Vehicles: A Case Study. Math. Probl. Eng. 2017, 2017, 1–16. [Google Scholar] [CrossRef] [Green Version]
  10. Hiermann, G.; Puchinger, J.; Ropke, S.; Hartl, R.F. The Electric Fleet Size and Mix Vehicle Routing Problem with Time Windows and Recharging Stations. Eur. J. Oper. Res. 2016, 252, 995–1018. [Google Scholar] [CrossRef] [Green Version]
  11. Goeke, D.; Schneider, M. Routing a mixed fleet of electric and conventional vehicles. Eur. J. Oper. Res. 2015, 245, 81–99. [Google Scholar] [CrossRef]
  12. Schneider, M.; Stenger, A.; Goeke, D. The Electric Vehicle-Routing Problem with Time Windows and Recharging Stations. Transp. Sci. 2014, 48, 500–520. [Google Scholar] [CrossRef] [Green Version]
  13. Yang, J.; Sun, H. Battery swap station location-routing problem with capacitated electric vehicles. Comput. Oper. Res. 2015, 55, 217–232. [Google Scholar] [CrossRef]
  14. Kucukoglu, I.; Dewil, R.; Cattrysse, D. The electric vehicle routing problem and its variations: A literature review. Comput. Ind. Eng. 2021, 161, 107650. [Google Scholar] [CrossRef]
  15. Keskin, M.; Çatay, B. Partial recharge strategies for the electric vehicle routing problem with time windows. Transp. Res. Part C: Emerg. Technol. 2016, 65, 111–127. [Google Scholar] [CrossRef]
  16. Koc, C.; Karaoglan, I. The green vehicle routing problem: A heuristic based exact solution approach. Appl. Soft Comput. 2016, 39, 154–164. [Google Scholar] [CrossRef]
  17. Shao-Yun, G.; Lian, F.; Liu, H.; Long, W. An optimization approach for the layout and location of electric vehicle charging stations. Electr. Power 2012, 45, 96–101. [Google Scholar]
  18. Praveen, V.; Hemalatha, V.; Gomathi, P. A Nearest Centroid Classifier-Based Clustering Algorithm for Solving Vehicle Routing Problem. In Innovations in Electronics and Communication Engineering; Lecture Notes in Networks and Systems; Springer: Singapore, 2017; pp. 575–586. [Google Scholar] [CrossRef]
  19. Abbatecola, L.; Fanti, M.P.; Pedroncelli, G.; Ukovich, W. A New Cluster-Based Approach for the Vehicle Routing Problem with Time Windows. IEEE Int. Conf. Autom. Sci. Eng. 2018, 744–749. [Google Scholar] [CrossRef]
  20. Žunić, E.; Đonko, D.; Šupić, H.; Delalić, S. Cluster-based approach for successful solving real-world vehicle routing problems. In Proceedings of the 2020 Federated Conference on Computer Science and Information Systems; ACSIS: Sofia, Bulgaria, 2020; pp. 619–626. [Google Scholar] [CrossRef]
  21. Tagorda, I.P.; Calata, L.E.; Limjoco, W.J.R.; Dizon, C.C. Development of a Vehicle Routing System for Delivery Services. In Proceedings of the 2020 IEEE REGION 10 CONFERENCE (TENCON), Osaka, Japan, 16–19 November 2020; pp. 1187–1191. [Google Scholar] [CrossRef]
  22. Shukla, A.; Verma, K.; Kumar, R. Consumer perspective based placement of electric vehicle charging stations by clustering techniques. In Proceedings of the 2016 National Power Systems Conference (NPSC), Bhubaneswar, India, 19–21 December 2017; pp. 1–6. [Google Scholar] [CrossRef]
  23. Majidpour, M.; Qiu, C.; Chu, P.; Pota, H.; Gadh, R. Forecasting the EV charging load based on customer profile or station measurement? Appl. Energy 2016, 163, 134–141. [Google Scholar] [CrossRef] [Green Version]
  24. Choi, W. Placement of Charging Infrastructures for EVs using K-Mean Algorithm and its Validation using Real Usage Data. Int. J. Precis. Eng. Manuf. Technol. 2020, 7, 875–884. [Google Scholar] [CrossRef]
  25. Gatica, G.; Ahumada, G.; Escobar, J.W.; Linfati, R. Efficient Heuristic Algorithms for Location of Charging Stations in Electric Vehicle Routing Problems. Stud. Inform. Control 2018, 27, 73–82. [Google Scholar] [CrossRef] [Green Version]
  26. Schiffer, M.; Stütz, S.; Walther, G. Are ECVs Breaking Even?—Competitiveness of Electric Commercial Vehicles in Medium—Duty Logistics Networks. 2016. Available online: https://www.om.rwth-aachen.de/data/uploads/om-022016.pdf (accessed on 1 September 2021).
  27. Tahami, H.; Rabadi, G.; Haouari, M. Exact approaches for routing capacitated electric vehicles. Transp. Res. Part E Logist. Transp. Rev. 2020, 144, 102126. [Google Scholar] [CrossRef]
  28. Almouhanna, A.; Quintero-Araujo, C.L.; Panadero, J.; Juan, A.A.; Khosravi, B.; Ouelhadj, D. The location routing problem using electric vehicles with constrained distance. Comput. Oper. Res. 2019, 115, 104864. [Google Scholar] [CrossRef]
  29. Zhang, Y.; Wu, B.; Chiang, Y.-Y.; Zhang, X.; Chen, Y.; Li, M.; Li, F. BiS4EV: A fast routing algorithm considering charging stations and preferences for electric vehicles. Eng. Appl. Artif. Intell. 2021, 104, 104378. [Google Scholar] [CrossRef]
  30. Çalık, H.; Oulamara, A.; Prodhon, C.; Salhi, S. The electric location-routing problem with heterogeneous fleet: Formulation and Benders decomposition approach. Comput. Oper. Res. 2021, 131, 105251. [Google Scholar] [CrossRef]
  31. Reddy, A.K.V.K.; Narayana, K.V.L. Meta-heuristics optimization in electric vehicles -an extensive review. Renew. Sustain. Energy Rev. 2022, 160, 112285. [Google Scholar] [CrossRef]
  32. Xiao, Y.; Zhang, Y.; Kaku, I.; Kang, R.; Pan, X. Electric vehicle routing problem: A systematic review and a new comprehensive model with nonlinear energy recharging and consumption. Renew. Sustain. Energy Rev. 2021, 151, 111567. [Google Scholar] [CrossRef]
  33. Moghdani, R.; Salimifard, K.; Demir, E.; Benyettou, A. The green vehicle routing problem: A systematic literature review. J. Clean. Prod. 2020, 279, 123691. [Google Scholar] [CrossRef]
  34. Asghari, M.; Al-E-Hashem, S.M.J.M. Green vehicle routing problem: A state-of-the-art review. Int. J. Prod. Econ. 2020, 231, 107899. [Google Scholar] [CrossRef]
  35. Afroditi, A.; Boile, M.; Theofanis, S.; Sdoukopoulos, E.; Margaritis, D. Electric vehicle routing problem with industry constraints: Trends and insights for future research. Transp. Res. Procedia 2014, 3, 452–459. [Google Scholar] [CrossRef] [Green Version]
  36. Schiffer, M.; Walther, G. The electric location routing problem with time windows and partial recharging. Eur. J. Oper. Res. 2017, 260, 995–1013. [Google Scholar] [CrossRef]
  37. Toro, E.M.; Franco, J.F.; Echeverri, M.G.; Guimarães, F.G.; Gallego Rendón, R.A. Green open location-routing problem considering economic and environmental costs. Int. J. Ind. Eng. Comput. 2016, 8, 203–216. [Google Scholar] [CrossRef]
  38. Huang, Z. Extensions to the k-Means Algorithm for Clustering Large Data Sets with Categorical Values. Data Min. Knowl. Discov. 1998, 2, 283–304. [Google Scholar] [CrossRef]
  39. Shi, N.; Liu, X.; Guan, Y. Research on k-means clustering algorithm: An improved k-means clustering algorithm. In Proceedings of the 2010 Third International Symposium on Intelligent Information Technology and Security Informatics, Jian, China, 2–4 April 2010; pp. 63–67. [Google Scholar] [CrossRef]
  40. MacQueen, J. Some Methods for Classification and Analysis of Multivariate Observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability; University of California Press: Berkeley, CA, USA, 1967; Volume 1, pp. 281–297. [Google Scholar]
  41. Likas, A.; Vlassis, N.; Verbeek, J.J. The global k-means clustering algorithm. Pattern Recognit. 2003, 36, 451–461. [Google Scholar] [CrossRef] [Green Version]
  42. Peña, J.M.; Lozano, J.A.; Larrañaga, P. An empirical comparison of four initialization methods for the K-Means algorithm. Pattern Recognit. Lett. 1999, 20, 1027–1040. [Google Scholar] [CrossRef]
  43. Basaran, B.; Günes, F. Data clustering: A review. Intell. Multidimens. Data Clust. Anal. 2016, 31, 28–72. [Google Scholar] [CrossRef]
  44. Fahim, A.M.; Salem, A.M.; Torkey, F.A.; Ramadan, M.A. Efficient enhanced k-means clustering algorithm. J. Zhejiang Univ. Sci. 2006, 7, 1626–1633. [Google Scholar] [CrossRef]
  45. Sánchez, D.G. Recharging Station’s Positions Results. 2021. Available online: https://github.com/DannyGS25/Interface-grafica-de-usuario-PRFVE/tree/master/Data%20test%20experiment (accessed on 1 September 2021).
  46. Fourer, R.; Gay, D.M.; Kernighan, B.W. A modeling language for mathematical programming. Manag. Sci. 1990, 36, 519–554. [Google Scholar]
  47. IBM International Business Machines, IBM ILOG CPLEX. Available online: https://www.ibm.com/analytics/cplex-optimizer (accessed on 5 January 2022).
  48. Xiong, R.; Zhang, Y.; Wang, J.; He, H.; Peng, S.; Pecht, M. Lithium-Ion Battery Health Prognosis Based on a Real Battery Management System Used in Electric Vehicles. IEEE Trans. Veh. Technol. 2019, 68, 4110–4121. [Google Scholar] [CrossRef]
Figure 1. Route representation by an EV to satisfy a set of customers and make use of a recharging station.
Figure 1. Route representation by an EV to satisfy a set of customers and make use of a recharging station.
Energies 15 02372 g001
Figure 2. Detail of the clustering process produced by the k-means algorithm.
Figure 2. Detail of the clustering process produced by the k-means algorithm.
Energies 15 02372 g002
Figure 3. Assignment of recharging stations using the k-means algorithm.
Figure 3. Assignment of recharging stations using the k-means algorithm.
Energies 15 02372 g003
Figure 4. Optimal routes for Dominik and Schneider’s R105-5 instance: (a) Objective 1: Minimum distance, (b) Objective 2: Minimum number of EVs, (c) Objective 3: Minimum number of recharging stations, and (d) Objective 4: Minimum total cost.
Figure 4. Optimal routes for Dominik and Schneider’s R105-5 instance: (a) Objective 1: Minimum distance, (b) Objective 2: Minimum number of EVs, (c) Objective 3: Minimum number of recharging stations, and (d) Objective 4: Minimum total cost.
Energies 15 02372 g004
Table 1. Summary of E-VRP methods.
Table 1. Summary of E-VRP methods.
IIIIIIIVVVIVIIVIIIIXXXIXII
[6]
[7]
[8]
[10]
[11]
[12]
[13]
[15]
[25]
[35]
[36]
This work
(I) minimal distance; (II) minimal number of used vehicles; (III) minimal number of stations sited; (IV) vehicle freight capacity; (V) customers time windows; (VI) simultaneous recharging station siting; (VII) load-dependent charging time; (VIII) fixed charging time; (IX) charging at special vertices on route; (X) full recharges; (XI) partial recharges; (XII) clustering of customers.
Table 2. Characteristics of the new potential vertices for the locations of recharging stations in each Dominik and Schneider’s instance generated by the k-means algorithm.
Table 2. Characteristics of the new potential vertices for the locations of recharging stations in each Dominik and Schneider’s instance generated by the k-means algorithm.
Instancej X j Y j D j λ j μ j s j
C101-5144.040.00.00.01236.00.0
222.570.00.00.01236.00.0
361.572.50.00.01236.00.0
R104-5121.024.70.00.0230.00.0
257.068.00.00.0230.00.0
338.042.00.00.0230.00.0
RC208-5145.347.00.00.0960.00.0
287.030.00.00.0960.00.0
361.578.50.00.0960.00.0
j = index of recharging station; X = horizontal coordinate; Y = vertical coordinate; D j = demand of vertex [units]; λ j = earliest time of arrival allowed at vertex [min]; μ j = latest time of arrival allowed at vertex [min]; s j = service time at vertex [min].
Table 3. Results for the ELRP-TWPR.
Table 3. Results for the ELRP-TWPR.
InstanceObjective 1Objective 2Objective 3Objective 4
vdcstvdcstvdcstvdcst
C101-53280.9181.532.143280.9181.532.503280.91815931.243280.9181.533.42
C103-52169.1117.710.952189.6121.121.282169.1117.710.412169.1117.711.39
C206-52262.1124.823.331349.380.742.382262.1124.820.551348.378.331.01
C208-52252.5124.322.312315.5129.933.843282.6179.221.412252.5124.324.67
R104-52165.4117.511.692203.9124.330.422165.4117.510.632165.4117.511.84
R105-52168.5120.021.732212.1124.730.643240.3177.021.162168.5120.022.56
R202-51178.267.220.641192.467.921.473246.2174.910.301178.267.2122.31
R203-51194.270.431.221224.571.930.202240.7121.310.471196.368.123.81
RC105-52217.9125.031.972217.9125.032.193274.9178.821.912217.9125.032.67
RC108-52248.8126.533.452266.4129.842.133372.3186.130.802248.8126.536.77
RC204-52178.0120.521.001276.274.630.443265.4178.321.731179.069.731.84
RC208-51172.466.921.951220.569.422.842211.3117.401.391172.466.924.61
C101-105701.3314.0514.15710.5314.8532.65743.3316.5535.45701.3314.35305.6
C104-103354.6182.825.03387.2189.347.754431.3240.024.063354.6182.8212.19
C202-105536.6306.0577.95552.7306.857.985551.7304.3414.95543.4303.9416.78
C205-105505.9297.124.274513.0246.6312.755505.9297.126.024508.3246.438.42
R102-105429.6295.733.365473.2300.345.505481.0298.332.915429.6295.735.61
R103-102207.0119.611.242210.9124.631.194290.0230.410.442207.0119.612.06
R201-104340.0237.824.224397.7243.246.205389.4293.732.984340.0237.833.14
R203-102306.6131.943.802480.3143.151.975370.3290.322.752306.6131.9438.11
RC102-104497.6245.834.114498.6248.344.025548.1301.734.834497.6245.834.08
RC108-104447.0243.234.284481.4247.443.034447.1240.824.284447.1240.822.92
RC201-105476.9300.545.084558.4251.347.094488.6242.922.674488.6242.926.38
RC205-105529.0300.73 5571.9305.346.815552.3301.934.645529.0300.736.72
v = number of used vehicles; d = overall traveled distance [km]; c = overall costs [€/day]; s = number of different recharging stations used; t = computational time [s]; g = gap between found solution and the best lower bound [%].
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sánchez, D.G.; Tabares, A.; Faria, L.T.; Rivera, J.C.; Franco, J.F. A Clustering Approach for the Optimal Siting of Recharging Stations in the Electric Vehicle Routing Problem with Time Windows. Energies 2022, 15, 2372. https://doi.org/10.3390/en15072372

AMA Style

Sánchez DG, Tabares A, Faria LT, Rivera JC, Franco JF. A Clustering Approach for the Optimal Siting of Recharging Stations in the Electric Vehicle Routing Problem with Time Windows. Energies. 2022; 15(7):2372. https://doi.org/10.3390/en15072372

Chicago/Turabian Style

Sánchez, Danny García, Alejandra Tabares, Lucas Teles Faria, Juan Carlos Rivera, and John Fredy Franco. 2022. "A Clustering Approach for the Optimal Siting of Recharging Stations in the Electric Vehicle Routing Problem with Time Windows" Energies 15, no. 7: 2372. https://doi.org/10.3390/en15072372

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop