Abstract Port congestion caused by ship detention is an important reason for the obstruction of the shipping supply chain. In this paper. a method of excavating the ship waiting behavior outside the port is proposed based on the automatic identification system (AIS) data and considering uncontrollable factors. Firstly. https://www.pomyslnaszycie.com/