The Luojing Port Area of the Port of Shanghai, specifically the coal terminal and ore terminal, used to be the main port area for coal and ore bulk cargo transportation services in the Port of Shanghai.To enhance the container handling capacity at Shanghai port, this study conducted a series of simulation tests at Luojing Container Terminal. The tests were designed according to the terminal's specifications, taking into account the limit berthing wind direction and wind speed (levels 6 and 7). This study selected an appropriate representative ship type for the comprehensive simulation tests, and it thoroughly tested the berthing limits under various extreme conditions using an advanced navigation simulator. The experiment obtained the motion parameters and trajectory of the simulated ship. Based on these results, this study analyzed and evaluated the safety of the rotary waters and berthing operations, ensuring they met the safety assessment requirements for wharf engineering. The study examined the berthing time window, berthing mode, boundary conditions, and safety guarantee measures under extreme sea conditions at Luojing Container Terminal. Finally, By analyzing the berthing simulation trajectory diagrams, tugboat usage, and vessel maneuvering data under the eight extreme berthing conditions, this study formulated a safe berthing plan for ships.