Abstract
Port congestion caused by ship detention is an important reason for the obstruction of the shipping supply chain. In this paper, a method of excavating the ship waiting behavior outside the port is proposed based on the automatic identification system (AIS) data and considering uncontrollable factors. Firstly, combined with the analysis of ship navigation behavior, the speed threshold of the ship waiting outside the port is defined through average speed. Secondly, the range of ships berthing in the port is distinguished, and the different waiting behavior of ships are clarified. Finally, the situation of different types and sizes of ships waiting outside the port is analyzed. The paper found that ships of different types and sizes have distinctive clustered waiting behavior, and there are significant differences in waiting time. At the ship type, bulk cargo ship have the highest number among ships waiting outside the port, followed by tanker and container ship; at the ship scale, basically, the number of ships waiting outside the port decreases with the increase of the scale, but the average waiting time is longer. It has an excellent practical promotion value for the application of AIS data and development of shipping.
Similar content being viewed by others
Introduction
Ports are hubs of the global logistics supply chain and nodes of shipping. A smooth and efficient port is the key to ensuring the orderly operation of the logistics supply chain and the basis for ensuring maritime safety. Due to multiple factors, such as international trade relations and coronavirus disease 2019 (COVID-19), the congestion problem in ports is becoming increasingly severe. The number of ships waiting outside the port is increasing, and the waiting time is rising sharply, resulting in a sharp drop in the turnover efficiency of ships and an increase in the hidden danger of navigation in the port waters1,2,3. Ship waiting behavior outside the port refers to the behavior that ships scheduled to enter the port cannot dock at the berth due to port congestion and need to anchor or moor near the port waters to wait for entry4. In order to optimize port traffic organization and ship route planning, it is particularly important to excavate the ship waiting behavior outside the port and accurately identify the ship waiting in the port waters.
At present, AIS equipped by the ship can display dynamic navigation information such as sailing and anchoring. However, since these data are manually input, there will be problems such as wrong input and missing input, which is unsuitable for relevant research and analysis. It is a research hotspot in the field of transportation engineering to identify and analyze various ship behavior from AIS data5,6,7,8,9,10,11,12,13,14,15. There are also many achievements in the research on ship behavior recognition in ports and nearby waters. Wang et al. put forward a ship anchoring identification model based on ship driving behavior, analyzed the difference between ship anchoring and berthing time, and reflected the impact of COVID-1916; Huang et al. proposed a feature-driven recognition and automatic classification method for the two kinds of stopping behavior of ships: berthing and anchoring17; Zheng et al. analyzed the abnormal stay behavior of ships in port waters based on the characteristics of ship historical track data18; Wang et al. proposed an assessment method to quantify the impact of COVID-19 on ship behavior based on the AIS data of Oslo port, Norway, and analyzed the arrival time and berthing time of ships under the influence of COVID-19 by using the improved density-based spatial clustering of applications with noise (DBSCAN) algorithm19; Zheng et al. proposed a method for extracting the ship stay track based on multi-constraint conditions, which mined the stay area of the port berth by setting up multiple thresholds20; Liu et al. put forward a method based on clustering algorithm to identify ship anchoring behavior and excavate anchoring area in view of the situation that it is difficult to identify and supervise the coastal ships anchoring at sea21. Other scholars have analyzed and studied the congestion level of ports based on AIS data. AbuAlhaol et al. excavated three indicators of spatial complexity, spatial density, and time-critical point to evaluate the port congestion level from the AIS data, which are used to predict the future congestion of the port22; Peng et al. used the DBSCAN method and convex hull theory to identify berths and anchorage areas of the top 20 container ports in the world, and proposed a method to describe port congestion according to traffic volume and ship turnover time23.
Although the above research results have been used to excavate and identify the stay behavior in the port waters, it is difficult to distinguish berthing, anchorage anchoring, low-speed sailing or ship waiting behavior outside the port. In addition, although some scholars have defined the ship waiting speed based on experience and specifically identified the ship waiting behavior outside the port24,25,26, due to the impact of wind, waves, and current on the ship waiting speed and the problems of AIS equipment, the ship waiting speed may be close to or exceed the low-speed sailing speed. It means that using the estimated speed threshold is likely to identify the ship waiting outside the port incorrectly. Therefore, firstly, based on the AIS data of ships, this paper determines the speed threshold of ships waiting outside the port by analyzing the characteristics of ship speed distribution; secondly, the range of ships berthing in the port is distinguished, and the different waiting behavior of ships are clarified; finally, the situation of different types and sizes of ships waiting outside the port is analyzed. It is significant to strengthen the management of port traffic organization and optimize the ship voyage plan.
The main content framework of this paper is as follows: In Section "Data description and processing", the AIS data of the ship is cleaned based on the change in ship speed and course; in Section "Identification method of the ship waiting behavior outside the port", ship waiting behavior is identified through three dimensions: ship waiting speed threshold, ship waiting waters and ship waiting time; in Section "Analysis of the results of the ship waiting behavior outside the port", the behavioral characteristics of ships waiting outside the port were analyzed; discussion, conclusions and future research areas are included in Sections "Discussion" and "Conclusion".
Data description and processing
Ship AIS data
Ship AIS is a spatiotemporal data recording tool for ships engaged in various water activities. AIS data contains rich knowledge of ship behavior and is the primary data source for excavating ship activity patterns27. Ship AIS can automatically provide dynamic information such as time stamp, latitude and longitude, heading, course over ground, and speed corresponding to each position point of the ship, and other static information such as ship maritime mobile service identity (MMSI) number and ship name. It can manually input and update the sailing status, ship draught, destination port, and other voyage-related information28. However, AIS data has certain unreliability. Due to the performance characteristics of ship AIS equipment and the complexity of ship navigation environment, AIS data is often lost or erroneous under the interference of obstacles or signal transmission29. In addition, navigation and positioning systems such as the global positioning system (GPS) provide the position and other information in the AIS data. Due to the drift phenomenon30 of GPS and other problems, the acquired ship position, speed, course, and other information may also be wrong.
AIS data selection
According to the International Convention for Safety of Life at Sea (SOLAS) requirements, at the end of 2004, all international voyage ships of over 300 gross tonnages, coastal navigation ships of over 500 gross tonnages, and all passenger ships must be required to install AIS equipment. As passenger ships, fishing boats, engineering ships, and other types of ships generally do not have waiting behavior outside the port, the objects studied in this paper are mainly commercial cargo ships such as tankers, bulk cargo ships, and container ships.
The selected port waters object is the AIS data of ships in the waters near Qingdao Port, China, in March 2022. The specific water area is 120.10°–120.60° longitude and 35.85°–36.13° latitude, as shown in Fig. 1, taken from Hifleet31.
The data fields include static information such as ship MMIS number, ship name, ship type, length and breadth, dynamic information such as time stamp, latitude and longitude, speed over the ground and course, and navigation status information such as ship sailing status. Examples of data are shown in Table 1.
AIS data processing
Due to the abnormity and unreliability of AIS data, it is necessary to preprocess the AIS data to ensure the accuracy of the research results. According to the research needs, ship speed and course changes are considered in the critical AIS data. Since the ship AIS sends a signal every 2 s to 3 min, in order to remove unimportant data, this paper selects the ship AIS data containing 100 or more location points or a sailing time of more than 15 min for analysis. To remove abnormal points and repeated values, Qu et al. adopted the method of preprocessing the AIS data by the average speed, added the change of the ship course angle, regarded the AIS data set of each ship as a continuous speed and course space–time sequence, analyzed the abnormal fluctuation of the space–time sequence in combination with the ship navigation and stay characteristics, and completed the cleaning of the selected data32.
Firstly, average speed \({\overline{\text{v}}}_{{{\text{i}},{\text{t}}_{{\text{j}}} }}\) and course angle change \(\Delta \psi_{i}\) at each ship location point are calculated using the following equations.
In Eq. (1), \({\overline{\text{v}}}_{{{\text{i}},{\text{t}}_{{\text{j}}} }}\) is the average speed of the ship i in a specific time interval [tj, tj+1] (speed unit kn, time unit h), \({\text{x}}_{{{\text{i}},{\text{t}}_{{\text{j}}} }}\) is the longitude coordinate of the ship i at time tj (unit "),\({\text{y}}_{{{\text{i}},{\text{t}}_{{\text{j}}} }}\) is the latitude coordinate of the ship i at time tj (unit "). In Eq. (2),\(\Delta \psi_{\iota }\) is the course angle change of ship i at time tj, and \(\psi_{{i,t_{j} }}\) is the course of the ship i at time tj.
Furthermore, two space–time sequence anomalies of ship speed change and course change composed of ship AIS data-position points are analyzed. The augmented Dickey-Fuller (ADF) test method33 is used to analyze the stability of each ship track speed and course changes. For unstable ship trajectories, the 3-sigma rule34 is used to identify the abnormal values of speed and course changes, and analyze the abnormal behavior to identify better the ship waiting behavior outside the port. Four common situations of ship speed and course changes are shown in Fig. 2a–d.
The results of Fig. 2 are analyzed according to the ship navigation behavior. In Fig. 2a, the ship speed changes smoothly, and the course changes fluctuate. It is considered that the ship is in the normal drift state of turning around, avoiding or anchoring. In Fig. 2b, the ship speed at many continuous positions is unstable, and the course changes smoothly, which means that the ship is entering and leaving the port. In Fig. 2c, the ship speed at some positions has an abnormal value, and the course changes smoothly. It is considered that the abnormal value data of this part is incorrect. In Fig. 2d, there are multiple abnormal points in the ship speed and course changes. It is considered that the abnormal value data of this part is incorrect.
Finally, the AIS data of 501 ships in Qingdao Port and nearby waters in March 2022 is obtained to analyze ship port behavior, including 263 bulk cargo ships, 141 container ships, and 97 tankers.
Identification method of the ship waiting behavior outside the port
The specific process of the identification method of ship waiting behavior outside the port based on ship AIS data proposed in this paper is illustrated in Fig. 3.
Firstly, based on AIS data, this paper determines the waiting speed thresholds for different types of ships.When the speed of the ship exceeds the speed threshold of waiting outside the port, it is considered that the ship is in a navigation state; when the speed of the ship is less than the speed threshold of waiting outsid the port, it is considered that the ship is in a berthing or drifting state. The target ship is a ship that is in a berthing or drifting state. Then, the target ship is judged based on whether it is within the port area to distinguish between ship berthing operations behavior and waiting behavior outside the port. When the target ship is within the port area, it is considered as a berthing operation ship; when the target ship is outside the port area, it is considered a ship waiting outside the port.
Speed threshold of ships waiting outside the port
The ship speed in the ship AIS data is an instantaneous value, which is discrete and has a certain error. At the same time, due to the effect of wind, waves, and currents, the ship is rarely in a state of zero speed while waiting outside the port. Therefore, it is the key to identifying the ship waiting behavior to determine a reasonable speed threshold of the ship waiting state outside the port.
As shown in Table 2, AIS data shows that the ship speed is greater than 0 over a long time, but the longitude and latitude of the ship are basically unchanged, and the course is unstable. Based on the analysis of the ship course behavior, the ship may be in the anchored condition, but due to the influence of external factors, the ship speed is not 0 and the course is unstable. Therefore, it is not accurate to judge the ship state only from the instantaneous speed of the ship AIS. Using the average speed of ship movement in a short time is more accurate in judging the ship running state.
In order to determine the speed of ships waiting outside the port more accurately, this paper proposes a method to determine the speed threshold of ships waiting outside the port based on AIS data. Firstly, the cleaned ship AIS trajectory data is extracted according to the ship motion characteristics. The average speed of continuous position points is calculated according to Eq. (1). Moreover, we obtain the discrete distribution diagram of the average velocity of three common types of ships in Qingdao port waters: container ships, bulk cargo ships, and tankers, as shown in Fig. 4a–c. It can be seen that the average speed has prominent peaks and bottoms, the distribution of the higher part of the average speed tends to be smooth, while the lower part fluctuates significantly due to external factors, and there is no apparent law.
Secondly, based on the characteristics of the discrete distribution diagram of average speed, the normal distribution function shown in Eq. (3) is used to mix and fit the average speed data of three types of ships. The average speed change curve of ships in Fig. 4 is obtained.
In Eq. (3), \(f\left( {\overline{v}} \right)\) is the probability distribution function of average velocity, \(\sigma\) and \(\mu\) are the parameters of the distribution function35.
Finally, it can be seen from the average speed fitting curve in Fig. 4 that there are two valley peaks in the curve, and there is a saddle point between the valley peaks, which is the local minimum value of the average speed. Here, it is determined as the upper limit speed threshold when the ship is waiting outside the port. Moreover, it is used to determine whether the ship has stopped sailing for a while.
It can be determined from Fig. 4 that the waiting speed thresholds of container ships, bulk cargo ships, and tankers are 2.45 kn, 2.35 kn, and 2.28 kn, respectively.
Water area of ships waiting outside the port
After the speed threshold of ships waiting outside the port is determined, the distribution and number of ships whose speed in Qingdao port waters is lower than the speed threshold can be obtained. This paper uses Hifleet31 and Python 3.10 to draw images, as shown in Fig. 5. Since the behavior characteristics of ships when berthing and anchoring in the port are similar to those of waiting outside the port, to better distinguish the berthing behavior and waiting behavior in the port waters, the longitude and latitude of each berth of Qingdao port are extracted, and the berthing ships and anchoring ships within the port are excluded. And then, we obtained the waiting waters of ships outside Qingdao port, as shown in boxes ① and ② in Fig. 5.
It can be seen from Fig. 5 that different types of ships, such as container ships, bulk cargo ships and tankers, show obvious aggregation characteristics during the waiting period in the waters outside the port.
Ship waiting time outside the port
In order to better analyze the behavior of ships waiting outside the port, the waiting time of ships whose average speed is lower than the calculated waiting speed threshold is statistically analyzed. Then, we obtained the overall probability distribution of ship waiting time, as well as the probability distribution of waiting time of different types of ships waiting outside the port and in the port, as shown in Figs. 6 and 7.
As can be seen from the figure above, although the waiting time outside and inside the port is affected by various factors, such as port organization, the ship itself and the navigation environment, the overall distribution shows a certain regularity, and the probability of waiting time has an obvious peak value. The distribution characteristics of the ship waiting time reflect different ship waiting behavior, that is, the operation behavior in the port and the waiting behavior outside the port.
Figure 6 shows that two common waiting behavior of ships are divided into two distribution segments by the peak value of the probability distribution of the waiting time. The peak value of the probability distribution of the waiting time is 40.5 h, and the tail value of the probability distribution of the waiting time is 80 h. That is, the average time of ships operating in the port is within 40.5 h, and the average time of ships waiting outside the port is within 80 h.
Figure 7 shows the probability distribution of waiting time of different types of ships. The distribution of the waiting time of different types of ships is different. In Fig. 7a, the waiting time of the container ship's harbour operation is 27.8 h, and the waiting time outside the port is 51.5 h. In Fig. 7b, the waiting time of the bulk cargo ship's harbour operation is 41.5 h, and the waiting time outside the port is 72.2 h. In Fig. 7c, the waiting time of the tanker's harbour operation is 48.8 h, and the waiting time outside the port is 79.5 h. In addition, a small number of tankers have been suspended for a long time, and the waiting time is more than 100 h. They may be in a short-term suspension of operation due to market reasons such as oil prices or maintenance, and this kind of behavior is not listed as the behavior of ships waiting outside the port.
Through the definition of speed threshold, water area and ship waiting time outside the port, the identification of the behavior of ships waiting outside the port is completed. In the end, the total number of ships waiting outside Qingdao port in March 2022 is 118, including 32 container ships, 51 bulk cargo ships, and 35 tankers. Among the 118 ships identified by this method in waiting outside the port, the ship sailing status recorded by the AIS raw data shows that 98 ships are anchored, moored or stopped, 5 ships are displayed as sailing, and 15 ships are in an unknown state. Therefore, judging the sailing state of ships by AIS data has a significant error, especially for determining the state of non-navigating ships.
Analysis of the results of the ship waiting behavior outside the port
There are 501 ships in the water area of Qingdao port that meet the research conditions in this study. Through the excavation and judgment of the ship waiting behavior outside the port, the distribution of the number of ships in the water area of Qingdao port in March 2022 in different status, such as sailing, berthing in the port, waiting outside the port, and long-term berthing, is shown in Figs. 8 and 9.
The results in Fig. 8 show that in March 2022, 118 ships experienced waiting behavior outside the port, accounting for 23.6% of the total number of ships in the water area, showing the distribution of ships waiting outside the port in terms of ship types. The number of bulk cargo ships in waiting status outside the port is the largest, followed by tankers and container ships. However, the proportion of tankers in waiting status outside the port is the highest at 36%, and the proportion of container ships and bulk cargo ships in waiting status outside the port is 22.7% and 19.4%, respectively.
The results in Fig. 9a show that, in terms of ship size, the largest number of ships waiting outside the port is those with a length of 100 m–200 m, 53 ships, accounting for 45% of the total number of ships waiting outside the port; followed by those with a length of 200 m–300 m, 32 ships, accounting for 27% of the total number of ships waiting outside the port. This corresponds to the overall number distribution of ship size.
The results in Fig. 9b show the number distribution of container ships, bulk cargo ships, and tankers at different sizes in waiting status outside the port. The container ships with the largest number waiting outside the port are those with a length of 200 m–300 m, the bulk cargo ships with the largest number waiting outside the port are those with a length of 100 m–200 m, and the tankers with the largest number waiting outside the port are those with a length of less than 100 m. This may be related to tankers' special loading and unloading operation process.
According to the analysis results in Fig. 7, the waiting time of different types of ships outside the port is shown in Table 3. The waiting time of different sizes of ships outside the port is shown in Table 4. It can be observed that the longer the ship, the longer its waiting time at the port is basically also. The number of ships less than 200 m in length is higher, but the overall waiting time is shorter. The number of ships longer than 200 m is smaller and decreases as the ship’s length increases, but the average waiting time is significantly longer.
Discussion
In this paper, the ship navigation behavior is analyzed with the aid of ship AIS data. Taking the sea area of Qingdao Port as an example, the ships in the sea area are analyzed according to the behavior of ships underway, berthing in the port, waiting outside the port, and long-term berthing, and the characteristics of ships waiting outside the port are emphatically identified. From the analysis of the above identification results, due to the impact of external uncontrollable factors on the marine transportation industry, ships of different types and sizes have distinctive clustered waiting behavior outside the port, and there are significant differences in waiting time. Among the ship types, the number of bulk cargo ships waiting outside the port is the largest, followed by tankers, which is consistent with the overall distribution of bulk cargo ships. The low handling efficiency is also the main reason for the large number and long waiting time of bulk cargo ships waiting outside the port. By comparison, container ships spend the least time waiting outside the port. From the comparison of the waiting time of container ships in Qingdao Port in the past, it can be seen that the overall operational efficiency of container ships in Qingdao Port has a relatively small impact when global port congestion is relatively common, which is related to the efficient operational efficiency and automation of container ships and Qingdao Port.
In terms of ship size, the number of ships waiting outside the port decreases with the increase in ship size, but the average waiting time is significantly longer. The ship size greatly impacts the efficiency of entering and leaving the port. At the same time, the loading, unloading, and berth-shifting operation efficiency of large ships in the port is relatively low, which also leads to frequent congestion of large ships.
The ship waiting outside the port not only increase the degree of maritime traffic congestion, but also have many uncertain factors affecting maritime traffic safety. Therefore, the port authority can reasonably organize ships to enter and leave the port according to the characteristics and actual conditions of the ship waiting behavior of different types and sizes outside the port. Shipping companies can also select appropriate ship types and plan routes according to different port congestion.
This paper only selects the ship waiting behavior outside the Qingdao Port in March 2022 for identification and analysis. If cross year ship AIS data are selected for comparative analysis, it will better illustrate the impact of external factors on port congestion. At the same time, the analysis results of ship AIS data with a large time span may be more valuable for research. In addition, the method proposed in this paper for mining the ship waiting behavior outside the port can also be applied to other ports to identify and analyze the ship waiting behavior outside the port, helping to solve port congestion problems and achieve optimal route planning.
Conclusion
Accurately identifying the behavior of ships waiting outside the port can optimize the port organization and management plan to reduce port congestion. And it is crucial for ships to reasonably plan their navigation, master the congested area and waiting time, and reduce operating costs. For this reason, this paper excavates and analyzes the behavior of ships waiting outside the port based on ship AIS data. Firstly, we preprocess the collected AIS data of the ship, and use the ADF inspection method to analyze the stability of the ship speed and course change sequence, so as to clarify the ship normal navigation behavior and abnormal conditions. Secondly, considering the abnormal and unstable situation of AIS data, to more reasonably determine the waiting behavior of ships outside the port, we use the average speed of ships to determine the waiting speed threshold of container ships, bulk cargo ships, and tankers. Thirdly, we distinguish the berthing area in the port and the waiting area outside the port. And we focus on analyzing the time variation characteristics of ship waiting behavior. The results show that the time of the whole waiting activity of the ship has a prominent peak. The peak divides the whole waiting behavior of the ship into different stages, which can better reflect the different waiting behavior of the ship. Finally, we analyze the number and waiting time of different types and sizes of ships waiting outside the port. The research results indicate that due to uncontrollable factors, ships of different types and sizes exhibit distinctive clustered waiting behavior outside the port, and there are significant differences in waiting time. From the perspective of ship types, bulk cargo ship have the highest number among ships waiting outside the port, followed by tanker and container ship; from the perspective of ship scale, basically, the number of ships waiting outside the port decreases with the increase of ship scale, but the average waiting time is longer. The port authority can reasonably organize ships to enter and leave the port according to the characteristics and actual conditions of the ship waiting behavior of different types and sizes outside the port, to ensure smooth and safe navigation of waterways; shipping companies can better plan routes based on these behavioral characteristics to avoid congestion. The research results have certain application value for improving port operation efficiency and accelerating ship turnover speed.
Although this study reveals some important findings regarding ship waiting behavior, there are still some shortcomings. Firstly, this paper only selects the month in which the COVID-19 epidemic broke out in Qingdao in March 2022 to identify and analyze the ship waiting behavior outside the port. If the annual ship AIS data before and after the COVID-19 epidemic broke out are selected for comparative analysis, it will better illustrate the impact of the epidemic and other external factors on port congestion. Secondly, selecting AIS data analysis results for ships with a larger time span may have more research value. Finally, this paper only identifies ship waiting behavior outside the port. If further research is conducted on the causes of ship waiting behavior and the classification of ship waiting behavior, more accurate suggestions will be provided to solve the problem of port congestion.
Data availability
All data generated or analysed during this study are included in this published article.
References
Komaromi, A., Cerdeiro, D., & Liu, Y. Supply chains and port congestion around the world. IMF Work. Pap. http://www.imf.org/external/pubs/cat/longres.aspx?sk=515673 (2022).
Wang, H., Liu, Z., Wang, X., Graham, T. & Wang, J. An analysis of factors affecting the severity of marine accidents. Reliab. Eng. Syst. Safe. 210(3), 107513 (2021).
Cao, Y. et al. Analysis of factors affecting the severity of marine accidents using a data-driven Bayesian network. Ocean Eng. 269, 113563 (2023).
Port and Airport Department, C. R. B., Ministry of land, infrastructure, transport and tourism. Minato Glossary, https://www.pa.cbr.mlit.go.jp/12/17/18/ (2017).
Huang, L. et al. Mobility pattern analysis of ship trajectories based on semantic transformation and topic model. Ocean Eng. 201, 107092 (2020).
Wen, Y. et al. Semantic modelling of ship behavior in harbor based on ontology and dynamic Bayesian network. ISPRS Int. J. Geo-Inf. 8(3), 107 (2019).
Hörteborn, A., Ringsberg, J. W., Svanberg, M. & Holm, H. A revisit of the definition of the ship domain based on AIS analysis. J. Navig. 72(3), 777–794 (2019).
Sun, Y., Peng, X., Ding, Z. & Zhao, J. An approach to ship behavior prediction based on AIS and RNN optimization model. Int. J. Transp. Eng. Technol. 6(1), 16–21 (2020).
Zhou, Y., Daamen, W., Vellinga, T. & Hoogendoorn, S. P. Impacts of wind and current on ship behavior in ports and waterways: A quantitative analysis based on AIS data. Ocean Eng. 213, 107774 (2020).
Zhang, M., Montewka, J., Manderbacka, T., Kujala, P. & Hirdaris, S. A big data analytics method for the evaluation of ship - ship collision risk reflecting hydrometeorological conditions. Reliab. Eng. Syst. Safe. 213, 107674 (2021).
Zhang, M., Conti, F., Sourne, H. L., Vassalos, D. & Hirdaris, S. A method for the direct assessment of ship collision damage and flooding risk in real conditions. Ocean Eng. 237, 109605 (2021).
Millefiori, L. M. et al. COVID-19 impact on global maritime mobility. Sci. Rep. 11(1), 18039 (2021).
Liu, Z., Zhang, B., Zhang, M., Wang, H. & Fu, X. A quantitative method for the analysis of ship collision risk using AIS data. Ocean Eng. 272, 113906 (2023).
March, D., Metcalfe, K., Tintoré, J. & Godley, B. J. Tracking the global reduction of marine traffic during the COVID-19 pandemic. Nat. Commun. 12(1), 2415 (2021).
Tang, H., Yin, Y. & Shen, H. A model for vessel trajectory prediction based on long short-term memory neural network. J. Mar. Eng. Technol. 21(3), 136–145 (2022).
Wang, X., Liu, Z., Yan, R., Wang, H. & Zhang, M. Quantitative analysis of the impact of COVID-19 on ship visiting behaviors to ports- A framework and a case study. Ocean Coast. Manage. 230, 106377 (2022).
Huang, L., Zhang, Z., Wen, Y., Zhu, M. & Huang, Y. M. Stopping behavior recognition and classification of ship based on trajectory characteristics. J. Traffic Transp. Eng. 21(5), 189–198 (2021).
Zheng, H., Hu, Q., Yang, C., Chen, J. & Mei, Q. Clustering analysis and anomaly detection of berthing ships at Waigaoqiao harbour district of Shanghai. Int. J. Geogr. Inf. Sci 20(5), 640–646 (2018).
Wang, C., Li, G., Han, P., Osen, O. & Zhang, H. Impacts of COVID-19 on ship behaviours in port area: An AIS data-based pattern recognition approach. IEEE Trans. Intell. Transp. Syst. 23(12), 25127–25138 (2022).
Zheng, Z., Zhao, Z., Wang, G. & Xu, Y. Ship trajectory extraction method for port parking area identification. J. Comput. Appl. 39(1), 113–117 (2019).
Liu, Z. et al. Identification and excavation method of ship anchoring behavior in Minjiang estuary waters. J. Wuhan Univ. Technol. 45(4), 805–810 (2021).
AbuAlhaol, I., Falcon, R., Abielmona, R. & Petriu, E. Mining port congestion indicators from big AIS data. In Proceedings of the 2018 International Joint Conference on Neural Networks (IJCNN) 1–8 (2018).
Peng, W., Bai, X., Yang, D., Yuen, K. F. & Wu, J. A deep learning approach for port congestion estimation and prediction. Marit. Policy Manage. https://doi.org/10.1080/03088839.2022.2057608 (2022).
Franzkeit, J., Pache, H. & Jahn, C. Investigation of vessel waiting times using AIS data. In Proceedings of the International Conference on Dynamics in Logistics 70–78 (2020).
Gao, X., Makino, H. & Furusho, M. Analysis of the waiting activity in entering port using AIS data. J. Japan Soc. Civ. Eng. 70(2), I_948-I_953 (2014).
Zhang, L., Meng, Q. & Fwa, T. F. Big AIS data based spatial-temporal analyses of ship traffic in Singapore port waters. Transp. Res. Part E Logist. Transp. Rev. 129, 287–304 (2019).
Chen, J., Lu, F. & Peng, G. The progress of research in maritime vessel trajectory analysis. Navig. China 35(3), 53–57 (2012).
Zhou, Y., Daamen, W., Vellinga, T. & Hoogendoorn, S. P. Ship classification based on ship behavior clustering from AIS data. Ocean Eng. 175(1), 176–187 (2019).
Zhao, L. Ship trajectory outlier detection based on AIS data and recurrent neural network (Dalian Marit. Univ. 2019).
Jun, J., Guensler, R. & Ogle, J. H. Smoothing methods to minimize impact of global positioning system random error on travel distance, speed, and acceleration profile estimates. Transp. Res. Rec. 1972(1), 141–150 (2006).
Hifleet. https://www.hifleet.com/ (2022).
Qu, X., Meng, Q. & Li, S. Ship collision risk assessment for the Singapore Strait. Accid. Anal. Prev. 43(6), 2030–2036 (2011).
Said, S. E. & Dickey, D. A. Testing for unit roots in autoregressive-moving average models of unknown order. Biometrika 71(3), 599–607 (1984).
Pukelsheim, F. The three sigma rule. Am. Stat. 48(2), 88–91 (1994).
Tomaschitz, R. Modeling electrical resistivity and particle fluxes with multiply broken power-law distributions. Eur. Phys. J. Plus 136(6), 1–34 (2021).
Acknowledgements
This work was supported in part by the Shandong Provincial Natural Science Foundation under Grant ZR2021QG022, and in part by the Shandong Big Data Development Innovation Laboratory for Shipping Safety and Management Financial.
Author information
Authors and Affiliations
Contributions
J.M., Y.Z. and Z.Z. wrote the main manuscript, J.M. provided conception of research, Y.Z. and Z.Z. performed the data analysis, J. M. analysed the results. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Ma, J., Zhou, Y. & Zhu, Z. Identification and analysis of ship waiting behavior outside the port based on AIS data. Sci Rep 13, 11267 (2023). https://doi.org/10.1038/s41598-023-38080-2
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-023-38080-2
This article is cited by
-
Port performance indicators construction based on the AIS-generated trajectory segmentation and classification
International Journal of Data Science and Analytics (2025)











