Simulation of the behaviour of a moored ship when passed by other ships