1. Introduction
Vehicle electrification is one of the main trends in the automotive industry, and it brings many advantages, such as its use of sustainable energy, ensuring clean resources and environmental friendliness. With the growing popularity of electric vehicles, the number of the charging facilities is continuing to increase, and their functionality is also improving. For example, sales of new energy vehicles in China exceeded 11 million in 2024, up by 38.1% year on year, accounting for 40.9% of total vehicle sales. By 2024, the total number of charging facilities for electric vehicles in China had reached 12.818 million, of which 3.579 million were public charging facilities, and 9.239 million were private charging facilities [
1]. These charging facilities are mainly located in the urban road network and are already able to meet the daily urban travel needs of electric vehicles.
However, due to the distance between charging stations in the intercity highway network and the range limit of electric vehicles, electric vehicle users still have serious range anxiety toward long-distance driving. This is especially the case in low-temperature environments of −20 °C, wherein the driving range of electric vehicles is reduced by about 30%. Electric vehicle charging power selection is also a problem that users need to consider; if high-power fast charging is used, this will accelerate the aging of the battery, while if low-power slow charging is used, this extends the waiting time. Due to factors such as insufficient charging facilities, long charging times, battery aging, and energy consumption changes in a variable-temperature environment, rationally arranging route planning and charging for long-haul driving is the key to extending driving range, relieving mileage anxiety, and shortening travel times.
At present, there are many research studies on route planning and charging problems related to electric vehicles, and many of these studies have focused on long-haul driving. The authors of [
2] developed a path and charging strategy planning model, aiming to achieve the shortest vehicle travel time and taking the state and safe power of charging equipment in the actual road network as constraints. They adopted a genetic algorithm to solve the model. The authors of [
3] designed a multi-objective two-layer quadratic optimization model which took into account the interaction between the traffic network and the power network. The authors of [
4] proposed an asynchronous decentralized load-restoration method for a resilient electricity transportation network considering the co-response of buildings and electric buses. The model’s aim was to maximize the power supply time of loads and to minimize the driving distances of e-buses. The authors of [
5] established an adaptive charging and routing strategy that considered travel time, waiting time, and charging time and developed a multi-standard shortest-path search algorithm using a shrinking hierarchy. Considering real-time traffic information and energy consumption information related to road conditions, the authors of [
6] formulated a three-step heuristic algorithm based on pre-processing of the traffic network, charging path planning, and sub-path planning. The authors of [
7] described a new cost-effective EV charging–navigation problem and transformed it into a two-stage stochastic optimization problem to investigate EV charging behavior and its interaction with route selection. The authors of [
8] designed an improved differential evolution (IDE) algorithm to solve a variant of the EV path-planning problem involving a time window and a partial charge strategy for nonlinear charging, developing an efficient method to guide EV advance charging. The authors of [
9] used a hybrid selection model based on nested logit (NL) to study the influence of personal attitude (i.e., planning ability, risk avoidance, and confidence in battery) on the driver’s charging frequency decision-making behavior. The results showed that the initial charging state and attitude had a significant impact on charging frequency decision-making. The authors of [
10] used fitness ant colony optimization algorithms to further adjust the available routes based on the vehicle’s braking and battery power to determine the most efficient route and extend the driving range. However, these research considerations are not comprehensive, and the model constraints are often relatively simple, without comprehensive consideration of factors such as the location of the charging station, charging power, battery aging, time-of-use (TOU) price, temperature, and state of charge (SOC).
EV charging problems are usually studied with the objective of minimizing travel time or cost, taking into account factors such as charging station location, charging power, the use of partial or full charging, and the TOU price. The profit distribution and collaborative optimization of multi-agent systems are also of great significance in the field [
11]. The authors of [
12] established a multilevel optimization model to provide EV drivers with charging strategies for long-distance driving, aiming to minimize travel time and charging cost simultaneously. They determined the optimal charging power for each charging station on the available routes and designed a dynamic planning method to solve the model. The authors of [
13] developed a new finite-horizon Markov decision process (FH-MDP) problem to minimize the driving time of an electric vehicle while preventing battery depletion by optimally selecting the charging stations and the number of charges. The authors of [
14] modeled the optimal charging and optimal routing problem for EVs as an optimization problem, with the charging variables considered in the optimization model including peak charging demand, daytime usage time tariffs, partial charging, waiting time, and public charging station characteristics. The authors of [
15] modeled the charging scheduling problem as a dynamic programming scenario with state-dependent constraints and solved it using fitted-value iterations. They then proposed a multi-stage decoupling algorithm to reduce the dimensionality in the fitted-value iterations in order to reduce the computational complexity. The authors of [
16] studied the charging scheduling problem with the objective of minimizing the total charging cost of all electric buses, taking into account two important factors: peak and valley prices and time-varying charging power. Current research studies do not consider battery aging and battery depletion, which are hidden costs that are not readily apparent and difficult to quantify in the short term but account for a significant portion of costs in the long term.
The charging process usually consists of two charging stages, the constant current (CC) and constant voltage (CV) stages, leading to nonlinear charging curves. However, nonlinear curves are difficult to integrate into the optimization problem, so existing studies tend to linearize the nonlinear charging curves. For example, the authors of [
17] modeled the battery degradation cost by introducing a wear-out cost function and linearized the nonlinear charging curve using a segmented affine function, which further simplified the model to mixed-integer linear programming and reduced the computational effort. The authors of [
18] established two linearization methods to replace the nonlinear part and optimize the selection of fast charging and normal charging modes to maximize the operational revenue and minimize the power cost and battery degradation cost. The authors of [
19] investigated the effect of charge state-dependent characteristics and established a nonlinear discharge function, and the experimental results showed that ignoring the effect of charge state may lead to infeasible or inferior solutions. Linearizing the nonlinear charging curve reduces the computational difficulty of the model, but the accuracy is also reduced, so we use an electrochemical model to calculate the battery voltage and SOC, preserving the nonlinearity of the charging and discharging curves and improving model accuracy.
An electrochemical model is a type of lithium-ion battery model, meaning it can more accurately simulate the characteristics of lithium-ion batteries during charging and discharging compared to an equivalent circuit model, in which the parameters during simulation are the same as the actual parameters of lithium-ion batteries. The authors of [
20] developed a reduced-order SPMe model that combines electrolyte kinetics and side reactions. The model is a simplification of the DFN model and can accurately capture the key features of the DFN model while significantly reducing the computational complexity. The authors of [
21] developed a comprehensive Bayesian parameter identification framework to determine parameter distributions in electrochemical models and estimate the global sensitivity of lithium-ion battery parameters. The authors of [
22] designed an efficient identification scheme for electrochemical model parameters based on an agent model. The authors of [
23] constructed a new battery model to accurately predict dynamic cyclic content decay by combining enhanced SPM with first-principles chemical/mechanical degradation physics. The authors of [
24] proposed an extended single-particle model (ESP) with higher accuracy, and based on this, a novel closed-loop estimation algorithm for the state of charge based on the combination of the ESP model and the amperage-hour integral was proposed. In this paper, the SPMe model of electrochemical modeling is described.
Most studies have shown that the temperature inside the battery pack of electric vehicles is usually maintained between 15 °C and 60 °C. In cold outside environments, electric vehicles use positive temperature coefficient (PTC) to heat the battery pack and compartment, so PTC is the main factor for the elevated energy consumption of electric vehicles at low temperatures. The authors of [
25] analyzed the effect of temperature on powertrain efficiency and auxiliary power and predicted the energy consumption of electric buses at driving level, solving the model using a Markov-based Gaussian Processing Regression (M-GPR) model. The authors of [
26] predicted the energy consumption of each road segment of the road network, considering auxiliary consumption, and calculated energy-efficient routes. The authors of [
27] proposed a comprehensive model for the auxiliary system of electric buses, including heating, ventilation, air conditioning, and other electrical components, and the results showed that the model can predict energy consumption accurately. The authors of [
28] analyzed the mechanism of the influence of driving speed and ambient temperature on the power consumption of electric vehicles, elucidating the relationship between these factors and the power consumption per unit mile of electric vehicles. There are many energy consumption models described in the current literature that take into account the effect of temperature, but there is still a lack of research on the driving energy consumption of electric vehicles under changing ambient temperature conditions during long-distance driving across geographical areas.
This study aims to provide a comprehensive modeling framework for route planning and electric vehicle charging during long-haul driving in variable-temperature environments. The goal is to minimize the total system cost, including the charging cost (considering charging time and charging power) and the battery depletion cost (number of charge/discharge cycles). In addition to factors such as TOU price, energy consumption variations in variable-temperature environments are considered, and an electrochemical model is used to track the battery voltage and SOC to improve model accuracy. The problem is a mixed-integer nonlinear programming problem with partial differential functions, and a two-layer IACO-SA is proposed to solve the problem, with an improved artificial ant colony algorithm (IACO) in the outer layer to solve the path planning and charging station selection and a simulated annealing algorithm (SA) in the inner layer to solve the charging strategy.
The main contributions of this paper are as follows:
- (1)
A new method is proposed to solve the long-haul driving route planning and charging co-optimization problem of electric vehicles under variable ambient temperature. This method comprehensively considers range limitations under battery voltage and SOC, the change in energy consumption under variable-temperature environmental conditions, variable charging power, TOU price, and battery aging.
- (2)
A new electrochemical model is adopted to track the battery voltage and SOC, and it accurately captures the nonlinear process of voltage and SOC changes and improves model accuracy.
- (3)
The effect of PTC on energy consumption in low-temperature environments is analyzed. The model for predicting the energy consumption of EVs at different temperatures is improved and applied to calculate energy consumption amidst temperature changes in cross-territory, long-haul EV driving scenarios.
The rest of this paper is organized as follows: In
Section 2, the problem is described by transforming the network structure from a road network with charging facilities to a charging scheme super-network, and a mathematical formulation of the problem, in conjunction with an electrochemical model, is described. In
Section 3, a two-layer IACO-SA is proposed based on the adjacency–contradiction strategy to solve the model. In
Section 4, the performance of the proposed model is examined and a solving algorithm is applied to a highway network related to five provinces in China. Finally,
Section 5 provides concluding remarks.
2. Modeling Framework
2.1. Model Description and Preliminaries
We set out to construct a system for long-haul BEV driving that considers the coupling of BEVs and variable-temperature road networks under economic constraints. The aim of our research is to select the optimal economic scheme under the given temperature conditions of the road network, considering changes in energy consumption and BEV range limitations, necessitating frequent charging. Thus, a joint route optimization, charging infrastructure scheduling, and charging power mode selection problem for long-haul BEV driving is proposed. Hereinafter, this problem is referred to as the long-haul joint scheduling problem. The system is divided into a road network part and a vehicle part to facilitate the description of the system. For the road network part, the topology of the road network is considered—including the basic road network and charging infrastructure; the basic information of the road segment, including the historical average speed, average road slope, and road length; the charging power at the charging infrastructure; and the road segment temperature. Changes in temperature have a great impact on the driving range of electric vehicles, with low-temperature conditions having especially strong effects. Regarding the vehicle part, it considers the state of charge (SOC) and BEV voltage for tracking purposes, as well as BEV energy consumption, including motor energy consumption and auxiliary equipment energy consumption. A schematic drawing of the long-haul BEV driving system, which considers the coupling of BEV and variable-temperature road networks, is shown in
Figure 1.
Road network and ambient temperature variations are a fundamental and necessary part of BEV route optimization and charging infrastructure scheduling. For the road network part, a network of long travel roads with temperature and charging infrastructure, unit segments, and the road information of unit segments are described. Define a road network with ambient temperature and charging infrastructure for long travel , where denotes the set of vertexes, denotes the road segment connecting different vertexes, denotes the charging infrastructure of road segment , and denotes the set of average temperatures of road segment . The vertex set includes the departure vertex , where the BEV begins its long-haul drive, and terminal vertex is where the BEV finishes its long-haul drive; the set of intermediate vertexes is represented by , with each intermediate vertex being . The road segment set includes all feasible road segments, where the vertexes are on both sides of the road segment . Let denote charging infrastructure on road segment , and . Let denote the charging infrastructure of road segment , and . Let denote the average ambient temperature of road segment , and . Define the set of unit segment ; a unit segment is a more detailed division of a road segment. The two nodes of each unit segment can be road vertex or charging infrastructure, and their four cases are expressed as , , , and , respectively. The road information under the unit segment includes the length of unit segment , the average slope of unit segment , the average ambient temperature , and the historical average speed of unit segment . Let represent the set of average slope, average ambient temperature, and the historical average speed of the unit segment. For example, .
For the vehicle part, the state of charge (SOC) and electric vehicle voltage tracking, as well as the establishment of an energy consumption model under variable ambient temperature conditions, are the keys of the long-haul BEV system. They establish the criteria for route optimization and reasonable scheduling considering charging infrastructure. It can determine the maximum charging amount under different charging powers depending on the charging infrastructure. In order to be able to accurately capture the BEV battery state in the road network, an electrochemical model is adopted to track the BEV charging process and driving process considering the charging infrastructure and road segment. The electrochemical model can exactly describe the internal dynamics of the BEV power battery in the charging process and map the external characteristics of the BEV battery in the charging process. Let current
denote the input of the electrochemical model. Let
represent the electrochemical model, which can calculate the voltage
and the SOC
when the battery is in the charging process and driving process, serving as the outputs of the electrochemical model. The structure and formulas of this specific electrochemical model are shown in
Appendix A. The PTC heating energy consumption is an important factor affecting the driving range of BEVs. The dynamic model of motor energy consumption and the empirical model of PTC heating energy consumption are considered for the variable ambient temperature energy consumption. Let road information under the unit segment serve as the input for motor energy consumption and PTC heating energy consumption. Let
represent the energy consumption model, which can calculate the voltage
and SOC
when the battery is in the driving process, serving as the outputs of energy consumption model. The formulas and structure of the motor energy consumption and PTC heating energy consumption model are shown in
Appendix B. The output of the energy consumption model is the input of the electrochemical model, which can ensure battery status tracking in the road network with variable ambient temperature.
2.2. Definition of the Pre-Processing of the Road Network Part: The Construction of the Multilateral Network Charging Scheme and the Super-Network Charging Scheme
In order to reduce the complexity of the joint scheduling optimization model, the long-haul road network with charging infrastructure is transformed into a charging scheme multilateral network to deal with route optimization and charging infrastructure scheduling simultaneously. Then, based on the undirected network and/or graph, the charging scheme multilateral network is transformed into a charging scheme super-network, which is convenient for the construction and solution of the joint scheduling model. The charging scheme multilateral network adds the selected charging infrastructure scheme to the long-haul road network.
The kth charging infrastructure that belongs to road segment corresponds to a binary 0/1 variable , representing that the charging infrastructure on the road segment is selected to satisfy the BEV charging requirement. The amount of charging infrastructure on a road segment is not unique. The amount of charging infrastructure on the road segment is . Thus, the charging schemes are diverse in the different road segments, indexed by . Let vector represent the charging scheme selected to satisfy the charging requirement on road segment , which can be denoted as .
Figure 2a shows an example including a reduced road network with four vertexes, four road segments, and four aspects of charging infrastructure. In the road segment
, there are two aspects of charging infrastructure,
and
, which can be divided into four kinds of charging schemes. These charging schemes include
,
,
, and
, which, respectively, can be interpreted as no charging infrastructure, only charging infrastructure
, only charging infrastructure
, and both charging infrastructure
and
, selected to satisfy the charging requirement on the edge
.
According to the relationship of long-haul road networks with charging infrastructure and charging schemes, a multilateral network
is considered based on
to describe the relationship of the road network and charging schemes.
represents the charging schemes set on the road segment set
. The vertex set
and road segment set
have already been defined in this paper (see
Section 2.1). Let set
represent the subset of the charging scheme set on the edge
.
Figure 2b is the result of the road network
in
Figure 2a changing to multilateral network
. There are 9 kinds of charging schemes of road segments in the multilateral network
, including the charging situation and straight-through situation on all roads.
The charging scheme multilateral network can clearly show the relationship between the road network with charging infrastructure and each road segment charging scheme, but expressing the road segment charging scheme under the same road segment and the road segment charging scheme under different road segments is more complicated. Thus, a theory, and/or graph, is adopted to transform the multilateral network
into a super-network of charging schemes to systematize the expression of the relationship of charging schemes under the same road segment and different road segments. There are three kinds of relationships between different road segment charging schemes: an adjacency relationship, a contradictory relationship, and no relationship. The adjacency relationship kind is defined as two road segment charging schemes on two different road segments which share the same vertex, and two road segment charging schemes can be selected sequentially. A contradictory relationship is found when two charging schemes are on the same road segment and two road segment charging schemes cannot be selected simultaneously. No relationship is noted if the two charging schemes are on two different road segments and there is no similar vertex between the two road segments. For example, in
Figure 2c, the charging schemes 1, 2, 3, and 4 on road segment
have a contradictory relationship. Charging scheme 1 on road segment
and charging scheme 7 on road segment
have an adjacency relationship. Charging scheme 1 on road segment
and charging scheme 9 on road segment
show no relationship. Let super-network
represent the different relationships of all the road segment charging schemes, where
denotes the set of adjacency relationships for charging scheme set
, and
denotes the set of contradictory relationships for charging scheme set
. For the sake of brevity, these are called the adjacency relationship set and contradiction relationship set, respectively. Let
represent the element of adjacency relationship set
, which denotes the relationship between the charging scheme
on road segment
and the charging scheme
on road segment
. Element
can be expressed as
Let
represent the element of contradictory relationship set
, which denotes the relationship between the charging scheme
on the road segment
and the charging scheme
on the road segment
. Element
can be expressed as
Let matrix
represent the incidence matrix, which can be obtained through the incidence relationship between vertex set
and charging scheme set
and sized by (
). Let
represent the element of the incidence matrix. The element
can be expressed as
The adjacency relationship and contradictory relationship of the hypergraph
can be calculated by matrix
as follows:
where
represents the adjacency–contradictory matrix, including the adjacency relationship and contradictory relationship in the road segment charging scheme set
, and the size is
.
represents the transpose of the incidence matrix.
is the identity matrix, and the size is
.
2.3. Model Formulation
In this subsection, a joint schedule optimization model for long-haul EV driving is developed. A flowchart of the joint scheduling model’s structure is shown in
Figure 3.
In the road network part, route continuity should be ensured during long BEV travel, and charging infrastructure should be considered upon driving route planning. Thus, this part’s constraints are described by the super-network of charging scheme
and the long-haul road network with charging infrastructure
. A binary variable
is introduced to indicate whether the long-haul BEV system adopts charging scheme
of road segment
.
enables the tracking of each selected road segment in
and the corresponding charging scheme. The long-haul driving routing and charging scheme selection constraints are shown below:
Constraints (5)–(7) ensure that the connectivity of the road segment of the BEV long-haul driving route and each road segment have the corresponding charging scheme. Constraint (8) ensures that there is only one charging scheme that can be selected on the road segment. Constraint (9) states that variables are binary variables.
Besides satisfying the above route and charging scheme constraints, the joint schedule optimization model needs to also consider the battery voltage and SOC limitations of the BEV in the charging process. To avoid the negative effects over-discharging and over-charging have on battery life, two parameters, and , are introduced to set the maximum SOC and minimum SOC for BEV batteries in the charging process, respectively. Due to the relaxation effect, the voltage can be lower than the minimum cut-off voltage or more than the maximum cut-off voltage for a short time, which also affects battery life; two parameters, and , are introduced to set the maximum battery voltage and minimum battery voltage in the charging process, respectively. The voltage shows nonlinear change during the charging process.
The presence of different charging power values leads to changes in the maximum charging amount of the BEV, with there also being relaxation effects for lithium-ion batteries. The higher the charging power, the lower the maximum BEV charging amount. We assume that every element of charging infrastructure has the same number of charging power modes. Let variable represent the current of the charging power mode selected for the charging infrastructure on road segment . The set of charging power is .
Let
denote the BEV’s time of arrival at the charging infrastructure
on road segment
. Let
represent the BEV charging duration for the charging infrastructure
on road segment
. The BEV charging time with the charging infrastructure
on road segment
can be described by
. The charging duration is affected by the charging power mode and selected charging infrastructure
. If charging infrastructure
is not selected (
), the charging duration
of charging infrastructure
is 0. The BEV’s SOC increment at a single charging infrastructure
on the road segment
can be expressed as
The voltage increment of BEV at a single charging infrastructure
on the road segment
can be expressed as
The changes in voltage and SOC monotonically increase in the charging process, which means that if the voltage and SOC of the BEV battery are reasonable at the time of charging completion, the voltage and SOC of the BEV battery of BEV will remain reasonable at each internal time of the charging process. Let variable
and
represent the battery SOC when the BEV arrives at/leaves the charging infrastructure
on road segment
. Let variable
and
represent voltage when the BEV arrives at/leaves the charging infrastructure
on road segment
. The voltage and SOC constraints of the BEV at the charging infrastructure location are as follows:
Constraints (12) and (13) guarantee that when the BEV arrives at charging infrastructure on road segment , the corresponding battery voltage and SOC are not lower than the minimum voltage limit and minimum SOC limit, respectively. Constraints (14) and (15) ensure that after the BEV finishes charging at charging infrastructure on road segment , the corresponding voltage and SOC are not higher than the maximum voltage limit and maximum SOC limit, respectively. Constraints (16) and (17) require that after the BEV has finished charging at charging infrastructure on road segment , the corresponding voltage and SOC cannot be lower than the voltage and SOC for when the BEV arrives at the charging infrastructure site on road segment . Constraints (18)-(19) ensure the relationship regarding the cumulative voltage increase and cumulative SOC increase in the charging process. Constraint (20) states the range of variable .
In the driving process, the joint schedule optimization model also considers the BEV’s battery voltage and SOC limitations, also considering a relaxation effect to avoid the negative effects of over-discharging and over-charging. It assumes that the speed of each unit segment is constant, which means that the BEV runs at a uniform speed on each unit segment. The BEV is fully charged when it leaves the departure vertex. Let variable and denote the minimum and maximum voltage of the BEV’s battery in the driving process. Let variable and denote the minimum and maximum SOC of the BEV’s battery in the driving process. Let variable denote the maximal output power of the BEV’s battery.
To simplify the expression,
is used to represent unit segments
,
,
, and
. And
and
are adjacent charging infrastructure on road segment
. Let
represent the time at which the BEV departed charging infrastructure
on unit segment
in the driving process. Let
represent the time at which the BEV arrived at charging infrastructure
on unit segment
in the driving process.
can be expressed as
. The BEV’s SOC variation during the driving process on a single unit segment,
, can be expressed as
The BEV’s voltage variation during the driving process on a single unit segment,
, can be expressed as
Let variable denote the battery voltage of the BEV when it arrives at the unit segment on road segment . Let variable denote the BEV battery’s SOC for when the BEV arrives at unit segment on road segment . Let variable denote the BEV battery’s voltage for when the BEV leaves unit segment on road segment .
Let variable
denote the BEV battery’s SOC for when the BEV leaves unit segment
on road segment
. Let parameter
represent the maximum BEV driving power. The BEV constraints’ voltage and SOC regarding the unit segment constraints are as follows:
Constraints (23) and (24) ensure that the BEV has a fully charged battery before beginning long-haul travel from the departure vertex. Constraints (25)–(28) ensure that, when the BEV arrives at/leaves charging infrastructure location on unit segment of road segment , the corresponding voltage / and SOC / should be in the range of the voltage limit and SOC limit, respectively. Constraints (29)–(30) ensure the relationship of the cumulative voltage reduction and cumulative SOC reduction in the driving process. Constraints (31) and (32) require that, after the BEV leaves the charging point at charging infrastructure location on unit segment of road segment , the corresponding voltage and SOC cannot be higher than the voltage and SOC for when the BEV arrived at charging infrastructure location on unit segment of road segment . Constraint (33) guarantees the BEV power does not exceed a certain range.
The objective function of the proposed optimization model minimizes the total cost, which consists of two parts: battery loss cost and transportation cost. The transportation cost includes energy cost and labor cost, considering the time-of-use (TOU) electricity price.
Considering the TOU pricing strategy, let
and
represent the off-peak-hour and on-peak-hour electricity rate, respectively. Let
denote 24 h within a day;
. Let
and
represent the off-peak hour set and on-peak hour set, respectively. The BEV charging volume at a single charging infrastructure point can be expressed as
where
represents charging power. The energy cost in different electricity price time periods can be expressed as follows:
The energy cost
EC can be calculated as
Let
denote labor cost per hour. The labor cost
can be calculated as
The battery loss cost is calculated by the reduced battery life caused by the number of battery discharge cycles. Let
denote the average battery loss cost under discharge for one cycle. The battery loss cost
can be calculated as
With the above definitions and constraints, the below joint schedule optimization model for long-haul travel is formulated as a mathematical optimization model:
s.t. constraints (5)–(9), (12)–(20), and (23)–(33) are met.
3. Solution Algorithm
As formulated above, the joint schedule optimization model for long-haul travel is a mixed-integer nonlinear program with a partial differential function which is difficult to solve. In this section, an artificial ant colony algorithm-based approach is proposed to solve the joint schedule optimization model for long-haul travel. The solution procedure includes two modules: (1) an outer module that adopts the artificial ant colony algorithm and adjacency–contradiction strategy to determine the charging scheme of the road segment (i.e., the route and the charging infrastructure) and (2) an inner module that determines the charging power mode at the selected charging infrastructure location based on the charging scheme of the road segment from the outer problem. In the following subsections, detailed descriptions of the outer module and inner module are provided.
3.1. Inner Problem Module
With a given long-haul travel charging scheme, based on road segment scheduling (i.e., the solution of the outer problem), the inner problem aims to optimize the charging power mode at the charging infrastructure location so that the energy cost, labor cost, and battery loss cost can be minimized. Let
and denote the solutions of
in the outer problem module. The purpose of considering charging scheme decision-making (i.e.,
) in the outer problem is to improve the efficiency of the ant colony algorithm-based solution procedure. All the road segment charging schemes are binary variables. By putting them in the outer problem, the inner problem is guaranteed to be a mixed-integer nonlinear program that can easily be made optimal using a simulated annealing algorithm (SA). The optimal charging power mode at the corresponding charging infrastructure location can be obtained by the following sub-model, which is the charging power mode model (
):
The CPMM is constrained by (12)–(20). As formulated above, the is a trackable-integer nonlinear program. The optimal solution of the is used in the outer module to calculate the fitness value.
3.2. Outer Problem Module
The outer problem module adopts an improved ant colony algorithm with an adjacency–contradiction strategy to deal with long-haul travel route optimization travel and charging infrastructure scheduling in the joint schedule optimization model for long-haul travel. This improved ant colony algorithm (IACO) includes heuristic approaches that imitate nature’s natural selection process. The input data of the outer problem module includes a multilateral charging scheme network, a charging scheme super-network, and road information under the unit segment. In the driving process, the electrochemical model and energy consumption model are adopted in the outer problem module. In the following subsection, firstly, we will describe the process for generating a population which can ensure solution feasibility. Then, the fitness value (i.e., the energy cost, labor cost, and BEV battery loss cost) of the population is evaluated. Finally, the article’s proposed ant colony algorithm optimization stage is described, including pheromone update operations, the state transition operation, and the termination condition.
The population generation part encompasses solution vector expression and the process of generating feasible solutions. A single list is adopted to express the solution vector, which can fully describe the choice of road segment charging scheme. The process of generating feasible solutions needs to satisfy long-haul travel routing and charging scheme selection constraints in view of the road network and the BEV’s voltage and SOC constraints on the unit segment. The variable pertaining to road segment charging scheme decisions, }, has grouping features, which can be represented by binary encoding. The charging scheme solution can simultaneously represent the long travel route and the selected charging infrastructure .
An adjacent–contradiction strategy-based generation method is adopted to deal with long-haul driving routing and the charging scheme selection constraints. The solution generation process involves three auxiliary sets, including a selected set, an alternative set, and a tabu set. The selected set records all road segment charging schemes that have been selected. All road segment charging schemes that meet constraints (5)–(9) are put into the alternative set. The tabu set includes all the road segment charging schemes in the selected set and those that violate the requirements of constraints (5)–(9). The process of this specific adjacent–contradiction strategy-based generation method is shown in Algorithm 1.
Algorithm 1 Adjacent–contradiction strategy-based generation method |
Input: the incidence matrix F of charging scheme network G2 departure vertex o, and terminal vertex d Output: the select set |
Step 1: | Calculate the charging scheme adjacent–contradiction matrix of road segment by |
Step 2: | The adjacency–contradiction matrix H is divided into adjacency matrix Ha and contradiction matrix Hc, according to Section 2.2 |
Step 3: | Update the alternative set, according to the incidence matrix F and departure vertex o |
Step 4: | Randomly select road segment charging scheme in the alternative set, according to the pheromone matrix and state transition strategy and put it to the selected set |
Step 5: | Update the alternative set, according adjacency matrix Ha and the selected set |
Step 6: | The charging scheme of road segment that conflicts with the tabu set in the alternative set is eliminated, and update the alternative set |
Step 7: | In the alternative set, screen out the charging schemes of road segment that violation of power constraint requirements (30) and update the alternative set |
Step 8: | Randomly select the charging scheme of road segment in the alternative set, according to the pheromone matrix and state transition strategy and put it to the selected set |
Step 9: | Put the charging scheme of road segment that in the alternative set into the tabu set and put the charging scheme of road segment that have the contradiction relationship into the tabu set |
Step 10: | Repeat steps 5–9 until the charging scheme of road segment is associated with the terminal vertex d |
Constraints (23)–(33), pertaining to the BEV’s voltage and SOC on the unit segment, are adopted to check the feasibility of the solution vector (road segment charging scheme selected). The selection of charging power mode can influence the feasibility of the solution vector, and this effect, for high charging power, leads to a lower maximum SOC. Thus, maximum charging power mode is adopted to check the feasibility of the solution vector, and this mode can ensure all charging power modes are feasible. If the solution vector violates constraints (23)–(33) on the unit segment, the solution vector is regenerated until they are satisfied.
Fitness evaluation is used to judge the quality of solution vectors. Let denote the optimal charging power mode for the solution, which can be obtained by the charging power mode model in the inner problem module. According to the charging scheme solution of road segments and and the optimal charging power mode solution , the fitness value can be evaluated. The fitness value can be obtained via the joint schedule optimization model for long-haul travel in the outer problem module. The fitness value calculation formula is .
In the process of optimization, there are two types of operations, namely the pheromone update operation type and the state transition operation type. An appropriate strategy can decrease the likelihood of falling into local optimality. The pheromone update operations have two parts, including pheromone volatilization and pheromone increase. Pheromone volatilization is a group operation, in which the pheromones in all locations are reduced by the same percentage to increase the difference between superior and inferior solutions. The pheromone increase occurred in every path the ants took. The paths that match the fitness values will experience larger pheromone increments. The formulation for the pheromone update operation is as follows:
where
represents the pheromone content in the
generation at position
,
represents the volatilization coefficient,
represents the maximum number of ants, and
represents the pheromone content for ant
at position
in the
generation. The state transition operation is critical, as it affects the probability of each alternate road segment charging scheme being selected. Thus, in this paper, the roulette selection strategy is adopted, and the correspondence formulation is as follows:
where
represents the probability from the road segment charging scheme
to road segment charging scheme
for ant
.
In this paper, the maximum iteration count is selected as the termination rule.