Next Article in Journal
The Commodification of Chinese in Thailand’s Linguistic Market: A Case Study of How Language Education Promotes Social Sustainability
Next Article in Special Issue
How to Achieve a Continuous Increase in Public Transport Ridership?—A Case Study of Braunschweig and Tampere
Previous Article in Journal
Analysis of ASD Classrooms: Specialised Open Classrooms in the Community of Madrid
Previous Article in Special Issue
How Does Operational Environment Influence Public Transport Effectiveness? Evidence from European Urban Bus Operators
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic-Area-Based Shortest-Path Algorithm for Intelligent Charging Guidance of Electric Vehicles

Mathematics and Computer Science College of Fuzhou University, Fuzhou University, Fuzhou 350000, China
*
Author to whom correspondence should be addressed.
Sustainability 2020, 12(18), 7343; https://doi.org/10.3390/su12187343
Submission received: 30 May 2020 / Revised: 11 July 2020 / Accepted: 13 July 2020 / Published: 8 September 2020
(This article belongs to the Special Issue Sustainable Public Transport System)

Abstract

:
With the increasing popularization and competition of electric vehicles (EVs), EV users often have anxiety on their trip to find better charging stations with less travel distance. An intelligent charging guidance strategy and two algorithms were proposed to alleviate this problem. First, based on the next destination of EV users’ trip, the strategy established a dynamic-area model to match charging stations with users’ travel demand intelligently. In the dynamic area, the Dijkstra algorithm is used to find the charging station with the shortest trip. Then, the area extension algorithm and the charging station attribution algorithm were developed to improve the robustness of the dynamic area. The two algorithms can automatically adjust the area size according to the number of charging stations in the dynamic area to reduce the number of nodes traversed by the Dijkstra algorithm. Finally, simulation examples were used to verify the effectiveness of the proposed model and algorithms. The results showed that the proposed intelligent charging guidance strategy can meet the travel demand of users. It is a promising technique in smart cities to find better travel trips with less travel distance and less computed time.

1. Introduction

In urban travel, using electric vehicles (EVs) as a means of transportation can protect the environment and save energy, and it has been vigorously promoted by various countries. Due to the limited battery capacity of EVs and the inadequate infrastructure construction of charging stations, it is easy to cause the driving range anxiety of EV users during their trips [1,2], then hinder the penetration of EVs and prevent their large-scale application [3,4]. To alleviate the anxiety of users, the battery technology and the charging station infrastructure for EVs are critical. However, it is difficult to achieve a breakthrough in battery cell technology in a short time. Furthermore, the planning and construction of a perfect charging infrastructure can’t be completed overnight. The research on EV charging guidance has become the most practical solution at present and the key to solving the problem of large-scale EV charging in the future. Due to the limited accessibility of the private charging piles, the users need a public charging station to charge the battery when the remaining mileage is not enough to reach the destination [5]. A critical problem solved by an EV charging guidance strategy is how to find a better public charging station when the users initiate a charging request.
The existing charging guidance strategies of EVs have been mainly studied from the grid system and the users. The research from the grid system mainly focuses on the aspects of the power grid load balance [6,7,8] and efficient energy flow management [9,10] when vehicles connect to the power grid system. With the goals of optimizing the power grid load and energy balance, the users’ charging requests are reasonably scheduled to achieve peak load shifting and load balance of the power grid. The proposed charging guidance strategies lack the embodiment of the self-interest of EV users, leading to a reduction in users’ participation in the charging guidance process [11]. The essence of the users’ charging demand is derived from the users’ travel demand, that is, the users initiate the charging request because the remaining mileage of the EV is not enough to reach the destination smoothly. Thus, the research on EV charging guidance from the users’ side is more in line with the users’ actual charging demand. Considering the users’ charging demand and even the travel demand will improve the flexibility of the charging guidance strategy. The flexibility is manifested in matching users’ different travel demand. Wang et al. [12] designed a geometric charging guidance algorithm to study the users’ travel demand. Moreover, the algorithm can guide the users to the charging station corresponding to their travel destination. With the accumulation of relevant data of the user’s charging behavior, the further analysis of the user’s behavior through a data-driven method is conducive to the diversification of charging strategies. Jin et al. [5] and Moritz et al. [13] combined users’ data on charging behavior, which can improve the users’ economic charging benefits and be of great significance to the promotion of the EV market. It is necessary to consider the travel demand of EV users as a priority factor to optimize the management and guidance of users’ charging behavior uniformly. Yang et al. [14] thought it should use some other ways to stimulate users to participate in system optimization services. Based on the users’ charging demand, Schwenk et al. [15] proposed a calendar-based charging strategy to stimulate users’ charging behavior to realize reasonable guidance of users’ charging. To some extent, matching users’ travel demand can also improve the market penetration of EVs. Hoog et al. [16] allowed EV users to bid on the electricity price according to the demand and formulate the charging power to meet the charging demand. Wang et al. [17] comprehensively considered the travel time and charging cost of the users to establish an optimized objective function and obtain a low-cost charging guidance strategy by solving the multi-objective model through a genetic algorithm.
From the user’s side, users’ participation is increased in the process of charging guidance, which can improve users’ travel satisfaction. Due to the low utilization rate of data related to EV charging guidance, the amount and types of data that can be analyzed are relatively few [18]. The data-driven methods have a particularly negative impact on the accuracy of users’ travel demand analysis and the practical application of a charging guidance strategy. To avoid this negative impact, the formulation of charging electricity prices [16,19] and the calculation of guiding distance [20,21,22] have been conducted to select charging stations for users’ travel demand. However, the analysis process of these studies was too complicated, and the established models had high complexity. Moreover, the nonlinear models are even used to solve the users’ travel demand, resulting in too much time and space to calculate. In fact, the users’ travel demand can be simplified as the study of the next destination. Users are more inclined to choose charging stations where the locations are closest to their travel destinations [17]. The current construction of charging stations is not perfect [1], and it cannot guarantee that EV users will find charging stations nearest the destination to complete charging. This paper takes the next destination of the users’ trip as the research target of travel demand and establishes a simple model to solve the charging station guidance that meets the target well. It is not necessary to spend too much effort to analyze and calculate the travel demand of users. Instead, providing the trip destination according to the users’ demand not only improves the users’ participation in the charging guidance but also enables the proposed strategy to meet the users’ actual demand. The main contributions of this paper are as follows:
(1)
Based on the charging request point and the users’ next destination, a dynamic-area model is proposed. The area extension algorithm (AEA) and the charging station attribution algorithm (CAA) are added to ensure validity and scalability of the model. The constructed model can intelligently match the charging station area in accordance with the direction of users’ destination and provide charging guidance.
(2)
The Dijkstra algorithm is improved based on the dynamic-area model by limiting the node searching area. The improved shortest-path algorithm divides the charging guidance problem into three steps. It not only guarantees the users-oriented shortest-path planning but also effectively reduces time complexity.
The structure of this paper is as follows: Section 2 describes the principle and process of dynamic-area modeling. Section 3 describes the modeling process of an intelligent charging guidance strategy. In Section 4, the validity of the model is verified by simulating the road network model. The last section summarizes the work of this paper and puts forward the improvement work in the future.

2. The Dynamic-Area Model

Faced with the popularity of EVs, a significant contradiction is to plan an optimal network of charging stations for users to serve users’ charging demand and charging costs well [5]. Different from [5], this section builds a dynamic area included the charging station network. The dynamic-area model conforms to the users’ travel plan and achieves the dynamic extension of the charging station network. It is divided into two steps, including the restricted area initialization and dynamic-area construction.

2.1. Restricted Area Initialization

Many researchers have studied traffic trips and vehicle navigation based on road network maps [23,24,25]. The square grids and radiant line graphs running through the surroundings are the primary forms of transportation routes in urban areas [26,27]. Thus, the algorithms are constructed based on the road topology network area ABCD, as shown in Figure 1. Area ABCD includes charging station nodes, ordinary road nodes, users’ charging request nodes, users’ next destination nodes, and weight edges between nodes. Circle S and Circle P are constructed by the users’ charging request point S and the corresponding next destination point P as two circle center points, using the distance between the two points as a radius. The intersections of the two circles are a curved area HPES, named the restricted area.
To initialize the restricted area, it is necessary to obtain the coordinates of the four points of the curved area HPSE which represents the four boundary points. The initialization process of the restricted area is as follows.
From the starting point S( X S ,   Y S ) to the ending point P( X P ,   Y P ), a two-point formula is constructed to obtain the distance between the two points. The distance is equal to the radius R, as shown in Equation (1).
R = | X S X P | 2 + | Y S Y P | 2 2
The formula of Circle S and Circle P is shown in Equation (2).
{ ( X X S ) 2 + ( Y Y S ) 2 = R S ( X X P ) 2 + ( Y Y P ) 2 = R P , and   R s = R P = R
where R s and R p are the radii of Circle S and Circle P, respectively, and R s = R P = R . Since the two circles are congruent, it is concluded that the lengths of SO and OP are as shown in Equation (3).
| S O | = | O P | = R 2
Δ H S O ,   Δ H OP ,   Δ S O E ,   and   Δ P OE are congruent right-angled triangles. According to the similar triangle theorem, the center point O ( X O ,   Y O ) and the corresponding side lengths can be calculated by Equations (4) and (5).
( X O ,   Y O ) = { X O = X P + ( X S X P ) 2 Y O = Y P + ( Y S Y P ) 2
| H O | = | O E | = R 2 ( R 2 ) 2 2 = 3 2 × R
According to the above equations, the coordinates of intersection H and E can be calculated as shown in Equations (6) and (7).
( X H , Y H ) = { X H = X O 3 2 × ( Y S Y P ) Y H = Y O + 3 2 × ( X S X P )
( X E , Y E ) = { X E = X O + 3 2 × ( Y S Y P ) Y E = Y O + 3 2 × ( X S X P )
After initialization of the restricted area, the prismatic area of the four points HPSE, called the dynamic area, can be obtained as shown in Figure 2.
The following properties are shown by analyzing the prismatic dynamic area HPES.
  • The line segments of SP and HE show the symmetry of up-down and the symmetry of left-right, respectively.
  • The number of nodes contained in the area is significantly smaller than that in the area ABCD.
  • The charging station nodes C1 and C2 in the area match with the direction of the users’ next destination and also meet the users’ travel demand.

2.2. Dynamic-Area Construction

To ensure the effectiveness of the charging station network, the dynamic area contains a sufficient number of charging stations. In this section, the AEA is proposed for the area to realize the dynamic extending. The basic idea of the AEA is to extend the distance L in the opposite direction with the charging request point and the next destination point. Then the AEA uses the extended points as two new center points to re-initialize the restricted area, as shown in Figure 3.
There are three cases where the distance L is extended from the center points S and P to the points S and P , respectively:
(1) The line segment SP is parallel to the X-axis. Then distance L is extended along the X-axis to get the extended points S ( X s , Y s ) , P ( X P , Y P ) , as shown in Equations (8) and (9).
S ( X s , Y s ) = { X S = X S L Y S = Y S
P ( X P , Y P ) = { X P = X P + L Y P = Y P
(2) The line segment SP is parallel to the Y-axis. Then distance L is extended along the Y-axis to get the extended points S ( X s , Y s ) , P ( X P , Y P ) , as shown in Equations (10) and (11).
S ( X s , Y s ) = { X S = X S Y S = Y S L
P ( X P , Y P ) = { X P = X P Y P = Y P + L
(3) The line segment SP shows a certain angle between the X-axis and the Y-axis; S is the coordinate point of S after extension. Extension at distance L is achieved by constructing   Δ S S A and Δ O S B , as shown in Figure 3. Observing the triangle Δ O S B can get the relationship between the sides, as shown in Equations (12) and (13).
{ | S S | = L | S B | = | X O X S | | O B | = | Y O Y S |
| S O | = ( X O X S ) 2 + ( Y O Y S ) 2 2
According to the triangle similarity theorem, it can obtain Δ S S A Δ O S B . The relationship is shown in Equation (14).
| S S | | S O | = | S A | | O B | = | S A | | S B |
Furthermore, the coordinate of S after the extension is shown in Equation (15).
S ( X s , Y s ) = { X S = X S L × | X O X S | ( X O X S ) 2 + ( Y O Y S ) 2 2 Y S = Y S L × | Y O Y S | ( X O X S ) 2 + ( Y O Y S ) 2 2
In the same way, the coordinate of P after the extension is shown in Equation (16).
P ( X P , Y P ) = { X P = X P + L × | X O X P | ( X O X P ) 2 + ( Y O Y P ) 2 2 Y P = Y P + L × | Y O Y S | ( X O X P ) 2 + ( Y O Y P ) 2 2
Through the discussion of three different cases, the initialized restricted area can be extended dynamically to establish the dynamic-area model according to the users’ travel demand. The dynamic area can continuously extend the range of the area to ensure the effectiveness of the charging station network, and to some extent, limit the number of nodes that needs to traverse in the area. The restricted area initialization and the AEA improve the scalability and robustness of the dynamic-area model.

3. Intelligent Charging Guidance Strategy

The problem of EV charging guidance is essentially a path planning problem from the EV to the charging station. Different from traditional vehicle path planning, intelligent charging guidance needs to ensure that EVs are guided to the charging station in matching their way to destination [12]. How to plan an optimal path for users to match the travel demand and meet charging demand is the research target of the intelligent charging guidance strategy proposed in this section. According to Section 2, a charging station network area that meets the users’ travel demand is constructed based on the dynamic area. However, the number of charging stations in the area is uncertain. Therefore, this section proposes a CAA based on the dynamic area to ensure that the number of charging stations is sufficient. In addition, the shortest-path solution is divided into the charging request point to the charging station (R-C) and the charging station to the next destination(C-N) to find the better travel trips with less travel distance.

3.1. CAA Description

Based on the dynamic area, this paper uses the ray-casting algorithm [28] to detect whether there is a sufficient number of charging stations in the area. The ray-casting algorithm is an algorithm often used to process spatial data. Its basic principle is that the judgment point extends a ray, then calculates the number of intersections between the ray and the boundary of the polygon area according to the number of intersections, determining whether the judgment point is within the area. Because of the symmetry and continuity characteristics of the dynamic area, a CAA is proposed by improving the ray-casting algorithm. The CAA uses the charging station as a judgment point to extend a ray in a specific direction. The point is inside the area if the number of intersections is odd, otherwise, it is outside. As shown in Figure 4, the dynamic area is a prismatic formed by line segments among G, D, F, and E. The square node is assumed as the judgment point. There are six relationships between nodes and the dynamic area by extending the ray indefinitely in the same direction.
The relationships of rays, points, and the dynamic area are summarized into six cases.
(1)
The rays and the points are below the area;
(2)
The rays and the points are above the area;
(3)
Both the rays and the points are in the area;
(4)
The rays pass through the area and the points to the left of the area;
(5)
The rays are outside the area, and the points are at the area boundary;
(6)
The rays and the points are to the right of the area.
According to the relationships, the steps of the CAA are as follows:
(1) Exclude cases where there are no intersections that are cases (1), (2), (6). By judging the coordinate relationship between the charging station and the boundary points G, E, F, it can directly conclude whether the points intersect with the area.
(2) Calculate the number of intersections by constructing similar right triangles. In Figure 4, point A is taken as an example for illustration. By constructing similar right triangles, ΔEBD and ΔECH, the coordinates of points C and B can be obtained based on the given coordinates of points GDEF at the boundary and the judgment point A, as shown in Equations (17) and (18).
C ( X C , Y C ) = { X C = X E Y C = Y A
B ( X B , Y B ) = { X B = X E Y B = Y D
The linear function f E D (x) of the line segment ED is defined by using the two-point formula, as shown in Equation (19).
X X E X D X E = Y Y E Y D Y E
Then the coordinate of point H can be obtained, as shown in Equation (20).
H ( X H , Y H ) = { X H = ( Y A Y E ) × ( X D X E ) Y D Y E + X E Y H = Y A
Due to ΔEBDECH, the intersection interval variable τ is calculated by Equation (21).
τ = [ X C ( Y E Y C ) × X D X B Y E Y B ] X A
where Equation (21) represents the distance from the intersection H to A. When τ > 0, it means that the intersection H is to the right of the ray starting point, and there is one intersection. When τ < 0, it means that the intersection is to the left of the ray starting point A, and there is no intersection.
(3) By traversing the line segments DE and FE with point A, the number of intersections is calculated to determine whether it belongs to the dynamic area.

3.2. Dijkstra for Improving Node Searching Area

The traditional Dijkstra algorithm mainly considers the characteristics of network topology but ignores the structural characteristics of network topology [29]. In general, the time complexity of the Dijkstra algorithm depends on the structural characteristics of the network topology for node searching. When the network topology graph contains a large number of irrelevant nodes, the operation efficiency of Dijkstra will be significantly reduced. To improve the efficiency of node traversal of the Dijkstra algorithm, the earliest proposed algorithm on the structural characteristics of the network topology is Stig [30]. It limits the searching area with nodes through a restricted area. Different from Stig [30], an improved Dijkstra algorithm based on the dynamic area is proposed by improving the scalability of the restricted area.
This paper gives the road network topology graph G, and G is a weighted undirected graph. Let the initial dynamic area be D = ( α , β ) with M nodes, including m charging station nodes, and the final dynamic area D = ( α , β ) with M’ nodes, including m’ charging station nodes. Where α , α are the sets of nodes, and β ,   β are the sets of edges’ weights. First of all, the initial dynamic area is D constructed from the road network topology graph G, and the list of charging stations in area D is C s t a . Then, the CAA is used to scan the charging stations in the area and determine whether the number of charging stations n is sufficient to meet n N . N is the minimum value of a given charging station, and it can be solved according to the density of charging stations in different areas [31]. If n N , the AEA is executed by using dynamic distance L to construct a new dynamic area until the number n of charging stations detected by the CAA meets n N . Finally, the final dynamic area D can be obtained, and its corresponding list of charging stations is C e n d .
In area D, the node list of the charging station is C s t a . In area D , the node list of the charging station is C e n d . C s t a and C e n d are shown in Equation (22).
{ C s t a = [ c 1 , c 2 , c 3 , , c σ , , c m ] , C s t a [ σ ] = c σ   a n d   σ [ 1 , m ] ,   G = D C e n d = [ c i , c j , c k , , c m ] ,   C e n d [ k ] = c k   a n d   k [ 1 , σ ] , G = D
C s t a contains m charging stations before the CAA execution, and each charging station represented by a unique node c σ . The length of the C e n d is equal to m’, and m’m. It means that there is m’ charging stations after executing the AEA, and each charging station is represented by a unique node c k . The dynamic distance L is calculated according to the number N’ of charging stations in the road network area G and the distance R between the two centers, as shown in Equation (23).
L = R N
Based on the two algorithms AEA and CAA, the improvement process of the node searching area is implemented. The searching area of nodes from area G to area D is significantly reduced by using the adjacency list to store the information of road nodes and charging station nodes. The adjacency list is shown in Figure 5.
After initializing the dynamic area D from G, if the CAA detects the number of charging stations and C s t a meets n N , then C s t a = C e n d , which means the AEA does not need to be executed, and D = D . In this case, the time and memory spent on node searching reach the minimum. Otherwise, the AEA is executed multiple times until the dynamic area is large enough for the CAA to detect the number of charging stations. Although the searching area of the nodes after the multiple executions of the AEA will be larger than that without execution, it is still lower than the case of G.
The range of the dynamic area is determined to minimize the total cost of travel, which needs to calculate the minimum total distance from the charging request point to the next destination. Based on Dijkstra to solve the shortest path in the dynamic area, the process of the dynamic area shortest-path algorithm can be divided into three steps. The charging request point defined as r i , the next destination point is t i , and the charging station in the area is c σ . The three steps are shown below.
-
Step 1: R-C (Request point to Charging station). R-C indicates the shortest-path guidance from the charging request point to the charging station. The shortest-path distance is l R C = l ( R i , C σ ) , and its corresponding node set is d R C = d ( R i , C σ ) .
-
Step 2: C-N (Charging station to Next destination). C-N indicates the shortest-path guidance from the charging station to the next destination. The shortest-path distance is l C N = l ( C σ , N i ) , and its corresponding node set is d C N = d ( C σ , N i ) .
-
Step 3: R-N (Request point to Next destination). R-N indicates the process of the dynamic-area shortest-path algorithm from the charging request point to the next destination.
Where l x y ( x i , y j ) is the representation of the shortest path between nodes. It indicates the shortest-path length from nodes x i to y j , and the corresponding set of shortest-path nodes is d x y ( x i , y j ) .
Multiple shortest paths and node sets from R-N can be obtained by traversing the list C e n d of the charging station in the effective dynamic area, as shown in Equation (24).
{ l R N i = l R C + l C N d R N i = d R C d C N a n d   i [ 1 , n ]
where l R N i represents the total travel distance of the i-th user in the R-N, and d R N i represents the corresponding set of road nodes. By comparing different l R N i and sorting the distance, it can conclude the shortest-path charging guide plan η of the dynamic area, as shown in Equation (25).
η i = [ ( l R N 1 , d R N 1 ) , ( l R N 2 , d R N 2 ) , , ( l R N i , d R N i ) , , ( l R N n , d R N n ) ]   a n d   i [ 1 , n ]
where n is the number of charging stations in the dynamic area. The charging guidance strategy for the shortest path is η m i n   :
η m i n   = m i n ( η i )
where η m i n is the best charging station planning result in the dynamic area. It meets the shortest total mileage of the travel, and the guided results meet the travel demand and charging demand of users.

3.3. Strategy Structure

According to Section 3.2, the input and output of the intelligent charging guidance strategy are concluded as follows:
Input: The weighted undirected graph G. It represents road network information. The users’ charging event U i = ( r i , t i ) represents the i-th charging request point r i and next destination initiated t i obtained by users.
Output: Charging guidance strategy η , as shown in Equation (25). The charging guidance strategy for the shortest path is η m i n , as shown in Equation (26).
The execution process of the intelligent charging guidance strategy is shown in Figure 6.
-
Step 1: Determine U i = ( r i , t i ) and set r i = S ; t i = P , HE points were calculated by Equations (6) and (7). The dynamic area model was established with points HPES.
-
Step 2: Determine the list C s t a of charging stations in the area. According to the CAA, traverse the charging stations to determine whether they are within the dynamic area.
-
Step 3: Determine the list C e n d of charging stations in the dynamic area; the list length is n. Set the sufficient number of charging stations in the dynamic area as 3. If n 3 , execute the AEA and return Step 2; otherwise, execute Step 4.
-
Step 4: Calculate the R-C and C-N distance of each station in the dynamic area. Then, get the R-N calculation results and the list of charging station guidance strategies.
-
Step 5: Calculate the shortest-path charging station guidance strategy η m i n   .
Where, the CAA is executed when the number of charging stations n in the dynamic area is detected each time. Then, the AEA is executed when n in the area does not meet the sufficient number 3. The implementation of the CAA and AEA ensures the dynamic scalability of the dynamic area and the effectiveness of n in the area.

4. Simulation and Results

4.1. Road Network Model

In the research of urban road structure, the distance between two points can be expressed by linear distance [32]. Most of the existing research on urban path guidance and planning is based on the urban traffic network graph [1,33]. The usability and extensibility of the urban traffic network graph are of considerable significance to study the effectiveness of algorithms. This paper proposes a hybrid structure of rings and squares to build a road grid model. A square grid is constructed in the central area to emit the radiation path, and the polygon forms a circular and radial mixed road traffic-network structure around the radiation path. As shown in Figure 7, the road network model based on this hybrid structure can serve different urban forms, and the concept of the hybrid structure has also been applied in multiple studies [26,34].
The circular radial traffic network graph in Figure 7 takes the square as the central area and forms the peripheral area in the ring. The line segments between the nodes are straight-line distances, which indicate the two-way road. The effectiveness and applicability of the proposed charging guidance model can be better verified by meshing the urban roads and charging stations.

4.2. Results and Discussion

Based on Figure 7, a coordinate system is established to assign coordinate values to each node in the graph and assign weight values to each link, as shown in Figure 8. The figure contains 57 nodes, including seven charging station nodes, five charging request points r 1 ~ r 5 , corresponding to five destination nodes t 1 ~ t 5 , and the rest are ordinary nodes. The length of the line segment between the nodes represents the distance, and the unit is KM.
As shown in Figure 8, the simulation examples of five charging requests to the next destinations are U 1 ~ U 5 , where U contains the coordinates of the charging request point r i ( x i , y i ) and the next destination point t i ( x i , y i ) . U i = ( r i , t i ) , indicating the user i initiates the charging request at r i and gives the next destination t i . The specific data is shown in Table 1.
The simulation data includes the list of charging station nodes C s t a and C s t a = [ c 1 , c 2 , c 3 , c 3 , c 5 , c 6 , c 7 ] , and the corresponding data are as shown in Table 2.
According to the intelligent charging guidance strategy proposed in Section 3.3, the model is solved at the charging request point and the next destination given by the simulation example. Based on the simulation data in Table 1, the initial dynamic area D is established, and the minimum number of charging stations in the area is set as N min = 3 . The results of the final dynamic area D of the users U 1 to U 5 and the charging strategy η 1 to η 5 can be calculated. They are shown in Table 3.
Table 3 is the dynamic area established with users U 1 ~ U 5 . The area meets the travel demand of the users from the charging request points to the next destination points. The four coordinates of the final dynamic area D are ( H k , E k , S k , P k ) . Its corresponding number of charging stations n and node list C is detected by the CAA. R is the distance from the charging request point to the next destination point in D . The AEA executes different times according to n and L until n 3 . A schematic diagram of effective dynamic-area calculation results is shown in Figure 9.
In Figure 9, r represents the charging request point, t is the next destination, and c is the charging station. The shaded areas in cases (a) to (e) are the dynamic area, area D is the initial dynamic area, and area D is the final dynamic area. When the number of charging stations in the area does not meet N min 3 , the AEA is executed to form the D . Cases (a) to (c) show the result of the algorithm execution of U 1 ~ U 3 , respectively. As the execution frequency increased of the AEA, the range of the dynamic area also extended. In cases (d) and (e), the number of charging stations meets N min 3 , thus the AEA is not executed, then D is equal to D. The statistics of the node number in the dynamic area are shown in Figure 10.
Figure 10 shows the number of nodes in the area D 1 ~ D 5 after the execution of the AEA. The number of nodes in the initial dynamic area D 1 ~ D 5 detected by the CAA is 8, 14, 27, 28, and 22, respectively. Among them, the number of charging stations in the area D 4 ~ D 5 already meets the condition N min 3 , and only the AEA is performed on D 1 ~ D 3 . The white part in the figure is the number of newly added nodes in the dynamic extension area, which is 19, 16, and 9, respectively. Compared with the number of nodes in the total area, the number of nodes in D 1 ~ D 5 is much smaller due to the improvement of the node searching area based on Dijkstra.
Similar to the charging guidance strategy based on users’ travel destinations, Wang et al. [12] proposed a geometry-based algorithm. Different from the dynamic-area model, Wang et al. [12] selected a charging station for charging by calculating the angle and distance between the charging request point and the destination. The research proposed in this paper does not need to calculate the angle between multiple charging stations and travel planning, and due to the nature of the dynamic-area extension, it has better scalability in the selection of charging stations. However, when the number of charging stations in the initial dynamic area is small and the distribution of the number of charging stations in the area is very sparse, the proposed dynamic-area model will spend more time to calculate the AEA and CAA. Based on the algorithm ideas in [12], this paper uses the simulation examples in Table 1 to calculate the Dijkstra shortest-path algorithm, geometry-based algorithm, and dynamic-area shortest-path algorithm, respectively. Furthermore, Figure 11 presents the results of the algorithms.
As shown in Figure 11, the comparison of the three algorithms on R-C, C-N, and R-N is presented. The case (a) shows the result of different algorithms in R-C. Dijkstra can find the shortest path under different charging requests due to its algorithm characteristics of the shortest path. Because of the limitation of searching direction, the geometric-based algorithm and dynamic-area shortest-path algorithm consume much distance in the process of charging station guidance. The case (b) shows the guidance result of C-N. Both the geometry-based algorithm and the dynamic-area shortest-path algorithm can find the relative shortest path in the process of destination-oriented guidance. Compared with the Dijkstra algorithm, the path guidance with direction achieves specific optimization. At last, the case (c) is R-N, including R-C and C-N. The proposed dynamic-area shortest-path algorithm, because it finds the charging station with the shortest path in the dynamic area, not only meets the users’ travel demand but also always realizes the shortest-path guidance of the total trip. The geometry-based algorithm uses the distance traveled and the angle between the charging station and the destination as the basis for measuring the selection of the charging station. In most cases, it can achieve the shortest guidance for the total trip. However, when there are multiple charging stations with similar distances and angles within the included angle range, the shortest-path charging station is not selected.

4.3. Comparison of Execution Time

Based on the improved shortest-path algorithm of the restricted area [30], this paper establishes a dynamic area to guide the shortest path and generalizes the reference [30]. To verify the generalization of the dynamic-area shortest-path algorithm, Section 4.3 compared the time performance of the dynamic-area shortest-path algorithm and the traditional Dijkstra algorithm.
This experiment was performed in the same configuration computer (processor 2.6 GHz quad-core Intel Core i7, Memory 16 GB 2133 MHz LPDDR3). Figure 12 shows the execution results of computed time and traversal time.
In Figure 12, the comparison results of the shortest-path computed time and node traversal time are shown respectively. Due to the limited nodes of the simulated road network model, the computing time of the computer is very low. However, we know that the Dijkstra algorithm is realized by traversing all nodes in the graph. Therefore, under the condition that the starting point and ending point of charging events remain unchanged, increasing nodes of the simulation road network model will not increase the time complexity of the proposed model, but will increase the time complexity of the traditional algorithm. By comparing with the computed total time between the two algorithms, the computed time reaches a minimum of 0.0001950 s on the dynamic-area shortest-path algorithm, but the corresponding Dijkstra algorithm reaches a maximum of 0.00493 s. It is indicated that the dynamic-area shortest-path algorithm can effectively reduce the number of nodes and computed time in the node traversal and calculation. Similarly, in the calculation of charging requests from U 1 to U 5 , the computed time of the dynamic-area shortest-path algorithm is far less than that of the Dijkstra algorithm. By reducing invalid nodes, the dynamic-area shortest-path algorithm effectively reduces the time consumed in node traversal. The node traversal time of the R-C and the C-N shows that the dynamic-area shortest-path algorithm keeps the minimum time, unlike the Dijkstra algorithm.
In charging events U 1 ~ U 5 , the dynamic-area shortest-path algorithm shows the traversal time of nodes significantly reduced by comparing with the Dijkstra algorithm, and the dynamic-area shortest-path computed time is 91.74% lower on average. Figure 13 shows the comparison of the node traversal time between the Dijkstra algorithm and the dynamic-area shortest-path algorithm.
Figure 13 shows the relationship between the algorithm average computation time and the number of nodes in the road network. In Figure 13, TR represents the total road network with all nodes. From the shaded area in the figure, it can intuitively obtain the time to node comparison effect of the charging events U 1 ~ U 5 and TR. The size of the shaded area can intuitively show the time consumed by the algorithm execution. In addition, the diagonal slope in the shaded area is the density K, and the unit is number/ms. As the number of nodes traversed increases, the time consumption becomes higher, and the density K becomes smaller. The K of each charging event is shown in Table 4.
The more considerable density value indicates that more nodes can be traversed in a certain period. In the U 1 ~ U 5 area, the density value is higher than that of TR. When traversing all the nodes in the TR area, the density reaches the minimum. The K in Table 4 shows the dynamic area can always keep the value higher than Dijkstra, which means the AEA and CAA proposed in this paper are effective.

5. Conclusions

As the number of EVs continues to increase, guiding EV users effectively to charging stations is of considerable significance for alleviating users’ charging anxiety. This paper proposed an intelligent charging strategy to study the travel demand and charging demand of EV users. In the study of users’ travel demand, the Dijkstra algorithm is improved based on the dynamic-area model. By improving the searching area of nodes, the direction of the charging guidance is set intelligently to find the charging stations consistent with users’ destinations. In the study of charging demand, the charging strategy realized in the dynamic area for users to find the shortest travel path. The CAA and AEA are designed to improve the robustness and reliability of the intelligent charging guidance strategy. Both of the two algorithms are based on the dynamic-area model to ensure a sufficient number of charging stations. The main contribution of the intelligent charging guidance strategy is concluded to be that it makes EV charging guidance more in line with users’ travel demand and charging demand. Furthermore, it improves the operating efficiency of the Dijkstra algorithm and the timeliness of the guidance algorithm. In the real world, maps are calculated by latitude and longitude. Therefore, the input data of the proposed model can be well replaced by latitude and longitude and applied to the navigation of the real world.
In this study, factors such as the remaining driving range of EVs and road congestion were not taken into account. The proposed model cannot calculate whether the charging station is within the reachable range based on the remaining mileage of the EV but matches charging stations for the EV based on the dynamic area. Further research will consider a given initial SOC (State of Charge) value and add the road congestion covered in the dynamic area.

Author Contributions

J.C. and D.C. were responsible to the conceptualization of the algorithms; S.J. and W.P. conducted the investigation, designed the methodology and completed the original draft; D.C. gave suggestions on the proposed idea and simulation cases; J.C. and S.J. revised the paper based on comments from the reviewers. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China, grant number 61976055. And the APC was funded by 61976055.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lin, Z.-P.; Wang, H.-S.; Tsai, S.-J. The Intelligent Charging Path Planning for Electric Vehicle. Int. J. Comput. Netw. Wirel. Mob. Commun. (IJCNWMC) 2016, 6, 1–8. [Google Scholar]
  2. Bonges, H.A.; Lusk, A. Addressing electric vehicle (EV) sales and range anxiety through parking layout, policy and regulation. Transp. Res. Part. A Policy Pract. 2016, 83, 63–73. [Google Scholar] [CrossRef] [Green Version]
  3. Guo, F.; Yang, J.; Lu, J. The battery charging station location problem: Impact of users’ range anxiety and distance convenience. Transp. Res. Part. E Logist. Transp. Rev. 2018, 114, 1–18. [Google Scholar] [CrossRef]
  4. Li, S.; Tong, L.; Xing, J.; Zhou, Y. The Market for Electric Vehicles: Indirect Network Effects and Policy Design. J. Assoc. Environ. Resour. Econ. 2017, 4, 89–133. [Google Scholar] [CrossRef]
  5. Dong, J.; Xie, M.; Zhao, L.; Shang, D. A framework for electric vehicle charging-point network optimization. IBM J. Res. Dev. 2013, 57, 15:1–15:9. [Google Scholar] [CrossRef]
  6. Gong, L.; Cao, W.; Liu, K.; Zhao, J.; Li, X. Spatial and Temporal Optimization Strategy for Plug-In Electric Vehicle Charging to Mitigate Impacts on Distribution Network. Energies 2018, 11, 1373. [Google Scholar] [CrossRef] [Green Version]
  7. Suyono, H.; Rahman, M.T.; Mokhlis, H.; Othman, M.; Illias, H.A.; Mohamad, H. Optimal Scheduling of Plug-in Electric Vehicle Charging Including Time-of-Use Tariff to Minimize Cost and System Stress. Energies 2019, 12, 1500. [Google Scholar] [CrossRef] [Green Version]
  8. Kongjeen, Y.; Bhumkittipich, K. Impact of Plug-in Electric Vehicles Integrated into Power Distribution System Based on Voltage-Dependent Power Flow Analysis. Energies 2018, 11, 1571. [Google Scholar] [CrossRef] [Green Version]
  9. Gao, Y.; Guo, S.; Ren, J.; Zhao, Z.; Ehsan, A.; Zheng, Y. An Electric Bus Power Consumption Model and Optimization of Charging Scheduling Concerning Multi-External Factors. Energies 2018, 11, 2060. [Google Scholar] [CrossRef] [Green Version]
  10. Mao, T.; Zhang, X.; Zhou, B. Intelligent Energy Management Algorithms for EV-charging Scheduling with Consideration of Multiple EV Charging Modes. Energies 2019, 12, 265. [Google Scholar] [CrossRef] [Green Version]
  11. Lopez, K.L.; Gagne, C.; Gardner, M.-A. Demand-Side Management Using Deep Learning for Smart Charging of Electric Vehicles. IEEE Trans. Smart Grid 2018, 10, 2683–2691. [Google Scholar] [CrossRef]
  12. Wang, Y.; Bi, J.; Zhao, X.; Guan, W. A geometry-based algorithm to provide guidance for electric vehicle charging. Transp. Res. Part. D Transp. Environ. 2018, 63, 890–906. [Google Scholar] [CrossRef]
  13. Baum, M.; Dibbelt, J.; Gemsa, A.; Wagner, D.; Zündorf, T. Shortest Feasible Paths with Charging Stops for Battery Electric Vehicles. In Proceedings of the 23rd SIGSPATIAL International Conference on Advances in Geographic Information Systems-GIS’ 15, Seattle, WA, USA, 3–6 November 2015; pp. 1–10. [Google Scholar]
  14. Chunping, Y.; Qi, Z.; Bing, Q.; Bin, L.; Gaoying, C. Charge and discharge scheduling strategy of electric vehicle based on interest and travel intention of users. Electr. Meas. Instrum. 2018, 684, 112–118. [Google Scholar]
  15. Schwenk, K.; Faix, M.; Mikut, R.; Hagenmeyer, V.; Appino, R.R. On Calendar-Based Scheduling for User-Friendly Charging of Plug-In Electric Vehicles. In Proceedings of the 2019 IEEE 2nd Connected and Automated Vehicles Symposium (CAVS), Honolulu, HI, USA, 22–23 September 2019; pp. 1–5. [Google Scholar]
  16. De, H.J.; Alpcan, T.; Brazil, M.; Thomas, D.; Mareels, I. A Market Mechanism for Electric Vehicle Charging Under Network Constraints. IEEE Trans. Smart Grid 2015, 7, 827–836. [Google Scholar] [CrossRef]
  17. Wang, Y.; Bi, J.; Guan, W.; Zhao, X. Optimising route choices for the travelling and charging of battery electric vehicles by considering multiple objectives. Transp. Res. Part. D Transp. Environ. 2018, 64, 246–261. [Google Scholar] [CrossRef]
  18. Fei, W.; Li, Z.; Ye, M. Review on research of impact of electric vehicles charging on power grids and its optimal dispatch. South. Power Syst. Technol. 2016, 10, 71–80. [Google Scholar]
  19. Vandael, S.; Claessens, B.; Ernst, D.; Holvoet, T.; Deconinck, G. Reinforcement Learning of Heuristic EV Fleet Charging in a Day-Ahead Electricity Market. IEEE Trans. Smart Grid 2015, 6, 1. [Google Scholar] [CrossRef] [Green Version]
  20. Tan, J.; Wang, L. Real-time charging navigation of electric vehicles: A non-cooperative game approach. In Proceedings of the 2015 IEEE Power & Energy Society General Meeting, Denver, CO, USA, 26–30 July 2015; pp. 1–5. [Google Scholar] [CrossRef]
  21. Chau, S.C.-K.; Elbassioni, K.; Tseng, C.-M. Drive Mode Optimization and Path Planning for Plug-In Hybrid Electric Vehicles. IEEE Trans. Intell. Transp. Syst. 2017, 18, 3421–3432. [Google Scholar] [CrossRef] [Green Version]
  22. Liu, H.; Yin, W.; Yuan, X.; Niu, M. Reserving Charging Decision-Making Model and Route Plan for Electric Vehicles Considering Information of Traffic asnd Charging Station. Sustainability 2018, 10, 1324. [Google Scholar] [CrossRef] [Green Version]
  23. Black, A. Optimizing urban mass transit systems: A general model. Transp. Res. Rec. 1976, 610, 12–18. [Google Scholar]
  24. Zhang, Y.; Aliya, B.; Zhou, Y.; You, I.; Zhang, X.; Pau, G.; Collotta, M. Shortest feasible paths with partial charging for battery-powered electric vehicles in smart cities. Pervasive Mob. Comput. 2018, 50, 82–93. [Google Scholar] [CrossRef]
  25. Wang, Y.; Bi, J.; Lu, C.; Ding, C. Route Guidance Strategies for Electric Vehicles by Considering Stochastic Charging Demands in a Time-Varying Road Network. Energies 2020, 13, 2287. [Google Scholar] [CrossRef]
  26. Luo, S.; Nie, Y. (Marco) On the role of route choice modeling in transit sketchy design. Transp. Res. Part. A Policy Pract. 2020, 136, 223–243. [Google Scholar] [CrossRef]
  27. Chen, H.; Gu, W.; Cassidy, M.J.; Daganzo, C.F. Optimal transit service atop ring-radial and grid street networks: A continuum approximation design method and comparisons. Transp. Res. Part. B Methodol. 2015, 81, 755–774. [Google Scholar] [CrossRef] [Green Version]
  28. Shimrat, M. Algorithm 112: Position of point relative to polygon. Commun. ACM 1962, 5, 434. [Google Scholar] [CrossRef]
  29. Wang, H.; Zhou, X. Improved shortest path algorithm for restricted searching area. J. Nanjing Univ. Sci. Technol. (Nat. Sci.) 2009, 5, 638–642. [Google Scholar]
  30. Nordbeck, S. Computer cartography, shortest route programs. Lund Stud. Geogr. Ser. C 1969, 9, 53. [Google Scholar]
  31. Chu, Y.J.; Ma, L.; Zhang, H.Z. Location-allocation and Its Algorithm for Gradual Covering Electric Vehicle Charging Stations. Math. Pract. Theory 2015, 45, 102–106. [Google Scholar]
  32. Badia, H.; Estrada, M.; Robusté, F. Competitive transit network design in cities with radial street patterns. Transp. Res. Part. B Methodol. 2014, 59, 161–181. [Google Scholar] [CrossRef]
  33. Miyagawa, M. Optimal hierarchical system of a grid road network. Ann. Oper. Res. 2009, 172, 349–361. [Google Scholar] [CrossRef]
  34. Fan, W.; Mei, Y.; Gu, W. Optimal design of intersecting bimodal transit networks in a grid city. Transp. Res. Part. B Methodol. 2018, 111, 203–226. [Google Scholar] [CrossRef]
Figure 1. Network topology graph of the restricted area.
Figure 1. Network topology graph of the restricted area.
Sustainability 12 07343 g001
Figure 2. Network topology of a prismatic dynamic area.
Figure 2. Network topology of a prismatic dynamic area.
Sustainability 12 07343 g002
Figure 3. Schematic diagram of the area extension algorithm (AEA).
Figure 3. Schematic diagram of the area extension algorithm (AEA).
Sustainability 12 07343 g003
Figure 4. Charging station attribution algorithm.
Figure 4. Charging station attribution algorithm.
Sustainability 12 07343 g004
Figure 5. The changing process of the node searching space.
Figure 5. The changing process of the node searching space.
Sustainability 12 07343 g005
Figure 6. Flow chart of the intelligent charging guidance strategy.
Figure 6. Flow chart of the intelligent charging guidance strategy.
Sustainability 12 07343 g006
Figure 7. Road network topology graph.
Figure 7. Road network topology graph.
Sustainability 12 07343 g007
Figure 8. Schematic diagram of a simulation example.
Figure 8. Schematic diagram of a simulation example.
Sustainability 12 07343 g008
Figure 9. Schematic diagram of D and D . (a) U 1 ’s dynamic area change diagram. (b) U 2 ’s dynamic area change diagram. (c) U 3 ’s dynamic area change diagram. (d) U 4 ’s dynamic area change diagram. (e) U 5 ’s dynamic area change diagram.
Figure 9. Schematic diagram of D and D . (a) U 1 ’s dynamic area change diagram. (b) U 2 ’s dynamic area change diagram. (c) U 3 ’s dynamic area change diagram. (d) U 4 ’s dynamic area change diagram. (e) U 5 ’s dynamic area change diagram.
Sustainability 12 07343 g009
Figure 10. Comparison of the number of nodes in the area.
Figure 10. Comparison of the number of nodes in the area.
Sustainability 12 07343 g010
Figure 11. Comparison of distance on (a) R-C, (b) C-N and (c) R-N.
Figure 11. Comparison of distance on (a) R-C, (b) C-N and (c) R-N.
Sustainability 12 07343 g011
Figure 12. Comparison of algorithm consumption time.
Figure 12. Comparison of algorithm consumption time.
Sustainability 12 07343 g012
Figure 13. Node traversal time comparison.
Figure 13. Node traversal time comparison.
Sustainability 12 07343 g013
Table 1. List of simulation examples.
Table 1. List of simulation examples.
U i ( r i , t i ) U 1 U 2 U 3 U 4 U 5
r i r 1 = 7 r 2 = 38 r 3 = 51 r 4 = 16 r 5 = 29
t i t 1 = 56 t 2 = 1 t 3 = 11 t 4 = 44 t 5 = 34
r i ( x i , y i ) (−10, −5)(−36, −8)(−20, 30)(0, 10)(36, 0)
t i ( x i , y i ) (−31, −20)(0, 0)(16, −5)(31, −20)(−18, 25)
Table 2. List of charging stations.
Table 2. List of charging stations.
C s t a Charging Station Node ListCharging Station Coordinates
c 1 2(10, 0)
c 2 18(−16, 10)
c 3 27(26, −15)
c 4 31(26, 15)
c 5 41(0, −25)
c 6 46(44, 0)
c 7 53(−44, 10)
Table 3. Results of the intelligent charging guidance strategy. CAA: charging station attribution algorithm.
Table 3. Results of the intelligent charging guidance strategy. CAA: charging station attribution algorithm.
U i ( r i , t i ) D i ( H k , E k , S k , P k ) CAARAEA
U 1 ( 7 , 56 ) D 1 H 1 (7.11, −51.15)n = 3
C = [ 18 , 53 , 41 ]
54.84 Execute 3 times
L = 7.83
E 1 (−48.11, 26.15)
S 1 (1.81, 3.44)
P 1 (−42.82, −28.44)
U 2 ( 36 , 8 ) D 2 H 2 (−47.75, −10.61)n = 3
C = [ 18 , 53 , 41 ]
74.58Execute 1 time
L = 10.65
E 2 (−6.54, −55.53)
S 2 (−29.45, 47.53)
P 2 (11.75, 2.61)
U 3 ( 51 , 11 ) D 3 H 3 (7.11, −51.15)n = 4
C = [ 2 , 18 , 31 , 53 ]
64.55Execute 2 times
L = 9.22
E 3 (−48.11, 26.15)
S 3 (1.81, 3.44)
P 3 (−42.82, −28.44)
U 4 ( 16 , 44 ) D 4 H 4 (41.48,21.85)n = 4
C = [ 2 , 27 , 31 , 41 ]
43.14No execution
E 4 (−10.48, −31.85)
S 4 (0, 10)
P 4 (31, −20)
U 5 ( 29 , 34 ) D 5 H 5 (30.65, 59.26)n = 3
C = [ 2 , 18 , 31 ]
76.51 No execution
E 5 (−12.65, −34.26)
S 5 (36, 0)
P 5 (−18, 25)
Table 4. Density value K.
Table 4. Density value K.
U 1 U 2 U 3 U 4 U 5 TR
K99.26106.8399.47112.8270.7011.56

Share and Cite

MDPI and ACS Style

Cai, J.; Chen, D.; Jiang, S.; Pan, W. Dynamic-Area-Based Shortest-Path Algorithm for Intelligent Charging Guidance of Electric Vehicles. Sustainability 2020, 12, 7343. https://doi.org/10.3390/su12187343

AMA Style

Cai J, Chen D, Jiang S, Pan W. Dynamic-Area-Based Shortest-Path Algorithm for Intelligent Charging Guidance of Electric Vehicles. Sustainability. 2020; 12(18):7343. https://doi.org/10.3390/su12187343

Chicago/Turabian Style

Cai, Junpeng, Dewang Chen, Shixiong Jiang, and Weijing Pan. 2020. "Dynamic-Area-Based Shortest-Path Algorithm for Intelligent Charging Guidance of Electric Vehicles" Sustainability 12, no. 18: 7343. https://doi.org/10.3390/su12187343

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