The paper discusses a dynamic model of the system consisting of an on-board hoisting winch on a moving vessel, cable, and load. The model accounting for large rope sag and hydrodynamic drag force was used to solve the problem of dynamic optimisation. The essence of which is what angle of rotation should be selected for the hoisting winch to ensure that the load during the defined movement of the vessel shall remain at the set distance from the seabed, which may be undulating. To solve this problem, the nonlinear optimisation methods were used. The presented calculation results show the efficiency of the developed 3D system model and its possible application to solve other similar optimisation problems.