A method, system and apparatus for docking scheduling based on a movable berth

By optimizing ship berthing scheduling using a dual-encoding genetic algorithm and a greedy algorithm, the problem of low ship scheduling efficiency in traditional methods is solved. This achieves coordinated optimization of ship sequence and berth allocation, thereby improving port resource utilization and the accuracy of scheduling schemes.

CN119647888BActive Publication Date: 2026-11-20SHANGHAI ZHONGCHUAN SDT-NERC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411812428.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2026-11-20
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

Traditional ship scheduling methods are inefficient in handling ship queuing, berth allocation, and air gap adjustment in complex port environments, making it difficult to meet real-time scheduling needs. Furthermore, they neglect the coupling relationship between ship berthing order and berth allocation, leading to uneven resource allocation.

Method used

A berthing scheduling method based on a dual-encoding genetic algorithm is adopted, which combines a greedy algorithm to optimize the initial population and collaboratively optimize the ship sequence and berth allocation. Ships and slipways are represented by dual-encoding chromosomes, fitness values ​​are calculated and crossover and mutation operations are performed, and the air gap height is dynamically adjusted to optimize ship berthing scheduling.

Benefits of technology

It improves the overall operational efficiency and resource utilization of the port, shortens the convergence time of the algorithm, enhances the accuracy and reliability of the scheduling scheme, and can find the optimal or near-optimal ship berthing scheduling scheme under various constraints.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119647888B_ABST
    Figure CN119647888B_ABST
Patent Text Reader

Abstract

The application provides a movable berth-based docking scheduling method, system and device, relates to the technical field of ship docking scheduling planning, and optimizes ship docking order and berth allocation by using a genetic algorithm, and minimizes total operation time based on the rapid matching of air gap space and docking height; in the method, the ship order and berth allocation are comprehensively considered based on double coding chromosomes, a greedy algorithm is used to optimize the initial population, the operation process of the in-out port ships and the movable berth air gap lifting is reasonably scheduled, various factors such as ship arrival time, loading and unloading time, docking height interval, berth number, location tidal parameters and air gap height interval are considered, and through the adaptive crossover and mutation of the double coding chromosomes in the genetic algorithm, the scheduling efficiency and scheme quality are improved, the ship docking arrangement is optimized, the port efficiency is improved, and the waiting time and resource waste are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ship berthing scheduling planning technology, specifically to a berthing scheduling method, system and equipment based on a movable slipway. Background Technology

[0002] Ports are crucial nodes in waterway transportation networks, and the scheduling of vessel berthing and unloading is key to port operation and management. With limited berth resources, how to rationally arrange vessel berthing and loading / unloading operations, shorten vessel dwell time in port, and improve berth utilization is a significant challenge for ports.

[0003] Traditional ship scheduling relies heavily on manual experience and simple rules, resulting in low efficiency and failing to meet the demands of modern large-scale and automated terminals. In recent years, some scholars have proposed ship scheduling methods based on operations research models, such as integer programming and heuristic algorithms, which have improved scheduling efficiency to some extent. However, these methods generally suffer from drawbacks such as long computation times, slow convergence speeds, and a tendency to get trapped in local optima, making them unsuitable for real-time scheduling.

[0004] With technological breakthroughs in mobile slipways, mobile docks with adjustable air gaps are gradually becoming crucial in shipping. Mobile slipways can adjust the air gap height in real time according to the ship's draft. Both sides of the slipway can be used for loading and unloading, and simultaneous loading and unloading is possible. Therefore, the adjustment of the air gap height is a significant factor affecting loading and unloading efficiency. However, traditional methods often lack effective control mechanisms for air gap optimization, making it difficult to adapt to dynamically changing operational needs. Furthermore, most methods treat ship berthing sequence and berth allocation as independent optimization problems, neglecting the coupling relationship between the two, resulting in difficulties in achieving optimal resource allocation and operational efficiency in practical applications.

[0005] Therefore, there is an urgent need for a method that can synergistically optimize ship scheduling and slipway air gaps, taking into account multiple factors such as ship sequence, berth allocation and air gap adjustment, in order to improve the overall port operation efficiency and resource utilization. Summary of the Invention

[0006] In view of this, embodiments of this application provide a berthing scheduling method, system, and storage medium based on a movable slipway. It utilizes a dual-encoding genetic algorithm to comprehensively consider vessel sequence and berth allocation, supplemented by a greedy algorithm to optimize the initial population, and rationally schedules the operation process of vessels entering and leaving the port and the air gap lifting and lowering of the movable slipway. Embodiments of this application provide the following technical solutions:

[0007] On the one hand, embodiments of this application provide a docking scheduling method based on a mobile slipway, including the following steps:

[0008] S1. Obtain scheduling parameters, including ship parameters and slipway parameters, and calculate the expected berthing range of the ship and the air gap height range of the slipway;

[0009] S2. Generate an initial population, where each individual is represented by a dual-coded chromosome, the first layer of the dual-coded chromosome referring to the ship and the second layer referring to the slipway;

[0010] S3. Use a greedy algorithm to optimize the initial population and generate an optimized population, wherein the expected docking interval and the air gap height interval in the chromosome overlap.

[0011] S4. Calculate the fitness value of each chromosome in the optimized population, sort them according to the fitness values, and calculate the ranking;

[0012] S5. Calculate the selection probability and randomly select the parent chromosome;

[0013] S6. Randomly select two individuals from the parent chromosomes and perform a crossover operation to generate offspring chromosomes;

[0014] S7. Randomly select individuals from the offspring chromosomes to perform mutation operations, replace the first layer code with other ship sequences, and then replace the second layer code with other ship station numbers;

[0015] S8. Determine if the number of iterations has reached the specified value. If it has, stop the iteration and output the docking scheduling scheme; otherwise, jump to S4.

[0016] Furthermore, in S1, the ship parameters include arrival time, loading and unloading time, ship departure interval and gangplank connection interval, and the slipway parameters include berth number, local water depth and air gap height interval, and the local water depth is superimposed on the air gap height interval to obtain the slipway height interval.

[0017] Furthermore, based on the ship parameters, the tidal difference is calculated within the water depth at the location, and the expected berthing height range is calculated.

[0018] Furthermore, in S2, the first layer of coding of the dual-coded chromosome is sorted in ascending order based on the arrival time of the vessel, and the second layer of coding of the dual-coded chromosome is randomly assigned a berth number to the slipway based on the first layer of coding of the vessel, and the berthing conditions are met, wherein the berthing conditions refer to the overlap between the expected berthing height range and the air gap height range.

[0019] Furthermore, in S3, the greedy algorithm optimizes at least 5% of the dual-coded chromosomes in the initial population:

[0020] Based on the order of the first layer of coding, the vessel is preferentially assigned to an available berth that meets the berthing conditions; if there is no available berth, a backup berth is searched, the air gap height range of which is closest to the expected berthing height range of the vessel to be assigned, and the waiting time is recorded, the waiting time being the remaining loading and unloading time of the vessel in the current berth plus the height adjustment time of the slipway; if there is no backup berth, an available berth is selected, the one with the shortest remaining loading and unloading time for the vessel.

[0021] Furthermore, in S4, the fitness value is the reciprocal of the total operation time of the scheduling scheme, the total operation time is the operation time of the longest-running berth on the slipway, and the operation time includes the height adjustment time of the slipway and the loading and unloading time of the ship.

[0022] Furthermore, in S4, the fitness value is calculated as: total waiting time + α * idle time on the slipway + β * number of air gap adjustments + γ * total range of air gap adjustments, where α, β, and γ are weighting coefficients.

[0023] Furthermore, in S5, the formula for calculating the selection probability is as follows: Where r i The ranking is calculated, and P is the total number of the optimized population. In S8, a backtracking algorithm is also included. If the current scheduling scheme cannot meet the requirements of all ships, the backtracking algorithm is used to revert to the previous generation of the optimized population.

[0024] On the other hand, embodiments of this application provide a docking scheduling system based on a movable ship platform, including an electrically connected parameter acquisition module, a population generation module, a population optimization module, a ranking calculation module, a parent selection module, a crossover operation module, a mutation operation module, and an iterative judgment module, wherein:

[0025] The parameter acquisition module is used to acquire scheduling parameters, including ship parameters and slipway parameters, and to calculate the expected berthing range of the ship and the air gap height range of the slipway.

[0026] The population generation module is used to generate an initial population, where each individual is represented by a dual-coded chromosome. The first layer of the dual-coded chromosome refers to the ship, and the second layer of the chromosome refers to the slipway.

[0027] A population optimization module is used to optimize the initial population using a greedy algorithm to generate an optimized population, wherein the expected docking interval and the air gap height interval in the chromosome overlap.

[0028] The ranking calculation module is used to calculate the fitness value of each chromosome in the optimized population, and sort and rank them according to the fitness value.

[0029] The parent selection module is used to calculate the selection probability and randomly select the parent chromosome.

[0030] The crossover module is used to randomly select two individuals from the parent chromosomes to perform a crossover operation and generate offspring chromosomes.

[0031] The mutation operation module is used to randomly select individuals from the offspring chromosomes to perform mutation operations, replace the first layer code with other ship sequences, and then replace the second layer code with other ship station numbers;

[0032] The iteration judgment module is used to determine whether the number of iterations has reached a specified value. If it has, the iteration stops and the docking scheduling scheme is output; if it has not, the process jumps to the ranking calculation module.

[0033] On the other hand, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the docking scheduling method based on a mobile dock as described in any of the preceding claims.

[0034] Compared with the prior art, the beneficial effects that the at least one technical solution adopted in the embodiments of this application can achieve include at least:

[0035] 1. The method of this invention uses optimization techniques such as genetic algorithms to achieve dynamic adjustment of ship berthing order and slipway air gap, thereby optimizing overall loading and unloading efficiency. This method effectively solves the problems of low efficiency and uneven resource utilization in traditional scheduling methods when dealing with ship queuing, berth allocation, and air gap adjustment in complex port environments. By constructing a complete scheduling framework based on genetic algorithms and performing iterative optimization, it can find the optimal or near-optimal ship berthing scheduling scheme under various constraints, which is more efficient than traditional heuristic algorithms and can handle more complex scheduling problems. Based on the berthing scheduling of movable slipways, and considering the calculation of air gap height intervals, the accuracy and reliability of the scheduling scheme are improved.

[0036] 2. The method of this invention introduces a greedy algorithm in the initialization population stage to accelerate the convergence speed of the optimization process and improve the quality of the initial solution. By generating the initial population based on the arrival time, the quality of the initial population is improved, the convergence time of the algorithm is shortened, and the speed of finding the optimal solution is accelerated. In addition, the berth allocation must meet the docking conditions to ensure the feasibility of the initial solution.

[0037] 3. The method of this invention adopts a dual-encoding chromosome design for ships waiting to berth and available berths, encoding the ship sequence and berth allocation information separately, which more accurately describes the matching relationship between ships and berths, and at the same time more comprehensively expresses the solution space of the problem, allowing the algorithm to optimize these two key factors simultaneously.

[0038] 4. The method of this invention clearly defines the fitness function, enabling the algorithm to effectively evaluate the advantages and disadvantages of different scheduling schemes. Firstly, it uses the operation time of the longest-running berth as the total operation time, reflecting the optimization of resource utilization. Secondly, it provides a more flexible fitness function, which can balance the relationship between different objectives by adjusting the weight coefficients. For example, it can focus more on reducing waiting time or reducing the number of air gap adjustments. Attached Figure Description

[0039] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a flowchart of a docking scheduling method based on a movable ship platform according to the present invention;

[0041] Figure 2 This is a schematic diagram illustrating an implementation of a docking scheduling method based on a movable slipway according to the present invention.

[0042] Figure 3 This is a schematic diagram of the chromosome of a docking scheduling method based on a movable slipway according to the present invention.

[0043] Figure 4 This is a Gantt chart of a docking scheduling method based on a movable ship platform according to the present invention.

[0044] Figure 5 This is a flowchart illustrating the algorithm of a docking scheduling method based on a movable ship platform according to the present invention.

[0045] Figure 6 This is a comparison diagram before and after optimization of the docking scheduling method based on a movable slipway according to the present invention;

[0046] Figure 7 This is a schematic diagram of a docking scheduling system based on a mobile docking station according to the present invention. Detailed Implementation

[0047] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0048] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0049] The berthing scheduling method based on a movable slipway provided in this application is applicable to scenarios in the field of ship berthing scheduling planning that require coordinated optimization of ship scheduling and slipway air gap. The ship berthing scheduling problem aims to optimize the order and time of ship berthing on a limited number of movable slipways, with the goal of minimizing ship waiting time and slipway idle time. A key feature of movable slipways is that their air gap height can be adjusted according to the ship's draft and dimensions, thereby improving slipway utilization.

[0050] Current technologies typically only consider first-come, first-served optimization when the wharf is fixed, meaning its geographical location or height above the waterline is fixed. However, with technological advancements, mobile slipways are gradually replacing fixed wharves in many critical areas, such as semi-permanent military wharves and temporary wharves in rescue operations. These wharves are flexible, with varying heights above the waterline, allowing berths to adjust their air gap heights according to the draft and size of incoming vessels to ensure adaptability. This is something traditional fixed wharves cannot do. Traditional berths need to monitor tidal changes to dock incoming vessels, and wharf operations are generally concentrated during high tide. During low tide, because the wharf is much higher than the waterline, the gangplank for docking vessels cannot be safely engaged, preventing loading and unloading operations. Mobile slipways, however, can adjust the air gap to ensure safe gangplank engagement, making them more versatile than traditional wharves. Therefore, traditional genetic algorithm-based intelligent vessel scheduling methods for fixed wharves cannot address the scheduling challenges of mobile slipways.

[0051] Meanwhile, most existing technologies optimize scheduling algorithms based on first-come, first-served (FIF) principles. However, in reality, scheduling schemes derived from FIF perspectives are not necessarily the optimal solutions for terminal operation times. For example, a large ship with a deep draft may arrive first, but during low tide, loading and unloading cannot begin immediately. In this case, smaller ships with suitable drafts can be used for loading and unloading to save time. This is a blind spot of FIF. Furthermore, since a slipway provides two berths and shares slipway height, it means that when ships arrive simultaneously on both sides of the slipway (both berths) to unload, the slipway height range during unloading time needs to be partially overlapped.

[0052] On the one hand, embodiments of this application provide a docking scheduling method based on a mobile slipway, such as... Figure 1 The diagram shows a flowchart of a docking scheduling method based on a movable ship platform according to the present invention, which includes the following steps:

[0053] S1. Obtain scheduling parameters, including vessel parameters and slipway parameters. Vessel parameters provide the data foundation for the first layer of subsequent dual-coding, slipway parameters provide the data foundation for the second layer of subsequent dual-coding, and scheduling parameters should also include water area parameters used for constraint condition determination.

[0054] Specifically, vessel parameters include vessel number, length, beam, draft, arrival time, and estimated berthing time; slipway parameters include the number of movable slipways, the load-bearing capacity of each slipway, berth number and location coordinates, water depth distribution map of the slipway area, and tidal pattern table, used to determine whether a vessel can berth at a specific location.

[0055] In some embodiments, during process S1, based on ship parameters, the ship's arrival time, loading and unloading time, ship's water departure interval and gangway overlap interval are determined, and the expected berthing height interval is calculated; based on slipway parameters, the berth number, local water depth and air gap height interval are determined, and the slipway height interval is obtained by superimposing the local water depth and air gap height interval.

[0056] like Figure 2The diagram illustrates an implementation of a berthing scheduling method based on a movable slipway according to the present invention. The slipway can move on the sea surface and can be fixed according to seabed geological conditions. For ease of calculation, the distance between the sea surface and the upper surface of the slipway is referred to as the air gap height in this description. The air gap height is crucial for ship loading and unloading operations because it affects the height of the gangway connecting the ship and the slipway. An ideal air gap height ensures the safe and efficient loading and unloading of cargo and passengers. In the method of the present invention, the slipway is not only a movable dock, but its air gap height can also be adjusted according to the draft and dimensions of different ships to adapt to the loading and unloading needs of different ships. By dynamically adjusting the air gap height of the slipway, the collaborative operation between the ship and the slipway can be optimized, the operational efficiency of the dock can be improved, and the safety of the operation can be ensured.

[0057] Specifically, the first step is to calculate the ship's expected berthing height range [G1, G2]. This requires obtaining the ship's expected arrival time, loading / unloading time, tide table, oscillation margin δ, ship's departure distance [B1, B2], gangway length l, gangway safe lowering angle a, and gangway safe raising angle b. This information is then compared to determine if the current air gap height range [T1, T2] on the slipway overlaps with the expected berthing height range [G1, G2], and the result is output indicating whether a suitable air gap range exists. The calculation process is as follows:

[0058] 1. Based on the estimated arrival time of the incoming vessel and the estimated operation time, look up the highest tide (w) in the corresponding tide table. max and the lowest tide w min .

[0059] 2. Use the oscillation margin δ to correct the values ​​of the highest and lowest tides. The new method for calculating the highest tide is as follows: W max =w max +δ, the new method for calculating the lowest tide is as follows: W min =w min -δ. The tidal range W between the two tides is calculated based on the new highest and lowest tides. diff =W max -W min .

[0060] 3. Calculate the scaffold overlap interval [H1, H2] based on the scaffold length l, the safe lowering angle a, and the safe raising angle b, where the scaffold lowering height H1 = cos(a) * l and the scaffold raising height H2 = cos(b) * l.

[0061] 4. Consider two extreme cases involving ship loading / unloading and tidal combinations:

[0062] The first scenario involves the vessel being unloaded and the tide at its highest point. In this case, the tide has reached its highest level within the operational area and is no longer rising. Since the vessel is unloaded, there is no issue of the waterline decreasing due to unloading, nor is there any increase in the height of the ramp. Therefore, the formula for calculating the lower bound value G1 for expected berthing is: G1 = W diff +B2-H1, where B2 is the height of the gangway overlap point above the water surface when the vessel is unloaded, and H1 is the safe lowering height of the gangway. Since tide levels change periodically over time, the impact of tide fluctuations on operations must be considered in practice.

[0063] The second scenario involves a fully loaded vessel at the lowest tide level within the operational area. In this case, the tide has reached its lowest point and is no longer decreasing. Under full load, the vessel will not experience the issue of increased draft due to loading, nor will it suffer from a decrease in the height of the gangway connection. Therefore, the formula for calculating the upper limit value G2 for berthing is: G2 = B1 + H2, where B1 is the height of the gangway connection point above the water surface when the vessel is fully loaded, and H2 is the safe lifting height for the connection.

[0064] 5. Determine the reasonableness of the boundary. If G1 > G2, it means the lower boundary is greater than the upper boundary. In this case, there is no suitable berthing area during the working period, and it is necessary to consider changing the time period for operation. If G1 < 0, it means the lower boundary is below the tide level, and the dock is submerged. In this case, simply set G1 to a value greater than 0.

[0065] In summary, the expected berthing height range is based on the vessel's arrival time, loading / unloading time, vessel's departure time, and gangway overlap time. The tidal difference is calculated from the local tidal parameters, and the lower and upper bounds are calculated accordingly. When the expected berthing height range overlaps with the air gap height range of the current berth, the current berth can be matched.

[0066] S2. Based on the scheduling parameters, an initial population is generated. Each individual in the initial population is represented by a dual-encoded chromosome. The first layer of the dual-encoded chromosome refers to the ship, and the second layer of the chromosome refers to the slipway.

[0067] like Figure 3 The diagram shows a chromosome diagram of a docking scheduling method based on a movable slipway according to the present invention. In S2, the first layer of coding of the dual-coding chromosome is sorted in ascending order based on the arrival time of the ship. The second layer of coding of the dual-coding chromosome is randomly assigned a berth number of the slipway based on the first layer of coding of the ship, and the docking conditions are met. The docking conditions refer to the overlap between the docking height range and the air gap height range.

[0068] Specifically, the first-level coding (ship scheduling order) uses integer codes to encode ship numbers, indicating the berthing order of ships; the second-level coding (slipway allocation) uses integer codes to encode berth numbers, indicating the slipway number where each ship berths. For example, if there are three ships (A, B, C), one possible code is [2, 1, 3], indicating that ship B berths first, then ship A, and finally ship C; corresponding to the first-level code [2, 1, 3], the second-level code could be [1, 2, 1], indicating that ship B berths at slipway 1, ship A berths at slipway 2, and ship C berths at slipway 1.

[0069] like Figure 4 The diagram shows a Gantt chart of a berthing scheduling method based on a movable slipway according to the present invention. This Gantt chart is based on the requirement to check for conflicts in the second-level encoding (i.e., the same berth being allocated to multiple ships at the same time) when generating the initial population. If a conflict occurs, the individual chromosome is regenerated until all berths are occupied by only one ship within the same time period.

[0070] S3. Use a greedy algorithm to optimize the initial population, prioritize the ships, and generate an optimized population. The core idea of ​​the improved greedy algorithm to optimize the initial population is to prioritize the allocation of ships to the earliest available slipways according to the order of arrival, and consider the matching of ship size with slipway capacity, as well as water depth limitations, to meet the berthing conditions.

[0071] The greedy algorithm must check the availability of slipways when allocating slipways to ensure no conflicts occur. If a berth is already occupied, the algorithm needs to find the next available slipway. For each vessel, the algorithm selects the slipway from the available berths that meets its draft and size requirements and has the shortest waiting time. If multiple slipways meet the criteria, one is selected randomly. For two berths on the same slipway, the overlapping berthing height ranges of vessels berthing on both sides need to be considered. Furthermore, during loading and unloading, the air gap height of the slipway can be automatically adjusted based on the selected slipway and the vessel's draft and size to ensure safe berthing.

[0072] like Figure 5 The diagram shows the algorithm process of a berthing scheduling method based on a movable slipway according to the present invention. In S3, the greedy algorithm optimizes at least 5% of the double-coded chromosomes in the initial population: based on the order of the first layer of coding, ships are preferentially allocated to vacant berths that meet the berthing conditions; if there are no vacant berths, a reserve berth is searched, and the air gap height range of the reserve berth is closest to the berthing height range of the ship to be allocated. The waiting time is recorded, which is the remaining loading and unloading time of the ship in the current berth plus the height adjustment time of the slipway; if there are no reserve berths, an available berth is selected, and the ship in the available berth has the shortest remaining loading and unloading time.

[0073] Specifically, the process begins by inputting the vessel information to be assigned. It then checks for available berths that meet the berthing requirements. If available, the vessel is directly assigned to that berth. If not, the process continues to the next step: finding a reserve berth. All berths are checked, and the difference between the air gap height range of the slipway and the berthing height range of the vessel to be assigned is compared. The berth with the smallest height range difference is selected as the reserve berth. If a reserve berth is found, the waiting time is calculated as the remaining loading / unloading time of the current vessel plus the slipway height adjustment time, and the waiting time is recorded. If no reserve berth is found, the process continues to the next step: selecting an available berth. All berths are checked, and the remaining loading / unloading time of the current vessel at each berth is compared. The berth with the shortest remaining loading / unloading time is selected, and the assignment is completed. In other words, for vessel assignment, available berths are prioritized, followed by reserve berths with the closest height range, and finally, available berths with the shortest remaining loading / unloading time are placed last.

[0074] S4. Calculate the fitness value for each chromosome in the optimized population, and sort and rank them according to the fitness values; calculate the fitness value for each chromosome in the optimized population. The fitness value can be calculated based on the total docking time, the distance the ship travels on the slipway, and the penalty for violating constraints. The lower the fitness value, the better the scheduling scheme. Sort and rank the chromosomes according to their fitness values.

[0075] In some embodiments, in S4, the fitness value is the reciprocal of the total operation time of the scheduling scheme, where the total operation time is the operation time of the longest-running slipway berth, and the operation time includes the slipway height adjustment time and the loading and unloading time of the vessel.

[0076] Specifically, I represents the total number of ships, and i represents a specific ship; for example, i = 1 represents ship number 1. J represents the total number of berths, and j represents a specific berth; for example, j = 1 represents berth number 1. T represents the total time spent at the dock, t ij Let represent the loading and unloading time spent by ship i at port j. The optimization objective is argmin∑ i,j)∈ u t ij Here, u represents a set containing valid combinations of different i and j. Fitness calculation is set as follows: The reciprocal of fitness is the total time spent on dock operations under the scheduling scheme.

[0077] In some embodiments, in S4, the fitness value is calculated as: total waiting time + α * slipway idle time + β * number of air gap adjustments + γ * total air gap adjustment amplitude, where α, β, and γ are weighting coefficients. Total waiting time represents the total waiting time for all vessels before entering the slipway; slipway idle time represents the time the slipway is idle and not occupied by any vessel; number of air gap adjustments represents the number of times air gaps are adjusted during slipway use; and total air gap adjustment amplitude represents the total amount or the sum of the amplitudes of all air gap adjustments. The weighting coefficients are adjusted to balance the relationship between different objectives; for example, more emphasis can be placed on reducing waiting time or reducing the number of air gap adjustments. If it is desirable to reduce slipway idle time and improve slipway utilization, the value of α can be increased; if the cost of air gap adjustment operations is high and it is desirable to minimize the number of adjustments, the value of β can be increased; if the amplitude of air gap adjustments has a significant impact on system stability, the value of γ can be increased. By simultaneously optimizing multiple dimensions, local optima can be avoided, and a more balanced and comprehensive solution can be found.

[0078] S5. Calculate the selection probability and extract the parent chromosome from the optimized population based on the selection probability; calculate the selection probability of each chromosome based on the chromosome ranking, and then select the parent chromosome based on the probability.

[0079] In some embodiments, in S5, the formula for calculating the selection probability is: Where ri is the rank calculation and P is the total size of the optimized population.

[0080] S6. Randomly and non-repeatingly select two individuals from the parent chromosomes and exchange them. After crossing over the first layer of coding, adjust the second layer of coding accordingly to generate offspring chromosomes. The crossover operation must be applied to both layers of double coding simultaneously.

[0081] Specifically, a crossover point is randomly selected or chosen according to a certain strategy. This crossover point will be applied to both the first-level coding (ship arrival order) and the second-level coding (designated berth). Using the selected crossover point as the boundary, a portion of the gene segments of the two parent individuals (let's say P1 and P2) after (or before, depending on the selection) the crossover point is exchanged. After the crossover, the first-level coding of the offspring individuals (let's say C1 and C2) is checked to ensure that there is no duplication of the ship arrival order.

[0082] If duplicates are found, one of the following strategies can be used to handle them:

[0083] Reordering: Reorder the repeated parts to ensure that each incoming ship appears only once in the order, and the reordered order still meets the constraints of the problem; Replacing the repeated: Select a number from another non-repeating part to replace the repeated number, while ensuring that the order after replacement is still valid; Partial crossover: If the repetition problem is serious, consider exchanging only part of the gene segment instead of the entire gene segment to reduce the possibility of repetition, balance the reduction of the repetition rate and the maintenance of solution diversity.

[0084] While handling duplicate issues, it's crucial to ensure consistency between the second-level and first-level encodings. That is, if the arrival order of ships changes in the first-level encoding, the corresponding berth assignments in the second-level encoding must be adjusted accordingly. Furthermore, the offspring individuals after crossover are validated to ensure they meet all constraints (such as berth capacity, time windows, etc.). If constraints are not met, appropriate adjustments can be made, such as reallocating berths or further adjusting the arrival order. The validated and adjusted offspring individuals will then participate in the evolutionary process of the genetic algorithm as part of the next generation of the population.

[0085] Meanwhile, due to the complexity of the ship scheduling problem, extensive verification and adjustment may be required after the crossover operation. Therefore, when designing the crossover operation, it is necessary to fully consider the characteristics and constraints of the problem to ensure that the generated new individuals are effective and feasible. To improve the efficiency of the algorithm, heuristic rules or optimization strategies can be used to guide the crossover operation, such as similarity-based crossover and adaptive crossover. These strategies can find high-quality solutions faster and improve the overall performance of the algorithm.

[0086] S7. Randomly select individuals from the offspring chromosomes and perform mutation operations, replacing the first-level code with other ship sequences, and then replacing the second-level code with other shipyard numbers; randomly select 5% of individuals from the offspring chromosomes and perform mutation operations, randomly changing certain gene values ​​in the individual codes to generate new individuals, increasing population diversity and preventing the algorithm from prematurely converging to a local optimum. It should be understood that the specific percentage of individuals selected can be adjusted according to the complexity of the problem and the performance of the algorithm.

[0087] Specifically, one or more mutation points are randomly selected in the first level of encoding. The mutation points can be selected consecutively or discretely. The gene value at each mutation point (i.e., the number representing the ship arrival order) is replaced with another unique number. This can be achieved by randomly selecting a new number (real-value mutation) and ensuring that this number does not appear in the current encoding. If the mutation operation results in duplicate ship arrival orders, the mutation operation needs to be repeated until the conditions are met. The mutated ship arrival order must remain valid, meaning each ship arrives only once in the order, and the order satisfies the constraints of the problem.

[0088] The second-level coding mutation is similar to the first-level coding, randomly selecting one or more mutation points from the second-level coding. The berth designation number at each mutation point is replaced with another feasible berth number. This requires considering constraints such as berth capacity and location. If the mutated berth designation causes berth capacity overload or other constraints to be unmet, the mutation operation needs to be repeated.

[0089] S8. Determine if the current iteration count has reached the specified iteration count. If it has, stop the iteration and output the docking scheduling scheme; otherwise, jump to S4.

[0090] S8 also includes a backtracking algorithm, which is used to revert to the previous generation of optimized population if the current scheduling scheme cannot meet the requirements of all ships.

[0091] like Figure 6 The diagram shows a comparison of the optimization before and after optimization of a berthing scheduling method based on a movable slipway, with the vertical axis representing the total operation time (hours) and the horizontal axis representing the number of iterations. The experiment was conducted at a seaside wharf with tidal variations not exceeding 3 meters and a sea depth not exceeding 12 meters. The wharf consists of 4 movable slipways, providing 8 berths. The incoming vessel test cases consisted of 20 passenger roll-on / roll-off ships of varying sizes, drafts, tonnages, and container numbers.

[0092] The optimized algorithm, calculated using a greedy algorithm, found an excellent solution by the 10th iteration, while the unoptimized algorithm only achieved the same result as the optimized algorithm in the 10th generation by the 31st generation. Therefore, it is evident that the genetic algorithm optimized using the greedy algorithm converges faster, thus improving efficiency. Since the greedy algorithm initializes the population using a first-come, first-served approach, the total processing time in the first generation is equal to the processing time of this first-come, first-served approach. Subsequent chromosome evolution based on this is an improvement on the first-come, first-served scheme. Therefore, it is proven that the first-come, first-served approach is not necessarily the globally optimal solution.

[0093] On the other hand, such as Figure 7 A schematic diagram of a docking scheduling system based on a mobile slipway is shown in this invention. This application provides a docking scheduling system based on a mobile slipway, including an electrically connected parameter acquisition module, a population generation module, a population optimization module, a ranking calculation module, a parent selection module, a crossover operation module, a mutation operation module, and an iterative judgment module, wherein:

[0094] The parameter acquisition module is used to acquire scheduling parameters, including ship parameters and slipway parameters. Based on the ship parameters and slipway parameters, it generates the expected berthing interval and air gap height interval, and then passes the acquired scheduling parameters to the population generation module.

[0095] In some embodiments, the ship parameters in the parameter acquisition module include arrival time, loading and unloading time, ship departure interval and gangway overlap interval, and the slipway parameters include berth number, local water depth and air gap height interval. The slipway height interval is obtained by superimposing the local water depth and the air gap height interval. Furthermore, based on the ship parameters, the tidal difference is calculated in the local water depth to obtain the expected berthing height interval.

[0096] The population generation module is used to generate an initial population based on scheduling parameters. Each individual is represented by a dual-encoded chromosome. The first layer of the dual-encoded chromosome refers to the ship, and the second layer refers to the slipway. The generated initial population is then passed to the population optimization module.

[0097] In some embodiments, the first layer of coding of the dual-coded chromosome in the population generation module is sorted in ascending order based on the arrival time of the ship, and the second layer of coding of the dual-coded chromosome is randomly assigned a berth number on the docking slipway based on the first layer of coding of the ship, and the docking conditions are met, wherein the docking conditions refer to the overlap between the expected docking height range and the air gap height range.

[0098] The population optimization module is used to optimize the initial population using a greedy algorithm, generate an optimized population, prioritize ships, and pass the optimized population to the ranking calculation module.

[0099] In some embodiments, the greedy algorithm in the population optimization module optimizes at least 5% of the dual-coded chromosomes in the initial population: based on the order of the first-level coding, ships are preferentially assigned to vacant berths that meet the berthing conditions; if there are no vacant berths, a backup berth is searched, the air gap height range of which is closest to the expected berthing height range of the ship to be assigned, and the waiting time is recorded, which is the remaining loading and unloading time of the ship in the current berth plus the height adjustment time of the slipway; if there are no backup berths, an available berth is selected, the one with the shortest remaining loading and unloading time.

[0100] The ranking calculation module is used to calculate the fitness value of each chromosome in the optimized population, sort them according to the fitness value and calculate the ranking, and pass the fitness value, sorting and ranking to the parent selection module;

[0101] In some embodiments, the fitness value in the ranking module is the reciprocal of the total operation time of the scheduling scheme. The total operation time is the operation time of the longest-running berth, which includes the berth height adjustment time and the loading and unloading time of the ship.

[0102] Meanwhile, in some embodiments, the formula for calculating the fitness value in the ranking module is: total waiting time + α * idle time on the slipway + β * number of air gap adjustments + γ * total range of air gap adjustments, where α, β and γ are weighting coefficients.

[0103] The parent selection module is used to calculate the selection probability and randomly select parent chromosomes. Based on the fitness value, sorting and ranking, the selection probability is determined, and parent chromosomes are extracted from the optimized population according to the selection probability. The parent chromosomes are then passed to the crossover operation module.

[0104] In some embodiments, the formula for calculating the selection probability in the parent selection module is: Where ri is the ranking calculation and P is the total number of the optimized population.

[0105] The crossover module is used to randomly select two individuals from the parent chromosome for crossover to generate offspring chromosomes, and to randomly select two individuals from the parent chromosomes without repetition for exchange to generate offspring chromosomes. The offspring chromosomes are then passed to the mutation module.

[0106] The mutation operation module is used to randomly select individuals from the offspring chromosomes for mutation operations, replace the first-level code with other ship sequences, replace the second-level code with other ship station numbers, and pass the mutated offspring chromosomes to the iterative judgment module.

[0107] The iteration judgment module is used to determine whether the number of iterations has reached a specified value. If it has, the iteration stops and the docking scheduling scheme is output; if it has not, the module jumps to the ranking calculation module to continue the iteration.

[0108] In some embodiments, the iterative judgment module further includes a backtracking algorithm, which, if the current scheduling scheme cannot meet the requirements of all ships, uses the backtracking algorithm to revert to the previous generation of the optimized population.

[0109] On the other hand, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the docking scheduling method based on a mobile shipyard as described above.

[0110] The emergency dock information software first collects information on the upcoming batch of ships, such as estimated arrival time, draft, tonnage, ship dimensions, and cargo quantity and type. Using these parameters, the software calls loading / unloading time algorithms and safety air gap interval algorithms to calculate the safe loading / unloading air gap intervals over a future period. The relevant information is then fed into the algorithms, and the output is sent back to the software. In a simulated environment, traditional manual scheduling takes half an hour to three hours. Using this algorithm, however, a scheduling plan can be completed in just 5 seconds to 5 minutes. Due to the rapid calculation, the plan can be quickly updated to reflect actual conditions in case of unforeseen circumstances.

[0111] Through a lifting mechanism, the slipway can be raised when necessary to increase the air gap below, effectively responding to changes in water level or tidal effects. Furthermore, the slipway's design cleverly utilizes the space on its port and starboard sides as temporary berths for other vessels, significantly improving port capacity and rescue efficiency in emergency situations. The emergency dock solution employs information management software to manage incoming vessel scheduling, slipway air gaps, and monitor and predict tidal conditions.

[0112] In conclusion, the emergency dock solution based on the berthing and scheduling method of mobile slipways, with its high flexibility, rapid deployment capability, and wide adaptability to changing sea conditions and geological conditions, has become an ideal choice for the rapid restoration of water traffic and rescue operations after disasters.

[0113] The steps illustrated in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in a different order than that presented here.

[0114] In this specification, the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the descriptions of the embodiments described later are relatively simple, and relevant parts can be referred to the descriptions of the foregoing embodiments.

[0115] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A docking scheduling method based on a movable slipway, characterized in that, Includes the following steps: S1. Obtain scheduling parameters, including ship parameters and slipway parameters, and calculate the expected berthing height range of the ship and the air gap height range of the slipway; wherein, the air gap height refers to the distance between the sea surface and the upper surface of the slipway; S2. Generate an initial population, where each individual is represented by a dual-coded chromosome, the first layer of the dual-coded chromosome referring to the ship and the second layer referring to the slipway; S3. Optimize the initial population using a greedy algorithm to generate an optimized population; wherein the expected berthing height range of the ships to be assigned, as referred to by the chromosomes, overlaps with the air gap height range of the assigned slipways. S4. Calculate the fitness value of each chromosome in the optimized population, sort them according to the fitness values, and calculate the ranking; S5. Calculate the selection probability and randomly select the parent chromosome; S6. Randomly select two individuals from the parent chromosomes and perform a crossover operation to generate offspring chromosomes; S7. Randomly select individuals from the offspring chromosomes to perform mutation operations. In the first layer of coding, randomly select one or more mutation points and replace the ship number at the mutation point with other ship numbers that do not appear in the current coding. In the second layer of coding, randomly select one or more mutation points and replace the slipway berth number at the mutation point with other slipway berth numbers that overlap with the expected berthing height range and the air gap height range. S8. Determine if the number of iterations has reached the specified value. If it has, stop the iteration and output the docking scheduling scheme; otherwise, jump to S4.

2. The docking scheduling method based on a movable slipway according to claim 1, characterized in that, In S1, the ship parameters include arrival time, loading and unloading time, ship departure interval and gangway connection interval, and the slipway parameters include berth number, local water depth and air gap height interval. The local water depth is superimposed on the air gap height interval to obtain the slipway height interval.

3. The docking scheduling method based on a movable slipway according to claim 2, characterized in that, Based on the ship parameters, the tidal difference is calculated in the water depth at the location, and the expected berthing height range is obtained.

4. The docking scheduling method based on a movable slipway according to claim 2, characterized in that, In S2, the first layer of coding of the dual-coding chromosome is sorted in ascending order based on the arrival time of the ship. The second layer of coding of the dual-coding chromosome is randomly assigned a berth number to the slipway based on the first layer of coding of the ship, and the berthing conditions are met. The berthing conditions refer to the overlap between the expected berthing height range and the air gap height range.

5. The docking scheduling method based on a movable slipway according to claim 4, characterized in that, In S3, the greedy algorithm optimizes at least 5% of the dual-coding chromosomes in the initial population: Based on the order of the first layer of coding, the vessel is preferentially assigned to an available berth that meets the berthing conditions; if there is no available berth, a backup berth is searched, where the difference between the air gap height range of the backup berth and the expected berthing height range of the vessel to be assigned is the smallest, and the waiting time is recorded, where the waiting time is the remaining loading and unloading time of the vessel in the current berth plus the height adjustment time of the slipway; if there is no backup berth, an available berth is selected, where the remaining loading and unloading time of the vessel in the available berth is the shortest.

6. The docking scheduling method based on a movable slipway according to claim 1, characterized in that, In S4, the fitness value is the reciprocal of the total operation time of the scheduling scheme. The total operation time is the operation time of the longest-running berth on the slipway. The operation time includes the height adjustment time of the slipway and the loading and unloading time of the ship.

7. The docking scheduling method based on a movable slipway according to claim 1, characterized in that, In S4, the fitness value is calculated as total waiting time + α * idle time on the slipway + β * number of air gap adjustments + γ * total range of air gap adjustments, where α, β and γ are weighting coefficients.

8. The docking scheduling method based on a movable slipway according to claim 1, characterized in that, In S5, the formula for calculating the selection probability is: , where r i The ranking is calculated, and P is the total number of the optimized population.

9. A docking scheduling system based on a mobile slipway, characterized in that, It includes a parameter acquisition module for electrical connections, a population generation module, a population optimization module, a ranking calculation module, a parent selection module, a crossover operation module, a mutation operation module, and an iteration judgment module, among which: The parameter acquisition module is used to acquire scheduling parameters, including ship parameters and slipway parameters, and calculate the expected berthing height range of the ship and the air gap height range of the slipway; wherein, the air gap height refers to the distance between the sea surface and the upper surface of the slipway. The population generation module is used to generate an initial population, where each individual is represented by a dual-coded chromosome. The first layer of the dual-coded chromosome refers to the ship, and the second layer of the chromosome refers to the slipway. The population optimization module is used to optimize the initial population using a greedy algorithm to generate an optimized population; wherein the expected berthing height range of the ships to be assigned, which are referred to by the chromosomes, overlaps with the air gap height range of the assigned slipways. The ranking calculation module is used to calculate the fitness value of each chromosome in the optimized population, and sort and rank them according to the fitness value. The parent selection module is used to calculate the selection probability and randomly select the parent chromosome. The crossover module is used to randomly select two individuals from the parent chromosomes to perform a crossover operation and generate offspring chromosomes. The mutation operation module is used to randomly select individuals from the offspring chromosomes for mutation operations. In the first layer of coding, one or more mutation points are randomly selected, and the ship number at the mutation point is replaced with another ship number that does not appear in the current coding. In the second layer of coding, one or more mutation points are randomly selected, and the slipway berth number at the mutation point is replaced with another slipway berth number in an area where the expected berthing height range and the air gap height range overlap. The iteration judgment module is used to determine whether the number of iterations has reached a specified value. If it has, the iteration stops and the docking scheduling scheme is output; if it has not, the process jumps to the ranking calculation module.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the docking scheduling method based on a mobile dock as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Port berth and quay crane joint scheduling optimization method based on solution set merging algorithm

    CN118691177A

  • Stacking scheduling device and method using genetic algorithm

    JP2001249970A