Digital-Twin-Driven AGV Scheduling and Routing in
Digital-Twin-Driven AGV Scheduling and Routing in
Article
Digital-Twin-Driven AGV Scheduling and Routing in
Automated Container Terminals
Ping Lou , Yutong Zhong, Jiwei Hu , Chuannian Fan and Xiao Chen *
Abstract: Automated guided vehicle (AGV) scheduling and routing are critical factors affecting the
operation efficiency and transportation cost of the automated container terminal (ACT). Searching
for the optimal AGV scheduling and routing plan are effective and efficient ways to improve its
efficiency and reduce its cost. However, uncertainties in the physical environment of ACT can make
it challenging to determine the optimal scheduling and routing plan. This paper presents the digital-
twin-driven AGV scheduling and routing framework, aiming to deal with uncertainties in ACT. By
introducing the digital twin, uncertain factors can be detected and handled through the interaction
and fusion of physical and virtual spaces. The improved artificial fish swarm algorithm Dijkstra
(IAFSA-Dijkstra) is proposed for the optimal AGV scheduling and routing solution, which will be
verified in the virtual space and further fed back to the real world to guide actual AGV transport.
Then, a twin-data-driven conflict prediction method is proposed to predict potential conflicts by
constantly comparing the differences between physical and virtual ACT. Further, a conflict resolution
method based on the Yen algorithm is explored to resolve predicted conflicts and drive the evolution
of the scheme. Case study examples show that the proposed method can effectively improve efficiency
and reduce the cost of AGV scheduling and routing in ACT.
Keywords: digital-twin-driven; AGV scheduling and routing; conflict prediction; conflict resolution;
IAFSA-Dijkstra
and improve the reliability of transportation [2]. Therefore, AGV scheduling and routing
are considered comprehensively in this work.
Research on AGV scheduling and routing in an ACT starts with static problems,
exploring optimal or near-optimal solutions under deterministic ACT environments. There
are many studies about AGV static problems. Luo and Wu [3] develop an integrated
modeling approach for AGV and YC static scheduling problems in ACTs that minimizes
the ship’s berth time; they design a genetic algorithm to solve the problem. Xu et al. [4]
propose a reinforcement learning-based hyper-heuristic genetic algorithm to solve the
integrated static scheduling problem of AGVs and other facilities in the U-shaped ACT;
their method can avoid AGV conflicts. Lu et al. [5] propose an ant colony system-improved
grey wolf optimization to solve the fourth-party logistics routing problem. Yan et al. [6]
present a hybrid metaheuristic algorithm of discrete particle swarm optimization and Harris
Hawks optimization to solve the location problem and vehicle routing problem. Lu et al. [7]
design a bi-level whale optimization algorithm to solve a bi-level multi-objective schedule
risk management model. However, a real-world ACT environment is full of uncertain
events, such as AGV failure, ship arrival time delay, and weather change; thus, the static
problem is impractical. In static problems, the mathematical model establishment usually
relies on predefined constraints (e.g., constant AGV speed). However, the occurrence
of uncertain events can destroy these constraints, which causes the scheme to become
unfeasible and even induce AGV conflicts.
In order to respond to uncertain events, dynamic problems are developed. Further-
more, an increasing number of researchers are beginning to study dynamic problems. For
example, in order to respond to the uncertainty caused by new job arrival, Cai et al. [8]
propose a rescheduling new arrival jobs (RNJ) policy and rescheduling combination of
new and unexecuted jobs (RCJ) policy for container-transportation task allocation in the
ACTs. Jian et al. [9] develop a multi-objective scheduling model that uses a symmetric
triangular fuzzy number to describe the AGVs’ operation time distribution; they build an
improved genetic algorithm to solve the problem effectively. Yue and Fan [10] introduce a
dynamic scheduling process to respond to the QC waiting caused by AGVs’ delay in an
uncertain environment.
Uncertain events can trigger a series of chain reactions that can disrupt the entire ACT
operation, causing deterioration of ACT efficiency [11]. Therefore, a timely response to
dynamic events during the plan execution becomes a vital issue that needs to be addressed
urgently. The emergence of the digital twin (DT) provides a new idea to meet the above
challenges. DT is an integrated system that can simulate, monitor, calculate, regulate, and
control the system status and process [12], with the characteristics of real-time reflection,
interaction and convergence, and evolution and iteration.
This work proposes a digital-twin-driven AGV scheduling and routing framework that
copes with uncertainties in automated container terminals. This paper’s main contributions
are as follows:
(1) A digital-twin-driven AGV scheduling and routing framework is proposed. Based on
this framework, an initial scheduling and routing plan is generated first. The AGV
transport process is continuously monitored, and dynamic events are fed back into
the physical space, enabling timely responses to changes in the environment.
(2) The improved artificial fish swarm algorithm Dijkstra (IAFSA-Dijkstra) is proposed to
solve the bi-level mixed integer programming model and obtain an optimal solution.
The task combination encoding is presented to reduce the encoding length of the
IAFSA-Dijkstra, and the adaptive parameter adjustment operator is used to improve
the global optimization capability of the IAFSA-Dijkstra. The optimal plan is verified
and fed into the physical space to guide AGV transport.
(3) Twin-data-driven conflict prediction and resolution: A twin-data-driven AGV conflict
prediction method is explored to predict conflicts by comparing physical and virtual
data. A conflict resolution method based on the Yen algorithm is presented to resolve
these conflicts and drive timely revision and evolution of the initial plan.
Mathematics 2023, 11, 2678 3 of 25
The remainder of this paper is organized as follows. Section 2 reviews the relevant
literature. Section 3 describes the AGV scheduling and routing problem and establishes a
bi-level mixed integer programming model. The DT-based AGV scheduling and routing
framework is discussed in Section 4. Section 5 gives examples to verify the effectiveness of
the proposed method. Finally, Section 6 concludes the paper and points out future works.
2. Related Works
2.1. AGV Scheduling
There have been many studies on the AGV scheduling problem in recent years. A
brief review of previous works is provided on AGV scheduling.
Existing studies on AGV static scheduling in the ACT have provided very valuable
information. Rashidi and Tsang [13] propose a novel algorithm, NSA+, to solve the AGV
scheduling problem considering minimizing const flow in container terminals. Ma et al. [14]
used an improved mathematical model to describe the multi-load AGV scheduling problem
in the ACT; they built a shuffled frog leaping algorithm with a mutant process (SFLAMUT)
to solve the problem. Given the high potential synergy between automated quayside cranes
(AQCs) and AGVs, Zhao et al. [15] built a collaborative model for AQCs and AGVs; they
used a two-stage taboo search algorithm to solve the scheduling problem.
AGV static scheduling usually is infeasible and impractical due to uncertainties; thus,
AGV dynamic scheduling has become a growing concern. Angeloudis and Bell [16] propose
a novel algorithm structured around a cost/benefit concept to solve the AGV dis-patching
problem under an indeterministic ACT environment, mainly including uncertain task
durations for future events. Xin et al. [17] propose a rescheduling method to rearrange
AGVs, quay cranes (QCs), and automated stacking cranes (ASCs) in ACT, including two
types of methods: the time-efficient schedule and the energy-efficient schedule. Sahin
et al. [18] develop a multi-agent-based system to simultaneously schedule flexible machine
groups and AGVs under an uncertain manufacturing environment. Xu et al. [19] present
a response method with AGVs based on the mode of “request-scheduling-response” to
solve the logistics dynamic scheduling problem in an intelligent manufacturing workshop
(IMW), which aims to minimize the finish time with the minimum AGVs and limited time.
In order to deal with the AGV scheduling problem in complex material handling in smart
factories, Zhang et al. [20] develop a dynamic scheduling method for self-organized AGVs
(SAGV), aiming to minimize the delay and reduce the cost of logistics systems.
In order to respond to dynamic obstacles and incomplete maps, Bai et al. [27] combine an
improved Q-learning path optimization algorithm and an improved genetic algorithm; the
proposed method has favorable performance in narrow working environments and highly
congested situations. Onoufriou et al. [28] propose a new hybrid parallelism deep learning
framework, which can provide a solution and unification of deep learning techniques using
a common interface.
Some researchers have begun to study the AGV scheduling and routing problems
simultaneously. Zhong et al. [29] tried to minimize ships’ loading and unloading time via
integrated scheduling of AGVs and other facilities with the hybrid GA-PSO algorithm
with adaptive autotuning approaches by a fuzzy control solution. Fazlollahtabar et al. [30]
studied the simultaneous scheduling and routing problem for AGVs in flexible manu-
facturing systems, obtaining the optimal plan by a modified network simplex algorithm
(NSA). Miyamoto and Inoue [31] propose local/random search methods to deal with the
dispatching and routing problem for capacitated AGV systems (DCFRPC). Desaulniers
et al. [32] present an exact method for AGV dispatching and conflict-free routing in the flex-
ible manufacturing system, implicitly considering congestion and blocking problems. Xing
et al. [33] propose a novel tabu search algorithm to solve the conflicts that happen when
multiple AGVs work at the same time. Liang et al. [34] present a three-stage integrated
scheduling algorithm for AGV routing planning to deal with the locking problem of AGV.
3. Problem
3. Problem Description
Description and and Formulation
Formulation
3.1.
3.1. AGV
AGV Scheduling
Scheduling andand Routing
Routing Problem
Problem
The
The devices
devicesof ofthe
theACT
ACTin inAGV
AGVscheduling
schedulingand androuting
routinginvolve
involveAGVs,
AGVs, quay
quaycranes
cranes
(QCs),
(QCs),and
andyard
yardcranes
cranes(YCs)
(YCs)(see
(seeFigure
Figure1).
1).AGVs
AGVs are
are used
used for
for moving
moving containers
containersbetween
between
QC
QC and
andstorage
storageyards.
yards. QCs
QCs are
are to
todeliver
delivercontainers
containers ononAGVs
AGVs from
from aa ship
shipor
orcontainers
containers
from AGVs to a ship. The storage yard is an area for the temporary storage
from AGVs to a ship. The storage yard is an area for the temporary storage of containersof containers
for
fortransferring
transferringto to
destinations. YCsYCs
destinations. are used to deliver
are used containers
to deliver to their storage
containers to theirlocations
storage
in storage yards or from their storage locations in storage yards.
locations in storage yards or from their storage locations in storage yards.
Ship
Container
Quay Crane
Yard Crane
AGV
TheAGV
The AGV transferring
transferring areaarea has
hasaaregular
regularroute.route. In
Inorder
ordertotoconveniently
convenientlydescribe
describethe the
AGVscheduling
AGV scheduling andand routing
routing problem
problem of an of ACT,an the
ACT, the transferring
transferring area isdescribed
area is formally formally
as a weighted
described as adirected
weightedgraph, in which
directed graph,there are 10
in which nodes
there are (see Figure
10 nodes 2a).Figure
(see The node n3
2a). The
indicates the
node n3 indicates QC, the node n8 is the storage yard, the set {n1, n2, n4, n5, n6,
QC, the node n8 is the storage yard, the set {n1, n2, n4, n5, n6, n7, n9, n7, n9, n10}
isn10}
theispath
the node set, and
path node set,the
andset
the setl2,{l1,
{l1, , l24}
. . .l2, is the
…, l24} is path set, set,
the path whose lengths
whose are d1,
lengths are d2,
d1,
.d2,
Mathematics 2023, 11, x FOR PEER REVIEW d24,d24,
. . , …, respectively. TheThe
respectively. direction of each
direction arrow
of each expresses
arrow the direction
expresses of AGV
the direction that
of AGV they
6 ofthat
25
can
theytravel on theonpath.
can travel Figure
the path. 2b shows
Figure 2b showsthe corresponding
the correspondingadjacency matrix,
adjacency in which
matrix, the
in which
symbol
the symbol ∞ means
∞ means
therethere
are noare
ways between
no ways betweentwo nodes.
two nodes.
(a) (b)
Figure
Figure2.
2.The
Theweighted
weighteddirected
directedgraph
graphand
andadjacent
adjacentmatrix.
matrix.(a)
(a)AAweighted
weighteddirected graph;
directed (b)(b)
graph; anan
adjacent matrix.
adjacent matrix.
The AGV scheduling and routing problem is satisfied under the following
assumptions:
• The location of all containers’ delivery points and pickup points are fixed and known.
This work does not distinguish whether a task is a loading or an unloading task.
• All AGVs are in good condition without failure.
Mathematics 2023, 11, 2678 6 of 25
The AGV scheduling and routing problem is satisfied under the following assumptions:
• The location of all containers’ delivery points and pickup points are fixed and known.
This work does not distinguish whether a task is a loading or an unloading task.
• All AGVs are in good condition without failure.
• Each AGV can only transport one container at a time, and each container can only be
assigned to one AGV for transporting.
• The operation time for both QCs and YCs is fixed.
• All AGVs are homogeneous and travel at the same velocity, and AGV speed remains
unchanged during turning.
• All containers have the same priority.
• The initial position of each AGV is known.
Notations used in the model of the studied problem are listed in Appendix A.
Subject to:
Ck = tkf , ∀k ∈ V (2)
∑ αkp = 1, ∀p ∈ C (3)
k ∈V
∑ βk0p = 1, ∀k ∈ V (4)
p∈C
∑ βkp f = 1, ∀k ∈ V (5)
p∈C
TOk k L p ≤ tkp + M 1 − βk0p , ∀ p ∈ C, ∀k ∈ V (7)
p p
tkp + τL + TLk p U p + τU + TUk p L 0 ≤ tkp0 + M 1 − βkpp0 , ∀ p ∈ C, p0 ∈ C ∪ { f }, ∀k ∈ V (8)
p
p p
tkp ≥ 0, τL > 0, τU > 0, TL p U p > 0, TU p L p0 ≥ 0, TOk L p ≥ 0, ∀ p, p0 ∈ C, ∀k ∈ V (10)
Equation (1) is the optimization goal to minimize the completion time of all tasks.
Equation (2) indicates that the task completion time for each AGV is the completion
time of its last task, which is the start time of its virtual last task.
Mathematics 2023, 11, 2678 7 of 25
Equation (3) indicates that each container is transported by one and only one AGV.
Equation (4) and equation (5) ensure that the initial task of each AGV is virtual task 0
and the ending task is virtual task f.
Equation (6) indicates the order in which each AGV performs its tasks. For each AGV,
there is only one container transport task before and after each container transport task.
Equations (7) and (8) reflect the time correlation between the two adjacent tasks
performed by the same AGV. Equation (7) indicates that the start moment of the first
task for the AGV is the time from its start position to the pickup point of its first task.
Equation (8) indicates that the start moment of one task for the AGV is the time from its
start position to the pickup point of its first task. The start moment of the current task is
equal to the sum of the start moment of the previous task, the loading time of the previous
task, the transport time of the previous task, the unloading time of the previous task, and
the time from the delivery point of the previous task to the pickup point of the current task.
Equation (9) is binary constraints for some decision variables.
Equation (10) is the non-negativity constraints for some variables.
Subject to:
tijk = tkout,ij − tin,ij
k
, ∀(i, j) ∈ G, ∀k ∈ V (12)
tkout,ij ≥ tin,ij
k
+ dij /v0 , ∀(i, j) ∈ G, ∀k ∈ V (13)
1, i = s
∑ µkji − ∑ µijk 0 = −1, i = e , ∀k ∈ V (14)
( j,i )∈ G (i,j0 )∈ G 0, o.w.
0
k
tin,si k
≥ tin,sj + Ds /v0 , ∀s ∈ NP , ∀k, k0 ∈ V, ∀(s, i ), (s, j) ∈ G (15)
In the physical space, the physical entities mainly involve AGVs, QCs, and YCs. The
In the physical space, the physical entities mainly involve AGVs, QCs, and YCs. The
data sensing the conditions of various devices and its surrounding are collected and also
data sensing the conditions
transmitted ofvirtual
to the various devices
space. and itsphysical
In addition, surrounding
devices are
will collected
execute in and also
real time
transmitted toaccording
the virtual
to thespace. Infeedback
decision addition, fromphysical
the virtualdevices
space. will execute in real time
according to the decision feedback from the virtual space. the service modules, algorithms
The virtual space consists of four parts, involving
library, evaluation verification platform, and data center. The functions of the data center
are mainly to store data from the physical and virtual space and to process this data to
provide data support for service modules. With the assistance of the algorithm library,
the function of the service modules primarily consists of (1) generating an initial AGV
scheduling and routing plan to guide the AGV transport process; (2) monitoring the ACT
operation process and predicting AGV conflicts by comparing simulation data with real-
time data; and (3) resolving conflicts caused by uncertain events, revising the initial plan,
and feeding it back into the physical space. The purpose of the evaluation verification
platform is to verify the feasibility and efficiency of the plan by simulation.
The workflow of the proposed framework is shown in Figure 4. The specific processes
are as follows.
operation process and predicting AGV conflicts by comparing simulation data with real-
time data; and (3) resolving conflicts caused by uncertain events, revising the initial plan,
and feeding it back into the physical space. The purpose of the evaluation verification
platform is to verify the feasibility and efficiency of the plan by simulation.
Mathematics 2023, 11,The
2678 workflow of the proposed framework is shown in Figure 4. The specific 9 of 25
Step 1: By introducing the digital twin, the AGV transport process is continuously
Step 1: By introducing the digital twin, the AGV transport process is continuously
monitored, including AGV speed, AGV acceleration, and AGV position. The real-time data
monitored, including AGV speed,
are transmitted AGVspace.
to the virtual acceleration, and AGV position. The real-time
data are transmittedStep
to the virtual space.is proposed for the optimal AGV scheduling and routing
2: IAFSA-Dijkstra
Step 2: IAFSA-Dijkstra
solution, uncertainis factors
proposedcan befor the optimal
detected and handledAGV scheduling
through and and
the interaction routing
fusion
of physical and virtual spaces, and a conflict resolution method based
solution, uncertain factors can be detected and handled through the interaction and fusion on the Yen algorithm
is explored to resolve predicted conflicts and drive the evolution of the scheme.
of physical and virtual spaces, and a conflict resolution method based on the Yen
Step 3: The evaluation verification platform evaluates the updated plan. The results of
algorithm is explored to resolve
scheduling and pathpredicted
planning areconflicts and drive
fed into physical thetoevolution
space guide AGVof forthe
pathscheme.
planning,
Step 3: Thewhich
evaluation verification
timely responds platform
to changes in the evaluates
environment. the updated plan. The results
of scheduling and path planning are fed into physical space to guide AGV for path
4.2. IAFSA-Dijkstra Algorithm
planning, which timely responds to changes in the environment.
A bi-level mixed integer programming model is established in Section 3. The upper
level of the model pertains to AGV scheduling, while the lower level of the model concerns
4.2. IAFSA-Dijkstra Algorithm
collision-free AGV routing. To solve the model, an improved artificial fish swarm algorithm-
Dijkstra algorithm (IAFSA-Dijkstra), is presented in this section. The IAFSA is used to
optimize AGV scheduling, which determines the start and endpoints of the path. The
Dijkstra algorithm is used for collision-free routing, which affects the AGV scheduling
process. The flowchart of IAFSA-Dijkstra is shown in Figure 5.
collision-free AGV routing. To solve the model, an improved artificial fish swar
algorithm-Dijkstra algorithm (IAFSA-Dijkstra), is presented in this section. The IAFSA
used to optimize AGV scheduling, which determines the start and endpoints of the pa
Mathematics 2023, 11, 2678 The Dijkstra algorithm is used for collision-free routing, which affects the AGV scheduli
10 of 25
process. The flowchart of IAFSA-Dijkstra is shown in Figure 5.
FigureFigure
5. The flowchart
5. The ofofIAFSA-Dijkstra.
flowchart IAFSA-Dijkstra.
AFSA AFSA
hashas better
better global optimization
global optimization capability owing
capability to its parallel
owing search and
to its parallel the and t
search
nature of controlling the search direction [50]. There is a more substantial search capability
nature of controlling the search direction [50]. There is a more substantial search capabil
in the early stage of optimization, but the search capability weakens, and it is easily trapped
in thein early stage
the local of optimization,
extremum but
in the later stage. Thus,theansearch
adaptivecapability weakens, method
parameter adjustment and it is eas
trapped in the
is used local extremum
to improve in the later
AFSA. Meanwhile, stage. Thus,
the encoding methodan inadaptive
this work is parameter adjustme
related to the
number of container transport tasks. Therefore, a task combination
method is used to improve AFSA. Meanwhile, the encoding method in this work approach is adopted to is relat
combine container tasks according to specific rules to reduce the encoding length.
to the number of container transport tasks. Therefore, a task combination approach
Encoding and decoding method: A random number encoding method is adopted.
adopted to combine
The value above each container tasks according
position denotes the containerto no.specific
The value rules to reduce
after rounding the encodi
in each
length.
position denotes the AGV no., and the value range is [0.5, Nagv + 0.5), where Nagv denotes
the number of
Encoding and AGVs. The initial
decoding value in A
method: each positionnumber
random is randomly generated.
encoding method is adopte
Assume 8 containers and 3 AGVs, and the encoding
The value above each position denotes the container no. The value after method is as shown in Figure 6a. in ea
rounding
Taking the first position as an example, 1.181 is rounded to 1. Therefore, container 1 is
position denotes
assigned to AGV the 1.
AGV no.,
In the sameand theasvalue
way for therange is [0.5, 𝑁AGV+ 10.5),
other positions, where 𝑁for deno
is responsible
the number of AGVs.
transporting The1, initial
containers 7, and 8,value
AGV 2in each position
is responsible is randomly
for transporting generated.
containers 4 and 6,
Assume 8 containers and 3 AGVs, and the encoding method is as shown
and AGV 3 is responsible for transporting containers 2, 3, and 5. For containers in Figure
of each
AGV, the order after sorting by their value is the transportation order
Taking the first position as an example, 1.181 is rounded to 1. Therefore, container 1 of AGV. Taking AGV
1 as an example, the values of containers 1, 7, and 8 are 1.181, 1.211, 1.203, respectively.
assigned to AGV 1. In the same way as for the other positions, AGV 1 is responsible f
Since 1.181 < 1.203 < 1.211, the transportation order of AGV 1 is container 1–container
transporting
8–containercontainers
7. 1, 7, and 8, AGV 2 is responsible for transporting containers 4 a
6, and AGV 3 is responsible for transporting containers 2, 3, and 5. For containers of ea
AGV, the order after sorting by their value is the transportation order of AGV. Taki
AGV 1 as an example, the values of containers 1, 7, and 8 are 1.181, 1.211, 1.2
respectively. Since 1.181 < 1.203 < 1.211, the transportation order of AGV 1 is container
container 8–container 7.
time. The cost of the method is that the number of solution spaces will be reduced.
Task combination is a strategy of combining multiple tasks into one task. If the pickup
point of container p and the delivery point of container p’ are the same point, two tasks
will be combined into one task. The combined task point is the pickup of container p’, the
delivery point of container p’ (viz., the pickup point of container p), and the delivery point
Mathematics 2023, 11, 2678 11 of 25
of container p in sequence. The task combination with 8 containers as an example is shown
in Figure 6b.
1 2 3 4 5 6 7 8
Container 1 Container 2 Container 3 Container 4
1.181 3.486 2.632 1.574 2.679 2.311 1.211 1.203 Pickup Point
Delivery Point
1
3
Pickup Point
Delivery Point
4
6
Pickup Point
Delivery Point
5
2
Pickup Point
Delivery Point
3
8
AGV1 AGV3 AGV3 AGV2 AGV3 AGV2 AGV1 AGV1 Task Combination
AGV3: 3 − 5 − 2
Task 3 3→5 5→2→6
AGV3: 2, 3, 5 Task 4 7 2→10
Task 5 8 9→11
(a) (b)
Figure
Figure 6.
6. The
The decoding
decoding method
method and
andtask
taskcombination
combinationstrategy.
strategy.(a)
(a)The
Thedecoding
decodingmethod;
method;(b)
(b)Task
Task
Combination strategy.
Combination strategy.
Adaptive parameter
Task combination adjustment
strategy: strategy:
Considering In AFSA,
the above Visualmethod,
encoding and Step are essential
encoding length
parameters
is related to the number of container transportation tasks. The higher the numberaof
that affect the movement of the AF. In the early stage of optimization, larger
con-
Visual and Step can make the AF move quickly and jump out of
tainer transportation tasks, the longer the encoding length, which causes a more extended the local extremum, thus
converging faster. Nevertheless,
algorithm running time. Therefore, in athe later
task stage of optimization,
combination a larger Visual
strategy is introduced and Step
to reduce the
will leadof
number tocontainer
the optimal solution being
transportation skipped,
tasks, which the
shortening is not conduciverunning
algorithm’s to optimization.
time. The
In the
cost of traditional
methodAFSA, is that Visual and Step
the number are fixed,spaces
of solution whichwillmakes it difficult to reconcile the
be reduced.
requirements in the early
Task combination and later
is a strategy stages ofmultiple
of combining optimization.
tasks intoAnone adaptive parameter
task. If the pickup
adjustment method is used to address the above problem. The
point of container p and the delivery point of container p’ are the same point, two tasks value of Visual and Step
gradually
will be combined become
into one smaller
task.asThethecombined
number of iterations
task point isincreases.
the pickup of container p’, the
Visual
delivery andofStep
point can be p’
container calculated
(viz., theaccording
pickup point to Expressions
of container(18) andthe
p), and (19).
delivery point
of container p in sequence. The task combination with 8 containers as an example is shown
𝑉𝑖𝑠𝑢𝑎𝑙(𝑔𝑒𝑛) = 𝑉𝑖𝑠𝑢𝑎𝑙 × 𝑔𝑒𝑛 ( ⁄ )⁄ ( ) (18)
in Figure 6b.
Adaptive parameter adjustment strategy: ( In AFSA, ⁄
Visual
)⁄
and
(
Step
)
are essential
parameters that affect 𝑆𝑡𝑒𝑝(𝑔𝑒𝑛) = 𝑆𝑡𝑒𝑝 of ×
the movement 𝑔𝑒𝑛
the AF. In the early stage of optimization, a larger
(19)
Visual
where and𝑔𝑒𝑛Step can make
denotes the AF move
the number quickly and
of iterations, 𝑉𝑖𝑠𝑢𝑎𝑙
and jump 𝑉𝑖𝑠𝑢𝑎𝑙
out of, the , 𝑆𝑡𝑒𝑝
local extremum, , thus
and
𝑆𝑡𝑒𝑝
converging faster.
denote theNevertheless,
maximum and in the later stage
minimum of ofVisual
optimization,
and Step,a larger Visual and
respectively. 𝑔𝑒𝑛Step
will leadthe
denotes to the optimal number
maximum solution of being skipped,𝑉𝑖𝑠𝑢𝑎𝑙(𝑔𝑒𝑛)
iterations. which is notand 𝑆𝑡𝑒𝑝(𝑔𝑒𝑛)
conducive to optimization.
denote Visual
In traditional
and Step AFSA, Visual
with the number and Step are fixed, which makes it difficult to reconcile
of iterations.
the requirements
The procedure inofthe early is
IAFSA and laterin
shown stages of optimization.
Algorithm An adaptive
1. First, combine parameter
tasks according to
adjustment method is used to address the above problem. The value
task combination strategy and initialize the artificial fish (AF) population. Then, calculate of Visual and Step will
gradually
𝑉𝑖𝑠𝑢𝑎𝑙 andbecome
𝑆𝑡𝑒𝑝 smaller
based on as the number (18)
Equations of iterations
and (19). increases.
Meanwhile, evaluate swarming
Visual
behavior and Step can be
andfollowing calculated
behavior andaccording
select the to Expressions
optimal behavior(18)toand (19). The fitness
execute.
values of these two behaviors can be obtained based on Algorithm 2. Repeat
log(Visualmin /Visualmax )/log( genmax )
the above
Visual ( gen ) = Visual max ×
steps until the stopping criterion condition is satisfied.gen (18)
The Dijkstra algorithm is a path search algorithm to determine the optimal path in
one given path network. The traditional Dijkstra algorithm cannot prevent potential AGV
Step( gen) = Stepmax × genlog(Stepmin /Stepmax )/log( genmax ) (19)
conflict; thus, a criterion called “Node visit time (𝑁𝑇)” is presented to record the time at
where gen denotes
which AGVs thenodes,
visit all number of iterations,
expressed and Visual
by Equation max𝑁𝑇
(20). , Visual
makes , Step
minit max , and
possible Stepinto
to take min
denote the maximum and minimum of Visual and Step, respectively. genmax denotes the
maximum number of iterations. Visual ( gen) and Step( gen) denote Visual and Step with the
number of iterations.
The procedure of IAFSA is shown in Algorithm 1. First, combine tasks according to
task combination strategy and initialize the artificial fish (AF) population. Then, calculate
Visual and Step based on Equations (18) and (19). Meanwhile, evaluate swarming behavior
and following behavior and select the optimal behavior to execute. The fitness values of
these two behaviors can be obtained based on Algorithm 2. Repeat the above steps until
the stopping criterion condition is satisfied.
Mathematics 2023, 11, 2678 12 of 25
The Dijkstra algorithm is a path search algorithm to determine the optimal path in
one given path network. The traditional Dijkstra algorithm cannot prevent potential AGV
conflict; thus, a criterion called “Node visit time (NT)” is presented to record the time at
which AGVs visit all nodes, expressed by Equation (20). NT makes it possible to take into
account the path information of other AGVs when planning paths for one AGV, effectively
avoiding potential AGV conflicts.
Then, NT is updated based on the routing results and sorted in chronological order. If
two AGVs visit the same path nodes and their visit moments do not satisfy Equation (15),
their infornamtion are recorded into C P . The set C P records the events that do not satisfy
Equation (15), expressed by Equation (22).
where ei denotes AGV k i,1 visits to node si at moment ti,1 , AGV k i,2 visits to node si at
moment ti,2 , and |ti,1 − ti,2 | < Ds /v0 .
If C P is empty, the time relationship of all AGVs visiting the path node satisfies
Equation (15), and there is no potential conflict. Otherwise, if e1 involves two AGVs, the
passage priority is decided according to Equation (23), and the low-priority AGV waits
for (∆t + Ds /v0 ), where ∆t denotes the time gap between the high-priority AGV and the
low-priority AGV to visit the path node. If e1 involves multiple AGVs, Equation (23) may
lead to a circular waiting problem; thus, Equation (24) is used to decide the passage order,
and the low-priority AGV waits for (∆t + Ds /v0 ).
Mathematics 2023, 11, 2678 13 of 25
Figure
Figure7.7.The
Theworkflow
workflowofoftwin-data-driven
twin-data-drivenAGV
AGVconflict
conflictprediction
predictionmethod.
method.
presented, defined as the deflection between the planned AGV operation state and the
actual AGV operation state, expressed by Expression (28).
Due to the fluctuating AGV speed during the AGV transport process, the actual time
of the AGV visiting one node will deviate from the planned time. The consistency deviation
of node visit time ∆TD N is calculated by Expression (29).
Due to the uncertain operation time of QCs and YCs, one container’s actual loading
and unloading time will deviate from the planned time. The consistency deviation of
loading ∆TDL and unloading time ∆TDU is calculated by Expressions (30) and (31).
r v
∆TDL = τk,L,j − τk,L,j (30)
r v
∆TDU = τk,U,j − τk,U,j (31)
When ∆TD 6= 0, the current AGV’s times of visiting subsequent nodes need to
superimpose ∆TD. Assume that AGV k has a consistency deviation ∆TD N from the
expected
n planwhen
visiting the ith node. o k can be denoted as
The updated plan ofAGV
. . . , nrk,i , trk,i , nvk,i+1 , tvk,i+1 + ∆TD N , nvk,i+2 , tvk,i+2 + ∆TD N , . . . .
NT will be updated as the AGV plan is updated and sorted in chronological order.
Then, if the time of visiting node si by two AGVs in NT satisfies |ti,1 − ti,2 | < Ds /v0 , the
conflict event {si , k i,1 , ti,1 , k i,2 , ti,2 } will be recorded to the conflict set C P . Assume the two
conflicts in C P , denoted as {si , k i,1 , ti,1 , k i,2 , ti,2 }, si , k j,1 , t j,1 , k j,2 , t j,2 ; if t j,1 − ti,2 < Ds /v0 ,
these two events are combined into one event si , k i,1 , ti,1 , k i,2 , ti,2 , k j,1 , t j,1 , k j,2 , t j,2 . C P
For those conflicts in C N , the AGVs are located on the path, and the AGVs will conflict at
their next node. Since the AGV transportation area is a directed graph, AGVs can only travel
in one direction on a certain path. The conflicts in C N cannot be resolved by planning a new
route—only by the waiting strategy. All conflicting AGVs visit the conflict node sequentially
according to the time order, and thentime interval between two AGVs visiting the conflicting
o
N , pos
node is Ds /v0 . Taking one conflict s, k1, tk1,t N N
k1,t , k2, tk2,t , posk2,t , k3, tk3,t , posk3,t as an
example, assume that N
N < t N ; then, AGV k1 visits node s at moment t N ,
< tk2,t
tk1,t AGV
k3,t k1,t
N + D /v with waiting time t N − t N + D /v , and
k2 visits node s at moment tk1,t AGV
s 0 k1,t k2,t s 0
N + 2D /v with waiting time t N − t N + D /v .
k3 visits node s at moment tk1,t s 0 k1,t k3,t s 0
Mathematics 2023, 11, 2678 16 of 25
18: else
19: adopt Yen’s algorithm to resolve the conflict, and update Sk,i v .
20: end if
21: end while
22: end for
23: end for
24: select the plan plannew corresponding to min ( f 1,1 , f 1,2 , . . . , f k,i , . . .)
Mathematics 2023,
Mathematics 2023,11,
11,x2678
FOR PEER REVIEW 17 of 25 17
5. Experiments
Figure
In the section, some
Figure 8. 8. The
experiments
The ACTACT evaluation
are conducted
evaluation verification
verification platform
to verify
platform the in
in Unity. Unity. of the proposed
benefits
method. The first experiment
5. Experimentsof AGV scheduling and routing is aimed to verify the
5. Experiments
performance of the IAFSA and calculate
In the section, somethe optimalare
experiments scheduling
conducted and paththeplanning
to verify benefits ofresults,
the proposed
and based on the result
method. In The
of the section,
thefirst
first some of
experiment,
experiment experiments
AGV the secondare conducted
scheduling experiment
and routing is toaimed
verify
of AGV tothe benefits
conflict
verify of the prop
the perfor-
method.
mance of The
the IAFSAfirstandexperiment
calculate theof AGV
prediction and resolution is conducted to verify the efficiency of DT-based conflict
optimal scheduling
scheduling and and
path routing
planning is aimed
results, andto verify
based onAll
performance
prediction and resolution. the experiments
result of the
of the first
IAFSA experiment,
are and the on
calculate
performed second experiment
theWindows
optimal 10,ofIntel
schedulingAGV(R) conflict
and pathpredic-
Core planning res
tion
and and resolution
based on16GB is conducted
the result to verify the efficiency of DT-based conflict prediction andAGV co
(TM) i7-10750H CPU @ 2.60GHz, RAMofMATLAB the first experiment,
2018a. the second experiment of
resolution. All experiments are performed on Windows 10, Intel (R) Core (TM) i7-10750H
As shown in Figureprediction and resolutionarea is conducted tointo
verifythe the efficiency of DT-based co
CPU @9,2.60GHz,
the transportation
16GB RAM MATLAB is abstracted
2018a. weighted directed
graph, including 18 prediction
nodes andand
As shown 44 resolution.
paths.
in Figure 9,n3,
the n5,Alland
experiments area isare
n7 indicate
transportation performed
the three
abstracted on weighted
intonodes
the Windows
of QCs, 10, Intel (R)
directed
(TM) including
graph,
n12, n14, and n16 represent i7-10750H
the three 18CPU
nodes
[email protected],
of 44 16GB
paths.
storage n3, RAM
n5,
yards, and
andMATLAB
n7the
indicate
other 2018a.
the three are
nodes nodes of QCs,
the
As
n12, n14, shown in Figure
n16 represent 9, the
threetransportation area
path nodes. The number of QCs and YCs is 3. The safe distance 𝐷 = 15 m, and the velocityare
and the nodes of storage is
yards, abstracted
and the other into the
nodes weighted
the dire
path nodes.
graph, The number
including of QCs and
18 nodes andYCs44 is 3. Then3,
paths. safen5,
distance
and n7 Ds indicate
= 15 m, and thethree
the velocity
nodes of
𝑣 = 5 m/s. vn12,
0 = 5 n14,
m/s. and n16 represent the three nodes of storage yards, and the other nodes ar
path nodes. The number of QCs and YCs is 3. The safe distance 𝐷 = 15 m, and the vel
𝑣 = 5 m/s.
Figure
Figure 9. The AGV path 9. The
in an ACT.AGV path in an ACT.
The
TheAGV AGV scheduling
schedulingGanttGanttchart
chartisis shown
shown according
according to to the
the scheduling
scheduling and and routing
routing
plan
plan in
in Figure
Figure 10a.
10a. The
Thenumbers
numbersin ineach
eachrectangle
rectangleindicate
indicatethe
thecontainer
containerno.,
no.,the
thecontainer
container
loading completion time,
loading completion time,andandthethe container
container unloading
unloading start start
time intime in sequence.
sequence. The
The comple-
completion
tion time fortime for allistasks
all tasks is 386.
386. The The
path is path
shownis according
shown according to the scheduling
to the scheduling and
and routing
plan in Figure
routing plan in10b.
FigureThe10b.
time interval
The for two for
time interval AGVs
twoto visit to
AGVs thevisit
samethenode
sameisnode
greater than or
is greater
equalortoequal
than 3 s (Dtos /v = 15
3 s0 (𝐷 ⁄𝑣m/(5
= 15m/s)
m/(5=m/s)
3 s),=which satisfies
3 s), which Constraint
satisfies (15). Thus,
Constraint the AGV
(15). Thus, the
routing
AGV is conflict-free.
routing is conflict-free.
(a) (b)
Figure
Figure 10.
10. AGV
AGV scheduling
scheduling and
and routing result of
routing result of 66 AGVs
AGVs handling
handling 30
30containers
containers(a)
(a)AGV
AGVscheduling
scheduling result; (b) AGV routing result.
result; (b) AGV routing result.
To verifythe
To verify the effectiveness
effectiveness of improvement
of improvement strategies,
strategies, the time
the running running time and
and completion
completion
time of IAFSA time of AFSA
and IAFSAare and AFSA areWe
compared. compared. We solved
solved each each 10
experiment experiment
times and10 times
took the
and tookvalue
average the average valueThe
as a result. as aresults
result.of
The
theresults of the are
experiment experiment
shown inare shown
Table in running
3, the Table 3,
the running
time denotestime
the denotes the algorithm’s
algorithm’s execution timeexecution
when thetime when thenumber
maximum maximum number of
of iterations is
iterations is reached,
reached, and and completion
completion time denotes time
thedenotes
maximum the maximum
completion completion timewhen
time of tasks of tasks
the
when
maximumthe maximum
number ofnumber
iterationsofisiterations is reached.
reached. The The GAP
GAP represents therepresents the relative
relative improvement
improvement
percentage of percentage
the IAFSA. In of Table
the IAFSA. In Tablethe
4, NC denotes 4, Nnumber
C denotesof the numberNof
containers, containers,
T denotes the
NT denotes the number of tasks after task combination, and the relative improvement
percentage GAP was employed to measure the performance of the IAFSA. The GAP can
be calculated by Equation (33):
𝑍 −𝑍
Mathematics 2023, 11, 2678 19 of 25
number of tasks after task combination, and the relative improvement percentage GAP
was employed to measure the performance of the IAFSA. The GAP can be calculated by
Equation (33):
Z − ZIAFSA
GAP = AFSA × 100%, (33)
ZAFSA
where ZAFSA denotes the running time or the completion time of the AFSA and ZIAFSA
denotes the running time or the completion time of the IAFSA.
For different problem scales, the running time of the AFSA is between 702 and 35110 s,
and the running time of the IAFSA is between 293 and 9820 s; the completion time of AFSA
is between 430 and 1930 s, and the completion time of IAFSA is between 398 and 1691 s. The
running time average GAP between AFSA and IAFSA in the eight experiments is 67.15%.
The completion time average GAP between AFSA and IAFSA in the eight experiments
is 9.81%.
To verify the effectiveness of IAFSA, IAFSA was compared with other algorithms
in terms of completion time, including the genetic algorithm (GA), particle swarm opti-
mization algorithm (PSO), and gray wolf optimization algorithm (GWO). We solved each
experiment 10 times and took the average value as a result. The results of the experiment
are shown in Table 4. For different problem sizes, the solution quality of IAFSA is better
than the other algorithms compared.
process, (1, L) represents the loading node of the first container, (2, U) represents the
Mathematics 2023, 11, x FOR PEER REVIEW
unloading 20 of 25
node of the second container, and so on. The vertical coordinates indicate the
loading/unloading time.
Figure11.
Figure Theloading
11.The loadingand
andunloading
unloadingtimes
timesofofthe
thecontainers
containershandled
handledbybythe
the6 6AGVs.
AGVs.
Theuncertain
The uncertaincontainer
container loading/unloading
loading/unloading timestimes lead
lead to
to AGV
AGV conflicts.
conflicts.The
Thedetails
detailsof
some predicted
of some predicted AGV conflict events are shown in Table 5. At the 100th
AGV conflict events are shown in Table 5. At the 100th second, second, the loading
the
of AGV2 0 s second container is completed, and the virtual space predicts that there will
loading of AGV2′s second container is completed, and the virtual space predicts that there
be be
will AGVAGVconflicts. The
conflicts. Thefirst
firstpredicted
predictedAGV
AGVconflict
conflictisis Conflict
Conflict 11 in
in Table
Table 5.
5.For
ForConflict
Conflict
1, AGV20 s route to transport its second container is re-routed to avoid the conflict. The
1, AGV2′s route to transport its second container is re-routed to avoid the conflict. The
route of AGV2 to transport its second container before re-routing is . . . → n3 → n4 → n15
route of AGV2 to transport its second container before re-routing is …→ n3 → n4 → n15
→ n16 → . . . , and the route of AGV2 after re-routing is . . . → n3 → n2 → n17 → n16 →
→ n16 →…, and the route of AGV2 after re-routing is …→ n3 → n2 → n17 → n16 →…. A
. . . . A new conflict is caused after re-routing, as in Conflict 2 in Table 5. For Conflict 2,
new conflict is caused after re-routing, as in Conflict 2 in Table 5. For Conflict 2, AGV5′s
AGV50 s route to transport its third container is re-routed to avoid the conflict. The route of
route to transport its third container is re-routed to avoid the conflict. The route of AGV5
AGV5 to transport its third container before re-routing is . . . → n14 → n15 → n4 → n5 →
to transport its third container before re-routing is …→ n14 → n15 → n4 → n5 →…, and
. . . , and the route of AGV5 after re-routing is . . . → n14 → n13 → n6 → n5 → . . . . At the
the route of AGV5 after re-routing is …→ n14 → n13 → n6 → n5 →…. At the 154th second,
154th second, the loading of AGV10 s third container is completed, and the virtual space
the loading of AGV1′s third container is completed, and the virtual space predicts that
predicts that there will be AGV conflicts. The first predicted AGV conflict is Conflict 3 in
there will be AGV conflicts. The first predicted AGV conflict is Conflict 3 in Table 5. For
Table 5. For Conflict 3, both AGV1 and AGV2 keep the original path. AGV1 waits for 1 s
Conflict 3, both AGV1 and AGV2 keep the original path. AGV1 waits for 1 s after0 AGV2
after AGV2 visits n4 before visiting n4. At the 261st second, the loading of AGV4 s fourth
visits n4 before
container visiting n4.
is completed, andAtthethevirtual
261st second, the loading
space predicts of AGV4′s
that there will befourth containerThe
AGV conflicts. is
completed, and the virtual space predicts that there will be AGV conflicts.
first predicted AGV conflict is Conflict 4 in Table 5. For Conflict 4, both AGV4 and AGV6 The first
predicted
keep the AGVoriginalconflict
path.isAGV4
Conflict 4 infor
waits Table 5. ForAGV6
2 s after Conflict 4, both
visits AGV4visiting
n13 before and AGV6 n13.keep
the original path. AGV4 waits for 2 s after AGV6 visits n13 before visiting n13.
Table 5. The description of AGV conflicts.
Table 5. The description of AGV conflicts.
Conflict Time Node AGV Description
Conflict Time Node AGV Description
1 AGV5 and AGV2 happen conflict in the
1 112–113 n4
112–113 5-2 AGV5
n4 and AGV2 happen
5-2 conflict in the 112th–113th second in node n4.
112th–113th second in node n4.
2 166–168 n15 2-5 AGV2 and AGV5 happen conflict in the 166th–168th second in node n15.
AGV2 and AGV5 happen conflict in the
3 2 182–184 166–168
n4 2-1 n15 and AGV1 happen
AGV2 2-5 conflict in the 182th–184th second in node n4.
166th–168th second in node n15.
4 270–271 n13 6-4 AGV6 and AGV4 happen conflict in the 270th–271st
AGV2 and AGV1second
happen in nodeinn13.
conflict the
3 182–184 n4 2-1
182th–184th second in node n4.
AGV6 and AGV4 happenanconflict
AGV in the
4 270–271 In order to handle
n13 the AGV conflicts
6-4 described above, introduce conflict
270th–271st second in node n13.
resolution method based on Yen’s algorithm. The procedure of the conflict resolution
method is shown in Algorithm 3, and it can solve the path of AGV conflicts well. As shown
in Figure 12, the
In order to revised
handle path of 6 AGVs
the AGV handing
conflicts 30 containers
described is the result
above, introduce an AGVof conflict
conflict
resolution.
resolutionAfter
methodthe plan revision,
based thealgorithm.
on Yen’s task completion times for each
The procedure AGV
of the were 284
conflict s, 278
resolution
s,method
378 s, 382 s, 358 s, and 344 s.
is shown in Algorithm 3, and it can solve the path of AGV conflicts well. As shown
in Figure 12, the revised path of 6 AGVs handing 30 containers is the result of conflict
resolution. After the plan revision, the task completion times for each AGV were 284 s,
278 s, 378 s, 382 s, 358 s, and 344 s.
Mathematics 2023, 11, x FOR PEER REVIEW
Mathematics 2023, 11, 2678 21 of 25
Figure
Figure 12.
Figure 12.
12. Path of
Path
Path of6of
6AGVs handling
6 AGVs
AGVs 3030containers
handling
handling after
afterconflict
30 containers
containers resolution.
after
conflict conflict resolution.
resolution.
Uncertain
Uncertaincontainer
containerloading
loadingororunloading
unloading timetimeis simulated to verify
is simulated the efficiency
to verify of
the efficiency
Uncertain
DT-based conflict
of DT-based container
prediction
conflict prediction loading
andand or unloading
resolution in in
resolution different
different time is simulated
problem
problem scales.
scales.The
Thetoresults
verify
results the effici
areare
DT-based
shown conflict
shown in Figure
Figure 13,the
13, prediction
the and
traditionalmethod
traditional methodresolution
totoconflict
conflict isin
thedifferent
is the waiting
waiting problem
strategy.
strategy. scales.
TheThe DT- The resu
DT-based
based
shown method uses
in Figure
method uses DT technology to
13, thetotraditional
DT technology predict and
method
predict and resolve resolve
AGV AGV
toconflictsconflicts
conflictwhenis the when the
waiting
the plan plan
strategy. T
execution
execution
deviates. deviates.
The The axis
vertical vertical axis indicates
indicates the time the time deviation
deviation between between
the the initial
initial and and
revised
based method uses DT technology to predict and resolve AGV conflicts when th
revised plans.
plans. The The difference
difference in theofeffect
in the effect of the
the two two methods
methods on the
on the time time deviation
deviation is not
is not apparent
execution
apparent
when the when
deviates.
problemthescales The
problem vertical
scales As
are small.
axis
arethe indicates
small. As the
number
the
number
of AGVs
time
and
deviation
of containers containersthe the init
between
AGVs andincreases,
revised
DT-basedplans.
increases, the Thehas difference
DT-based
method amethod
smallerhas
timein the effect
a smaller
deviationtime of
than thetraditional
deviation
the two
thanmethods
themethod. on the
traditional time deviatio
method.
apparent when the problem scales are small. As the number of AGVs and con
increases, the DT-based method has a smaller time deviation than the traditional m
Figure 13.
Figure Comparisonbetween
13. Comparison betweenDT-based
DT-basedmethod
methodand
andtraditional
traditionalmethod.
method.
6. Conclusions
6. Conclusions
In this
In thispaper,
paper,digital-twin-driven
digital-twin-driven AGVAGVscheduling and conflict-free
scheduling routingrouting
and conflict-free is proposed
is
to solve the uncertainties in the physical environment of ACT. The
proposed to solve the uncertainties in the physical environment of ACT. The bi-level bi-level mixed integer
programming
mixed integer model of the AGV
programming model scheduling
of the AGV andscheduling
routing problem is established.
and routing problem Theis
improved
Figure 13. artificial
Comparisonfish swarm
betweenalgorithm Dijkstra
DT-based (IAFSA-Dijkstra)
method and is proposed
traditional
established. The improved artificial fish swarm algorithm Dijkstra (IAFSA-Dijkstra) method.to findisthe
optimal AGV
proposed scheduling
to find and routing
the optimal plan. A twin-data-driven
AGV scheduling and routing plan.conflict prediction method
A twin-data-driven
is used for
prediction method is used for AGV conflict prediction caused conflict
AGV conflict prediction caused by disturbance events, and a resolution
6. Conclusions
conflict by disturbance
method is presented for AGV conflict resolution. The experimental
events, and a conflict resolution method is presented for AGV conflict resolution. results in different
The
problemIn this
scales paper,
show digital-twin-driven
that the average solution AGV
efficiencyscheduling
and average
experimental results in different problem scales show that the average solution efficiency and conflict-free
solution quality rou
of IASFA
proposed
and average toare better than
solvequality
solution those of AFSA
the uncertainties by
of IASFA are better 9.81%
inthan and
thethose 67.15%,
physical
of AFSArespectively.
environment Meanwhile,
of ACT. The
by 9.81% and 67.15%,
IAFSA has better solution quality compared with GA, PSO, and GWO. However, theand
port
mixed integer
respectively. programming
Meanwhile, model
IAFSA has better of the
solution AGV
quality scheduling
compared with GA,and
PSO, routing prob
environment
GWO. However, is characterized
the port by continuous,
environment is complex,
characterized andby interlocking
continuous, components,
complex, and
and
established.
the destruction The
of anyimproved
link may artificial fish swarmofalgorithm Dijkstraprocess.
(IAFSA-Dijk
interlocking components, and thelead to the deterioration
destruction of any link may the leadentire
to theoperation
deterioration of
proposed
Therefore, to future
our find the work optimal
is AGV the
to consider scheduling
integrated and routing plan.
andAother
twin-data
the entire operation process. Therefore, our future work isproblem of AGVs
to consider the integrated
conflict
problem of AGVs and other equipment in the port environment to be more in line with by distu
equipment prediction
in the port method
environment is used
to be for
more AGV
in line conflict
with the prediction
actual situation caused
of the port.
events,
the actualand a conflict
situation resolution method is presented for AGV conflict resolutio
of the port.
experimental results in different problem scales show that the average solution effi
and average solution quality of IASFA are better than those of AFSA by 9.81% and
respectively. Meanwhile, IAFSA has better solution quality compared with GA, PS
Mathematics 2023, 11, 2678 22 of 25
Author Contributions: Conceptualization, P.L. and Y.Z.; methodology, P.L., Y.Z. and X.C. validation,
P.L., Y.Z. and X.C.; formal analysis, C.F. and X.C.; investigation, P.L. and Y.Z.; writing—original draft
preparation, P.L. and Y.Z.; writing—review and editing, X.C. and C.F.; visualization, Y.Z.; supervision,
P.L. and X.C.; project administration, P.L. and J.H.; funding acquisition, P.L. and J.H. All authors have
read and agreed to the published version of the manuscript.
Funding: This research was funded by the National Natural Science Foundation Committee (NSFC)
of China, grant number 52075404, the National Key Research and Development Project of China,
grant number 2020YFB1710804, and the Application Basic Frontier Special Project of Wuhan Science
and Technology Bureau, grant number 2020010601012176.
Data Availability Statement: Not applicable.
Acknowledgments: The authors are grateful to the subjects for their contributions to the experiment.
Conflicts of Interest: The authors declare no conflict of interest.
References
1. Zhong, M.; Yang, Y.; Dessouky, Y.; Postolache, O. Multi-AGV scheduling for conflict-free path planning in automated container
terminals. Comput. Ind. Eng. 2020, 142, 106371. [CrossRef]
2. Hu, H.; Yang, X.; Xiao, S.; Wang, F. Anti-conflict AGV path planning in automated container terminals based on multi-agent
reinforcement learning. Int. J. Prod. Res. 2021, 61, 65–80. [CrossRef]
3. Luo, J.; Wu, Y. Modelling of dual-cycle strategy for container storage and vehicle scheduling problems at automated container
terminals. Transp. Res. Part E Logist. Transp. Rev. 2015, 79, 49–64. [CrossRef]
4. Xu, B.; Jie, D.; Li, J.; Yang, Y.; Wen, F.; Song, H. Integrated scheduling optimization of U-shaped automated container terminal
under loading and unloading mode. Comput. Ind. Eng. 2021, 162, 107695. [CrossRef]
5. Lu, F.; Feng, W.; Gao, M.; Bi, H.; Wang, S. The Fourth-Party Logistics Routing Problem Using Ant Colony System-Improved Grey
Wolf Optimization. J. Adv. Transp. 2020, 2020, 8831746. [CrossRef]
6. Yan, T.; Lu, F.; Wang, S.; Wang, L.; Bi, H. A hybrid metaheuristic algorithm for the multi-objective location-routing problem in the
early post-disaster stage. J. Ind. Manag. Optim. 2023, 19, 4663–4691. [CrossRef]
7. Lu, F.; Yan, T.; Bi, H.; Feng, M.; Wang, S.; Huang, M. A bilevel whale optimization algorithm for risk management scheduling of
information technology projects considering outsourcing. Knowl.-Based Syst. 2022, 235, 107600. [CrossRef]
8. Cai, B.; Huang, S.; Liu, D.; Dissanayake, G. Rescheduling policies for large-scale task allocation of autonomous straddle carriers
under uncertainty at automated container terminals. Robot. Auton. Syst. 2014, 62, 506–514. [CrossRef]
9. Jian, W.; Zhu, J.; Zeng, Q. An Optimization Model of Integrated AGVs Scheduling and Container Storage Problems for Automated
Container Terminal Considering Uncertainty. Symmetry 2021, 13, 1904. [CrossRef]
10. Yue, L.; Fan, H. Dynamic Scheduling and Path Planning of Automated Guided Vehicles in Automatic Container Terminal.
IEEE/CAA J. Autom. Sin. 2022, 9, 2005–2019. [CrossRef]
11. Xu, B.; Wang, L.; Li, J. Propagation of Uncertain Events in Multilevel Handlings at Container Terminals from the Perspective of
Hypernetwork. Discret. Dyn. Nat. Soc. 2021, 2021, 6611181. [CrossRef]
12. Zheng, Y.; Yang, S.; Cheng, H. An application framework of digital twin and its case study. J. Ambient. Intell. Humaniz. Comput.
2019, 10, 1141–1153. [CrossRef]
13. Rashidi, H.; Tsang, E.P.K. A complete and an incomplete algorithm for automated guided vehicle scheduling in container
terminals. Comput. Math. Appl. 2011, 61, 630–641. [CrossRef]
14. Ma, X.; Bian, Y.; Gao, F. An Improved Shuffled Frog Leaping Algorithm for Multiload AGV Dispatching in Automated Container
Terminals. Math. Probl. Eng. 2020, 2020, 1260196. [CrossRef]
15. Zhao, Q.; Ji, S.; Guo, D.; Du, X.; Wang, H. Research on Cooperative Scheduling of Automated Quayside Cranes and Automatic
Guided Vehicles in Automated Container Terminal. Math. Probl. Eng. 2019, 2019, 6574582. [CrossRef]
Mathematics 2023, 11, 2678 24 of 25
16. Angeloudis, P.; Bell, M.G.H. An uncertainty-aware AGV assignment algorithm for automated container terminals. Transp. Res.
Part E Logist. Transp. Rev. 2010, 46, 354–366. [CrossRef]
17. Xin, J.; Negenborn, R.R.; Lodewijks, G. Rescheduling of interacting machines in automated container terminals. IFAC Proc. Vol.
2014, 47, 1698–1704. [CrossRef]
18. Sahin, C.; Demirtas, M.; Erol, R.; Baykasoğlu, A.; Kaplanoğlu, V. A multi-agent based approach to dynamic scheduling with
flexible processing capabilities. J. Intell. Manuf. 2017, 28, 1827–1845. [CrossRef]
19. Xu, W.; Guo, S.; Li, X.; Guo, C.; Wu, R.; Peng, Z. A Dynamic Scheduling Method for Logistics Tasks Oriented to Intelligent
Manufacturing Workshop. Math. Probl. Eng. 2019, 2019, 7237459. [CrossRef]
20. Zhang, L.; Yan, Y.; Hu, Y.; Ren, W. A dynamic scheduling method for self-organized AGVs in production logistics systems.
Procedia CIRP 2021, 104, 381–386. [CrossRef]
21. Wang, X.; Luo, X.; Han, B.; Chen, Y.; Liang, G.; Zheng, K. Collision-Free Path Planning Method for Robots Based on an Improved
Rapidly-Exploring Random Tree Algorithm. Appl. Sci. 2020, 10, 1381. [CrossRef]
22. Lee, H.; Jeong, J. Mobile Robot Path Optimization Technique Based on Reinforcement Learning Algorithm in Warehouse
Environment. Appl. Sci. 2021, 11, 1209. [CrossRef]
23. Oboth, C.; Batta, R.; Karwan, M. Dynamic conflict-free routing of automated guided vehicles. Int. J. Prod. Res. 1999, 37, 2003–2030.
[CrossRef]
24. Yuan, Z.; Yang, Z.; Lv, L.; Shi, Y. A Bi-Level Path Planning Algorithm for Multi-AGV Routing Problem. Electronics 2020, 9, 1351.
[CrossRef]
25. Xu, C.; Xu, Z.; Xia, M. Obstacle Avoidance in a Three-Dimensional Dynamic Environment Based on Fuzzy Dynamic Windows.
Appl. Sci. 2021, 11, 504. [CrossRef]
26. Bae, H.; Kim, G.; Kim, J.; Qian, D.; Lee, S. Multi-Robot Path Planning Method Using Reinforcement Learning. Appl. Sci. 2019,
9, 3057. [CrossRef]
27. Bai, Y.; Ding, X.; Hu, D.; Jiang, Y. Research on Dynamic Path Planning of Multi-AGVs Based on Reinforcement Learning. Appl.
Sci. 2022, 12, 8166. [CrossRef]
28. Onoufriou, G.; Bickerton, R.; Pearson, S.; Leontidis, G. Nemesyst: A hybrid parallelism deep learning-based framework applied
for internet of things enabled food retailing refrigeration systems. Comput. Ind. 2019, 113, 103133. [CrossRef]
29. Zhong, M.; Yang, Y.; Zhou, Y.; Postolache, O. Adaptive Autotuning Mathematical Approaches for Integrated Optimization of
Automated Container Terminal. Math. Probl. Eng. 2019, 2019, 7641670. [CrossRef]
30. Fazlollahtabar, H.; Hassanli, S. Hybrid cost and time path planning for multiple autonomous guided vehicles. Appl. Intell. 2018,
48, 482–498. [CrossRef]
31. Miyamoto, T.; Inoue, K. Local and random searches for dispatch and conflict-free routing problem of capacitated AGV systems.
Comput. Ind. Eng. 2016, 91, 1–9. [CrossRef]
32. Desaulniers, G.; Langevin, A.; Riopel, D.; Villeneuve, B. Dispatching and Conflict-Free Routing of Automated Guided Vehicles:
An Exact Approach. Int. J. Flex. Manuf. Syst. 2003, 15, 309–331. [CrossRef]
33. Xing, L.; Liu, Y.; Li, H.; Wu, C.-C.; Lin, W.-C.; Chen, X. A Novel Tabu Search Algorithm for Multi-AGV Routing Problem.
Mathematics 2020, 8, 279. [CrossRef]
34. Liang, C.; Zhang, Y.; Dong, L. A Three Stage Optimal Scheduling Algorithm for AGV Route Planning Considering Collision
Avoidance under Speed Control Strategy. Mathematics 2022, 11, 138. [CrossRef]
35. Liu, Z.; Meyendorf, N.; Mrad, N. The Role of Data Fusion in Predictive Maintenance Using Digital Twin. In Proceedings of
the 44th Annual Review of Progress in Quantitative Nondestructive Evaluation, Provo, UT, USA, 16–21 July 2017; p. 020023.
[CrossRef]
36. Guo, J.; Zhao, N.; Sun, L.; Zhang, S. Modular based flexible digital twin for factory design. J. Ambient. Intell. Humaniz. Comput.
2019, 10, 1189–1200. [CrossRef]
37. DebRoy, T.; Zhang, W.; Turner, J.; Babu, S.S. Building digital twins of 3D printing machines. Scr. Mater. 2017, 135, 119–124.
[CrossRef]
38. Tao, F.; Zhang, M.; Liu, Y.; Nee, A.Y.C. Digital twin driven prognostics and health management for complex equipment. CIRP
Ann. 2018, 67, 169–172. [CrossRef]
39. Bruynseels, K.; Santoni de Sio, F.; van den Hoven, J. Digital Twins in Health Care: Ethical Implications of an Emerging Engineering
Paradigm. Front. Genet. 2018, 9, 31. [CrossRef]
40. Kumar, S.A.P.; Madhumathi, R.; Chelliah, P.R.; Tao, L.; Wang, S. A novel digital twin-centric approach for driver intention
prediction and traffic congestion avoidance. J. Reliab. Intell. Environ. 2018, 4, 199–209. [CrossRef]
41. Zhang, M.; Tao, F.; Nee, A.Y.C. Digital Twin Enhanced Dynamic Job-Shop Scheduling. J. Manuf. Syst. 2021, 58, 146–156. [CrossRef]
42. Wang, Y.; Wu, Z. Model construction of planning and scheduling system based on digital twin. Int. J. Adv. Manuf. Technol. 2020,
109, 2189–2203. [CrossRef]
43. Negri, E.; Ardakani, H.D.; Cattaneo, L.; Singh, J.; Macchi, M.; Lee, J. A Digital Twin-based scheduling framework including
Equipment Health Index and Genetic Algorithms. IFAC-PapersOnLine 2019, 52, 43–48. [CrossRef]
44. Han, W.; Xu, J.; Sun, Z.; Liu, B.; Zhang, K.; Zhang, Z.; Mei, X. Digital Twin-Based Automated Guided Vehicle Scheduling: A
Solution for Its Charging Problems. Appl. Sci. 2022, 12, 3354. [CrossRef]
Mathematics 2023, 11, 2678 25 of 25
45. Wenna, W.; Weili, D.; Changchun, H.; Heng, Z.; Haibing, F.; Yao, Y. A digital twin for 3D path planning of large-span curved-arm
gantry robot. Robot. Comput. Manuf. 2022, 76, 102330. [CrossRef]
46. Zohdi, T.I. A digital twin framework for machine learning optimization of aerial fire fighting and pilot safety. Comput. Methods
Appl. Mech. Eng. 2021, 373, 113446. [CrossRef]
47. Guo, X.; Peng, G.; Meng, Y. A modified Q-learning algorithm for robot path planning in a digital twin assembly system. Int. J.
Adv. Manuf. Technol. 2022, 119, 3951–3961. [CrossRef]
48. Vasanthan, C.; Nguyen, D.T. Combining Supervised Learning and Digital Twin for Autonomous Path-planning. IFAC-
PapersOnLine 2021, 54, 7–15. [CrossRef]
49. Gao, Y.; Chang, D.; Chen, C.-H.; Xu, Z. Design of digital twin applications in automated storage yard scheduling. Adv. Eng.
Inform. 2022, 51, 101477. [CrossRef]
50. Zhang, C.; Zhang, F.; Li, F.; Wu, H. Improved Artificial Fish Swarm Algorithm. In Proceedings of the 2014 9th IEEE Conference
on Industrial Electronics and Applications, Hangzhou, China, 9–11 June 2014; pp. 748–753.
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.