Next Article in Journal
Climate on the Edge: Impacts and Adaptation in Ethiopia’s Agriculture
Previous Article in Journal
Correction: Ragab et al. Improved Artificial Rabbits Optimization with Ensemble Learning-Based Traffic Flow Monitoring on Intelligent Transportation System. Sustainability 2023, 15, 12601
Previous Article in Special Issue
Sustainable and Profitable Urban Transport: Implementing a ‘Tire-as-a-Service’ Model with Regrooving and Retreading
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Decision Making for Energy Acquisition of Electric Vehicle Taxi with Profit Maximization

by
Li Cui
1,2,*,
Yanping Wang
3,
Hongquan Qu
3,
Yiqiang Li
2,
Mingshen Wang
2 and
Qingyuan Wang
2
1
School of Electrical and Control Engineering, North China University of Technology, Beijing 100144, China
2
Center of Engineering Training, Nanjing Institute of Technology, Nanjing 211167, China
3
School of Artificial Intelligence and Computer Science, North China University of Technology, Beijing 100144, China
*
Author to whom correspondence should be addressed.
Sustainability 2025, 17(11), 5116; https://doi.org/10.3390/su17115116
Submission received: 24 April 2025 / Revised: 20 May 2025 / Accepted: 22 May 2025 / Published: 3 June 2025

Abstract

:
With the emergence of joint business operations involving electric vehicle taxis (EVTs) and charging/swapping stations (CSSTs), a unified decision-making method has become essential for an EVT to select both the driving path and the energy acquisition mode (EAM). The decision making is influenced by energy acquisition cost and potential operation profit. The energy acquisition cost is closely related to the driving time required to reach a CSST, and existing prediction methods for driving time ignore the spatial–temporal interactions of traffic flows on different roads and fail to account for traffic congestion differences across various sections of a road. Existing estimation methods for potential operation income ignore the distributions of taxi orders in different areas. To address these issues, a traffic flow prediction model is first proposed based on the long short-term memory–generative adversarial network (LSTM-GAN) deep learning algorithm. A refined driving time model is developed by segmenting a road into different sections. Then, an expected operation income model is developed considering the distributions of origins and destinations of taxi orders in different areas. Then, a decision-making method for path planning and the charging/swapping mode is proposed, aiming to maximize the total profit of EVTs. Finally, the effectiveness of the proposed decision-making method for EVTs is validated with a city’s traffic network.

1. Introduction

In recent years, electric vehicles (EVs) have been widely deployed owing to their significant advantages in energy conservation and emission reduction [1]. The global number of EVs will increase from 64 million at the end of 2024 to approximately 85 million at the end of 2025, resulting in an average annual growth rate of about 33% [2]. Under this developing trend of vehicles, taxi companies are gradually replacing traditional combustion engine taxis with EV taxis (EVTs) [3,4].
In China, the aim of achieving 100% new energy adoption for EVT deployment is anticipated during the 14th Five-Year Plan period (2021–2025) [5]. An EVT requires electrical energy for driving around. In a few cities, taxi companies have adopted the joint business mode of EVTs and electrical energy supply stations [6]. For instance, in Wuxi City, China, battery swapping stations for EVTs have been applied to establish the business mode [7]. In this business mode, the supply stations and EVT batteries are owned by the taxi company, which sets the energy price and instructs the EVTs to acquire energy at the supply stations. These supply stations, known as charging/swapping stations (CSSTs), offer two energy acquisition modes (EAMs): charging and swapping [8]. The charging mode takes several dozen minutes to complete the energy acquisition, allowing the driver to rest during the charging period. Under the swapping mode, the energy acquisition is quickly completed within a few minutes, thereby increasing the operation time of EVTs [9]. The existing literature compares the socio-economic aspects of the charging mode and swapping mode [10] and examines the economic implications of jointly planning for these two modes [11].
When an EVT with low battery energy aims to drive to a CSST for energy acquisition, the process of driving to the CSST and the choice of the EAM at the CSST significantly impact both energy and time costs [12]. Additionally, the selection of the specific CSST influences the taxi’s future operational income. As the EVT aims to maximize its profit, it encounters the decision-making challenge of determining the optimal driving path to a CSST and which EAM to utilize.
To achieve unified decision making for the selection of the driving path to a CSST and the choice of EAM at the CSST, it becomes essential to evaluate the energy and time costs incurred during the journey to the CSST while adopting the EAM. Furthermore, estimating the future operation income after energy acquisition is also crucial.
The existing literature has investigated decision-making processes concerning the selection of paths for energy acquisition. In ref. [13], a path planning method was introduced, considering the waiting time at the charging station. Ref. [14] proposed a path planning method for EVTs, considering their service level within the traffic network. A path planning method was developed based on the Markov decision process of EVTs, considering the influence of passenger delay [15]. In ref. [16], a path planning method utilizing a probabilistic action tree was proposed to improve EVT income.
However, the income of EVTs is affected by the time and energy costs incurred during the journey to the CSST while executing the EAM. Existing decision-making methods primarily focus on path planning, ignoring the interaction between path planning and the selection of the EAM. Furthermore, these methods have not thoroughly analyzed the different influences of charging and swapping modes on the decision-making process.
The driving time to a CSST serves as a critical factor for path planning, and the driving time can be estimated by predicting the traffic flow. A number of studies have been carried out to investigate the prediction methods for traffic flow. With the assumption of a constant proportion of traffic flow during the same time interval, a traffic flow prediction method was proposed based on the least square fitting method [17]. In ref. [18], the OD matrix was used to predict the traffic flow with an autoregressive model. Based on a multitask learning framework of the deep belief network, a traffic flow prediction method was proposed in [19]. Based on a convolutional long short-term memory (LSTM) neural network, a traffic flow prediction method was proposed in [20].
However, existing traffic flow prediction methods ignore the spatial–temporal interactions of traffic flows on different roads and fail to consider traffic congestion differences across various sections of a road. The prediction error of driving time potentially affects the decision making for path planning.
An EVT aims to choose a CSST that promises higher potential operation income. Several studies have investigated the estimation method for operation income. An income estimation method was developed considering passenger behaviors and energy consumptions along a single road [21]. The income estimation was realized considering the variations in taxi orders within one specific area [22,23].
However, existing income estimation methods primarily focus on taxi orders within a single road or area, neglecting to consider order distributions across different areas.
This paper presents a decision-making method for energy acquisition by EVTs to maximize profits through the joint operation of EVTs and CSSTs. The primary contributions of this paper can be summarized as follows:
(1)
Current driving time prediction methods ignore the interactions between adjacent road traffic flows and the differences in traffic congestion among various road sections. Considering the spatial–temporal interactions of traffic flows among different roads, an LSTM–generative adversarial network (LSTM-GAN) deep learning algorithm is developed to predict the traffic flow. Additionally, to create a more detailed model of driving time, roads are segmented into multiple sections based on different speeds. The driving time is finely modeled with time periods of free driving, queueing and intersection passing.
(2)
Considering the charging mode and swapping mode, existing operation income estimation methods ignore the interrelationship between the distributions of taxi orders and the energy acquisition mode. Considering the distributions of origin and destination locations of taxi orders in different areas, an expected operation income model is developed to estimate the potential operation income of an EVT with the energy acquisition of charging or swapping at a CSST. The operation income is influenced by both the distributions of taxi orders and the energy acquisition mode.
(3)
To describe the combined influence of driving path planning and EAM selection on decision making, the driving time to a CSST and the time required for energy acquisition are estimated by energy cost and income loss. Additionally, the saved charging time under the swapping mode is estimated by energy cost and operation income. To help an EVT achieve the maximum profit, a unified decision-making method is developed by selecting both the driving path to the CSST and the appropriate EAM at the CSST.
The rest of this paper is organized as follows. Section 2 introduces the realization framework of decision making. Section 3 presents the coupled model of the traffic network, CSST and EVT. Section 4 introduces the expected operation income model of EVT. Section 5 introduces the decision-making method. Section 6 presents the study results. Section 7 gives some remarkable conclusion.

2. Framework of Decision Making

Traffic flow reflects the road congestion degree and directly impacts the driving time to a CSST. The time required for finishing charging and swapping is different [9]. The distributions of taxi orders surrounding different CSSTs influence the potential income derived from these orders. Notably, the absence of taxi orders during the driving time to a CSST and the energy acquisition period implies that the driving process, energy acquisition and the destination directly affect the EVT’s profit. Consequently, the operation profit of an EVT is intricately related and constrained by the interaction among the traffic network, CSST, and EVT. Effective decision making for path planning and EAM selection must consider the interdependent characteristics of the traffic network, CSST, and EVT.
The realization framework of the decision-making method for an EVT, aiming at the maximum profit, is shown in Figure 1. When an EVT needs to drive to a CSST for energy acquisition, it transmits information about its current location, initial state of charge (SOC) and battery capacity to the central server. The central server utilizes the LSTM-GAN deep learning algorithm to predict traffic flow, assessing the driving distance and time to the CSST. Then, considering the energy price information, the server evaluates the energy cost incurred during the journey to the CSST and energy acquisition at the CSST. Additionally, it evaluates income loss resulting from the journey time cost to the CSST and the energy acquisition time cost at the CSST. The taxi company transmits the taxi order data to the center server, which estimates the expected income in the future EVT operation period by analyzing the taxi order data. Consequently, the center server helps the EVT make optimal decisions regarding the driving path and EAM at the CSST, providing the recommendation to maximize expected profit.

3. Modeling for Traffic Network, CSSTs and EVT

In this section, based on the traditional traffic network topology, the EVT driving time in different sections and different periods is finely divided to form a traffic network topology considering the refined driving time. Furthermore, we analyzed the disparities in driving time costs and charging/swapping costs, taking into account the distinct characteristics of the charging mode and swapping mode and accurately predicting the EVT costs under the charging mode and swapping mode.

3.1. Traffic Network Model

3.1.1. Traffic Network Topology

Considering the road connectivity, the traffic network topology is given by Equation (1) [24].
G = { U g , R g , A g } U g = { u i | i = 1 , 2 , , n } R g = { ( u i , u j ) | u i , u j U g } A g = { r i , j | ( u i , u j ) R g }
where G represents the topological structure of the traffic network; u i represents the road node; i and j are the indices of the road nodes; n is the number of road nodes; U g is the set of all road nodes; ( u i , u j ) represents the road with road nodes u i and u j ; r i , j is the length of road ( u i , u j ) as given by Equation (2); R g is the set of all roads; and A g is the adjacent matrix of r i , j as given by Equation (3).
r i , j = r j , i = d i , j ,   u i   and   u j is   connected 0 ,   i = j ,   u i   and   u j   is   not   connected
where r i , j = represents that u i is not connected to u j .
A g = 0 d 1 , 2 d 1 , n 1 d 1 , n d 2 , 1 0 d 2 , n 1 d 2 , n d n 1 , 1 d n 1 , 2 0 d n 1 , n d n , 1 d n , 2 d n , n 1 0
where d i , j is the actual distance of road ( u i , u j ) .

3.1.2. Modeling for Refined Driving Time

Traffic flow is denoted by the average traffic speed on the road. A specific road can be segmented into several subsections based on varying average traffic speeds within these subsections. Within this context, as traffic flow increases, vehicle speed declines significantly, leading to the formation of queued vehicles. This low-speed condition typically occurs at critical points such as road intersections or segments where traffic demand surpasses road capacity. Such subsections, characterized by low-speed queuing vehicles, are designated as downstream subsections. Conversely, when traffic flow is low, vehicles maintain high speeds without queuing, resulting in unimpeded movement. These subsections, exhibiting high-speed, non-queued traffic, are classified as upstream subsections. Vehicles usually need to wait when driving through an intersection equipped with traffic lights [25]. To account for the distinct traffic speeds across different subsections of the road, the driving time along the road is divided into several time periods, as shown in Figure 2.
The driving time of the EVT is defined by Equation (4).
T i , j dri ( t ) = T i , j fre ( t ) + T i , j que ( t ) + T j pas ( t )
where t is the time instant and T i , j dri ( t ) is the driving time; T i , j fre ( t ) , T i , j que ( t ) and T j pas ( t ) are, respectively, the lengths of time periods of free driving, queueing and intersection passing and are further calculated by Equations (5)–(13).
① Time period of free driving:
As given by Equation (5), T i , j fre ( t ) is the length of the time period of the vehicle crossing the upstream subsection.
T i , j fre ( t ) = ( d i , j L i , j que ( t ) ) / v ¯ i , j ( t )
where L i , j que ( t ) is the length of queueing vehicles in the downstream subsection and v ¯ i , j ( t ) is the average speed on the road.
Then, L i , j que ( t ) , as given by Equation (6), is defined as the length of queueing vehicles in the downstream subsection.
L i , j que ( t ) = N i , j ( t ) l ¯ μ i , j l ¯ λ i , j T i , j fre ( t )
where N i , j ( t ) is the number of vehicles on the road; l ¯ is the average headway of queueing vehicles; μ i , j is the maximum vehicle flow; and λ i , j is the green time ratio for the intersection.
Substitute Equation (6) into Equation (5) to obtain Equation (7).
T i , j fre ( t ) = d i , j N i , j ( t ) l ¯ v ¯ i , j ( t ) μ i , j l ¯ λ i , j
Substitute Equation (7) into Equation (6) to obtain Equation (8).
L i , j que ( t ) = d i , j v ¯ i , j ( t ) d i , j N i , j ( t ) l ¯ v ¯ i , j ( t ) μ i , j l ¯ λ i , j
The road jam density is obtained by the ratio of the maximum vehicle flow μ i , j over the limited speed v i , j max on the road. According to the relationship between the road jam density and average speed, N i , j ( t ) is given by Equation (9).
N i , j ( t ) = d i , j μ i , j ( 1 v ¯ i , j ( t ) ) / ( v i , j max ) 2
② Time period of queueing:
The time period of queueing is not only determined by the length of queueing vehicles and the maximum vehicle flow on the road but also influenced by the status of traffic lights at the intersection.
When the vehicle arrives at the intersection controlled by a traffic light, the time period of queueing is calculated by Equations (10) and (11).
T i , j que , g ( t ) = L i , j que ( t ) α i , j / ( μ i , j l ¯ )
where T i , j que , g ( t ) is the time period of queueing when the traffic light is green and α i , j is the green–red cycle lengths at the intersection.
T i , j que , r ( t ) = L i , j que ( t ) α i , j / ( μ i , j l ¯ ) + α i , j ( 1 λ i , j )
where T i , j que , r ( t ) is the time period of queueing when the traffic light is red and p j is the probability of vehicles arriving at the intersection with a green light. T i , j que ( t ) is approximated by Equation (12).
T i , j que ( t ) E ( T i , j que ( t ) ) = T i , j que , g ( t ) p j + T i , j que , r ( t ) ( 1 p j )                         = α i , j [ L i , j que ( t ) / ( μ i , j l ¯ ) + ( 1 λ i , j ) ( 1 p j ) ]
③ Time period of intersection passing:
The average length of the time period of vehicles passing through the intersection is given by Equation (13).
T j pas ( t ) = α i , j λ i , j / μ i , j + β j ( t )
where β j ( t ) is the time period of finishing the turn or crossing at the intersection.
Therefore, the traffic network topology obtained by considering the refined driving time on the basis of a traditional traffic network is given by Equation (14).
G = { U g , R g , A g } U g = { u i | i = 1 , 2 , , n } R g = { ( u i , u j ) | u i , u j U g } A g = { r i , j | ( u i , u j ) R g } T = { T i , j dri ( t ) | ( u i , u j ) R g }
where T is the set of the refined driving time on all roads.

3.2. CSST Model

Considering the charging and swapping modes, the CSST model is given by Equations (15) and (16).
CSST = { S g , P k , η k , c k cha ( t ) , t k end , c k ser , c k bat } S g = { s k | k = 1 , 2 , , m }
t k end = t k cha , en , Charging   mode t k swa , en , Swapping   mode
where S g is the set of CSSTs’ locations in the traffic network; m is the number of CSSTs; k is the index of CSSTs; P k is the rated charging power of the k-th CSST; η k is the charging efficiency; c k cha ( t ) is the real-time charging price; t k end is the complete charging/swapping time of EVTs; t k cha , en is defined as the time instants of complete charging, that is, the time instants when the electric vehicle arrives at the CSST plus waiting time T k wai and charging time T k cha ; t k swa , en is defined as the time instants of complete swapping, that is, the time instants when the electric vehicle arrives at the CSST plus swapping time T k swa ; and c k ser and c k bat are the service cost and energy purchase cost for battery swapping, respectively.
As given by Equation (17), t k ari is the arrival time at the CSST of the EVT. The number of EVTs arriving at CSSTs can be predicted. If the number of EVTs that tend to be charged is not greater than the number of chargers, the EVT does not need to wait at the CSST; otherwise, the waiting time at the CSST is given by Equation (18).
t k ari = t ini + T dri
where t ini is the time instant when the EVT requires energy acquisition, and T dri is the total driving time of the EVT from initial location O to CSST S g .
T k wai = 0 , N k ( t k ari ) < σ k t k end ( w k + 1 ) t k ari , N k ( t k ari ) σ k
where t k end is the set of complete charging time instants of EVTs; N k ( t k ari ) is the predicted number of EVTs that will arrived at t k ari ; σ k is the number of chargers; and w k is the number of EVTs waiting at the CSST, where w k = N k ( t k ari ) σ k .

3.3. EVT Model

The differences between charging and swapping modes are compared in Figure 3. Upon arrival at a CSST, an EVT has the option to choose between charging or swapping. At the CSST, the EVT opting for charging may undergo waiting and charging time periods, whereas selecting swapping involves only the swapping time period.
Due to the significantly shorter swapping time compared to the charging time, the swapping mode effectively saves both the charging and waiting time. The saved time can produce more profit for the EVT. For the charging mode, T k wai , T k cha and T k a ope are defined as the time periods of waiting, charging and operation in area a , respectively. t k cha , st and t k cha , en , o are defined as the time instants of start charging and the completed operation time instants for the swapping mode. For the swapping mode, T k swa and T k b ope are defined as the time periods of swapping and operation in area b , respectively. t k swa , en , o is defined as the completed operation time instants for the swapping mode.
Considering charging and driving characteristics, the EVT model is given by Equation (19).
EVT = { L dri , T dri , E j ( t ) , T k cha ( t ) , T k swa , C k cha , C k swa }
where L dri is the total driving distance of an EVT from initial location O to CSST S g ; E j ( t ) is the remaining battery energy of the EVT driving to node u j ; T k cha ( t ) is the required charging time of the EVT; C k cha is the total cost of the EVT in the charging mode, and C k swa is the total cost of EVT in the swapping mode.

3.3.1. Driving Distance and Time

The driving distance L i , j dri of the EVT from node u i to u j is given by Equations (20) and (21).
L i , j dri = d i , j x i , j
x i , j = 1 ,   x i , j ( u i , u j ) 0 ,   x i , j ( u i , u j )
where x i , j is the binary variable for the road constraint and x i , j = 1 indicates that the EVT drives through road ( u i , u j ) ; otherwise, x i , j is 0.
Thus, the total driving distance and time of the EVT from O to CSST S g are, respectively, given by Equations (22) and (23).
L dri = i , j U g S g L i , j dri = i , j U g S g d i , j x i , j
T dri = i , j U g S g T i , j dri ( t ) x i , j

3.3.2. Remaining Battery Energy

The energy consumption of an EVT is influenced by the average driving speed and can be described by a multiple linear regression function [26]. The energy consumption of EVT during the driving process is given by Equation (24).
E C F = m 1 / v ¯ i , j ( t ) + m 2 v ¯ i , j ( t ) + m 3 ( v ¯ i , j ( t ) ) 2 + m 4
where E C F is the energy consumption of the EVT during the driving process, and m 1 , m 2 , m 3 and m 4 are regression coefficients, which reflect the energy consumption rate and are important for an EVT to make decisions to avoid energy exhaustion.
Based on the energy consumption model, the remaining battery energy of the EVT is given by Equation (25).
E i ( t ) = E 0 S i SOC ( t ) ;   E j ( t ) = E i ( t ) E i , j ( t ) E k sta ( t ) = E ini i , j U g S g E i , j ( t ) ;   E i , j ( t ) = d i , j E C F
where E i , j ( t ) is the energy consumption of the EVT on road ( u i , u j ) ; E 0 is the EVT battery capacity; S i soc ( t ) is the SOC of the EVT at node u i ; E k sta ( t ) is the remaining battery energy when the EVT arrives at a CSST; and E ini is the initial battery energy of the EVT at the initial location for energy acquisition.

3.3.3. Time Period of Charging

Charged battery energy E k cha ( t ) and required charging time T k cha ( t ) of the EVT are given by Equation (26).
E k cha ( t ) = S k end E 0 E k sta ( t ) T k cha ( t ) = E k cha ( t ) / ( η k P k )
where S k end is the SOC of the EVT when charging has finished.

3.3.4. Total Cost Under Charging Mode

The total cost of the EVT (i.e., C k cha ) under the charging mode is given by Equation (27).
C k cha = t k cha , st t k cha , en c k cha ( t ) P k d t + C k cha , ext ( t k cha , st )
where the first integral part represents the charging cost for the energy acquisition of the EVT at a CSST, and the second part is the income of the remaining battery energy before charging in the future operation period. We regard the second part as a loss during the EVT charging period, so it is also included in the EVT total charging cost, as detailed in Equation (29). The cost of the remaining battery energy is incorporated in the total cost under the charging mode. This is because that the remaining energy of the EVT can generate income in the future operation period compared to charging.
C k cha , ext ( t k cha , st ) = c k cha ( t k cha , st ) E k sta ( t k cha , st )
where c k cha ( t k cha , st ) is the charging price of the CSST at time instant t k cha , st .

3.3.5. Total Cost Under Swapping Mode

The total cost of an EVT (i.e., C k swa ) under the swapping mode is given by Equation (29).
C k swa = c k ser + c k bat + C k swa , ext ( t k ari )
where C k swa , ext ( t k ari ) is the cost of the remaining battery energy before swapping, which is further given by Equation (30).
C k swa , ext ( t k ari ) = c k cha , val E k sta ( t k ari )
where c k cha , val is the valley charging price at the CSST.

4. Expected Income Model of EVT

4.1. Traffic Flow Prediction

The traffic flow prediction process is shown in Figure 4. The traffic network matrix sequence contains information about traffic speeds on different roads during different time intervals, and this matrix sequence is transmitted to generator H . The matrix sequence is predicted and generated based on multiple training with H . Then, the generated matrix sequence is identified by discriminator D to judge whether or not the generated matrix sequence is a real matrix sequence. H predicts the future traffic flow data by learning the probability distribution from a substantial amount of historical traffic flow data.
The training mechanism of the GAN is shown as follows. If the input of D comes from the distribution of the real data, the output of D is 1 (real); otherwise, the output is 0 (fake). This can “fool” D by producing novel synthesized samples that appear to come from the distribution of the real data. These two mutually adversarial and iterative optimization processes enhance the performance of both D and H . When D cannot correctly identify the fake data generated by H and the real ones, it is considered that D has learned the distribution of the real data.
As the model of D employs the Sigmoid function, the training of D involves minimizing its cross entropy. Cross entropy serves as a loss function in machine learning and is used to measure the similarity between the real data distribution and the predicted data distribution of the trained model. This loss function is given by Equation (31).
O b j D ( θ D , θ H ) = 1 2 E v ¯ i , j ( t + Δ t ) ~ p data ( v ¯ i , j ( t + Δ t ) )           log ( D ( v ¯ i , j ( t + Δ t ) ) ) 1 2 E v ~ p v ( v ) [ log ( 1 D ( H ( v ) ) ) ]
where p data ( v ¯ i , j ( t + Δ t ) ) is the real data distribution; p v ( v ) is the prior distribution; Δ t is the time interval; D ( v ¯ i , j ( t + Δ t ) ) is the probability that v ¯ i , j ( t + Δ t ) comes from the real data; H ( v ) is the generated data coming from H ; and D ( H ( v ) ) is the probability of D from H ( v ) .
With generator H , Equation (31) is minimized to achieve the optimal solution. In a continuous space, Equation (31) is recast by Equation (32).
O b j D ( θ D , θ H ) = 1 2 v ¯ i , j ( t + Δ t ) p data ( v ¯ i , j ( t + Δ t ) ) log ( D ( v ¯ i , j ( t +                   Δ t ) ) ) d v ¯ i , j ( t + Δ t ) 1 2 v p v ( v ) log ( 1 D ( H ( v ) ) ) d v
For discriminator D , the expected output is between 0 and 1. When the input data v ¯ i , j ( t + Δ t ) is sampled from the distribution of the real data, and the goal of D is to make output probability D ( v ¯ i , j ( t + Δ t ) ) close to 1. When the input data are from generated data H ( v ) , D tries to correctly judge the data source and makes D ( H ( v ) ) close to 0, while the goal of H is to make D ( H ( v ) ) close to 1 by iterative training. This means that the data generated by the generator is getting closer and closer to the real data. This is a zero-sum game between H and D , and the loss function of H is O b j H ( θ H ) = O b j D ( θ D , θ H ) . Thus, the objective function of the GAN is given by Equation (33).
min H max D V ( D , H ) = E v ¯ i , j ( t + Δ t ) ~ p data ( v ¯ i , j ( t + Δ t ) )           log ( D ( v ¯ i , j ( t + Δ t ) ) ) + E v ~ p v ( v ) [ log ( 1 D ( H ( v ) ) ) ]
The original GAN is augmented by integrating an LSTM network to enable spatial–temporal traffic flow generation. The structure of the LSTM-GAN is shown in Figure 5. The convolution neural network (CNN) layer outputs the features of the data to the LSTM module to learn the temporal characteristics from the spatial correlation characteristics of the historical traffic flow data.
Generator H contains three layers to capture the spatial and temporal characteristics of the input traffic flow data:
(1) The observed traffic speed matrix sequence is input into the CNN layer to acquire knowledge regarding the spatial characteristics of the traffic flow data on all roads. (2) The LSTM layer is employed to capture the temporal correlation of the sequential traffic flow data. (3) The output of the LSTM layer is input into another CNN layer to generate the traffic speed matrices during the next time interval.
Discriminator D contains three layers, the CNN layer, the bi-directional LSTM layer and the fully connected layer:
(1) The generated and real traffic speed matrices are input into the CNN layer to learn potential spatial features and then are input into a bi-directional LSTM layer to capture the potential temporal features. (2) The fully connected layer is used to transform the output of the bi-directional LSTM layer into a low-dimensional feature vector. (3) The feature vectors are used to construct a classification model to judge the real or fake data of the input future traffic speed matrix.
Thus, the traffic speed data on different roads during the future time period is predicted by the above LSTM-GAN deep learning algorithm.

4.2. Income Calculation of EVT

At different time instants, the distributions of taxi orders in various areas are different. The trajectories for the origin and destination locations of taxi orders reflects the characteristic of traveling behaviors and also reflects the EVT’s potential income across different areas. After the energy acquisition of the EVT at the CSST in a specific area, the EVT aims to obtain income by taking a taxi order around the CSST. The EVT may drive to another area in response to available taxi orders. The expected value of the operation income of the EVT can be evaluated based on the distributions of taxi orders’ origin and destination locations in different areas. To calculate the expected operation income of further operation periods, the unit value of the expected operation income of the EVT is given by Equation (34).
ω a inc ( t ) = 1 N a ( t ) b = 1 q K a b N a b ( t ) Φ a b
where a and b are the indices of all areas; a b means that the EVT drives to area b after energy acquisition at the CSST in area a ; q is the number of areas; N a ( t ) is the number of origin locations of taxi orders in area a ; N a b ( t ) is the number of destination locations of taxi orders in area b compared to the taxi orders’ origin locations that are in area a ; K a b is the average income of the taxi orders whose origin and destination locations are, respectively, in area a and area b ; Φ a b is the average operation time of taxi orders whose origin and destination locations are, respectively, in areas a and b ; and ω a inc ( t ) is the unit income of the EVT in area a at time instant t .
Considering the real-time unit income of an EVT, the expected operation income under the charging mode is the integral of unit income for the further operation period, and the expected operation income under the swapping mode is the integral of unit income and the income gained from the time saved compared to charging. After finishing the energy acquisition at a CSST, the expected income of an EVT in area a is given by Equation (35).
M cha = t k cha,en t k cha,en , o ω a inc ( t ) d t M swa = t k swa , en t k swa , en , o ω a inc ( t ) d t + M sav
where M cha and M swa are the expected operation incomes of the EVT under charging and swapping modes, respectively, and M sav is the expected operation income gained from the time saved with the swapping mode, which is further given by Equation (36).
M sav = ( T k wai + T k cha T k swa ) ψ ¯ inc
where ψ ¯ inc is the average unit income of the EVT during a day.

4.3. Income Loss Caused by Driving to CSST

The driving process to the CSST generates no income due to the absence of available taxi orders. The duration of driving time to the CSST is converted to the monetary loss by evaluating the income loss incurred during this driving period. Income loss C k dri , t is evaluated by Equation (37).
C k dri , t = t ini t k ari ω a inc ( t ) d t

5. Modeling for Decision Making

The objective function for maximizing the operation profit of an EVT is given by Equations (38) and (39).
Ω = max ( δ 1 W k cha + δ 2 W k swa )
W k cha = M cha ( C k cha + C k dri,t ) W k swa = M swa ( C k swa + C k dri,t )
where W k cha is the profit of an EVT in the charging mode, and W k swa is the profit of EVT in the swapping mode.
The decision making should consider the constraints of road selection, the remaining battery energy and EAM selection.

5.1. Constraint of Road Selection

The EVT drives through the adjacent nodes u i and u j ; if u i is the starting node of the road, then x i , j = 1 and x j , i = 0 ; if u i is the middle node of the road, and u j 1 is another adjacent node of u i , then x j 1 , i = 1 and x i , j = 1 ; and if u i is the ending node of the road, then x i , j = 0 and x j , i = 1 . Thus, the constraint for road selection is given by Equation (40).
j O x i , j j O x j , i = 1 ;   i O ,   i S g 0 ;   i O ,   i S g 1 ;   i O ,   i S g

5.2. Constraint of Remaining Battery Energy

When the EVT requires energy acquisition or the battery energy reaches the warning threshold, the app helps the EVT decide how to drive to a CSST. The constraint of the remaining battery energy is given by Equations (41) and (42).
E j ( t ) = E ini E i , j ( t ) ; i O ,   j U g E i ( t ) E i , j ( t ) ;   i , j U g E i ( t ) E i , j ( t ) + E k cha ( t ) ;   i U g , j S g
E i ( t ) > E i , j ( t ) ,   i , j U g

5.3. Constraint of EAM Selection

The constraint of the EAM selection for the EVT is given by Equation (43).
δ 1 + δ 2 = 1
where δ 1 and δ 2 are both binary variables. If δ 1 = 1 , the EVT selects charging; otherwise, the EVT selects swapping.

6. Case Studies and Analyses

6.1. Case Scenarios

The traffic network of a city comprising 116 roads is used to verify the proposed decision-making method. The distribution of road nodes, locations of CSSTs, and origin and destination locations of taxi orders are illustrated in Figure 6. Among them, the origin and destination locations of taxi orders are obtained from the analysis of taxi order survey data in a certain region. As can be seen from the figure, the origin location of orders are mostly distributed in residential areas, and the destination location is often concentrated in the work area, while the number of origin and destination locations of orders in commercial areas shows little variation. On weekdays, the peak departure and return times in the residential area occur during 8:00–9:00 and 16:00–18:00, respectively. The peak arrival and departure times in the work area generally span from 9:00 to 10:00 and from 16:00 to 18:00, respectively. The peak arrival time in the commercial area is typically observed from 19:00 to 20:00. The parameter configuration of the LSTM-GAN algorithm in this case study was implemented as follows: the Adam optimization algorithm was employed with a batch size of 64 and a dropout rate of 0.2, and the model was trained for 100 epochs.
The number of chargers, the rated charging power and the charging efficiency of CSSTs are shown in Table 1. The battery capacity, the maximum driving distance and the average headway of queueing vehicles are shown in Table 2. The road parameters are shown in Table 3. The real-time charging price profile of CSSTs is shown in Figure 7. The cost of battery swapping consists of the energy purchase cost of CNY 40 and the service cost of CNY 10. The vehicle speed ranges from 20 to 60 km/h within an urban traffic network. The heuristic ant colony algorithm is used to solve the optimal decision-making problem for the EVT [27].

6.2. Study Results

6.2.1. Comparisons of Traffic Flow Prediction Methods

To validate the effectiveness of the proposed LSTM-GAN deep learning algorithm, the mean absolute error (MAE), the mean relative error (MRE), and the root-mean-square error (RMSE) serve as evaluation metrics. Comparative analysis involves comparing the proposed LSTM-GAN against prediction methods such as LSTM [28], ARIMA [29], SVR [30], and the RNN-GAN [31]. As LSTM is a kind of RNN, the RNN-GAN is added as a comparative method to clarify the advantages of the combination of LSTM and the GAN. These methods predict the average speed for the next 15 min, and the comparative results, showing prediction accuracy, are shown in Table 4. It is clear that the proposed LSTM-GAN achieves the lowest MAE, MRE, and RMSE values, attaining the highest prediction accuracy.

6.2.2. Decision-Making Results

To verify the effectiveness of the decision-making method, the results for path planning and charging/swapping mode selection are compared under different scenarios. The decision-making time is set at 7:00, node 43 is selected as the initial location, and an initial SOC of 0.3 is selected for decision making. Three scenarios are shown as follows:
Scenario 1: The EVT aims to achieve the maximum profit under this proposed decision-making method.
Scenario 2: The EVT aims to achieve the shortest driving distance to the CSST [32]. The EVT adopts the same EAM as that in scenario 1.
Scenario 3: The EVT aims to achieve the minimum driving time to the CSST [24], also adopting the same EAM as that in scenario 1.
For scenarios 2 and 3, the constraints of road selection and remaining battery energy are assumed to be same as those in scenario 1. Under scenario 1, the result of path planning for EVT is shown in Figure 8. The swapping mode is adopted at node 17, and the path “43 → 44 → 38 → 37 → 36 → 35 → 26 → 17” is selected. The proposed decision-making method for charging/swapping selection is compared to the energy acquisition from charging only. The comparative results are shown in Table 5. Notably, the profits under charging/swapping selection and charging only are CNY 230.79 and CNY 215.82, respectively, while the costs are CNY 86.03 and CNY 74.53, respectively. This indicates that the operation income under charging/swapping selection is higher than that under charging only. This is because the income loss of swapping is less than that of charging and the saved time generates more income. To verify the effectiveness of the proposed LSTM-GAN algorithm in saving the cost of the EVT, the comparison result of the average energy acquisition costs under different prediction methods is shown in Table 6. It is obvious that the proposed LSTM-GAN algorithm has the lowest cost for energy acquisition.
Under scenarios 2 and 3, the results of path planning are shown in Figure 8. Under scenario 2, the shortest path is “43 → 44 → 50 → 55 → 58 → 64 → 65”. The path with the minimum driving time is “43 → 44 → 50 → 55 → 56 → 59 → 65” in scenario 3. Comparative results under the three scenarios are shown in Table 7. The EVT in scenario 1 did not select the path with the shortest driving distance or minimal driving time. However, this suboptimal route was ultimately chosen by the EVT due to its capacity to maximize profit during future operational periods. This is because the shortest driving path distance and the minimum driving time only impact the cost of the energy consumption during the driving process to CSST. The low cost does not mean high operation income. The expected profit of the EVT is also influenced by expected operation income from taxi orders. In scenario 1, the EVT selects the CSST in the area with more taxi orders in the future operation period, which helps the EVT obtain higher income compared to the other two scenarios. Thus, the proposed method helps the EVT make decisions regarding path planning and charging/swapping mode selection to maximize profit.

6.2.3. Decision-Making Results with Different Factors

Decision making under different initial SOCs:
The decision-making results with different initial SOCs at 7:00 and node 43 are shown in Figure 9 and Table 8. When the initial SOC is higher than 0.1, the EVT selects the same path as in scenario 1. When the initial SOC is equal to 0.1, the selected path is “43 → 37 → 28 → 19 → 20 → 21”, and the profit of the EVT is lower than that when the initial SOC is 0.2. This is because the EVT is constrained by the remaining battery energy and cannot select the path for the maximum profit of the EVT. The EVT can only select the path with the shortest distance with congested traffic.
When the initial SOC is 0.1, the difference between the optimal operation profits with the swapping/charging mode and charging only reaches a maximum value of CNY 34.93. When the initial SOC is less than 0.5, the optimal EAM for the EVT is swapping. When the initial SOC is low, the income loss of swapping is less than that of charging, and the saved time generates higher income. Thus, the EVT obtains the maximum profit under swapping. With the increase in the initial SOC, the cost of charging is much lower than that of swapping. When the SOC is low, the EVT is recommended to select the swapping mode.
Decision making under different time instants:
Figure 10 and Table 9 present the results at different decision-making time instants at node 43 when the EVT’s initial SOC is 0.3. It is clear that the EVT selects different paths at different times, leading to variations in profit and driving time due to different traffic congestions and taxi order distributions. The EVT achieves the lowest and highest profits at 9:00 and 14:00, respectively. This is because the time period after 14:00 is the peak off-duty period, during which the EVT receives more orders than other time periods. Thus, the time chosen for decision making significantly influences the EVT’s operation profit, and the decision is recommended to be made before the peak off-duty period.
Decision making at different initial locations:
Figure 11 presents the results at different initial locations among three areas and under different initial SOCs at 7:00. Table 10 provides comparative results of profits and paths at different initial locations among three areas for decision making at 7:00 with the initial SOC of 0.3. It is clear that there is a general decrease in the maximum profit of the EVT from area 1 to area 3. The EVT’s profit decreases with the increase in the initial SOC. This is because the EVT tends to achieve higher profit when the initial location is closer to the area with more intensive taxi orders. The profits of the EVT at different locations within an individual area show fluctuations. This is because the EVT selects different driving paths based on the various road congestion degrees. Therefore, different initial locations for decision making significantly influence the profit of the EVT in the future operation period.

7. Conclusions

With the joint operation of EVTs and CSSTs, a decision-making method for the energy acquisition of an EVT is proposed to achieve the maximum profit. Specific conclusions are summarized as follows:
(1)
The proposed decision-making method significantly aids the EVT in achieving maximum profit by enabling unified decision making for the driving path to a CSST and the selection of an EAM. Compared to the charging mode, the operation profit of the EVT is increased with charging/swapping selection.
(2)
The traffic flow prediction method is developed based on the LSTM-GAN deep learning algorithm. The mean relative error for the traffic flow prediction decreases to 8.38%. Considering the traffic congestion differences in different subsections of an individual road, a traffic network model is developed with a refined driving time for the EVT. When an EVT decides to drive to a CSST, the traffic flow prediction and refined driving time improve calculation accuracy for the decision making.
(3)
Considering the variations in the distributions of taxi orders’ origin and destination locations in different areas, an expected operation income model of an EVT is developed. This proposed model facilitates EVTs in evaluating the potential operation income under the driving path to a CSST and the alternate EAM selections post arrival at the CSST. The results show that the driving path chosen by EVTs may not be the optimal path with the shortest driving time or the shortest driving distance but the suboptimal path with the greatest profit.
This paper solely focuses on the application of the LSTM-GAN traffic flow prediction model and decision-making approach proposed herein, specifically in the context of taxi operations and profitability within a scenario where charging and swapping modes coexist. Although only one type of electric vehicle is considered in this paper, the model and algorithm proposed in this paper can be applied to other types of vehicles and cities. Future research could expand on this by exploring various types of electric vehicles, such as examining their potential to decrease power replenishment cost for electric private cars and enhance the operational income of electric buses, among other applications. Furthermore, future research could examine the applicability of the proposed model and strategy in dynamic traffic environments, as well as their performance variations when implemented in different urban settings.

Author Contributions

Conceptualization, L.C., H.Q. and M.W.; methodology, L.C., Y.L. and Q.W.; software, L.C. and Q.W.; validation, L.C., H.Q. and Q.W.; formal analysis, L.C. and H.Q.; data curation, Y.L., M.W. and Q.W.; writing—original draft preparation, L.C. and Q.W.; writing—review and editing, Y.L., Y.W. and M.W.; visualization, Y.W., M.W. and Q.W.; resources, supervision, project administration, funding acquisition, H.Q., M.W. and Y.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Jiangsu Province Youth Science and Technology Talent Support Project with grant number JSTJ-2024-053.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

Abbreviations:
CSSTCharging/swapping station.EVTElectric vehicle taxi.
LSTM-GANLong short-term memory–generative adversarial network.SOCState of charge.
EAMEnergy acquisition mode.
Sets and Indices:
CSST Set of CSST’s location, rated fast charging power, charging efficiency and price. EVT Set of EVT’s driving distance, time periods, remaining battery energy and costs.
G Topological structure of the traffic network. O Set of initial locations of EVT.
R g Set of all roads. S g Set of CSSTs’ locations in the traffic network.
T Set of refined time periods of driving through all roads. A g Adjacent matrix of the length of road.
U g Set of all road nodes. r i , j Length of road ( u i , u j ) .
a , b Index of all areas. T k a ope Time period of operation in area a for charging mode (h).
a b EVT drives to area b after energy acquisition at CSST in area a . q Number of areas.
i , j Index of road nodes. t Time instant.
k Index of CSSTs. w k Number of EVTs waiting at CSST.
mNumber of CSSTs. σ k Number of fast chargers.
nNumber of road nodes.
Parameters:
c k bat Energy purchase cost for battery swapping (CNY). T k b ope Time period of operation in area b for swapping mode (h).
c k cha,val Valley charging price at CSST (CNY/kWh). T k wai Time period of waiting for charging mode (h).
c k ser Service cost for battery swapping (CNY/kWh). T i , j que , g ( t ) Time period of queueing when the traffic light is green (h).
d i , j Actual distance of road ( u i , u j ) (km). T i , j que , r ( t ) Time period of queueing when the traffic light is red (h).
t k end Completed charging/swapping time of EVTs. t k ari Arrival time of EVT to CSST.
E 0 Battery capacity of EVT (kWh). t k cha , en Complete charging time instant (i.e., starting operation time instant) for charging mode.
E ini Initial battery energy of EVT at the initial location (kWh). t k cha,en,o Complete operation time instant for charging mode.
l ¯ Average headway of queueing vehicles (m/Veh.). t k cha , st Starting charging time instant for charging mode.
K a b Average income of the taxi orders whose origin and destination locations are, respectively, in area a and area b (CNY). t k swa , en Complete swapping time instant (i.e., starting operation time instant) for swapping mode.
p j Probability of vehicles arriving at the intersection during a green light. t k swa,en,o Complete operation time instant for swapping mode.
P k Rated fast charging power of the k-th CSST (kW). t ini Time instant when the EVT requires energy acquisition.
T k cha Time period of charging for charging mode (h). u i / u j Road node i / j .
T k swa Time period of swapping for swapping mode (h). v i , j max Limited speed on the road (km/h).
μ i , j Maximum vehicle flow (Veh./h). α i , j Green and red cycle lengths (s).
λ i , j Green time ratio. ψ ¯ inc Average unit income of EVT during a day (CNY/h).
η k Charging efficiency. Δ t Time interval (h).
Variables:
C k cha Total cost of EVT under the charging mode (CNY). N a ( t ) Number of origin locations of taxi orders in area a .
C k dri,t Monetary cost caused by driving to CSST (CNY). N i , j ( t ) Number of vehicles on the road (Veh.).
C k swa Total cost of EVT under the swapping mode (CNY). N k ( t k ari ) Predicted number of EVTs that will arrived at t k ari (Veh.).
c k cha ( t ) Real-time charging price (CNY/kWh). S i soc ( t ) SOC of EVT at node i (p.u.).
E C F Energy consumption of EVT (kWh/km). S k end SOC of EVT when charging has finished (p.u.).
E i , j ( t ) Energy consumption of EVT on road ( u i , u j ) (kWh). T dri Total driving time of EVT from initial location O to CSST S g (h).
E j ( t ) Remaining battery energy of EVT driving to node j (kWh). T i , j dri ( t ) Driving time (h).
E k cha ( t ) Charged battery energy (kWh). T i , j fre ( t ) Time period of free driving (h).
E k sta ( t ) Remaining battery energy when EVT arrives at CSST (kWh). T i , j que ( t ) Time period of queueing (h).
L dri Total driving distance of EVT from initial location O to CSST S g (km). T j pas ( t ) Time period of intersection passing (h).
L i , j dri Driving distance of EVT from node i to node j (km). T k cha ( t ) Required charging time of EVT (h).
L i , j que ( t ) Length of the queueing vehicles in downstream subsection (km). v ¯ i , j ( t ) Average speed of vehicles on the road (km/h).
M cha Expected operation income of EVT under charging mode (CNY). W k cha Profit under charging mode (CNY).
M sav Expected operation income under the saved time with swapping mode (CNY). W k swa Profit under swapping mode (CNY).
M swa Expected operation income of EVT under swapping mode (CNY). x i , j Binary variable for road constraint.
N a b ( t ) Number of destination locations of taxi orders in area b compared to taxi orders’ origin locations in area a . β j ( t ) Time period of completing the turn at the intersection (h).
Ω Maximum operation profit of EVT (CNY).

References

  1. Lakatos, I. Economic and ecological aspects of vehicle diagnostics. Sustainability 2025, 17, 1662. [Google Scholar] [CrossRef]
  2. Forecast Analysis: Electric Vehicle Shipments, Worldwide. Available online: https://www.gartner.com/en/documents/6008203 (accessed on 31 March 2025).
  3. Wang, H.; Zhao, D.; Cai, Y.; Li, J.; Chen, S. Taxi trajectory data based fast-charging facility planning for urban electric taxi systems. Appl. Energy 2021, 286, 116515. [Google Scholar] [CrossRef]
  4. Yun, B.; Sun, D.; Zhang, Y.; Deng, S.; Xiong, J. A charging location choice model for plug-in hybrid electric vehicle users. Sustainability 2019, 11, 5761. [Google Scholar] [CrossRef]
  5. Zhao, Z.; Tian, D.; Duan, X.; Duan, L.; Zhang, P.; Li, W. Joint optimization of battery swapping scheduling for electric taxis. Sustainability 2023, 15, 13722. [Google Scholar] [CrossRef]
  6. Huang, Y.; Hu, H.; Tan, J.; Xuan, D. Deep reinforcement learning based energy management strategy for range extend fuel cell hybrid electric vehicle. Energy Convers. Manag. 2023, 277, 116678. [Google Scholar] [CrossRef]
  7. Circular of the General Office of the Municipal Government on Printing and Issuing the Planning of Charging and Replacing Facilities for New Energy Vehicles in Wuxi City During the 14th Five-Year Plan Period. Available online: https://www.wuxi.gov.cn/doc/2022/06/29/3702607.shtml (accessed on 31 March 2025).
  8. Zhang, T.; Huang, Y.; Liao, H.; Liang, Y. A hybrid electric vehicle load classification and forecasting approach based on GBDT algorithm and temporal convolutional network. Appl. Energy 2023, 351, 121955. [Google Scholar] [CrossRef]
  9. Wang, A. Economic efficiency of high-performance electric vehicle operation based on neural network algorithm. Comput. Electr. Eng. 2023, 112, 104589. [Google Scholar]
  10. Gao, J.; Li, S. Charging autonomous electric vehicle fleet for mobility-on-demand services: Plug in or swap out? Transp. Res. Part C Emerg. Technol. 2024, 158, 104457. [Google Scholar] [CrossRef]
  11. Lai, Z.J.; Li, S. Towards a multimodal charging network: Joint planning of charging stations and battery swapping stations for electrified ride-hailing fleets. Transport. Res. B-Meth. 2024, 183, 102928. [Google Scholar] [CrossRef]
  12. Arif, S.M.; Lie, T.T.; Seet, B.C.; Ayyadi, S.; Jensen, K. Review of electric vehicle technologies, charging methods, standards and optimization techniques. Electronics 2021, 10, 1910. [Google Scholar] [CrossRef]
  13. Yao, Z.; Wang, Z.; Ran, L. Smart charging and discharging of electric vehicles based on multi-objective robust optimization in smart cities. Appl. Energy 2023, 343, 121314. [Google Scholar] [CrossRef]
  14. Liang, Y.; Wang, H.; Zhao, X. Analysis of factors affecting economic operation of electric vehicle charging station based on DEMATEL-ISM. Comput. Ind. Eng. 2023, 163, 108455. [Google Scholar] [CrossRef]
  15. Sayarshad, H.R.; Mahmoodian, V.; Oliver, H.G. Non-myopic dynamic routing of electric taxis with battery swapping stations. Sustain. Cities Soc. 2020, 57, 102113. [Google Scholar] [CrossRef]
  16. Tu, W.; Mai, K.; Zhang, Y. Real-time route recommendations for e-taxis leveraging GPS trajectories. IEEE Trans. Ind. Inf. 2020, 17, 3133–3142. [Google Scholar] [CrossRef]
  17. Lee, S.; Choi, D.H. Dynamic pricing and energy management for profit maximization in multiple smart electric vehicle charging stations: A privacy-preserving deep reinforcement learning approach. Appl. Energy 2021, 304, 117738. [Google Scholar] [CrossRef]
  18. Aljafari, B.; Jeyaraj, P.R.; Kathiresan, A.C.; Thanikanti, S.B. Electric vehicle optimum charging-discharging scheduling with dynamic pricing employing multi-agent deep neural network. Comput. Electr. Eng. 2023, 105, 108555. [Google Scholar] [CrossRef]
  19. Wang, K.; Wang, H.; Yang, Z.; Feng, J.; Li, Y.; Yang, J.; Chen, Z. A transfer learning method for electric vehicles charging strategy based on deep reinforcement learning. Appl. Energy 2023, 343, 121186. [Google Scholar] [CrossRef]
  20. Ma, Y.; Zhang, Z.; Ihler, A. Multi-lane short-term traffic forecasting with convolutional LSTM network. IEEE Access 2020, 8, 34629–34643. [Google Scholar] [CrossRef]
  21. Ren, L.; Yuan, M.M.; Jiao, X.H. Electric vehicle charging and discharging scheduling strategy based on dynamic electricity price. Eng. Appl. Artif. Intell. 2023, 123, 106320. [Google Scholar] [CrossRef]
  22. Zhang, D.; Sun, L.; Li, B.; Chen, C.; Pan, G.; Li, S.; Wu, Z. Understanding taxi service strategies from taxi GPS traces. IEEE Trans. Intell. Transp. Syst. 2014, 16, 123–135. [Google Scholar] [CrossRef]
  23. Qin, G.; Li, T.; Yu, B.; Wang, Y.; Huang, Z.; Sun, J. Mining factors affecting taxi drivers’ incomes using GPS trajectories. Transp. Res. Part C Emerg. Technol. 2017, 79, 103–118. [Google Scholar] [CrossRef]
  24. Xing, Q.; Chen, Z.; Zhang, Z.; Huang, X.; Leng, Z.; Sun, K.; Chen, Y.; Wang, H. Charging demand forecasting model for electric vehicles based on online ride-hailing trip data. IEEE Access 2019, 7, 137390–137409. [Google Scholar] [CrossRef]
  25. Fayazi, S.A.; Vahidi, A. Crowdsourcing phase and timing of pre-timed traffic signals in the presence of queues: Algorithms and back-end system architecture. IEEE Trans. Intell. Transp. Syst. 2016, 17, 870–881. [Google Scholar] [CrossRef]
  26. Guo, Q.; Xin, S.; Sun, H.; Li, Z.; Zhang, B. Rapid-charging navigation of electric vehicles based on real-time power systems and traffic data. IEEE Trans. Smart Grid 2014, 5, 1969–1979. [Google Scholar] [CrossRef]
  27. Liao, E.; Liu, C. A hierarchical algorithm based on density peaks clustering and ant colony optimization for traveling salesman problem. IEEE Access 2018, 6, 38921–38933. [Google Scholar] [CrossRef]
  28. Tian, Y.; Zhang, K.; Li, J.; Lin, X.; Yang, B. LSTM-based traffic flow prediction with missing data. Neurocomputing 2018, 318, 297–305. [Google Scholar] [CrossRef]
  29. Hou, Q.; Leng, J.; Ma, G.; Liu, W.; Cheng, Y. An adaptive hybrid model for short-term urban traffic flow prediction. Phys. A Stat. Mech. Appl. 2019, 527, 121065. [Google Scholar] [CrossRef]
  30. Wang, D.; Wang, C.; Xiao, J.; Li, Y.; Zhang, H. Bayesian optimization of support vector machine for regression prediction of short-term traffic flow. Intell. Data Anal. 2019, 23, 481–497. [Google Scholar] [CrossRef]
  31. Kim, J.; Lee, C. Deep unsupervised learning of turbulence for inflow generation at various reynolds numbers. J. Comput. Phys. 2020, 406, 109216. [Google Scholar] [CrossRef]
  32. Morlock, F.; Rolle, B.; Bauer, M.; Sawodny, O. Time optimal routing of electric vehicles under consideration of available charging infrastructure and a detailed consumption model. IEEE Trans. Intell. Transp. Syst. 2020, 21, 5123–5135. [Google Scholar] [CrossRef]
Figure 1. Realization framework of decision-making method for EVT.
Figure 1. Realization framework of decision-making method for EVT.
Sustainability 17 05116 g001
Figure 2. Division of driving time of EVT.
Figure 2. Division of driving time of EVT.
Sustainability 17 05116 g002
Figure 3. Comparison of differences between charging and swapping modes.
Figure 3. Comparison of differences between charging and swapping modes.
Sustainability 17 05116 g003
Figure 4. Process of traffic flow prediction.
Figure 4. Process of traffic flow prediction.
Sustainability 17 05116 g004
Figure 5. Structure of LSTM-GAN.
Figure 5. Structure of LSTM-GAN.
Sustainability 17 05116 g005
Figure 6. Distribution of taxi orders in city’s traffic network: (a) origin location distribution; (b) destination location distribution.
Figure 6. Distribution of taxi orders in city’s traffic network: (a) origin location distribution; (b) destination location distribution.
Sustainability 17 05116 g006
Figure 7. Real-time charging price profile of CSSTs.
Figure 7. Real-time charging price profile of CSSTs.
Sustainability 17 05116 g007
Figure 8. Path planning of EVT under different scenarios.
Figure 8. Path planning of EVT under different scenarios.
Sustainability 17 05116 g008
Figure 9. Maximum profit of EVT under different initial SOCs.
Figure 9. Maximum profit of EVT under different initial SOCs.
Sustainability 17 05116 g009
Figure 10. Maximum profit of EVT under different decision-making time instants.
Figure 10. Maximum profit of EVT under different decision-making time instants.
Sustainability 17 05116 g010
Figure 11. Maximum profit of EVT at different initial locations among three areas and under different initial SOCs for decision making.
Figure 11. Maximum profit of EVT at different initial locations among three areas and under different initial SOCs for decision making.
Sustainability 17 05116 g011
Table 1. Parameters of CSSTs.
Table 1. Parameters of CSSTs.
Location of CSSTs172165
Number of chargers (p.u.)252525
Rated charging power (kW)606060
Charging efficiency (p.u.)92%92%92%
Table 2. Parameters of EVT.
Table 2. Parameters of EVT.
Battery capacity (kWh)30
Maximum driving distance (km)200
Average headway of queueing vehicles (m/Veh.)6
Table 3. Parameters of roads.
Table 3. Parameters of roads.
Limited speed on road (km/h)60
Maximum vehicle flow (Veh./h)1800
Green time ratio (p.u.)0.4
Green and red cycle lengths (s)50
Probability of vehicles arriving at intersection during green light (p.u.)0.5
Table 4. Results of different prediction methods.
Table 4. Results of different prediction methods.
MethodMAEMRE (%)RMSE
LSTM-GAN1.488.381.79
LSTM2.2710.072.39
ARIMA2.6811.793.09
SVR4.1013.684.42
RNN-GAN3.7812.974.11
Table 5. Results under different EAMs.
Table 5. Results under different EAMs.
EAMAcquisition Mode AdoptedProfit (CNY)Operation Income (CNY)Income from Saved Time (CNY)Cost (CNY)
Charging onlyCharging215.82290.350.0074.53
Charging/
swapping
Swapping230.79296.7420.0886.03
Table 6. Cost comparison of different prediction methods.
Table 6. Cost comparison of different prediction methods.
MethodCost of Charging Only (CNY)Cost of Charging/
Swapping (CNY)
LSTM-GAN74.5386.03
LSTM75.6987.37
ARIMA76.8788.74
SVR78.1790.24
RNN-GAN77.6989.67
Table 7. Results of EVT under three scenarios.
Table 7. Results of EVT under three scenarios.
ScenarioProfit (CNY)Driving Time (h)Driving Distance (km)
1230.790.329.78
2158.050.349.18
3154.310.289.60
Table 8. Results under different initial SOCs.
Table 8. Results under different initial SOCs.
Initial SOC (p.u.)Maximum Profit (CNY)Profit Under Charging Only (CNY)Profit Under Swapping Only (CNY)Optimal EAM
0.1236.75201.82236.75Swapping
0.2238.10213.95238.10Swapping
0.3230.79215.82230.79Swapping
0.4223.48217.39223.48Swapping
0.5218.93218.93216.17Charging
0.6220.45220.45208.86Charging
0.7221.97221.97201.55Charging
Table 9. Results under different decision-making time instants.
Table 9. Results under different decision-making time instants.
TimeMaximum Profit (CNY)Driving path
7:00230.7943 → 44 → 38 → 37 → 36 → 35 → 26 → 17
8:00158.4243 → 37 → 36 → 35 → 26 → 27→ 18 → 17
9:00145.7443 → 44 → 38 → 39 → 30 → 21
10:00156.2243 → 44 → 38 → 39 → 30 → 21
11:00179.0743 → 44 → 38 → 29 → 20 → 21
12:00188.9643 → 44 → 38 → 37 → 28 → 29 → 20 → 21
13:00210.8843 → 44 → 38 → 29 → 30 → 21
14:00237.7243 → 44 → 38 → 29 → 30 → 21
15:00235.2443 → 44 → 38 → 39 → 30 → 21
16:00197.6943 → 44 → 38 → 39 → 30 → 21
17:00196.4943 → 44 → 50 → 55 → 58 → 64 → 65
Table 10. Results with different initial locations for decision making.
Table 10. Results with different initial locations for decision making.
Initial LocationMaximum Profit (CNY)Driving Path
36243.0836 → 35 → 26 → 17
38233.3438 → 37 → 28 → 27 → 18 → 17
43230.7943 → 44 → 38 → 37 → 36 → 35 → 26 → 17
47233.9947 → 41 → 35 → 26 → 27 → 18 → 17
50220.8950 → 49 →48→ 47 → 41 → 35 → 26 → 27 → 18 → 17
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Cui, L.; Wang, Y.; Qu, H.; Li, Y.; Wang, M.; Wang, Q. Decision Making for Energy Acquisition of Electric Vehicle Taxi with Profit Maximization. Sustainability 2025, 17, 5116. https://doi.org/10.3390/su17115116

AMA Style

Cui L, Wang Y, Qu H, Li Y, Wang M, Wang Q. Decision Making for Energy Acquisition of Electric Vehicle Taxi with Profit Maximization. Sustainability. 2025; 17(11):5116. https://doi.org/10.3390/su17115116

Chicago/Turabian Style

Cui, Li, Yanping Wang, Hongquan Qu, Yiqiang Li, Mingshen Wang, and Qingyuan Wang. 2025. "Decision Making for Energy Acquisition of Electric Vehicle Taxi with Profit Maximization" Sustainability 17, no. 11: 5116. https://doi.org/10.3390/su17115116

APA Style

Cui, L., Wang, Y., Qu, H., Li, Y., Wang, M., & Wang, Q. (2025). Decision Making for Energy Acquisition of Electric Vehicle Taxi with Profit Maximization. Sustainability, 17(11), 5116. https://doi.org/10.3390/su17115116

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