Abstract

With the aim of promoting environmental sustainability and enhancing transport efficiency, battery-powered connected and automated vehicles (B-CAVs) are employed to replace diesel-powered ones in horizontal transport systems (HTSs) of container terminals. The operational efficiency of an HTS can be increased by the cooperation of B-CAVs. However, it is time-consuming to charge them. Therefore, their battery management becomes a critical issue of a transport schedule. To run container terminals more economically and efficiently, this work proposes an integrated scheduling approach to B-CAVs tasks’ dispatch and route planning, where battery management is taken into account. An integer programming model is constructed with the goal of minimizing the total travel distance. Then, a sustainable charging policy is designed to ensure the consistent transport capacity of an HTS. Furthermore, a congestion-free path plan-based improved genetic algorithm is presented to obtain a near-optimal plan for dispatching B-CAVs to perform transporting and charging operations. A series of experiments are carried out to verify the effectiveness and efficiency of our approach.

1. Introduction

Container terminals play a vital role in the world’s freight transportation, and a horizontal transport system (HTS) is a core component of container terminals, significantly impacting the efficiency of freight transportation. With the increment of container vessels’ loading capacity, the operational efficiency of a terminal is required to be higher. However, due to improper task allocations and path planning, the HTS in traditional container terminals often operates inefficiently, resulting in a backlog of vessels and containers [1]. To address this issue, many automated container terminals (ACTs) are built by employing automatic guided vehicles (AGVs) [2, 3]. However, the yard layout needs to be changed for adopting AGVs, and the cost of this kind of HTS is huge.

In the near future, based on automatic driving, battery, and information technologies, battery-powered connected and automated vehicles (B-CAVs) will be deployed [47], as shown in Figure 1. Cooperative strategies, which are realized by vehicle-to-vehicle and vehicle-to-infrastructure communications, make transportation operations more efficient, flexible, and secure. Furthermore, compared with AGVs in ACTs, container terminals equipped with B-CAVs require less structural modification and cost to improve the operations of terminals.

As shown in Figure 2, a typical container terminal [8] consists of the quayside and yardside. The HTS is responsible for transporting containers between the quayside and yardside using B-CAVs. Quay cranes (QCs) load and unload containers between B-CAVs and vessels at the quayside. At the yardside, rubber-tired gantry cranes or other yard cranes (YCs) load and unload containers to or from B-CAVs. In reality, to minimize the berth time of a vessel, QCs and YCs should load and unload containers continuously once the vessel arrives. Consequently, a sound scheduling policy of HTS is significant to ensure the efficient loading and unloading of a container terminal.

However, unlike diesel-powered vehicles, a B-CAV needs a long time to fully charge its battery after the battery depletes. Hence, we must consider the battery management of B-CAVs when designing a transport plan for an HTS to prevent a shortage of B-CAVs. Furthermore, considering that the number of loading and unloading containers among vessels varies, the berth time could be different for different vessels. For example, three vessels , , and arrive at the terminal in sequence, and their estimated berthing plan is present in Figure 3. Thus, the power demand of HTS varies when serving different vessels. An integrated scheduling strategy should not only consider container transport tasks for the current vessel but also reserve sufficient power for the upcoming vessels. To reduce transportation distance while ensuring uninterrupted and reliable container throughput, this work focuses on designing an integrated B-CAV scheduling approach, where the battery management of B-CAVs is taken into account to enhance the transportation efficiency of the HTS.

The main contributions of this study are that we designed a new integer programming model for the HTS scheduling problem in container terminals, which includes the assignment of transportation tasks, route planning, and particular attention to both the current and the next vessel’s power demand. Then, a sustainable charging policy is designed to address battery management. Finally, a novel improved genetic algorithm (IGA) is proposed to incorporate the proposed charging policy and space-time routing method to generate the scheduling plan. The chromosome of the IGA is divided into two parts in terms of the remaining battery, and experiments verify that relying on the given crossover and mutation rules can effectively find better results.

The remainder of the paper is organized as follows. In Section 2, relevant works are reviewed. In Section 3, we presented an integrated programming model formalizing a B-CAV scheduling problem, and in Section 4, an improved genetic algorithm that combines a sustainable charging policy with a space-time route approach is proposed to generate the B-CAVs schedule. Subsequently, in Section 5, the case study is presented, describing our simulation for verifying the proposed method. Finally, in Section 6, the paper ends with concluding remarks.

2. Literature Review

The scheduling of transport vehicles is crucial for enhancing the operational efficiency of a container terminal. In the context of this study, we classify terminals according to their utilized vehicles, thereby categorizing them into three types: terminals with trucks, ACTs with AGVs, and improved traditional terminals with B-CAVs. Numerous strategies for the transport tasks assignment and vehicle route planning relevant to these terminal environments have been suggested.

In the context of scheduling truck in traditional terminals, Bish [9] divided trucks into distinct sets, employing a heuristic method to dispatch trucks for container transportation. Nishimura et al. [10] implemented a dynamic truck assignment method to establish a schedule with the shortest travel distance. They propose an efficient schedule principle and a heuristic algorithm to determine a near-optimal solution. Adelman [11] constructed an internal pricing mechanism to manage service trucks to generate higher daily shipping profits in a closed network. Lee et al. [12] leveraged a hybrid insertion algorithm to minimize total yard truck travel time. Hop et al. [13] deployed an adaptive particle swarm optimizer for searching a desired truck schedule plan by automatically adjusting its parameters. However, these studies primarily concentrate on the transport tasks assignment problem but fail to consider the impact of vehicle routing plans on transportation efficiency. Consequently, their schedules may not effectively circumvent the problem of efficiency degradation due to congestion.

In terms of AGVs utilized in the container terminal, Nguyen and Kim [14] discussed how to dispatch AGVs by harnessing the location and time information of impending delivery tasks. A mixed-integer programming model is provided to assign optimal delivery tasks to AGVs and employ a heuristic algorithm to reduce computational time. Ho and Liao [15] suggested a dynamic zone strategy which depends on zone partition design and dynamic zone regulation to avert AGV collisions and to maintain load equilibrium among AGVs across varying zones. Nishi et al. [16] designed a bilevel decomposition algorithm for simultaneous production scheduling and conflict-free routing of AGV systems. In detail, the upper level is used to assign tasks, and the lower level is to plan a path. Wu and Zhou [17] proposed a deadlock and blockage prevention method based on the framework of colored resource-oriented Petri net and the deadlock-free operation condition to obtain the shortest routes of bidirectional AGVs. Miyamoto and Inoue [18] presented a mixed-integer programming model aiming to minimize both transportation distance and delay time for AGVs. Fazlollahtabar and Saidi-Mehrabad [19] implemented the minimum cost flow model in conjunction with the enhanced network simplex algorithm for conflict-free and minimal delay time AGV route planning. Qin et al. [20] tackled the distinct hybrid flow terminal scheduling problem by integrating mixed-integer programming and constraint programming techniques. Chen et al. [21] proposed a multicommodity network flow model with two sets of flow balance constraints for cranes and AGV scheduling, and two side constraints are introduced to deal with interdevice constraints. The alternating direction algorithm of the multipliers method is adopted to decompose the problem into a set of crane-specific and vehicle-specific subtasks. The cost-effective solutions can be obtained by iteration. Zhong et al. [22] constructed a mixed-integer programming model focusing on path optimization, integrated scheduling, and conflict avoidance with the aim to minimize AGV delay time. Subsequently, a hybrid methodology combining genetic algorithm and particle swarm optimization is utilized to obtain the results. Ma et al. [23] established a novel mathematical model to describe multiload AGVs operating in ACTs and proposed an improved shuffled frog leaping algorithm. Xing et al. [24] devised the concept of glued nodes in roadmaps to analyze possible occupancy conflicts among different plans of the AGV path. Skaf et al. [25] utilized a heuristic method to derive a near-optimal solution for QC and yard truck scheduling problems. These methods show enormous potential in improving the operation efficiency of ACTs. However, battery management is not considered in their scenario.

More recently, battery-powered AGVs started to see usage in ATCs, leading to research into corresponding battery management policies. Ma et al. [26] employed a simulation-based approach to demonstrate that the decentralized charging stations layout and the progressive recharging policy lead to excellent performance. Xiang and Liu [27] established a nested semiopen queuing network model to estimate the performance with respect to resource allocation and layout design. These studies focus on optimizing resource allocation and layout design of the terminal considering battery management of battery-powered AGVs. However, these studies do not incorporate task dispatching and AGV path planning into their optimization framework. Contrastingly, Li et al. [28] constructed a two-stage stochastic programming model to address the joint scheduling problem of battery swapping and task operation under the influence of random tasks and proposed a simulation-based ant colony optimization algorithm as a solution model. In this work, we introduce an integrated scheduling approach that focuses on scheduling of HTS, particularly considering both current and future battery requirements, and employ a novel genetic algorithm for a faster search of the efficient scheduling plan.

3. Problem Description

The application background of this work is in an improved traditional container terminal. Terminal equipment includes QCs, YCs, and B-CAVs, among which B-CAVs are used to transport containers between QCs and YCs. The container terminal scheduling module dispatches new tasks and plans a reasonable path for a B-CAV. Then, the B-CAV self-drives from the origin place to the destination by following the given path. The next task is assigned to the B-CAV in time after it completes the current task. The layout of a typical container terminal [8, 27] is shown in Figure 2. The yard layout is the parallel layout with a single edge, in which vehicles travel along only one side of a block since two adjacent blocks in a row of the layout are grouped together. In addition, charging stations are distributed along the yard’s edge.

In this work, a container terminal traffic network is represented by a directed graph , where is a finite set of nodes that represent traffic intersections, and ; is a set of directed edges that represent road within the network, and . For a road, storage capacity is used to qualify its space. The traffic network is prone to congestion when the number of B-CAVs exceeds its storage capacity. Specifically, the storage capacity of the road can be formulated as follows:where is the storage capacity of road , is the length of , is the length of a B-CAV, and represents the necessary buffer length between two B-CAVs for maintaining safe driving conditions. The new routing plan of a B-CAV should consider the occupied status of a road by other B-CAVs to avoid potential traffic congestion. To depict the traffic state in a network, i.e., the congestion level of roads, this work presents a busy factor concept and combines it with time window. The busy factor of road during the th time window is given bywhere denotes the quantity of B-CAVs traversing through road during the th time window, and implies that the number of B-CAVs passing through road in th time window is greater than the capacity of road . In this study, we make the assumption that the position of a working B-CAV at a given time can be established according to its route plan and speed, and the value of on road during the th time window can also be determined. Subsequently, the traffic condition on each road is evaluated by examining its busy factor. The busy factors for all routes during all time windows are recorded and updated over time to provide an accurate representation of the traffic situation.

Based on the abovementioned concepts, we formulate the mathematical model of the scheduling problem as follows. The formulated scheduling problem is subjected to several constraints and takes the minimum total transportation distance as the optimization objective. In the proposed mathematical model, the following symbols are adopted:: set of B-CAVs, : set of tasks, : set of QCs, : set of YCs, : set of time windows, : if task is a loading task , if task is a unloading task : 1 if task is assigned to B-CAV , otherwise 0: path length elapsed by B-CAV when delivering task : maximum load container number of B-CAV : travel time of B-CAV delivering task : start time of QC operating task : end time of QC operating task : start time of YC operating task : end time of YC operating task : remaining power of B-CAV : first remaining power threshold of B-CAV: second remaining power threshold of B-CAV with : warning remaining power threshold of B-CAV: route plan from to : 1 if B-CAV is in the work area, otherwise 0: 1 if B-CAV is in the work state, otherwise 0

Applying the abovementioned notation, the multi-B-CAVs scheduling problem in container terminals can be formulated as the following integer programming model.

Objective function:subject to

Equation (4) serves as the objective function that aims to minimize the HTS cumulative transportation distance during the loading and unloading of one vessel’s containers. Constraint (5) ensures that each task can only be served by exactly one B-CAV. Constraint (6) illustrates that the number of containers carried by the B-CAV never exceeds its capacity, i.e., one B-CAV can transport up to one container at a time. Constraint (7) represents that QC starts to handle container only if it finishes handling the former container . Constraint (8) dictates that the YC can only start to operate on container after it has finished handling container . Constraint (9) implies that the B-CAV should deliver the loading container to the transfer point before the QC starts to handle the container. Constraint (10) implies that YC starts to handle container transportation task after the B-CAV has completed the delivery of this task. Constraint (11) imposes that the remaining energy of each B-CAV must over the threshold of warning remaining power. Constraint (12) means that the busy factor of road should be less than 1. Constraint (13) confirms that a B-CAV in the work area is in the work state.

In the proposed model, some B-CAVs’ batteries deplete after a few hours of work and need to be dispatched to charging stations. The HTS needs to deploy other full-battery B-CAVs to replace them and execute tasks. Furthermore, as mentioned above, since the loading and unloading container quantities are “vessel-varying,” the HTS should reserve enough energy for the next vessel. The energy required of the next vessel is estimated bywhere is the number of containers of the next vessel and is the average energy consumption of a B-CAV for transporting a single container. The threshold of energy that B-CAVs should reserve is , which can be computed as follows:where is the energy recovery ratio of HTS during work time, and is the idle time between the end berthing time of vessel and the start berthing time of next vessel , is the number of charging B-CAVs during , and is the energy recovery quantity per unit time of the B-CAV. Considering the constraint in the number of charging stations, only a subset of B-CAVs can be charged during , therefore, let be the number of charging stations. is the estimated total energy of HTS in th time window which can be calculated as follows:where , , and denote the battery state of charge (SOC) in period of idle B-CAVs, recharging B-CAVs and working B-CAVs, respectively, is the number of recharging vehicles, and is the number of working vehicles. We set up the following constraint to determine the estimated total energy of the HTS in the next period which should be larger than the remaining energy threshold.

4. Integrated Scheduling Approach

As mentioned above, the objective of a container terminal is to minimize the overall transportation distance while ensuring uninterrupted loading and unloading operations for the serviced vessel. This section presents the details of the proposed integrated scheduling approach for B-CAVs within container terminals. The approach incorporates three key parts: a sustainable charging policy, a space-time routing method, and an improved GA. These algorithms are designed to collaboratively determine the task assignments and routing plans of the B-CAVs to make HTS more efficient and sustainable.

4.1. Sustainable Charging Policy

Maintaining sufficient available power for the HTS can prevent transport delays and throughput capacity decline at container terminals. Furthermore, advanced charging before the B-CAV SOC reaches the threshold [26] is beneficial in decreasing the traveling distance and the waiting time of B-CAV; thus, we develop an improved advanced recharge method called sustainable charging policy in this work. Before task assignment, we place all B-CAVs waiting for assignment in the idle set . If a B-CAV is assigned tasks, it will be moved from to the work set . Meanwhile, the B-CAV in working status will be assigned a new transport or charging task when it completes the previous transport task. Moreover, if the SOC of a B-CAV falls below the threshold, it will be assigned a charging task. The B-CAV will drive into the parking area and convert to the idle state again after fully charging. B-CAVs in the set and can be further divided into four different preallocated subsets according to their next working type. The four different preallocated subsets are as follows: the recharging subset , the candidate recharging subset , the working subset , and the candidate working subset . Notably, the B-CAV in may perform the task of either charging or transporting containers, and the B-CAV in may remain idle or transport containers. Considering the remaining energy of the B-CAVs and the future battery requirements of terminal operations, the sustainable charging policy is summarized in Algorithm 1. Note that, this policy only assigns charging tasks to vehicles which are less than the charging threshold and assigns other B-CAVs to the preallocated set. The specific task allocation will be obtained through the IGA mentioned later.

Input:, , , and ;
Output:, , , and ;
(1)foreach in do
(2)ifthen
(3)  remove from , and put in ;
(4)  ifthen
(5)   move one idle B-CAV from to ;
(6)whiledo
(7) remove with minimal energy from , and put it in ;
(8)ifthen
(9)  move one idle B-CAV from to ;
(10)foreach in do
(11)ifthen
(12)  put into ;
(13)  ifthen
(14)   move one idle B-CAV from to ;
(15)else
(16)  put into ;
(17)return, , , and .

In the algorithm, Steps 1–5 move the B-CAVs with remaining energy less than from the set into the recharging set ; Steps 6–9 move B-CAVs in with the remaining energy less than into the set to prevent the total remaining energy of the HTS in the next cycle from being less than the remaining threshold ; Steps 10–16 aim to identify candidate charging B-CAVs of whose remaining energy are less than in , which means they may be able to recharge before falling below the lowest threshold . Otherwise, they are put into working subset and wait for the assignment of the next transportation tasks; finally, Step 17 returns the four subsets. The next tasks of B-CAVs in subsets , , , and will be determined according to several factors, specifically, their route distance of executing the next tasks and the state of traffic congestion. Example 1 is used to illustrate Algorithm 1.

Example 1. Assuming that eight B-CAVs now need task assignments, their respective remaining power is presented in Table 1. The remaining power thresholds are set at and . According to Steps 1–5 of Algorithm 1, B-CAV 1 is dispatched for charging, and B-CAV 6 is dispatched for work. According to Steps 6–9, if the total remaining energy of HTS is less than the remaining threshold, B-CAV 2 is first selected to recharge. Otherwise, Steps 10–16 put B-CAVs 2 and 3 into the candidate recharging subset, allocate B-CAVs 7 and 8 to the candidate working subset, and place B-CAVs 4 and 5 into the working subset.

4.2. Space-Time Routing Method
Input:, , , and for all and ;
Output: the route plan of B-CAVs in ;
(1)foreach in do
(2) the initial Tabu list of B-CAV is empty;
(3)while True do
(4)  use Dijkstra algorithm to calculate a shortest route of for executing task and should not in route Tabu list;
(5)  calculate the new busy factors matrix ;
(6)  if the length of is not larger than any route in B-CAV Tabu list then
(7)   if any element of is larger than 1 then
(8)    put into the Tabu list of B-CAV ;
(9)   else
(10)    , put into ;
(11)    break;
(12)  else
(13)   use Dijkstra algorithm to calculate a shortest route of for executing task ;
(14)   put in ;
(15)   calculate the new busy factors matrix ;
(16)   foreach in do
(17)    calculate a new shortest route of ;
(18)    calculate the new busy factors matrix ;
(19)    if any element of is larger than 1 then
(20)     continue;
(21)    else
(22)     ;
(23)     break;
(24)   break;
(25)return routing plan of all in .

Note that if the number of B-CAVs in a road exceeds its storage capacity, congestion tends to occur. Consequently, the routing plan must not only aim at the shortest path but also take into account the storage capacity of planning travel roads. In the yard layout scenario discussed in this paper, there may exist multiple shortest paths between the origin and the destination. To strike a balance between minimizing travel distance and avoiding congestion, we propose a space-time routing method for B-CAVs based on the busy factor and time window, detailed further in Algorithm 2.

Before introducing Algorithm 2, some assumptions are as follows: the B-CAV velocity is constant, B-CAVs are collision-free, the busy factor of each road is set less than or equal to 1, and the task allocation for the set of working vehicles is given, that is, the value of for all and is determined, where is the set of B-CAVs that completed task assignments. The exact task allocation method will be expounded in the next subsection.

Algorithm 2 aims to iteratively generate the route plan of every B-CAV in . The algorithm starts by employing an empty Tabu list in Step 2, storing prohibited routing plans. Steps 4-5 generate a new routing plan for the current B-CAV and update the busy factors matrix . If the length of the routing plan is not greater than that of the plan in the Tabu list, Steps 6–11 adopt the result as the current B-CAV routing plan, thereby ensuring that no element of matrix exceeds 1. Otherwise, the routing plan will be put into the Tabu list of the current B-CAV. If the length of the routing plan is larger than the plan in the Tabu list, then enter a replace loop. In Steps 12–24, by replacing the previous vehicle’s routing plan, the busy factor constraints are satisfied for all route plans. Ultimately, Algorithm 2 returns all routing plans of all B-CAVs in set .

Example 2. Suppose the maximum storage capacity of a parallel block road is five and the maximum storage capacity of a perpendicular block road is two. As shown in Figure 2, three B-CAVs deliver unloading containers from quayside vessel A to the yard blocks , , and , respectively. According to Algorithm 2, B-CAVs with destinations and generate routing plans and , respectively. However, when planning a route for B-CAV with the destination , there is only one shortest route . We depict the current busy factors matrix is shown in Figure 4; obviously, the busy factor of road 23 is at the time window, and exceeds 1. Thus, according to Steps 12–24 of Algorithm 2, the route of the B-CAV with destination is adjusted to , as depicted in Figure 2, which aims to avoid possible traffic jams in the road network.

4.3. Improved Genetic Algorithm

The integrated scheduling of transport task assignment, B-CAV route planning, and battery management of HTS results in a vast computation. Meta-heuristic algorithms (e.g., ant colony algorithm, particle swarm optimization, and genetic algorithm) [2932] are broadly applicable search techniques. They are quite suitable for obtaining accurate or acceptable accuracy within a given time. GA is powerful in solving scheduling problems. Consequently, this work develops an IGA to find the optimal scheduling plan of HTS, the procedure of which is described in Figure 5, wherein transport tasks and the result of the sustainable charging policy are encoded into the chromosomes and the travel distance of the space-time routing result is the fitness evaluation parameter. In addition, we redesigned the structure of chromosomes and specifically modified the crossover mutation rules; the details of the algorithm are introduced below.

4.3.1. Encoding of Chromosome and Initialization of the First Generation

Chromosomes are encoded to signify the task schedule of B-CAVs in preallocated subsets, where each chromosome exhibits a three-tier structure, comprising three distinct subchromosomes. Each subchromosome contains genes representing the vehicle number, the unloading task number, and the loading task number, as depicted in Figure 6. In particular, this work divides each subchromosome into two parts: the work part and the exchange part.

The work part is positioned at the former of the subchromosome and the exchange part is in the latter place. These two parts depend on the result calculated by Algorithm 1. The work part represents the B-CAVs in the work set , and the exchange part represents B-CAVs in the set candidate charging set and the candidate work set . Notably, the unique genes 0 can only appear in the exchange part of the last two subchromosomes at the same time, and it represents different tasks according to the corresponding B-CAV. For candidates charging B-CAV, gene 0 denotes the next task is recharging, and for the candidate working B-CAV, gene 0 indicates an idle state. Similarly, the B-CAVs task schedule can be derived by decoding the chromosome. An example of chromosome coding is shown in Example 3.

Example 3. The SOC and allocate tasks of preallocate B-CAVs are displayed in Table 2. B-CAVs 1 and 2 are allocated to the working part, while B-CAVs 3, 4, 5, and 6 are assigned to the exchange part. B-CAVs 5 and 6 are candidate working vehicles, and their corresponding genes in the last two subchromosomes are denoted as 0. Finally, the encoded chromosome based on Table 2 is shown in Figure 6.
Once a chromosome is encoded according to the tasks and remains SOC of B-CAVs, an initial population which comprised by a set of chromosomes can be constructed. This is accomplished by keeping the first subchromosome unchanged and randomly altering the gene distribution in the remaining two subchromosomes.

4.3.2. Fitness Evaluation and Selection

The fitness function is used to evaluate the quality of chromosomes. Tasks assigned to the B-CAVs are determined by decoding chromosomes and Algorithm 2 is employed to compute the space-time route plan for the B-CAVs. Then, the objective function utilized to derive the minimum travel distance as fitness function value. The roulette method is implemented to select chromosomes after the fitness of all chromosomes has been calculated. The probability of each individual being selected is equal to the proportion of its fitness value to the total fitness value of the entire population.

4.3.3. Crossover and Mutation

The new chromosomes are generated through crossover and mutation operations. A multipoint crossover method is adopted in the crossover operation as illustrated by Figure 7. The crossover only considers the last two subchromosomes of the chromosome, and each part of the chromosome must contain at least one crossover point. The steps of the crossover are as follows: (1) select a series of random points from the work part of a chosen parent and exchange them with the corresponding location of another parent to form the work part of two new child chromosomes; (2) select a series of random points from exchange part of the first parent and exchange them with the corresponding location of second parent to form the exchange part, respectively; and (3) conflict detection is performed after the crossover operation to eliminate code exceptions. For example, let us assume two parent chromosomes, parent1 and parent2, as shown in Figure 7, and the results of applying the crossover operation are child x and child y.

In addition, the IGA employs a method of random mutation to modify the sequence of the chromosome genes, thereby ensures the genetic diversity of the population. Particularly, gene mutation only occurs in the same subchromosome and only affects genes encoding nonzero values. An instance of a random mutation is depicted in Figure 7; the mutation genes are marked by red triangles.

In comparison to the GA presented in [1], IGA employs a partition method to address the issue of invalid task assignments to B-CAVs, which is caused by the randomness of GA. In IGA, the partitioning of genes into distinct sections within chromosomes is based on their corresponding B-CAVs preallocated subsets. Furthermore, an essential feature of IGA’s crossover and mutation processes mandates that the unique gene 0 is strictly excluded from the work section of the chromosome, thus more effectively for searching the optimal solution.

4.3.4. Stopping Criterion

After a cycle of crossover, mutation, and selection operations, a new batch of populations will be obtained. To balance the time of search computation and attain an approximately optimal solution, this study introduces two optional termination conditions: (1) if the maximum number of generations permitted for IGA evolution exceeds a given integer and (2) if the standard deviation of the fitness values in the current generation is below a small given value. The whole process of the IGA is shown in Figure 5. Finally, the optimal chromosome obtained by the abovementioned method can be translated into practical scheduling plans for the HTS.

5. Simulation Results and Discussion

In this section, several experiments are designed to assess the efficacy of the proposed approach. The test network is from the upgraded traditional container terminal, as illustrated in Figure 2. Several other methods are compared with our method: the exact enumeration algorithm (EEA), which obtains optimal solutions via precise search operations; the nearest assignment algorithm (NAA) [26], which is commonly used for scheduling transportation tasks in container terminals; and the GA used in work [33] to solve AGV scheduling problems within ACT.

To valid the computational efficiency of the proposed method, comparisons are made with EEA, NAA, and GA for small-scale problems. For larger-scale scenarios, the proposed method is primarily compared against NAA and GA. When NAA processes the transportation instruction, it will check the full B-CAV list under the idle status and then assign the nearest B-CAV to handle the corresponding container. A B-CAV is referred as idle if it is neither handling containers nor being recharged. The computational experiments are performed by the microscopic traffic simulation tool SUMO [34] and Python program on a computer with an Intel (R) Core (Tm) CPU@ i7-10710 3.40 GHz and 16 GB of RAM running the Windows 10 operation system.

5.1. Parameters Settings

The following experimental parameters were established for the container terminal yard, which is equipped with 120-yard subblocks and 16 charging stations:(1)The number of containers varies from 4 to 1200, where the scheduling problem with 4–16 containers is classified as a small-sized problem and those with 100–1200 containers are classified as a large-sized problem in the experiment. The origin and destination locations for transportation tasks are randomly generated across all areas of the terminal yard.(2)The quantity of B-CAVs ranges from 2 to 36, while the number of QCs varies between 1 and 6. It is assumed that all operation times follow a uniform distribution. The processing time of each QC on these containers follows uniform distribution U (100, 150) seconds.(3)The genetic algorithm (GA) parameters are set based on preliminary tests: a crossover rate of 0.8, a mutation rate of 0.01, a population size of 100, and a maximum of 100 generations.

5.2. Results and Discussion

First, we consider small-scale problems employing the proposed approach, EEA, NAA, and GA. At the beginning, all B-CAVs of the considered scenario are fully charged. Furthermore, we set the number of QC , the number of B-CAVs, and the number of container transport tasks . The objective function value (OFV) and computation time are compared and present in Table 3. From the result, we can figure out that both the EEA and IGA can identify superior optimal solutions. However, as shown in Table 3, the EEA exhibits a longer running time compared to both the GA and the IGA, especially as the number of QCs and B-CAVs increases. Although the NAA has the shortest calculation time, it cannot obtain the optimal solution in some instances. Table 4 illustrates the route result of experiment No. 3 in Table 3. Due to the nearest allocation principle, B-CAV 1 and B-CAV 2 transport only one container in the first cycle between the seaside and the terminal yard. Consequently, this increase in empty transport travel obviously escalates the total travel distance. As the number of transport containers increases, the computation time of the GA also progressively increases compared to the IGA. This is attributable to the novel chromosome structure of the IGA, which prevents generation of the infeasible solutions, thereby enabling efficient acquisition of optimal solutions.

Table 5 displays the parameters and outcomes of the NAA, GA, and IGA in large-scale problems. From these results, it is evident that the OFVs of IGA surpass those of GA and NAA methods, particularly when addressing complex issues. The results demonstrate IGA can get a more cost-effective scheduling plan. Simultaneously, the average travel distance of a B-CAV for transporting a container of NAA is longer than that of the proposed method, which means a single container transport consumes more energy. Furthermore, the comparison of congestion time reveals that our proposed space-time routing method can effectively mitigate container terminal congestion compared to the NAA, which is helpful to increase the efficiency of the terminal. Nevertheless, due to the traffic disturbances and the number of vehicles nearing the system capacity limit, complete avoidance of congestion remains challenging. Based on the above analyses, it can be concluded that the method proposed in this paper is capable of identifying near-optimal solutions of the minimum total travel distance, outperforming both the EEA and the NAA. When compared with the GA, the IGA exhibits faster computational speed.

To verify the suitability of the proposed battery management policy, two types of charging policies are tested in this work. The first, referred to as the conservative charging policy, is derived from [26]. Under this policy, a B-CAV will continuously work until its battery SOC declines to a safety threshold that is set to . The second policy is the sustainable charging policy proposed in this work. In the simulation, we set the QC and container numbers of every ship to the same value. Additionally, the interval time between the loading and unloading processes of the vessels was set to one hour. Figure 8 presents the contrasts between these two policies. Over the course of four distinct experiments, depending on the amount of loading and unloading, the sustainable charging policy reserves more power than the conservative charging policy, and this is related to the amount of future loading and unloading. The results are evident that the sustainable charging policy manages to maintain sufficient energy, aligning with prospective work requirements.

The charging policy also significantly affects the performance of the system. If the number of transportation tasks increases, the total processing time of the terminal will increase, and the number of vehicles required by different charging policies is also different. We make a comparative analysis of the required number of B-CAVs in different transport demand scenarios. We adjust the QC number until the cumulative transportation time reaches 12 hours and set the subsequent vessel’s transportation task number to zero. As illustrated in Figure 9, in all cases and in comparison to a conservative charging method, our proposed scheduling policy successfully achieved the same volume of transportation tasks with fewer B-CAVs. Notably, as the QC number ascends from 2 to 5, the average number of B-CAVs required per QC witnessed a reduction from 5 to about 3.8. Thus, the proposed integrated scheduling method manifests substantial potential in considerably diminishing the operational expenses of the terminal.

6. Conclusion

In an endeavor to enhance the operational efficiency of the HTS at a container terminal equipped with B-CAVs, we propose an integrated scheduling approach that considers battery management. A novel sustainable charging policy is designed to balance the charging time and working time of B-CAVs. Furthermore, we develop an IGA that incorporates the charging policy and a space-time routing methodology to generate a reasonable task allocation and a congestion-free routing plan with minimum travel distance. Numerical experiments carried out demonstrate that the proposed method is effective in reducing computing time and travel distance. Importantly, the number of required vehicles is reduced under the premise of ensuring sufficient transportation capacity. Apart from QCs and transport vehicles, the whole container terminal efficiency is also influenced by the yard crane dispatch policy. Interesting future research directions may include taking the yard cranes and other transportation resources into the terminal system scheduling system.

Data Availability

Simulation data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported in part by the Science and Technology Program of Zhejiang Province of China under Grant no. 2023C01174.