| Nowadays,maritime transportation is an important pillar of the development of modern society.More and more ships are put into use,and the waters are getting busy,the number of ships has increased significantly,and the density of traffic flow has increased,causing more encounters with ships.As a result,collision avoidance behaviors have also increased,and the risk factor has become greater.Once a ship accident occurs,the possible loss of life and property is very huge.Therefore,in order to reduce the probability of ship collision and improve the safety of ship navigation,modeling and simulation of ship behavior is an effective method.One of the methods of modeling the traffic flow direction of ship collision avoidance is the cellular automata technology,which has a simple structure and can set flexible evolution rules.It divides the whole into a large number of simple and discrete components,and simulates rich and complex phenomena through the interaction between the components.Now,cellular automata technology has played a role in many fields.In the study of traffic flow,cellular automata technology also plays an important role,especially in the study of road traffic flow.The results are quite fruitful.Some studies have been applied in practice and have achieved good results.However,in the field of ship traffic flow,there are relatively few applied researches on cellular automata technology,and the research on regular hexagonal cellular automata technology is even closer to the blank.Therefore,this article tries to use regular hexagonal cellular automata technology research on ship collision avoidance behavior.First of all,this dissertation sorts out the current research on ship traffic flow simulation and the research on cellular automata-based traffic flow simulation,and then analyzes and compares them.Since there are not many applications of regular hexagonal cellular automata technology in existing ship traffic flow models,this article refers to the pedestrian evacuation model and road traffic flow model based on regular hexagonal cellular automata,combined with ship behavior characteristics,A model of collision avoidance behavior of ships in mutual encounters based on regular hexagonal cellular automata is proposed.In the model in this dissertation,the ship motion space is divided into regular hexagonal cells of appropriate size according to the actual situation that needs to be simulated.Each ship has 7 moving directions including stationary.According to the characteristics of the time discretization of cellular automata,the approximate integer ratio of ship speed is taken as the cell moving speed.Secondly,formulate cell evolution rules such as ship movement,turning,and stopping;at the same time,based on the analysis of ship behavior in the Lao Tieshan waterway,formulate the scope of the ship area,and set the ship’s dangerous area and arena according to it.Thus,different ship’s dangerous area,ship area,and arena of 100-meter-class and200-meter-class ships are obtained.The above settings provide a realistic basis for the simulation of ship collision avoidance behavior.Finally,using MATLAB software,a visual simulation program for ship collision avoidance was designed,and based on the above evolution rules,visual simulations were carried out on the process of overtaking and head-on ships in two scenarios of the same type of ship and different types of ships.The simulation results show that the model has a more true reflection of the actual ship collision avoidance process,and can provide a new method for the study of ship collision avoidance behavior,and provide a certain reference value for the actual evaluation of route planning. |