#### Abstract

Electric taxis are playing an important role in the application of electric vehicles. The actual operational data of electric taxis in Shenzhen, China, is analyzed, and, in allusion to the unbalanced time availability of the charging station equipment, the electric taxis charging guidance system is proposed basing on the charging station information and vehicle information. An electric taxis charging guidance model is established and guides the charging based on the positions of taxis and charging stations with adaptive mutation particle swarm optimization. The simulation is based on the actual data of Shenzhen charging stations, and the results show that electric taxis can be evenly distributed to the appropriate charging stations according to the charging pile numbers in charging stations after the charging guidance. The even distribution among the charging stations in the area will be achieved and the utilization of charging equipment will be improved, so the proposed charging guidance method is verified to be feasible. The improved utilization of charging equipment can save public charging infrastructure resources greatly.

#### 1. Introduction

In the past forty years, global electric vehicle (EV) technology has gained advancement tremendously [1, 2]. In the last five years, commercial operations of pure electric taxis (E-taxis) have successively begun in Chinese cities such as Beijing, Hangzhou, and Shenzhen, and more than 2,500 E-taxis in total are now in operation. From 2011 to June 2014, a total of 830 E-taxis have been put into operation in Shenzhen. There are now 50 charging stations that can provide charging services to E-taxis, and 648 charging machines/piles are in operation. The operators of these charging stations have established a citywide data monitoring system, which monitors and records operation data of all E-taxis and charging devices in real time.

The usage conditions of charging devices at 15 charging stations in Shenzhen have been surveyed, and charging data of these charging stations in a month were analyzed. To compare the usage rates of the charging devices, the time usage rate (TUR) of the charging devices in a charging station can be defined as follows:where = TUR of the charging devices in a charging station; = number of charging devices; = daily charging frequency of the th device; = end time of the th charging in minute, ; = starting time of the th charging in minute, ; = total time of a day in minute; that is, = 1,440 min.

The TURs of the 15 surveyed charging stations were distributed extremely unevenly (Figure 1). The TURs of several charging stations were relatively high, such that E-taxis had to wait in a queue during a certain period. However, the TURs of other charging stations were relatively low, such that the charging devices were idle for a relatively long time. Therefore, it is necessary to establish an effective system to assist in charging E-taxis more efficiently.

This paper presents the basic framework of a charging guidance system (CGS) for E-taxis, which is based on the data monitoring platform of the charging service network of Shenzhen. And a charging guidance model (CGM) with the adaptive particle swarm optimization (APSO) algorithm is proposed. The correctness of the model and the algorithm is verified through simulation.

#### 2. Related Works

In recent years, the multiaspect impacts from connecting a large number of EVs to power grids have become a sustained research focus [2] and coordinated EV charging is the emphasis of the current research [3–10].

In [3], the effect of multiple plug-in hybrid electric vehicles (PHEVs) in a coordinated charging mode on the power distribution network of a residential area was discussed, and a stochastic programming algorithm was proposed. In [4], an admission control mechanism for PHEV charging demand was proposed based on a substation monitoring system. In [5], it was proposed that the EV charging load could be adjusted both temporally and spatially, and it was hypothesized that load scheduling could be performed on a temporal-spatial double scale such that EV charging load could have a positive effect on power grid operation. However, the full load power curve was adjusted only by changing the beginning charging time; spatial charging load scheduling was not realized. In [6], a k-nearest neighbor (KNN) classification algorithm that could predict future charging rates was proposed to select time intervals with low charging rates for PHEVs. In [7], a particle swarm algorithm was used to optimize the charge and discharge control strategy for participating individual EVs in load response. In [8], a multiobjective optimization method was used to improve the mathematical model of a charging scheduling strategy, which solved the problem of poor performance of the charging scheduling strategy in filling the “lowest valley” in a single-objective optimization. In [9], a real-time electricity price-based CGS for EVs was proposed, which could be used to regulate the distribution of EVs at each charging station to improve the voltage quality of the power distribution network. In [10], cost-benefit analysis models for EV discharging users and electric power enterprises were established to calculate the costs and benefits of realizing peak load shifting during peak discharging after the EVs of all parties were integrated into the power grid, which was extremely vital in guiding the EV charging.

The aforementioned studies and other studies have focused on private EVs, their effect on power grids, and coordinated charging guidance strategies. In fact, the effect of public EVs (e.g., buses and taxis) on power grids is more important because these vehicles continuously provide public services and consume more electricity. The charging characteristics of public EVs (E-taxis in particular) are far more complicated than those of private EVs due to their complicated mobility characteristics and a greater number of charging options [11]. There have been few studies that have investigated the charging scheduling of E-taxis. In [11, 12], according to the charging characteristics of PHEV taxis, a backward induction optimization algorithm to select charging time slots was proposed based on the time-of-use (TOU) electricity price and additional charging fees. In [13], a scheduling strategy for a taxi fleet, which included charging plans, was proposed based on clients’ demands of taxi reservations to reduce the effect of the charging time and battery swapping on the operational time and revenue.

This paper presents a new viewpoint to enhance the usage rates of large-scale charging devices constructed specially for E-taxis within a city range. The presented research work is based on the collected actual operation data and the presented CGS, CGM, and algorithm are based on the quasi real-time operation data, which makes the presented work different from former research work, having much more practical value.

#### 3. CGS Framework

Figure 2 shows the CGS framework for E-taxis charging. By collecting processed information regarding the charging stations (e.g., number and locations of the remaining charging piles) and information regarding E-taxis (e.g., residual capacities of battery packs (SOC) and locations), the control system helps drivers make charging decisions using a smart optimization algorithm when the constraint conditions are met, that is, guides E-taxis to appropriate charging stations.

The CGS sends charging guidance information to each E-taxi in real time at a certain time interval, and E-taxi drivers decide whether or not to respond to such information based on the actual situation. In this way, E-taxis can receive optimized charging guidance when charging is required.

#### 4. Charging Guidance Optimization Model

##### 4.1. Model Assumptions

When E-taxi drivers select a charging station, they primarily consider factors such as time (including travel time to the charging station, waiting time at the station, and charging time), travel distance, traffic conditions, and charging fees. However, it is expected that the number of E-taxis at each charging station is correlated with the capacity of the charging station to increase the comprehensive usage rate of charging facilities and avoid queuing and resource waste, such as idling charging devices. So, E-taxis’ charging is guided optimally as described below.

Under the premise that the calculation of the objective function will not be affected, the following assumptions are made.(1)Within a given region, the number of charging stations () and the number of E-taxis () are known.(2)Within an infinitesimal amount of time (), E-taxi drivers can only select one charging station. The flag variable for E-taxi charging is set as , and the value of which is either 0 or 1. When , the th E-taxi is not charged at the th charging station and when , the th E-taxi is charged at the th charging station.(3)The impact of traffic conditions is not considered. E-taxis are driven at a uniform speed ().(4)When the number of E-taxis waiting to be charged is greater than the number of charging piles at the charging station, some E-taxis have to wait. Therefore, the time required for the th E-taxi to reach the th charging station and complete charging is , which is the sum of travel time to the th charging station , waiting time at the th charging station , and charging time .(5)Waiting time at a charging station is negative linearly correlated with its scale. As the charging station scale increases, the waiting time decreases. Waiting coefficient is introduced and set as , where stands for the charging station scale.

##### 4.2. Objective Functions of the Model

The objective function of the model is established by two primary aspects: E-taxi drivers and charging stations within the region.

###### 4.2.1. Aspect of E-Taxi Drivers

For an E-taxi driver, selecting a charging station depends primarily on three aspects: the shortest time, the shortest travel distance, and the lowest charging fees. At the current stage, charging price is fixed. Therefore, time cost and travel distance cost are the primary factors that are considered.

For the time cost, the time required for the th E-taxi to reach the th charging station and complete charging is defined as :where represents the distance that the th E-taxi traveled to reach the th charging station in km.

When an E-taxi driver uses charging time as the basic objective to select a charging station, there is a precedence relationship between a specific value and the minimum value in set , which includes all the possible charging times:

The smaller the value of , the greater the possibility for a driver to select this charging station.

For travel distance cost, the distance that an E-taxi travels to reach charging station is used as the basic objective to select a charging station. There is a precedence relationship between a specific value and the minimum value in set , which includes all the possible distances:

The smaller the value of , the greater the possibility for a driver to select this charging station.

The objective function is established from the aforementioned two aspects:

###### 4.2.2. Aspect of Charging Station Operators

As can be concluded from the analysis of TUR of charging stations, comprehensive efficiencies of the charging devices are not evenly distributed in the overall service network of charging stations. This uneven distribution means that drivers who are waiting to be charged select the same charging station as the other drivers, which not only reduces the TURs of the charging devices but also negatively impacts the overall development of the charging stations. From the perspective of charging station operators, when E-taxis are distributed based on the scale of the charging stations using the TURs of charging facilities as the objective function is the best. More E-taxis are distributed to large-scale charging stations, and fewer E-taxis are distributed to small-scale charging stations. This demand-based distribution method lowers the fluctuation of the charging load of each charging station and balances the usage rates of the charging piles at the charging stations. Its objective function is the following:where represents the charging power of the th E-taxi in kW and represents the number of charging piles at the th charging station.

###### 4.2.3. Normalization of the Objective Functions

Two objective functions are obtained from the analyses of the two different aspects. Therefore, it is necessary to normalize these objective functions and convert the multiobjective optimization problem into a single-objective optimization problem. The linear weighted sum method is used to convert the objective functions.

Due to the different dimensions of these two objectives, a normalized treatment is necessary for each objective function, as shown in the following equation:where and represent the original objective function values before adjustment; and represent the corresponding weight coefficients of objective functions and , and .

##### 4.3. Constraint Conditions of the Model

The constraint condition of the method is that the E-taxis that are waiting to be charged within the region can only select one charging station, as described in the following equation:

To ensure that E-taxis have enough electric power to reach the designated charging station for charging, the maximum distance that the th E-taxi travels to the th charging station should be less than or equal to the maximum distance that the th E-taxi can travel, as described in the following equation:In (9), , where is the lowest limitation generally set by the automaker and is the average maximum driving distance after E-taxis are fully charged according to statistical analysis. Generally speaking, the energy consumption of EVs depends mainly on energy consumption factor, which is related to not only vehicle speed but also road type [14] and makes the relationship between SOC and estimated travel distance a complicated function. So, a linear function is used to simplify the estimation. Because the is updated in time, the estimation accuracy is enough for the charging guidance. This paper sets as 20% and as 300 km, respectively.

##### 4.4. Optimization Algorithm for the Model

The charging guidance for an E-taxi is constrained by various conditions, such as the charging power of the charging station, usage conditions of the charging pile, and charging users’ needs. Therefore, the problem is a nonlinear optimization problem with large dimensions, multivariables, and complicated constraints that cannot be solved by classical optimization algorithms, such as linear programming [15]. Here, an adaptive particle swarm optimization algorithm [16] is used.

A particle swarm optimization (PSO) algorithm obtains the optimal value of the swarm by simulating the predatory behavior of bird flocks, that is, by simulating the collective cooperation of bird flocks. The algorithm updates the locations and speeds of the particles using the following equation: where represents the inertia weight, which ranges between 0.1 and 0.9; represents the dimensions; represents the particles; represents the current iteration number; represents the speed of the particle in the dimension ; and are nonnegative constants, which are called acceleration factors; and and are random numbers between 0 and 1.

Similar to all the other global optimization algorithms (e.g., genetic algorithms), the premature convergence phenomenon is also present in the PSO algorithm [8], particularly in relatively complicated, multipeak searching problems. Regarding the inertia weight , if the value of is a random number between 0.5 and 1, experiments have indicated that the accuracy is greater than that of the linear decreasing strategy, and the convergence speed is also faster than that of the linear decreasing strategy [16]. Here, the value of is as follows:

In this paper, learning factors and are accelerated using the nonlinear inverse cosine; is first large and then becomes small, whereas is first small and then becomes large. The basic idea is that the self-history information of is used as the primary reference to search the initial particle flight; the focus shifts to the information of the swarm, that is, at the later stage [16]: where and represent the initial values of the iteration; and represent the terminal values of iteration; and represents the total number of iterations of the algorithm.

When we define as the fitness of the th particle (the value of the objective function), the mean fitness of the colony can be obtained using the following equation:where represents the total number of particles.

Then, the normalized scaling factor of the particle swarm is determined using the following equation:

Furthermore, the variance of the fitness of the entire swarm can be obtained as follows:

The extreme value of the swarm, , which meets certain mutation conditions, is mutated according to a certain probability . The calculation equation of is as follows:where is an arbitrary random number between 0.1 and 0.3; the value of is generally far less than the maximum value of ; and represents the theoretical optimal value. The method of applying random perturbation was used for the mutation operation of . The parameter is the th dimensional value of ; is a random variable within a Gaussian (0, 1) distribution; then, the mutation of is as follows:

Based on the aforementioned analyses, the corresponding solution process of the optimization algorithm can be obtained.(1)Initialize the locations and speeds of the particles in the particle swarm and correct the locations of the particles based on the constraint conditions.(2)Calculate the fitness of every particle (the value of the objective function).(3)Set the extreme value of each particle as the current location and set as the location of the optimal particle in the initial swarm.(4)Update the speeds and corresponding locations of the particles according to (10).(5)Calculate the fitness of each particle in the particle swarm and update and record the optimal location of each particle and the optimal location of the swarm.(6)Calculate the variation of the fitness of the swarm according to (13), (14), and (15).(7)Calculate the mutation probability according to (16).(8)Obtain a random number between 0 and 1. If this number is less than the mutation probability , then execute the mutation operation described in (17) and correct the value of .(9)Determine whether or not termination conditions are met. If true, terminate the calculation. If false, return to step .

#### 5. Practical Example Simulations

##### 5.1. Example Settings

In the present study, eight charging stations and the corresponding mean number of serviced E-taxis in Shenzhen were used as an example; that is, . Figure 3 shows the distribution of the charging stations. Table 1 lists the parameters of the charging stations.

The analysis results of the actual operation data show that the initial SOC values of E-taxis when they reached charging stations were normally distributed and the charging time accorded with a 1 h normal distribution. Therefore, the SOC of each E-taxi is randomly selected within a normal distribution (0.5, 0.1) and the charging time of each E-taxi is calculated accordingly. The average charging power is 30 kW; that is, kW. The number of serviced E-taxis is 100; that is, , and the mean speed on urban roads is 40 km/h; that is, km/h. The value of the distance that an E-taxi travels to the charging station is randomly selected around the charging station.

##### 5.2. Solution Procedure and Simulation Parameters

According to the charging guidance model and the solution method established in Section 4, the solution procedure of the example is given in Figure 4.

The simulation parameters of the algorithm are as follows: , , , , , and , .

##### 5.3. Simulation Results and Discussions

The simulation outputs the flag variable matrix, , of E-taxis. Figure 5 shows the convergence curve of the objective function. Based on the value of matrix , the number of E-taxis that reach each charging station can be statistically analyzed as shown in Table 2. In Table 2, because Futian Transport Hub, Shenzhenwan, and Qingshuihe Stations provide service to two types of EVs actually, and the number of charging piles at these stations in the simulation is adjusted, respectively. Table 2 shows that E-taxis can be guided to appropriate charging stations by the CGS, which is based on the number of charging piles at each charging station. The optimal result solves the problem caused by E-taxi drivers’ blind selection of charging stations.

In addition, according to the ratio of E-taxis charging time to the total charging time, the TURs of charging devices at Futian Transport Hub, Shenzhenwan, and Qingshuihe Stations are adjusted to 10.73%, 0.63%, and 39.98%, respectively. The comparison between the TURs before and after optimization is shown in Figure 6, which shows that an even distribution of TURs of charging devices among charging stations can be obtained by using the charging guidance method proposed in the present study.

However, E-taxis driver’s benefits would be sometimes sacrificed for even distribution of TURs of charging stations. Different scenarios with varied weight coefficients are simulated to analyze the drivers’ loss extent and the standard deviation of the TURs is compared correspondingly. The curve of the objective function 1 and standard deviation of TURs along with the change of weight coefficient are shown in Figure 7.

Figure 7 shows that the function value of E-taxi drivers gradually reduces with the increase of , while the standard deviation of TURs increases conversely. That means E-taxi drivers benefits could be really sacrificed in order to obtain an even distribution of TURs of charging devices among charging stations. However, the standard deviation of TURs falls much more slowly and tends to be stable when is less than 0.7, so weight coefficients can be set as and to restrict E-taxi drivers’ benefits loss less than 18%. The histogram of the comparison between the TURs before and after optimization with is shown in Figure 8.

Although the even distribution of TURs of charging devices among charging stations can further sacrifice for E-taxi drivers’ benefits, there will be a significant increase in the comprehensive costs of the charging service network after the E-taxis increase and both benefits will be injured. So, the benefit balance of E-taxi drivers and charging station operators can be assured in the specific range.

#### 6. Conclusions

This paper proposes a method to calculate TURs of charging devices for E-taxis and conducts a statistical analysis that reveals an extremely uneven distribution of TURs among 15 charging stations in Shenzhen. Therefore, a CGS for E-taxis is proposed, which is based on the information regarding charging stations and E-taxis to solve the uneven distribution problem and improve the comprehensive benefit of charging stations. An optimization model to guide E-taxis charging is established and an APSO algorithm is used to solve the problem. Some simulations are performed based on the actual data of eight charging stations in Shenzhen.

The simulation results show that a more even distribution of TURs of charging devices among charging stations is attained by guiding E-taxis to appropriate charging stations, which verified the feasibility of the charging guidance method proposed in the present study. The benefits of E-taxi drivers and charging station operators can be balanced in the specific range. So, along with the large-scale development of E-taxis, the advantages of the proposed model will become more apparent, particularly regarding public infrastructure resource conservation.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This work was supported by Beijing Higher Education Young Elite Teacher Project (YETP0570). The authors contributed equally to this work and should be considered cofirst authors.