With the rapid development of global economy,material transportation becomes increasingly important.According to the analysis of the international maritime organization,more than 90% of the world’s trade in goods is realized by sea transportation.China has the largest bulk cargo fleet in the world,and the total volume of cargo trade ranks the third in the world.The main contents of this paper are as follows:Firstly,the mathematical model of ship motion in shallow water is established.When the ratio of the ship’s draft to water depth is greater than a certain value,the flow in the lower channel of the ship bottom is limited by the underwater ground,forcing more water to flow along the side surface of the ship.This will change the pressure on the surface of the ship and the flow velocity of the fluid.As a result,the ship mathematical model in shallow water is different from that in deep water.It is mainly reflected in the hull total resistance coefficient,propeller derating coefficient and rudder wake coefficient in shallow water,which are different from those in deep water.Then,the mathematical model of ship motion in shallow water is simulated by Simulink software.The model of ship hull,fluid,propeller,rudder and external interference factors were established by using Japanese MMG separation method.The accuracy of the ship mathematical model is judged by the ship’s turning test.Finally,according to the previous work,the web system is developed to realize the ship motion prediction function under the external interference in the ship dynamic positioning system.The project is an online web system for ship motion prediction under wind load in shallow water based on Django framework.Python is used as the project development language,MTV design pattern is used as the project center design framework,and MySQL is used as the persistent database.The project is an engineering project,which mainly realizes the functions of obtaining wind data from data sources,calculating and displaying wind and wind direction data,calculating and displaying the ship’s turning moment under the action of wind load at a certain moment by using ship mathematical model as algorithm,simulating and displaying 3D model of real ship’s attitude,statistical analysis and classification of historical wind data,etc.It meets the personalized needs of customers,and provides help for port ships to prevent and reduce disasters caused by sudden gale. |