Research on Intelligent Detection Algorithm of the Single Anchored Mooring Area for Maritime Autonomous Surface Ships

: Mooring area detection represents one of the key technological problems that must be solved in the development of Maritime Autonomous Surface Ships (MASS). In view of the lack of research on the current detection methods for ship mooring area, a new intelligent detection algorithm of the single anchored mooring area for MASS was proposed in this study, aiming at improving the detection ability and accuracy of the MASS mooring area. Firstly, the laws of short period swinging motion, long period circumferential motion and reciprocating motion in the radial direction of an anchoring ship were summarized. Secondly, an anchorage circle radius model and safety distance model between the anchor positions were established and various constrains were considered including ship type, ship particulars, draft, safety impact caused by other ships passing through the anchoring ship. Thirdly, the Monte-Carlo stochastic simulation method was used to measure the mooring area, which can detect the anchor position intelligently. Finally, a case study on MATLAB demonstrated that the proposed intelligent detection algorithm for MASS is effective under various marine scenarios. The results enrich the theory of MASS mooring area detection; therefore, the algorithm has great potential to be equipped on MASS in the future.


Introduction 1.Background
Mooring area detection is one of the key technological problems in MASS that must be solved at each development stage, and concerns the development of the MASS mooring area detection system, anchorage safety, utilization rate of anchorage space and other related engineering problems [1,2].The International Maritime Organization (IMO) established the importance of MASS and classified relevant laws and regulations.Besides, the IMO published the initial definition of MASS and four stages of development at its 99th Maritime Safety Conference [3][4][5].Meanwhile, major developed countries and regions such as the United States and the European Union have launched specific development goals and plans for the development of MASS.Lloyd's Register of Shipping, Bureau Veritas and other classification societies all pay more attention to the development of MASS [6,7].In terms of digital technology, China proposed building a comprehensive digital information infrastructure that integrates "Space-Earth Integration" and "Cloud-Network Fusion", which will promote the rapid development of MASS and smart ports.In 2022, Ministry of Communication of China proposed the planning objective of "Enhance the Ship-shore Coordination in the Whole Process of Ship Navigation, Support the Intelligent Auxiliary Navigation in All-weather and Complex Environments [8] and Promote the Application of Individual Smart Ship Technologies Such as Green Smart Ships and Autonomous Navigation, Improve the Shore-based Collaborative System for Ship Intelligent Navigation" [9,10]."Standard for Intelligent Ships" (China Classification Society, Version II) indicates that intelligent ships are those ships which automatically perceive and obtain information and data on the ship itself, marine environment, logistics and port by making use of sensors, communication, the Internet of Things, the Internet and other technical means, and achieve intelligent operation in terms of ship navigation, management, maintenance and cargo transportation based on computer technology, automatic control technology and big data processing and analyzing technology, so that ships can become safer, more environmentally friendly, economical and efficient.Additionally, the functions of intelligent ship normally consist of seven levels [11,12].Additionally, the "Standard for Intelligent Ships" puts forward the requirements for anchoring autonomous decision making, which should enable the evaluation and implementation of anchorage plans based on real-time detection, signals and data receiving, as well as the limitation of the ship anchoring and maneuvering capability.
It could be states that the development of intelligent ship technology is flourishing, and it has become the carrier and a breakthrough of the digital technology and economy of the shipping industry.Definitions of intelligent vessels and MASS are products that Chinese and foreign experts as well as researchers formulated at the stage of the development of vessel intelligence.Additionally, its essence is to adopt different technical routes, thus achieving autonomous navigation and management.The mooring area detection is one of the key technologies that must be possessed by ships for autonomous and intelligent navigation.It is necessary for ships to detect the mooring area at the departure port, the destination port and the vicinity of the route, thus meeting the needs of emergencies, goods loading and unloading, boarding and disembarking, and waiting for berthing.In navigation practice, due to the lack of methods of scientific mooring area detection, the ships usually choose a larger anchorage circle radius to ensure their anchoring safety, which objectively results in a waste of anchorage space resource.Additionally, some space in the anchorage could be considered as mooring area.However, due to the lack of detection capacity, those anchorage space resources are wasted.Therefore, determining a suitable dropping anchor position and maintaining the mooring safety in operations are major challenges that intelligent and MASS systems need to undertake at different development stages.Intelligent mooring area detection is a strategy and technology that relies on various vessel sensors, fuses multi-source data, adopts relevant detection technologies to detect positions qualified for anchor operations, and conducts safety monitoring of the mooring position.Moreover, as for the development of intelligent vessels, mooring area detection is one of the key technologies related to their mooring safety and the utilization rate of anchorages space.More importantly, the mechanism of mooring area detection must be revealed, thus filling in the lacuna in mooring area detection, and promoting the development of related theories of intelligent vessels.
The Monte-Carlo stochastic simulation originated in 1946 and was named after physicists Von Neumann and Uiam, using random sampling to simulate neutron chain reactions on computers [13].The simulation was conducted using simple and repeated sampling, meaning it was less affected by the limitation of conditions.It enjoys characteristics of the simple method and easy programming, and provides a relatively accurate answer.The Monte-Carlo stochastic simulation is widely used in research on Structural Safety [14], risk assessing workers' unsafe behavior [15], working space analyses of Robotic Arms [16], efficient long-term extreme analysis [17], helicopter maritime search and rescue response plans [18] and the dynamic process simulation of ship pilotage risk [19].The above engineering problems share the same scientific principle with the mooring area detection problem, and act as a significant reference.

Literature Review
Anchoring operation is one of the key operations of ships, which is affected by wind, wave and current, ship maneuverability [20][21][22], the accurate positioning of ships [23,24], congestion of anchorage [25], water depth, bottom material grip force [26], anchoring chain length, anchorage circle radius [27], safety distance between the anchoring ships [28] and the algorithm of the anchorage area detection.At present, the research on anchorage area detection focuses mainly on the following two aspects.

Safety Distance between Anchoring Ships
In the literature, [29] analyzes the differences of relevant specifications of the anchorage circle radius under different situations, and an optimal selection of the anchorage circle radius in the regression equation model and algorithm according to different wind conditions was proposed.In [30], the position of the anchor chain hole was taken as the dropping anchor position, converted from the position of GPS antenna to the anchor chain hole with the mathematical model.In [31], the conceptual difference between the ship position and anchor position was pointed out.In [32], the difference and relation between anchor position and dropping anchor position was analyzed, and an estimation method was put forward.In [29,33,34], a regression analysis and data mining were applied to calculate the anchorage circle radius and the distance between anchoring ships, which were intelligent to a certain degree.However, as it was a comprehensive analysis of various situations, it could not reflect the maximum safety radius.Some Japanese researchers considered the maneuvering difficulty of a ship passing through anchoring ships and introduced the distance model between two adjacent anchoring ships [29].The length of the anchoring chain was mainly determined by the external force of wind, wave and current, water depth and the grip force coefficient of the bottom material [35].A safety evaluation anchorage model of the Tianjin port was introduced by Wu et al., based on the safety distance model of two anchoring ship, and the process of dragging anchor, drift direction and the speed of dragging anchor were studied [25].Li put forward a relative safety distance model from the anchoring ship to waterways, including locations such as areas with an intensive traffic flow [28].In [36], a calculation method was proposed for the anchoring safety distance based on ship drift motion and ship collision risk.A fixed-point anchoring scheme was then proposed, comprehensively considering the basic turning radius of a single anchoring ship and the distance between anchoring ships with maneuvering difficulty [37].The safety distance between anchoring ships is also influenced by the captain's risk appetite and pressure mode [27].
In conclusion, the current anchorage circle radius mainly considers factors such as chain length, catenary and the projected length of the anchor chain, horizontal chain and ship length into consideration, which revealed a shortcoming, namely, the insufficient consideration of factors such as ships carrying hazardous goods, ship parameter, the distance from anchor chain hole to the bow and stern centerline, trim angle and water depth.Hence, the existing anchorage circle radius model and radius value cannot fully reflect the engineering practice background.The safety distance between anchoring ships should be set based on the safety radius of two ships, and the navigation impact of passing ships in the anchorage area should also be taken into consideration.Therefore, it is necessary to fully consider factors including ships carrying hazardous goods, ship parameters, ship loading conditions, anchorage depth as well as the risk of ships sailing in the anchorage area.Additionally, the practical background of anchoring engineering will be fully reflected by the distance model.

Method of Mooring Area Detection
Some valuable work was carried out on MASS mooring area detection.The essence of mooring area detection is to detect a circular anchor area, which can be obtained by the method of Euclidean space distance, image identification [38,39] and so on.In [40], the adaptive genetic algorithm was applied to optimize the automatic detection results of mooring area based on the gray system and an artificial neural network, and the final detection results of mooring area were output while the artificial intelligence system completed the regional detection of the mooring area.However, the anchorage circle radius and safety distance model were inaccurate.In [35], the disc packing algorithm was applied to optimize anchorage space utilization and specify the anchor position.In [41], the calculation model of the anchorage space capacity of standard ships was established based on the Monte-Carlo algorithm.In [26], the Multi-Objective Anchorage Planner (MOAP) algorithm was studied based on safety and efficiency, and verified with historical data and the Monte-Carlo algorithm.The MOAP algorithm could provide safer anchorage planning while maintaining the same optimization level.The Monte-Carlo algorithm can provide a fast simulation method.In [42], the reliability calculation of anchorage capacity and the redundancy optimization model was proposed, which would effectively solve the problem of optimizing anchorage space utilization under the influence of anchorage capacity uncertainty.
In conclusion, the current research of anchorage detection mainly focuses on the length of the anchoring chain, anchorage radius, safety spacing of anchoring ships, anchorage planning, utilization rate of anchorage space and so on.The factors mentioned above could play a certain supporting role in the detection of mooring area.Only a few of studies have applied the Adaptive Genetic Algorithm [20] to optimize the automatic detection results of the mooring area in the gray system and artificial neural network system and the artificial intelligence system to detect the mooring area, and to output the final detection results of mooring area.However, the anchorage radius and anchor spacing model used in this method might be inaccurate.

Motivation
Despite the number of research works devoted to the length of the anchoring chain, anchorage circle radius, safety distance between anchoring ships, anchorage planning, utilization of anchorage, and so on which could play a supporting role in the detection research of mooring area, there are some research gaps in the existing studies.The extensive literature search shows that there are few studies on the mooring area detection.The existing anchorage circle radius model is relatively primitive, because it only takes the length of the anchoring chain and water depth into consideration and lacks consideration of the ship type, loading condition and the safety of the anchoring ships and the ships passing through the anchorage.It is necessary to conduct further research on the anchorage circle radius and the safety distance model between the anchor positions.More importantly, there are few intelligent detection methods for the mooring area.Meanwhile, the existing research cannot meet the needs of the development of ship industry, and the navigation practice needs the support of scientific detection method of mooring area.
In order to improve the detection capacity and accuracy of the mooring area, the following aspects were investigated in this study: 1.
The anchorage circle radius model was improved by considering parameters such as ship type, ship width, ship length, distance from anchor chain hole to bow and stern line, trim angle and water depth and so on.The improved model reflects engineering practice more accurately, ensuring the authenticity of the results.

2.
The safety distance model between the anchor positions was also improved.The improved model not only considered the parameters of the anchorage circle radius model, but also took into account the safety impact caused by ships passing through the anchorage.The improved model presents a better reflection of the engineering practice, making the distance safer and more reasonable.

3.
An intelligent detection algorithm combining the anchorage area detection model and the Monte-Carlo stochastic simulation method was established, and a large amount of random numbers were used to perform the detection operation and simulation, so as to quickly obtain the distribution of the anchor position of ships waiting to anchor.Under the support of the anchor position conversion model, and the dropping anchor position conversion model, the draping anchor position or the ship position of the dropping anchor were transferred from the anchor position.

Contributions
In contrast to the aforementioned work, the contributions of this study mainly concern two aspects.

1.
The anchorage circle radius model and safety distance model between the anchor position were improved, which can help to fully reflect the engineering practice in a more safe and reasonable way.

2.
An intelligent model combining the MASS mooring area detection model and the Monte-Carlo stochastic simulation method was established, which can quickly detect the anchor position that matches with MASS, thereby improving on the previous research on mooring area detection.

Mooring Area Detection of Single Anchored MASS 2.1. Motion Law of Single Anchoring Ship
The single anchoring method is one of the commonly used anchoring methods for ships.There are two modes in operation: the forward anchoring method and backward anchoring method.In most cases, the backward anchoring method against the wind flow direction of the ship is adopted, because the ship speed is opposite to the wind flow direction, which is convenient to control the residual speed of the ship and find the anchor position.Then, it is convenient for the anchor to break through the seabed and grip it firmly.When it comes to the forward anchoring method, the ship speed is in the same direction as the wind flow direction.After anchoring, the ship is forced to turn to the opposite direction of the wind flow, which requires a large turning space.Additionally, it is difficult to control the ship position because of the large inertia.Figure 1 shows the process of the backward anchoring method.After reaching the predetermined anchor position, the ship drops the anchor at the point A 1 .At this time, the position information displayed by the ship position sensor is A 1 .The ship retreats slowly under the influence of wind, wave and current and its own maneuverability.The anchor gradually grips the bottom material and finally stabilizes at the point A 2 with the position displayed by the ship position sensor as the point A 3 .
ulation, so as to quickly obtain the distribution of the anchor position of ships waiting to anchor.Under the support of the anchor position conversion model, and the dropping anchor position conversion model, the draping anchor position or the ship position of the dropping anchor were transferred from the anchor position.

Contributions
In contrast to the aforementioned work, the contributions of this study mainly concern two aspects.
1.The anchorage circle radius model and safety distance model between the anchor position were improved, which can help to fully reflect the engineering practice in a more safe and reasonable way.2.An intelligent model combining the MASS mooring area detection model and the Monte-Carlo stochastic simulation method was established, which can quickly detect the anchor position that matches with MASS, thereby improving on the previous research on mooring area detection.

Motion Law of Single Anchoring Ship
The single anchoring method is one of the commonly used anchoring methods for ships.There are two modes in operation: the forward anchoring method and backward anchoring method.In most cases, the backward anchoring method against the wind flow direction of the ship is adopted, because the ship speed is opposite to the wind flow direction, which is convenient to control the residual speed of the ship and find the anchor position.Then, it is convenient for the anchor to break through the seabed and grip it firmly.When it comes to the forward anchoring method, the ship speed is in the same direction as the wind flow direction.After anchoring, the ship is forced to turn to the opposite direction of the wind flow, which requires a large turning space.Additionally, it is difficult to control the ship position because of the large inertia.Figure 1 shows the process of the backward anchoring method.After reaching the predetermined anchor position, the ship drops the anchor at the point  Once anchored, the single anchoring ship moves in a complex way under the comprehensive influence of wind, wave, rotary flow and reciprocating flow.Figure 2a shows the motion state of an anchoring ship under the influence of external forces, where point 0 is the anchor position and points A-G are the motion track of the bow. Figure 2b-f shows the hourly ship track of a real-scale ship in 12 h, 24 h, 5 day, 10 day and 15 day periods, respectively.In conclusion, when the external forces are relatively stable, the anchoring ship presents the characteristics of a short periodic yawing at anchor.When the external forces are unstable, the anchoring ship moves in an approximate circular motion in the long-period state.Its swing amplitude and circular radius are closely related to the external forces.
the motion state of an anchoring ship under the influence of external forces, whe 0 is the anchor position and points A-G are the motion track of the bow. Figure 2bthe hourly ship track of a real-scale ship in 12 h, 24 h, 5 day, 10 day and 15 day respectively.In conclusion, when the external forces are relatively stable, the an ship presents the characteristics of a short periodic yawing at anchor.When the forces are unstable, the anchoring ship moves in an approximate circular motio long-period state.Its swing amplitude and circular radius are closely related to th nal forces.On the vertical plane, the single anchoring ship produces a radial reciprocat tion under the influence of different external forces of wind, wave and current.Th of the anchor chain of the ship at point A in Figure 3 is S ; the catenary S S is in a radian, and the horizontal chain L S lies flat on the seabed.The resultant forc gripping force P of the anchor and the friction force of the horizontal chain is than or equal to the external force F .If F becomes larger, the ship moves from to point B and becomes stable at point B. If P is equal to F , at this time, the c length becomes longer while the horizontal chain becomes shorter.If F cont grow and exceeds P , there is a risk of anchor dragging.If F becomes smaller choring ship will move from point B back to point A. Therefore, the above factors be taken into full consideration for the perspective of anchoring safety.In particu appropriate anchorage circle, anchor position and anchorage circle radius shoul lected in the dense waters of ships.On the vertical plane, the single anchoring ship produces a radial reciprocating motion under the influence of different external forces of wind, wave and current.The length of the anchor chain of the ship at point A in Figure 3 is S; the catenary S S is in a certain radian, and the horizontal chain S L lies flat on the seabed.The resultant force of the gripping force P of the anchor and the friction force of the horizontal chain is greater than or equal to the external force F. If F becomes larger, the ship moves from point A to point B and becomes stable at point B. If P is equal to F, at this time, the catenary length becomes longer while the horizontal chain becomes shorter.If F continues to grow and exceeds P, there is a risk of anchor dragging.If F becomes smaller, the anchoring ship will move from point B back to point A. Therefore, the above factors need to be taken into full consideration for the perspective of anchoring safety.In particular, the appropriate anchorage circle, anchor position and anchorage circle radius should be selected in the dense waters of ships.

Method of Traditional Ship Anchorage Area Detection
In traditional methods, usually, the radar or electronic chart equipment is applied to select the anchor position, and a circle is selected with a certain radius without anchoring ship and water surface obstacles in areas with appropriate water depth and seabed sediment.The circle detected by this method meets the requirements, namely, the appropriate anchorage circle.The radius is the safety anchorage circle radius, and the center of the circle is the anchor position.

Method of Traditional Ship Anchorage Area Detection
In traditional methods, usually, the radar or electronic chart equipment is applied select the anchor position, and a circle is selected with a certain radius without anchor ship and water surface obstacles in areas with appropriate water depth and seabed se ment.The circle detected by this method meets the requirements, namely, the appropr anchorage circle.The radius is the safety anchorage circle radius, and the center of circle is the anchor position.
Figure 4 provides the diagram of ship anchor position selection, in which the b dot represents the obstacle.In Figure 4a,b, the anchorage circle 1 has no interference fr other obstacles within the anchorage circle radius, and the point O can be used as dropping anchor position of the anchoring ship; the anchorage circle 2 is impacted obstacles within the anchorage circle radius, which is not suitable for the anchorage ci of anchoring ship.In Figure 4b, there is an influence of wind flow, and the center po O of anchorage circle 1 can be used as a suitable dropping anchor position.Howev due to the influence of wind flow in the process of anchoring, there will be a proces moving to the direction of force, which leads to a new anchor position O .There are t obstacles in the new anchorage circle, which present potential risk in anchoring.The fore, the influence of wind flow should be fully considered when selecting the anc position.In navigation practice, there are few scientific intelligent detection method anchorage area; therefore, ships usually choose a larger anchorage circle radius to ens the anchoring safety, which objectively causes the waste of the anchorage area resou In addition, some spaces in the anchorage area could be regarded as the anchorage are the detection capacity is qualified for it.Figure 4 provides the diagram of ship anchor position selection, in which the blue dot represents the obstacle.In Figure 4a,b, the anchorage circle 1 has no interference from other obstacles within the anchorage circle radius, and the point O can be used as the dropping anchor position of the anchoring ship; the anchorage circle 2 is impacted by obstacles within the anchorage circle radius, which is not suitable for the anchorage circle of anchoring ship.In Figure 4b, there is an influence of wind flow, and the center point O of anchorage circle 1 can be used as a suitable dropping anchor position.However, due to the influence of wind flow in the process of anchoring, there will be a process of moving to the direction of force, which leads to a new anchor position O .There are two obstacles in the new anchorage circle, which present potential risk in anchoring.Therefore, the influence of wind flow should be fully considered when selecting the anchor position.In navigation practice, there are few scientific intelligent detection methods of anchorage area; therefore, ships usually choose a larger anchorage circle radius to ensure the anchoring safety, which objectively causes the waste of the anchorage area resource.In addition, some spaces in the anchorage area could be regarded as the anchorage area if the detection capacity is qualified for it.

Method of Traditional Ship Anchorage Area Detection
In traditional methods, usually, the radar or electronic chart equipment is ap select the anchor position, and a circle is selected with a certain radius without an ship and water surface obstacles in areas with appropriate water depth and seab ment.The circle detected by this method meets the requirements, namely, the app anchorage circle.The radius is the safety anchorage circle radius, and the cente circle is the anchor position.
Figure 4 provides the diagram of ship anchor position selection, in which dot represents the obstacle.In Figure 4a,b, the anchorage circle 1 has no interferen other obstacles within the anchorage circle radius, and the point O can be use dropping anchor position of the anchoring ship; the anchorage circle 2 is impa obstacles within the anchorage circle radius, which is not suitable for the anchora of anchoring ship.In Figure 4b, there is an influence of wind flow, and the cent O of anchorage circle 1 can be used as a suitable dropping anchor position.H due to the influence of wind flow in the process of anchoring, there will be a pr moving to the direction of force, which leads to a new anchor position O .There obstacles in the new anchorage circle, which present potential risk in anchoring fore, the influence of wind flow should be fully considered when selecting the position.In navigation practice, there are few scientific intelligent detection me anchorage area; therefore, ships usually choose a larger anchorage circle radius t the anchoring safety, which objectively causes the waste of the anchorage area r In addition, some spaces in the anchorage area could be regarded as the anchorag the detection capacity is qualified for it.

Anchorage Circle Radius Model
The anchorage circle radius is not only related to the size of the safety mooring area of ships, but also influences the utilization rate of the anchorage area to a great extent.The anchorage circle radius is related to the length of the anchoring ship outgoing chain, the ship parameters, the loading conditions, the draft and the safety of ships passing through the anchorage area.The extended chain length S of the anchoring ship includes the following three parts: the length k of the anchor chain on the deck, the suspended length S S and the length S L of the chain cable lying on the seabed.Referring to Figure 1, the anchorage circle radius of the ship can be gained, which can be expressed as Equation (1).
where R indicates the radius of the anchorage circle of the ship; L 1 indicates the length of the chain cable lied on seabed; L 2 indicates the horizontal projected length of the catenary of the anchor chain; L 4 indicates the horizontal projected length of the bow and stern of the ship; L 5 indicates the horizontal projected length from the anchor chain hole to the front end of the deck; ε indicates the positioning error of the position sensor of the ship; α indicates the ship trim angle, which can be obtained from the state sensor of the ship; L S indicates the length between the bow and stern of the ship; L SA indicates the length from the anchor chain hole to the bow of the ship.
Referring to Figure 3 with a consideration of the motion limit of the anchoring ship, the horizontal projection of the anchor chain is simplified and can be expressed as Equation (2).
where, D indicates the water depth from the anchor chain hole to the seabed; D W indicates the charted water depth, D A indicates the ship shape depth at the anchor chain hole; d F indicates the draft of the bow of the ship.Therefore, the anchoring radius model under general conditions can be derived, which can be expressed as Equation (3): Considering the safety factors of other ships passing through the anchorage area, the anchorage circle radius needs to be reserved for 2-3 times the ship width [43] so as to ensure the anchoring safety.In addition, considering the characteristics of ships carrying hazardous goods, the anchorage circle radius should increase the safety margin by a certain amount compared with general freight anchoring ships.Therefore, the general anchorage circle radius model can be further expressed as Equation ( 4).
where, σ indicates the ship type, σ ∈ [1, 1.2]; the σ of general cargo takes the lower limit, and the σ of ships carrying oil, liquefied gas and chemical products takes the upper limit according to the risk; τ indicates the ship width coefficient, τ ∈ [2, 3]; B represents the width of the ship [44].
The chain length greatly influences the anchorage circle radius.Researchers from various countries have proposed a variety of chain length [23,26], as shown in Table 1.According to the data analysis in Table 1, the outgoing chain length model of Chinese anchoring ships is the most conservative and safe option compared with other models.Therefore, this study adopted the Chinese anchoring outgoing chain length model and further improved the anchorage circle radius model, which can be expressed as Equation ( 5):

Safety Distance Model
The establishment of the anchoring radius model was based on the full consideration of the circular motion characteristics of the anchoring ship.However, due to the interaction between anchoring ships, the safety distance between two anchoring ships was taken into consideration so as to avoid the safety interference between multiple ships.Figure 5 simulates the motion trajectories of two anchoring ships.Figure 5a shows the motion dynamics of the two anchoring ships in synchronous motion, and the distance between them satisfies Equation ( 6) in this state.
where, Q is the distance between the two anchoring ships; D S is the distance between the anchoring ships; R b is the anchorage circle radius of ship B; and L S2 represents the length of ship B.
Figure 5b shows the extreme motion dynamics of two anchoring ships which were not in the synchronous motion.At this time, the two anchoring ships are in opposite directions and their sterns are opposite, which is the most dangerous state.Once a ship's anchor drags out of control, there is a danger of collision.Therefore, the two anchoring ships will set a certain safety margin while determining the anchorage circle radius, which can be expressed as Equation (7), as shown in Figure 5c,d.
where, AS R is the safety anchorage circle radius of ship A; a R is the anchorage circle radius of ship A. may result in a small value, thus leading to a situation similar to the presence of obstacles in the anchorage circle in Figure 4.In order to avoid it, a larger anchorage circle radius would be chosen, which objectively wastes the anchorage space.Moreover, it is safe and reliable to use the safety distance S D  and Q in mooring area detection if there is an accurate anchor position.In addition, considering ships passing through the anchorage, Equation ( 6) adds a parameter  as a safety margin in the anchorage circle radius model of Equation (5).Therefore, the safety distance model of two anchoring ships can be further derived, as shown in Equation (8).
where, R AS is the safety anchorage circle radius of ship A; R a is the anchorage circle radius of ship A.
In navigation practice, it is difficult for ship B to gain the anchoring radius R a of ship A, because the anchoring ship A reciprocates irregularly in the radial direction within the anchorage circle.Additionally, the reasonable distance can only be determined according to the data from ship B. The distance Q shown in Equation ( 7) is normally used to determine the radius of the anchor position.Considering motion features of the anchoring ship, the distance Q is a variable.The anchorage circle radius based on distance Q may result in a small value, thus leading to a situation similar to the presence of obstacles in the anchorage circle in Figure 4.In order to avoid it, a larger anchorage circle radius would be chosen, which objectively wastes the anchorage space.Moreover, it is safe and reliable to use the safety distance D S and Q in mooring area detection if there is an accurate anchor position.
In addition, considering ships passing through the anchorage, Equation ( 6) adds a parameter τ as a safety margin in the anchorage circle radius model of Equation (5).Therefore, the safety distance model of two anchoring ships can be further derived, as shown in Equation (8).
where, σ a and σ b are ship type coefficients of ship A and ship B, respectively.

Conversion Model of Position of Anchor-Dropping
The anchor-dropping position is the location where the anchor was dropped when the ship is in the operation of anchoring.As shown in Figure 6a, the position of dropping anchor position is A 1 , and the point recorded is actually A 1 , due to the position sensor antennas usually being installed far from the anchoring equipment.In Figure 6, a and b represent the distance from the GPS/ GNSS/ BDS sensors to the bow and stern ends of the ship, respectively; c and d represent the distance from the GPS/ GNSS/ BDS sensors to both sides, respectively.The values of a, b, c and d are obtained from the ship's drawings or from GPS/ GNSS/ BDS sensor parameters.Additionally, the distance between the anchor chain hole and the bow is e, and the distance between the anchor chain hole and the windlass is k.
where, a  and b  are ship type coefficients of ship A and ship B, respectively.

Conversion Model of Position of Anchor-Dropping
The anchor-dropping position is the location where the anchor was dropped when the ship is in the operation of anchoring.As shown in Figure 6a, the position of dropping anchor position is 1 A , and the point recorded is actually 1 A , due to the position sensor antennas usually being installed far from the anchoring equipment.In Figure 6, a and b represent the distance from the GPS/ GNSS/ BDS sensors to the bow and stern ends of the ship, respectively; c and d represent the distance from the GPS/ GNSS/ BDS sensors to both sides, respectively.The values of a, b, c and d are obtained from the ship's drawings or from GPS/ GNSS/ BDS sensor parameters.Additionally, the distance between the anchor chain hole and the bow is e, and the distance between the anchor chain hole and the windlass is k.In Figure 6a, a coordinate system with the same ship position as the origin is established.The X-axis represents the fore-aft axis and the Y-axis represents the athwartship axis. represents the angle between the line connecting the anchor chain hole and the ship position and Y-axis. represents the angle between the line connecting the anchor position with the ship position and Y-axis.The coordinates of the position of anchor-dropping 1 A 1 1 ( , )   can be calculated with Equation ( 9) and the ship position coordinates     were recorded at the time of anchoring.In Figure 6a, a coordinate system with the same ship position as the origin is established.The X-axis represents the fore-aft axis and the Y-axis represents the athwartship axis.θ represents the angle between the line connecting the anchor chain hole and the ship position and Y-axis.θ represents the angle between the line connecting the anchor position with the ship position and Y-axis.The coordinates of the position of anchor-dropping A 1 (ϕ 1 , λ 1 ) can be calculated with Equation ( 9) and the ship position coordinates A 1 (ϕ 1 , λ 1 ) were recorded at the time of anchoring.
where, Z is the distance between the anchor-dropping position of the ship and the position actually recorded by the ship during anchor dropping, and θ is the included angle between the connecting line from the anchor chain hole and the ship position in the coordinate system and the abscissa.

Conversion Model of Anchor Position
The anchor position refers to a position where the ship is relatively stable by grasping the bottom material while anchoring A 2 is shown in Figures 1 and 6.In the horizontal direction of sea bottom, there is a certain displacement L 0 of the anchor from the dropping anchor position A 1 that is instructed to let go of the anchor to the anchor position A 2 , as shown in Figure 1.Reasons for the formation of L 0 are relatively complex and hard to calculate, which are related to the ship's maneuverability, type, tonnage, speed, loading situation, anchor type and other factors, as well as external wind and waves, water depth and bottom material.

1.
There is a certain time interval from the issued order of anchoring to the actual settlement of the anchor.Since the ship moves with a certain speed, a certain displacement of the anchor in the horizontal plane of the ship's movement is detectable.The operation of anchoring by the windlass takes longer than gravity anchoring, and will generate more horizontal displacement.

2.
There is a certain horizontal displacement during the process of the anchor falling to the bottom, inserting into the bottom material and stabilizing to the anchor position.

3.
The anchor and anchor chain are affected by wind and waves during the anchoring operation, resulting in a certain displacement of the anchor in the horizontal direction.

4.
During the reversing process of the ship, a large horizontal force upon the ship is generated, and the anchor is dragged, thus presenting a certain horizontal displacement.
Therefore, the vector model of the anchoring motion is summarized in Equation (10).
In Equation (10), L 0 is the anchoring motion vector; → V represents the ship vector speed; t the ship anchoring time, that is, the time from the moment when the order is issued to the time when the anchor claw penetrates into the bottom material; → L A is the anchor dragging motion vector; → L W is the horizontal motion vector generated by the wind, waves and currents; and → L P represents the anchor dragging vector due to the reverse horizontal force.The anchoring motion vector model involves many factors and it is difficult to quantify them.Then, in order to find the anchor position, as shown in Figure 6b, the position sensor coordinates of A 3 (ϕ 3 , λ 3 ), namely, the ship position after anchoring, can be calculated by Equation (11).
where, Z is the distance between the anchor position of the ship and the position actually recorded by the ship during anchor dropping, and θ is the included angle between the connecting line from the anchor position to the ship position in the coordinate system and the abscissa.

Monte-Carlo Mooring Area Detection Model
There are four main elements in solving the mooring area detection: 1. Establish a mooring area detection model.By establishing the plane rectangular coordinate system of the anchorage area, two-dimensional coordinates are set for ships or objects in the anchorage that hinder the anchoring operation.Then, the Euclidean metric method is adopted to construct the anchoring area detection model of the anchoring ship, so as to select the anchor position that meets the safety distance between two anchoring ships, as in Equation ( 12).
where, (x n , y n ) is the position of the existing ship or other objects in the plane rectan- gular coordinate system of the anchorage area.(x a , y a ) is the anchor position, which satisfies the safety distance of anchoring ships.

2.
The random function of the Monte-Carlo method is taken to generate random twodimensional coordinates (x 1 , y 1 ), (x 2 , y 2 ) . . .(x n , y n ) in varying amounts within the anchorage, so as to simulate the ship position of the existing anchoring ship, namely, to simulate the interference term of the target anchoring ship during the detection of the anchorage area.The distance of these coordinates meets the safety distance D S requirements for anchoring ships.Then, with the conversion model of the anchor position, the above ship positions are converted into the anchor position x 1 , y 1 ), (x 2 , y 2 ) . . .(x n , y n ) of the existing anchoring ship.

3.
The random function of the Monte-Carlo method is taken to generate random twodimensional coordinates x 1 , y 1 ), x 2 , y 2 ) . . .x n , y n ) in varying numbers within the anchorage, so as to simulate the two-dimensional coordinates of the ship positions of the target ship.4.
Based on Equation ( 12), the two-dimensional coordinates of the anchor positions of the target ships are calculated that meet the requirements of D S .

Set Up
In this experiment, a mooring area of 2 nautical miles × 2 nautical miles was defined on the MATLAB, and the water depth value was 20-40 m.For the convenience of the mooring area detection research, the following assumptions were made: 1.
The influence of wind, current and anchoring ship on the anchoring was not taken into consideration, that is, the anchoring dropping point coincided with the anchor position, L 0 = 0; 2.
The anchor position was directly in front of the ship, that is, on the ship's course line; 3.
The trim angle of the ship was assumed to be α = 0.5 • ; 4.
The value range of coefficient τ was [2,3].In this study, the cargo ships passing through the anchorages were general cargo ships, so the value of τ was 2; 5.
In this experiment, the selected ship type was a general cargo ship, σ = 1; 6.
The positioning error of GPS/GNSS/BDS was not taken into account.
In this study, three general cargo ships were selected, and the specific ship sizes are shown in Table 2.Where L S is the designed length of the ship (m); B is the moulded breadth of the ship (m); D A is the moulded depth of the ship at the chain hole (m); L SA is the distance from the chain hole to the bow (m); k is the distance from the chain hole to the centerline of the fore-aft axis (m); d F is the bow draught of the ship (m); and CB is the block coefficient of the ship.The anchorage circle radius models were modified in various studies, summarized as shown in Table 3.Note that R represents the radius (m) of a single anchored mooring ship.
According to the experimental data in Table 2 and the improved safety distance model of anchoring ships, the simulation of the anchorage area detection was carried out using MATLAB.The existing ships and the ships to be anchored in the anchorage area belong to the above three types.The distance of existing ships in the anchorage meets the safety distance requirements for anchoring ships.Additionally, the experimental data contain 10 sets of data in two categories.The first category comprised the detection data of five groups of anchorage areas with a wind power of less than or equal to 7, and the anchorage water depths were 20 m, 25 m, 30 m, 35 m and 40 m, respectively.Then, the second category of data comprised the detection data of five groups of mooring areas with a wind force of greater than 7, and the anchorage water depths were 20 m, 25 m, 30 m, 35 m and 40 m, respectively.Tables 4 and 5 include the extracted data of the first group in the first category and the data of the first group in the second category, respectively.

Procedure
To investigate the effectiveness of the Monte-Carlo mooring area detection model, a simulation was carried out.The specific steps are as follows, and a diagram of model solution logic is shown in Figure 7.

Procedure
To investigate the effectiveness of the Monte-Carlo mooring area detection model, a simulation was carried out.The specific steps are as follows, and a diagram of model solution logic is shown in Figure 7. Step 1: An anchorage matrix was established with a size of 2 nautical miles × 2 nautical miles with an evenly distributed water depth, and water depth was 20-40 m.
Step 2: Using MATLAB, the Monte-Carlo random algorithm was taken to generate two-dimensional coordinates in varying numbers    x y x y , so as to simu- late the position of the existing anchoring ship, that is, to simulate the interference item of the target ship during the mooring area detection.
Step 3: With the conversion model of the anchor position, the ship positions in step 2 were converted to the anchor position of the existing anchoring ship ) Step 1: An anchorage matrix was established with a size of 2 nautical miles × 2 nautical miles with an evenly distributed water depth, and water depth was 20-40 m.
Step 2: Using MATLAB, the Monte-Carlo random algorithm was taken to generate twodimensional coordinates in varying numbers (x 1 , y 1 ), (x 2 , y 2 ) . . .(x n , y n ) , so as to simulate the position of the existing anchoring ship, that is, to simulate the interference item of the target ship during the mooring area detection.
Step 3: With the conversion model of the anchor position, the ship positions in step 2 were converted to the anchor position of the existing anchoring ship x 1 , y 1 ), (x 2 , y 2 ) . . .(x n , y n ) .
Step 4: Based on MATLAB, the static parameters of the existing anchoring ship and the improved anchorage circle radius model, the anchorage circle radius of the existing anchoring ship was simulated.
Step 5: Based on MATLAB, static parameters of the ship to be anchored and the improved anchorage circle radius model, the anchorage circle radius of the ship to be anchored was simulated.
Step 6: Based on the data gathered from steps 3 and 4 and the safety distance model of the ship's anchorage position, the value of the safety distance for the ship to be anchored was calculated.
Step 7: Under MATLAB, the Monte-Carlo random algorithm was used to randomly generate 5000 two-dimensional coordinates x 1 , y 1 ), x 2 , y 2 ) . . .x n , y n ) , so as to simulate the two-dimensional coordinates of the anchor position of the target anchoring ships.
Step 8: With the mooring area detection model of the anchoring ships, successive operations upon the data from steps 3 and 7 were performed, and two-dimensional coordinates of the anchor position (X 1 , Y 1 ), (X 2 , Y 2 ) . . .(X n , Y n ) of the ship to be anchored were obtained, which satisfied the safety distance value in step 6.
Step 9: The dropping anchor position conversion model was taken in converting the coordinates of the dropping anchor position X 1 , Y 1 ), (X 2 , Y 2 ) . . .(X n , Y n ) of the ship to be anchored.
Step 10: The drawing command was invoked to generate the simulation graphics of the work space of the mooring area.

Anchorage Circle Radius
The anchorage circle radius is related to anchorage safety and utilization.According to the data in Table 2, the anchorage circle radius model in Table 3 was calculated, and the results are shown in Figure 8.
the work space of the mooring area.

Anchorage Circle Radius
The anchorage circle radius is related to anchorage safety and utilization.According to the data in Table 2, the anchorage circle radius model in Table 3 was calculated, and the results are shown in Figure 8. 1.The anchorage circle radius value was relatively small.Compared with models A/C/D/E, the value of model F, which involves no consideration of the safety impact of passing ships, was significantly smaller when the wind force was less than or equal to 7. Compared with models B/C/D/E, model G, in which the safety impact of passing ships was taken into consideration, showed a middle value.The values of H and B, which both had a wind force of greater than 7, were also relatively small.Model I, which was set with the consideration of the safety impact of passing ships, had a wind force of greater than 7 and a safety distance of twice the ship's width, suggested a greater value than model B with the difference of 5-15%.2. Additional factors were considered.Models F~G considered factors such as water depth, wind power, ship type, ship loading condition, and ship parameters comprehensively.Therefore, the models mentioned above reflected the engineering practice background well with more accuracy.3. Models G and I fully considered the influence of the safety of ships passing through the anchorage with the safety distance set to improve the anchoring safety.4. Models F~G featured safety and high anchorage utilization.The Chinese standard of

1.
The anchorage circle radius value was relatively small.Compared with models A/C/D/E, the value of model F, which involves no consideration of the safety impact of passing ships, was significantly smaller when the wind force was less than or equal to 7. Compared with models B/C/D/E, model G, in which the safety impact of passing ships was taken into consideration, showed a middle value.The values of H and B, which both had a wind force of greater than 7, were also relatively small.Model I, which was set with the consideration of the safety impact of passing ships, had a wind force of greater than 7 and a safety distance of twice the ship's width, suggested a greater value than model B with the difference of 5-15%.

2.
Additional factors were considered.Models F~G considered factors such as water depth, wind power, ship type, ship loading condition, and ship parameters comprehensively.Therefore, the models mentioned above reflected the engineering practice background well with more accuracy.

3.
Models G and I fully considered the influence of the safety of ships passing through the anchorage with the safety distance set to improve the anchoring safety.4.
Models F~G featured safety and high anchorage utilization.The Chinese standard of the length of the outgoing chain is suitable for various extreme environments, and its standard length is the longest.Models F~G adopted the above Chinese standard, but resulted in a relatively small anchorage circle radius, which improved the utilization rate of the anchorage under the premise of ensuring safety.5.
In model B, a small slope coefficient was selected for the water depth variable and a large constant was obtained for the intercept.Model C selects a larger slope parameter for the water depth variable.Model B pays more attention to the influence of wind on the anchorage radius.However, model C better considered the influence of the bottom sediment griping force on the anchoring radius.From the perspective of anchoring safety, Model B is more conservative.
In conclusion, the improved anchorage circle radius model in this study altered the rough phenomenon of the previous model.One the one hand, it fully considered the ship type, the distance from the anchor chain hole to the bow, the trim angle, the loading condition and other factors, but also considered the wind, special types of ships with hazardous items such as oil tankers and the influence of ships sailing in and out of the anchorage upon the safety distance of anchoring ships.On the other hand, the radii of the improved model in the four situations were all in keeping with the acceptable range, and are smaller than the previous model values in the table in most scenarios.Moreover, the model was in line with an engineering practice background.The application of the improved model for mooring area detection will improve scientific detection, the safety of anchoring ships and the utilization of anchorage.

Anchor Position Detection
The data of Tables 4 and 5 were input into the MATLAB simulation platform, and the two-dimensional coordinates of anchor position distribution that conforms to the safety distance of the target ship were detected by the mooring area detection model and the Monte-Carlo stochastic simulation method.Then, using the Plot function, the coordinates of the anchor position distribution of the target ship were drawn into a two-dimensional image.Additionally, 10 groups of data in this experiment generated 60 two-dimensional images of anchor position detection.Moreover, Figures 9-12 provide eight anchor position detection images that were randomly extracted.Further, the black dots in Figures 9-12 simulate existing ships or obstacles.Meanwhile, the color red represents the available anchor positions distribution that meets the detection algorithm of mooring area detection.The color blue represents the available anchor positions distribution for ships with an additional 50 m of safety distance.Pink represents the available anchor positions distribution for ships with an additional 100 m of safety distance.Yellow represents the available anchor positions distribution for ships with an additional 100 m safety distance.In Figure 12, due to the existing ships or the congestion of obstacles in the anchorage area, it is impossible to detect the anchorage position required by the larger ship size, so the corresponding colored location distribution of the anchorage area cannot be plotted.
sional images of anchor position detection.Moreover, Figures 9-12 provide eight anchor position detection images that were randomly extracted.Further, the black dots in Figures 9-12 simulate existing ships or obstacles.Meanwhile, the color red represents the available anchor positions distribution that meets the detection algorithm of mooring area detection.The color blue represents the available anchor positions distribution for ships with an additional 50 m of safety distance.Pink represents the available anchor positions distribution for ships with an additional 100 m of safety distance.Yellow represents the available anchor positions distribution for ships with an additional 100 m safety distance.In Figure 12, due to the existing ships or the congestion of obstacles in the anchorage area, it is impossible to detect the anchorage position required by the larger ship size, so the corresponding colored location distribution of the anchorage area cannot be plotted.The conclusions of this study are as follows: 1.The intelligent MASS mooring area detection algorithm based on the improved anchorage area radius model and the Monte-Carlo stochastic simulation method sampled a total of 5000 times and required 1.1 s to output the detection results.The experimental results showed that the detection algorithm can accurately and efficiently detect the distribution of anchor positions within the anchorage boundary.2. The intelligent MASS mooring area detection algorithm fully considered the influence of the ship type on the anchoring distance, and provided a reasonable mooring area detection scheme for ships with hazardous items such as oil and liquefied gas.

Conclusions
The main contribution of this study is its design of an intelligent MASS mooring area detection algorithm based on the improved anchorage area radius model and the Monte-Carlo stochastic simulation method.The algorithm was verified through simulation experiments with 50 group datasets.Numerical simulation experiment results demonstrated that the detection algorithm provides features with rapidity and accuracy.The anchorage circle radius model accounted for a variety of limiting factors in the real marine environment, including ship parameters, the loading conditions, the draft and the safety of ships passing through the anchorage.A comparison was also made between the presented models.
The detection system can be used by various ships in a certain mooring area, by equipping an internet-based application computer program on the MASS to share individual information for each ship, and generate optimal mooring locations in the future.The conclusions of this study are as follows: 1.
The intelligent MASS mooring area detection algorithm based on the improved anchorage area radius model and the Monte-Carlo stochastic simulation method sampled a total of 5000 times and required 1.1 s to output the detection results.The experimental results showed that the detection algorithm can accurately and efficiently detect the distribution of anchor positions within the anchorage boundary.

2.
The intelligent MASS mooring area detection algorithm fully considered the influence of the ship type on the anchoring distance, and provided a reasonable mooring area detection scheme for ships with hazardous items such as oil and liquefied gas.

3.
The intelligent MASS mooring area detection algorithm fully considers the safety needs of ships passing through the anchorage with a certain safety distance.4.
The intelligent MASS mooring area detection algorithm fully considers the influence of the anchorage boundary.The tail of the target ship can effectively avoid the anchorage boundary and prevent the anchoring ship from floating out of the anchorage boundary.5.
The intelligent MASS mooring area detection algorithm can flexibly increase the safety distance as the circumstances may require.In this experiment, the distance of 50 m was adopted as the super parameter distance so as to flexibly adjust the safety distance of anchoring ships, as shown in Figures 9-12.

Conclusions
The main contribution of this study is its design of an intelligent MASS mooring area detection algorithm based on the improved anchorage area radius model and the Monte-Carlo stochastic simulation method.The algorithm was verified through simulation experiments with 50 group datasets.Numerical simulation experiment results demonstrated that the detection algorithm provides features with rapidity and accuracy.The anchorage circle radius model accounted for a variety of limiting factors in the real marine environment, including ship parameters, the loading conditions, the draft and the safety of ships passing through the anchorage.A comparison was also made between the presented models.
The detection system can be used by various ships in a certain mooring area, by equipping an internet-based application computer program on the MASS to share individual information for each ship, and generate optimal mooring locations in the future.The system can be also directed by the port authority to manage the anchoring operation of a ship.
However, only 192 m, 225 m and 333 m bulk carriers were selected as case studies in this study, while research on ships of less than 200 m in length is lacking.In the future, studies on different ship types including catamarans, fast vessels, and various ship lengths should be conducted.Simultaneously, some issues should be carefully addressed when the system is implemented in MASS, especially for the understanding of the appropriate anchorage water depth for different types of ships and more complex application scenarios.

Patents
A patent named "An intelligent detection and control algorithm of the mooring area for single anchoring ship" is in the process of application and has been published.

1 A 1 AFigure 1 .
Figure 1.Process of ship backward anchoring.(a) The predetermined anchor position.(b) The ship position after anchoring operation.

Figure 1 .
Figure 1.Process of ship backward anchoring.(a) The predetermined anchor position.(b) The ship position after anchoring operation.

Figure 2 .
Figure 2. Diagram of plane motion of the anchoring ship.(a) Motion diagram of single anc ship.(b) Ship motion trajectory of single anchored ship within 12 h.(c) Ship motion traject single anchored ship within 24 h.(d) Ship motion trajectory of single anchored ship within (e) Ship motion trajectory of single anchored ship within 10 days.(f) Ship motion trajector gle anchored ship within 15 days.

Figure 2 .
Figure 2. Diagram of plane motion of the anchoring ship.(a) Motion diagram of single anchored ship.(b) Ship motion trajectory of single anchored ship within 12 h.(c) Ship motion trajectory of single anchored ship within 24 h.(d) Ship motion trajectory of single anchored ship within 5 days.(e) Ship motion trajectory of single anchored ship within 10 days.(f) Ship motion trajectory of single anchored ship within 15 days.

Figure 3 .
Figure 3. Diagram of vertical movement of anchoring ship.

Figure 4 .
Figure 4. Diagram of selected anchor position of ship.(a) The diagram of ship anchor position selection under no influence of wind and current.(b) The diagram of ship anchor position selec

Figure 3 .
Figure 3. Diagram of vertical movement of anchoring ship.

Figure 3 .
Figure 3. Diagram of vertical movement of anchoring ship.

Figure 4 .
Figure 4. Diagram of selected anchor position of ship.(a) The diagram of ship anchor posi selection under no influence of wind and current.(b) The diagram of ship anchor position tion under influence of wind and current.

Figure 4 .
Figure 4. Diagram of selected anchor position of ship.(a) The diagram of ship anchor position selection under no influence of wind and current.(b) The diagram of ship anchor position selection under influence of wind and current.

Figure 5 .
Figure 5. Schematic diagram of the safety distance model of anchoring ships.(a) The two anchoring ships with synchronous motion.(b) The two anchoring ships without synchronous motion.(c) The safety margin of the two anchoring ships with synchronous motion.(d) The safety margin of the two anchoring ships without synchronous motion.In navigation practice, it is difficult for ship B to gain the anchoring radius a R of ship A, because the anchoring ship A reciprocates irregularly in the radial direction within the anchorage circle.Additionally, the reasonable distance can only be determined according to the data from ship B. The distance Q shown in Equation (7) is normally used to determine the radius of the anchor position.Considering motion features of the anchoring ship, the distance Q is a variable.The anchorage circle radius based on distance Q

Figure 5 .
Figure 5. Schematic diagram of the safety distance model of anchoring ships.(a) The two anchoring ships with synchronous motion.(b) The two anchoring ships without synchronous motion.(c) The safety margin of the two anchoring ships with synchronous motion.(d) The safety margin of the two anchoring ships without synchronous motion.

Figure 6 .
Figure 6.Schematic diagram of the position deviation of ship position sensors.(a) The position deviation of ship position sensors when anchoring.(b) The position deviation of ship position sensors after anchoring.

Figure 6 .
Figure 6.Schematic diagram of the position deviation of ship position sensors.(a) The position deviation of ship position sensors when anchoring.(b) The position deviation of ship position sensors after anchoring.

Figure 8 .
Figure 8. Schematic diagram of comparative analysis of the anchorage circle radius.(a) Schematic diagram of the anchorage circle radius of a 192 m general cargo ship.(b) Schematic diagram of the anchorage circle radius of a 225 m general cargo ship.(c) Schematic diagram of the anchorage circle radius of a 333 m general cargo ship.

Figure 8 .
Figure 8. Schematic diagram of comparative analysis of the anchorage circle radius.(a) Schematic diagram of the anchorage circle radius of a 192 m general cargo ship.(b) Schematic diagram of the anchorage circle radius of a 225 m general cargo ship.(c) Schematic diagram of the anchorage circle radius of a 333 m general cargo ship.

Figure 9 .Figure 10 .
Figure 9. Schematic diagram of mooring area detection with wind force ≤7 and water depth of 20 m.(a) Represents 192 m and 192 m ship type mooring area detection.(b) Represents 333 m and 333 m ship type mooring area detection.

Figure 9 .Figure 9 .Figure 10 .
Figure 9. Schematic diagram of mooring area detection with wind force ≤7 and water depth of 20 m.(a) Represents 192 m and 192 m ship type mooring area detection.(b) Represents 333 m and 333 m ship type mooring area detection.

Figure 10 .Figure 11 .Figure 11 .Figure 11 .Figure 12 .Figure 12 .
Figure 10.Schematic diagram of mooring area detection with wind force >7 and water depth of 20 m.(a) Represents 192 m and 192 m ship type mooring area detection.(b) Represents 333 m and 333 m ship type mooring area detection.

3 .
The intelligent MASS mooring area detection algorithm fully considers the safety needs of ships passing through the anchorage with a certain safety distance.4. The intelligent MASS mooring area detection algorithm fully considers the influence of the anchorage boundary.The tail of the target ship can effectively avoid the anchorage boundary and prevent the anchoring ship from floating out of the anchorage boundary.5.The intelligent MASS mooring area detection algorithm can flexibly increase the safety distance as the circumstances may require.In this experiment, the distance of 50 m was adopted as the super parameter distance so as to flexibly adjust the safety distance of anchoring ships, as shown in Figures 9-12 .

Figure 12 .
Figure 12.Schematic diagram of mooring area detection with wind force >7 and water depth of 40 m.(a) Represents 192-m and 192 m ship type mooring area detection.(b) Represents 333 m and 333 m ship type mooring area detection.

Table 1 .
Length of outgoing chain proposed by different countries.

Table 2 .
Ship type parameters selected for the simulation experiment (unit: m).

Table 3 .
Relevant models of anchorage circle radius.

Table 4 .
Data of ships in safety distance with wind ≤7 (water depth 20 m) (unit: m).

Table 5 .
Data of ships in safety distance with wind >7 (water depth 20 m) (unit: m).