Elsevier

Transport Policy

Volume 132, March 2023, Pages 163-174
Transport Policy

Container terminal daily gate in and gate out forecasting using machine learning methods

https://doi.org/10.1016/j.tranpol.2022.11.010Get rights and content

Abstract

Container throughput is an essential indicator for measuring the container terminal’s efficiency. Gate in and gate out containers are the containers that are transported to and transported out of the terminal respectively. Containers are stacked in the container yard before they leave the terminal. Handling of these containers accounts for a major workload at the terminal. Therefore, accurate short-term forecasting of the daily gate in and gate out containers at a container terminal is critical for operational planning. While most forecasts are made for the strategical level of the overall container throughput, this paper focuses on the daily gate in and gate out container quantities with a case study of Ningbo Zhoushan Port Beilun Second Container Terminal. Traditional approaches are mainly time series prediction algorithms that purely rely on the previously observed values. This paper proposes a novel decomposition-ensemble methodology framework which first divides the daily forecasting into a group of forecasting on a set of vessels which arrive in a certain time range around the predicted day. A novel machine learning method, “Extreme Gradient Boost (XGBoost)”, is used for the vessel level of forecasting, where some temporal-related features of vessels are considered in the model. We then ensemble the predicated value of all vessels in the set as the total gate in/out amount for a day. Experimental results demonstrate that our proposed method achieves notable performance gains compared to the time series-based method ARIMA. In addition, the results of this new technology can be fed into the terminal operating system (ToS) in the Ningbo Beilun container terminal for better management. Specifically, the prediction results facilitate effective real-time decision-making for operational management and policy drafting, such as workload planning, equipment scheduling, yard planning, etc.

Introduction

In the past decades, the Chinese government has responded to the shifting global economic environment by introducing various economic policies, such as “One Belt One Road”, “Go West.” etc., that have created a new economic landscape. These new policies have also gradually resulted in changes in port governance in China’s seaport system, resulting in a more commercialized and competitive environment (Notteboom and Yang, 2017). Container transportation is progressively becoming one of the essential modes of freight transportation as cargo transport containerization advances (Vasiliauskas and Barysiene, 2008). The container terminal serves as the hub of the maritime transportation network. Various policies and strategies have been established over the past few decades to improve the efficiency of container port operations. Container throughput is wildly recognized as a critical indicator for determining a port’s competitiveness and efficiency (Intihar et al., 2017, Gao et al., 2016, Paflioti et al., 2017). It is utilized to analyze the port’s production and operation status and the consequences of planned execution. It is an ideal foundation for port planning and layout in the future as an indicator for comprehensive port development assessment (Lam et al., 2004). The terminal’s extremely dynamic external environment necessitates a greater emphasis on resilience, adaptability, and flexibility. Even a minor adjustment in port management can have a significant economic impact (Shankar et al., 2019). As a result, terminal managers gradually pay more attention to examining future market trends and forecasting strategies (Paixao and Marlow, 2003, Vonck and Notteboom, 2016). Decision-makers can readily estimate traffic flow in the container terminal over time by using reliable forecasting models (Levine et al., 2009, Petering, 2009).

In a container terminal, a storage yard is an area to store containers temporarily. It consists of marshaling yards and container yards, where the marshaling yard stores containers which are waiting to be transported and loaded to the specified vessel in an orderly manner. Container yards are used for container handover, security checking, classification, and other activities. Container throughput at a terminal includes handling imports, exports, and transshipments. An export container experiences series movement from the shipper to the vessel. It is first loaded by the shipper and transported to the container terminal via a truck. The movement of the trucker delivering the laden container to the container terminal is the container “gate in”. Fig. 1 shows the container flow direction of the gate in (red arrow) and gate out (blue arrow) procedure. Gate is the boundary of a container terminal from the landside (Carlo et al., 2014). The gated in containers are stored in the container yard and eventually loaded to the pre-assigned vessel via quay crane after the vessel arrives. According to the vessel’s estimated time of arrival (ETA), the terminal sets up a gate in deadline for the particular shipment of the vessel. The deadline is generally a few days before the actual time of arrival (ATA), mainly for security checking or document work purposes. It is essential to meet this deadline. Otherwise, the container may get rolled over to the next sailing date, typically one week later. For each vessel, the total gate in containers should be almost equal to the exports at vessel’s arrival. Gate out containers follow the opposite moving flow. After the arrival time of the vessel, the containers are unloaded from the vessel via quay crane, stored in the container yard, and eventually picked up by the consignee. Gate out represents the containers transferred from the container yard to the landside. For each vessel, the gate out containers should be approximately equal to the imports over a time period after vessel’s arrival.

Note that the total number of imports and exports containers over a certain period is the same as the number of gate out and gate in containers. We first access the literature on container throughput forecasting. Many studies have done extensive research on predicting the container throughput. These predictions are generally made on a long-term basis, for instance, one or two years or even longer, for strategic decision making. While this paper focuses on a very short-term forecasting, namely, a one-day based gate in and gate out containers. Specifically, this paper studies the one-day-ahead forecasting of gate in and gate out containers for a container terminal. In the container terminal, gate in and gate out are the main container flows in a port. With this prediction, there will be a good estimation of the yard stock (the sum of gated in and non-gated out containers). These containers are stacked in the container yard, and handling these containers accounts for a major workload at the terminal. Therefore, the short-term forecasting results can directly be used in daily terminal operations, such as the terminal’s allocation and arrangement of workers and machines, and the assignment of equipment, yard spaces, and materials. Additionally, the traditional inventory scheduling and planning strategies such as safety stock, overtime working, and outsourcing are not eligible for a terminal since the capacity and limitation of a terminal are fixed and unchangeable over a short time period. Therefore, forecasts on a short-term basis are essential for the scheduling a container terminal system, and for the operator in decision making and planning. The accuracy of predicting container flow volume contributes to higher utilization of assets, increased reliability, and flexibility, lower lead time and reduced costs of transport chain for containers.

Although there are tons of research on container throughput prediction, there has not been much research focused on the next day gate in and gate out forecasting in the literature to the best of our knowledge. The aim of this paper is to emphasize the importance of gate in/out container forecasting and provide a comprehensive tool for that purpose. We also provide managerial insights based on the proposed forecasting methods and experiment results. Inspired by the literature for container throughput forecasting, we choose a machine learning method, XGBoost, which is well suited for the target problem of this paper. We collect historical data from the database system of Ningbo-Zhoushan port, one of the largest seaports in China. The quantity of gate in and gate out containers in a day is affected by natural factors such as the weather and climatic conditions as well as terminal operational factors such as the estimated arrival time of vessels or gate in/out containers in the past days. In this paper, we put these features into machine learning-based methods to predict the next day gate in and gate out container quantities. The prediction results are compared to a benchmark time series-based method, ARIMA.

We organized this paper as follows: Section 2 provides a review of related literature. We summarize the literature on terminal throughput forecasting methodology and the insights on terminal management. In Section 3, we state the mathematical structure of our selected forecasting methods. Section 4 describes the empirical study at the Ningbo-Zhoushan terminal, the experiment design, computational results, and results analysis. Section 5 concludes the paper and gives recommendations about facilitating new transport policy-making.

Section snippets

Literature review

Predictions of port container throughput have risen in popularity in recent decades. Previous researchers have attempted to use various quantitative methodologies for this topic. We list the literature on forecasting models between 2001 and 2021 in Table 1. In the early stage, error correction models (ECM) (Fung, 2002, Hui et al., 2004) and vector error correction model(VECM) (Fung, 2001) was adopted for container throughput forecasting.

The classical time series models, Autoregressive

Methodology formulation

In this section, we first propose an overall framework of our methodology, in which we decompose the problem into forecasting on each day and each vessel. We then describe the mathematical procedure of the two machine learning methods in the framework.

Data description and experiment design

In this section, we perform an empirical study on Ningbo Zhoushan Port Beilun Second Container Terminal. We collected operational data of the terminal between Jan 10th, 2017. and Dec 25th, 2017 (340 days in total). We divide the 340 days of operational data into a training set of 300 days (40281 records) and a test set of 40 days (5362 records). We note that the data of 2017 is a bit out of date. However, the main contribution of this paper is providing a methodology to predict the daily

Conclusion and future work

This paper proposes a decomposition-ensemble framework to predict the daily gate in and gate out containers at a container terminal. We divide the daily problem into a sub-problem of vessel-based forecasting each day. The intention is to use some related temporal features of vessels in the selected machine learning method XGBoost. Accordingly, we aggregate the result of every individual in the vessel set as the forecasting gate in/out amount for the following day, which is the expected

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgments

We thank two anonymous reviewers for their insightful suggestions, which have greatly improved the results of this paper. The first author acknowledges the financial support of this research by the Ningbo Science and Technology Bureau Ningbo Natural Science Programme 2021J183, National Natural Science Foundation of General Program 72071116, and Ningbo Science and Technology Bureau 2025 major projects Fund 2019B10026 and 2021Z089.

References (55)

  • PafliotiP. et al.

    Box dynamics: A sectoral approach to analyse containerized port throughput interdependencies

    Transp. Res. A

    (2017)
  • PengW.-Y. et al.

    A comparison of univariate methods for forecasting container throughput volumes

    Math. Comput. Modelling

    (2009)
  • PeteringM.E.

    Effect of block width and storage yard layout on marine container terminal performance

    Transp. Res. E

    (2009)
  • PuniaS. et al.

    From predictive to prescriptive analytics: A data-driven multi-item newsvendor model

    Decis. Support Syst.

    (2020)
  • RashedY. et al.

    A combined approach to forecast container throughput demand: Scenarios for the Hamburg-Le Havre range of ports

    Transp. Res. A

    (2018)
  • TangL. et al.

    A novel hybrid ensemble learning paradigm for nuclear energy consumption forecasting

    Appl. Energy

    (2012)
  • TwrdyE. et al.

    Modeling of container throughput in Northern Adriatic ports over the period 1990–2013

    J. Transp. Geogr.

    (2016)
  • VonckI. et al.

    Panarchy within a port setting

    J. Transp. Geogr.

    (2016)
  • XieG. et al.

    Data characteristic analysis and model selection for container throughput forecasting within a decomposition-ensemble methodology

    Transp. Res. E

    (2017)
  • ZhangX. et al.

    A novel decomposition-ensemble model for forecasting short-term load-time series with multiple seasonal patterns

    Appl. Soft Comput.

    (2018)
  • ZhouY. et al.

    A game theoretic model and a coevolutionary solution procedure to determine the terminal handling charges for container terminals

    Comput. Ind. Eng.

    (2020)
  • AlimM. et al.

    Comparison of ARIMA model and xgboost model for prediction of human brucellosis in mainland China: a time-series study

    BMJ Open

    (2020)
  • AriyoA.A. et al.

    Stock price prediction using the ARIMA model

  • BoxG. et al.

    M., time series analysis

  • ChenT. et al.

    Xgboost: A scalable tree boosting system

  • FungK.-F.

    Competition between the ports of Hong Kong and Singapore: a structural vector error correction model to forecast the demand for container handling services

    Marit. Policy Manag.

    (2001)
  • FungM.K.

    Forecasting Hong Kong’s container throughput: An error-correction model

    J. Forecast.

    (2002)
  • Cited by (0)

    1

    These authors have equal contributions to this work.

    View full text