Business analytics on AIS data: Potentials, limitations and perspectives
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Scheidweiler, Tina; Jahn, Carlos Conference Paper Business analytics on AIS data: Potentials, limitations and perspectives Provided in Cooperation with: Hamburg University of Technology (TUHH), Institute of Business Logistics and General Management Suggested Citation: Scheidweiler, Tina; Jahn, Carlos (2019) : Business analytics on AIS data: Potentials, limitations and perspectives, In: Jahn, Carlos Kersten, Wolfgang Ringle, Christian M. (Ed.): Digital Transformation in Maritime and City Logistics: Smart Solutions for Logistics. Proceedings of the Hamburg International Conference of Logistics (HICL), Vol. 28, ISBN 978-3-7502-4949-3, epubli GmbH, Berlin, pp. 342-368, https://doi.org/10.15480/882.2503 This Version is available at: https://hdl.handle.net/10419/209398 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by-sa/4.0/
Proceedings of the Hamburg International Conference of Logistics (HICL) – 28 Tina Scheidweiler and Carlos Jahn Business Analytics on AIS Data: Potentials, Limitations and Perspectives Published in: Digital Transformation in Maritime and City Logistics Carlos Jahn, Wolfgang Kersten and Christian M. Ringle (Eds.) September 2019,epubli CC-BY-SA4.0
Keywords: Business, Analytics, Maritime, Traffic First received: 17.May.2019 Revised: 29.May.2019 Accepted: 03.June.2019 Business Analytics on AIS Data: Potentials, Limitations and Perspectives. Tina Scheidweiler1, Carlos Jahn1 1– Fraunhofer Center for Maritime Logistics and Services Purpose: As maritime digitalization progresses, great opportunities for maritime transport arise: The introduction of the AIS opened up a number of possibilities and perspectives for increasing efficiency, automation and cost reduction using business analytics and machine learning in the supply chain and maritime sector. Methodology: Various analysis and forecast techniques of machine learning as well as interactive visualizations are presented for the automated analysis of ship movement patterns, risk assessments of encounter situations of two or more ships as well as anomaly detections or performance indicators to quickly extract key figures of certain ships, routes or areas. Findings: In addition to a comprehensive representation of relevant potentials and business analytics areas of AIS data, the feasibility and associated accuracy of the data mining and machine learning methods used are described. In addition, limitations will be shown and perspectives especially on autonomous surface ships will be discussed. Originality: At present, there is no information platform that bundles the areas described in the previous sections in a central source. Previous work has either been limited to the visualization of historical and current ship movements or deals with narrowly limited individual questions of isolated applications.
342 Tina Scheidweiler and Carlos Jahn 1 Introduction As maritime digitalization progresses, great opportunities for the shipping and port industries as well as for plant manufacturers and service providers arise: Increased efficiency can be expected from the latest processes in the developments of ship operation and port logistics. Emission and fuel reductions can be achieved by prospective voyage and route planning. With the introduction of merchant ships being equipped with transmitters of the Automatic Identification System (AIS) in 2004, shipping was able to reach a first milestone on the way to digitalization. The automated exchange of position, speed, course and other data from ship to ship or ship to shore station has increased the efficiency and safety of maritime traffic. In addition to the monitoring of ship movement data, timetables and weather conditions are used for the overall monitoring of maritime traffic, so that over the past few years a wealth of data of unexpected dimensions and possibilities has accumulated. Shipping companies and seaports face a multitude of challenges: These include in particular the ship size developments of recent years, in which the absolute number of ships calling at German seaports is stagnating, but the gross tonnage of ships, the absolute total handling volumes and the number of unusually large vessels are growing continuously. These facts have the consequence that more and more transshipments are concentrated in relatively small time windows for port operations. Environmental influences have a significant impact on ship travel times and terminal operations. Strong winds cause challenges within the seaports: For example, transshipment facilities have to cease operation and seagoing ships have
Business Analytics on AIS Data 343 to adjust their speeds. In the case of shipping companies, emission and associated efficiency regulations currently play a central role - not only due to the obligation on ship-owners to report CO2 emissions from voyages to, from and within European waters since 1 January 2018 - but also within the high-profile context of climate change. Previous applications based on AIS data focus on the visualization of historical and current ship movements or circumvent the influence of environmental data on ship movements only in a theoretical way. The investigation and inclusion of the effects of environmental influences on the travel times, routes and movement patterns of ships are not given much consideration in previous applications. In addition to a more efficient and optimized control of maritime traffic and the maritime supply chain, the focus is on ensuring safe navigation and thus avoiding collisions - especially on the open sea. Due to the ever-increasing volume of data and the simultaneous exponential growth of computing and storage capacities, the use of machine learning methods also offers immense possibilities in the maritime logistics sector. After a short introduction to existing techniques on ship motion modelling and analysis, this paper gives an overview of the possibilities for the analysis of AIS data. In addition, limits and further perspectives of the application of AIS data for efficiency enhancement and analysis of business figures are shown. 2 Literature Review Most of the machine learning methods used in maritime logistics are applied on AIS data. The current state of these applications is depicted in the
344 Tina Scheidweiler and Carlos Jahn following sections. A distinction is made between route prediction and the modeling of ship movements, i.e. representing arrival times, in order to increase the planning horizon of maritime stakeholders and thus to act more cost-efficiently and with more foresight. In addition, many algorithms are used for anomaly detection and collision avoidance tasks. 2.1 Route Forecasts Within the route forecasting waypoints of a ship to a given destination or port of destination are to be predicted. In principle, route forecasting algorithms can be divided into two categories (Lo Duca, et al., 2017): point based and trajectory based. In the first case, the surrounding area of a ship is divided into parcels. For the individual ships in the close range, the algorithms estimate the probabilities of cells being targeted next by the ships under consideration. The probabilities are calculated using different machine learning algorithms. In trajectory-based estimation, clusters are generated from historical data. These contain all routes and serve to structure them. The most frequently referenced work on the application of machine learning methods on AIS data is the "framework for anomaly detection and route prediction" created by Pallotta et al. (Pallotta, et al., 2013). Based on historically generated routes, algorithms for the classification and prediction of routes and for the subsequent anomaly detection of unnatural ship maneuvers are developed. Given a sequence of state vectors - consisting of position, course and speed values of a certain ship type - each compatible route is assigned a-posteriori probabilities in relation to the ship affiliation of the corresponding route. This allows the future position of the ship to be predicted for a given ship and a pre-specified period. Clustering algorithms are
Business Analytics on AIS Data 345 also used (Hexeberg, et al., 2017) to identify historical route patterns, assign ships to these patterns and predict the trajectory based on these patterns. Lo Duca et al. (Lo Duca, et al., 2017) use a k-Nearest-Neighbor classifier for ship route prediction. The point-based probability of reaching a grid point is calculated and the most probable route is given. In accordance to the AIS framework (Pallotta, et al., 2013), there is only a relatively small prediction horizon of 60 minutes. Zhang et al. (Zhang, et al., 2018) describe a method how AIS data can be used to select suitable routes. By analyzing the movement patterns of those ships that have already completed a planned route, the shortest route can be generated algorithmically: In a first step, significant changes in direction of individual trajectories are identified and used as turning points. A clustering method (Density-Based Spatial Clustering of Applications with Noise, DBSCAN) groups common turning points of all routes. This results in the last phase of automatic routing. The shortest route between start and end is searched for from the generated graph (Zhang, et al., 2018), (Dobrkovic, et al., 2015). Vespe et al. (Vespe, et al., 2012) present an unsupervised learning approach for incremental learning of movement patterns without specifying a priori contextual descriptions. The extraction of waypoints is the first step, followed by the definition of sea routes and routes connecting them. The proposed algorithm uses AIS data to detect changes in the course over ground for the proximity of the observed position; if these values reach a certain threshold value, a new turning waypoint is added to the list (Vespe, et al., 2012). Neural networks are often used for regression tasks, also with regard to large data and deep learning tasks being the current state of the art for speech and image recognition. Mao et al. (Mao, et al., 2018) use a neural single hidden layer feedforward network with random hidden nodes for
346 Tina Scheidweiler and Carlos Jahn route prediction. Perera et al. (Perera, et al., 2010), (Perera, et al., 2012), use artificial neural networks for the tasks of classifying and identifying ships as well as tracking multiple ships. By means of an extended Kalman Filter, ship states are estimated and ship trajectories are predicted (Prévost, et al., 2007). In addition to the above, neural networks are also used in (Simsir & Ertugrul, 2007), (Simsir & Ertugrul, 2009), (Xu, et al., 2012) and (Zissis, et al., 2015). In addition to neural networks, Bayesian networks are often used to generate "normal" behavior, such as, for example, done by Mascaro et al. (Mascaro, et al., 2014), (Mascaro, et al., 2010) or Aoude et al. (Aoude, et al., 2011), particulate filters (Mazzarella, et al., 2015) are used for clustering ship trajectories and Ornstein-Uhlenbeck processes (Pallotta, et al., 2014) and genetic algorithms (Pelizzari, 2015) are used for trajectory prediction as well. 2.2 Estimation of Arrival Times The speed and arrival time estimations are usually accompanied by the route forecasts, since the speed is included in the route calculation for most approaches. Nevertheless, some methods, in which the speed or arrival time are estimated, are presented below. Arrival times are an important factor for the handling of arriving ships in ports. Even forecasts with an accuracy of 60-70% can significantly improve process planning at the terminals (Yu, et al., 2018). If the route between two points, for example between two AIS data intervals, is to be predicted, the most common method (Posada, et al., 2011) is the Constant Velocity Model. A linear movement from point A to point B is assumed. Further information on speed and course, possibly contained in the AIS data, will not be taken into account. The speed is set as constant. The temporal/spatial proximity
Business Analytics on AIS Data 347 plays a considerable role in the accuracy of the forecast. The greater the distance between the points, the less accurate the interpolation. This problem occurs with predictions of more than one hour, as well as in offshore areas (Mazzarella, et al., 2015). By assuming constant speed, however, environmental influences that could lead to a reduction in speed are not taken into account. Besides neural networks, support vector machines (SVM) are often used for classification and regression tasks. Using a kernel that calculates distances between two objects, a SVM divides a set of objects into classes so that the widest possible area around the class boundaries remains free of objects (EliteDataScience, 2017). Parolas et al. (Parolas, et al., 2017) use SVMs and neural networks to estimate the time of arrivals for container ships in the port of Rotterdam. The weather and environmental conditions are clustered and used alongside the AIS data for training. Fancello et al. (Fancello, et al., 2011) use artifical neural networks to estimate ships arrival times in ports to allocate human resources in container terminals. 2.3 Collision Avoidance and Anomaly Detection Besides the use of the AIS data for the modelling of basic ship movements, there are possibilities to AIS for collision avoidance, safety assessment as well as anomaly detection with regard to the early detection of these anomalies to enhance safety. Using a Deep Neural or Bayesian Network, the navigation and movement behaviour of ships during an encounter can be studied and predicted for real-time encounters (Perera, et al., 2010), (Perera, 2018). By adjusting the ship's speed and course, a route recommendation for a collision avoidance manoeuvre can then be given. Same approaches
354 Tina Scheidweiler and Carlos Jahn Figure 3: Histogram of the total travel times of the investigation route Figure 4: Average speed profile of trips from Rotterdam to Hamburg The energy efficiency of ships is significantly influenced by the speed-dependent fuel consumption. To assess the efficiency, the travel times and speeds of ships of different sizes on specified routes are examined. For a
Business Analytics on AIS Data 355 more detailed analysis, the frequency of speeds along the route is determined for selected ship size classes. For this purpose, the velocities are derived as Froude numbers: 𝐹𝑛 𝑆𝑂𝐺 𝑔∗𝑙𝑒𝑛𝑔𝑡ℎ where g is the gravitational force and SOG the current speed over the ground of a ship. Froude's number relates inertia forces to gravity forces and is used in shipbuilding as an indicator of the energy loss caused by the radiation of waves in relation to the total energy loss. For regular services on a route with similar or even identical ships (e.g. ferry connections), the absolute speeds can be compared. This allows conclusions to be drawn about the efficiency of individual ships within a fleet or about the efficiency of individual operators in a direct competition situation. 4.1.3 Frequency and Distribution Analysis In addition to the motion pattern analysis, potentials of automated frequency analyses of ships as well as distribution analyses of speeds and courses along predefined ranges are investigated and the corresponding methods developed. Figure 5 depicts the crossing positions of ships in the Kiel Canal at Sehestedt. Based on these crossing positions, lateral distributions can be determined for a later risk analysis which provides ship-owners and shipping companies with a rapid and efficient risk assessment of their own ships.
356 Tina Scheidweiler and Carlos Jahn 4.1.4 Berthing and Anchoring Times Methods are developed for calculating the time ships spend at berth and at anchorage in order to draw conclusions about inefficient and thus costly waiting times for ships. The first step in determining anchoring times is to determine where vessels are at anchor assuming that the speed is larger than a specified threshold 𝑐. As an example, the average anchoring time of vessels entering the port of Hamburg in the German Bight can be determined based on the areas: 5.023 hours. Figure 5: Histogram of the crossing positions of the study area 4.2 Risk Assessment For the risk and safety assessment the passing distances of two ships during encounters, as well as the distances to fairway edges and barrel lines are examined. Furthermore the assessment of maximum and minimum angles of approach which a pre-defined group of ships has steered in a certain fairway are defined. The encounter situations of two pre-selected ships can be evaluated with regard to collisions and fairways with regard to their safety levels by using accident statistics. Both the current position data of the AIS
Business Analytics on AIS Data 357 and historical movement data will be used to provide a risk profile. Encounter situations are to be assessed by determining the number of encounters in a user-defined fairway area within a defined time period. Again, the passing distance of the ships are analysed. Finally, it should be possible to assign a safety level to each fairway and a risk level to each encounter situation. The risk indicates a numerical value which is determined by the probability of occurrence (also called frequency) and the average amount of damage. This corresponds to determining the probability of occurrence𝑃, which results in the consequence 𝐶 from an identified hazard 𝐻. For the risk analysis, this is then linked with the monetary valuation 𝑈 of the resulting consequence, so that the overall risk applies (Pedersen, 2010), (International Maritime Organization, 2007): 𝑅𝑖𝑠𝑘 𝑃𝐻,𝐶⋅𝑈𝐶 The following passages are components of a possible risk assessment. 4.2.1 Passing Distances The Closest Point of Approach (CPA) between ships is the smallest distance they are likely to have without changing course or speed. Given a standard traffic situation, the CPA and the Time to Closest Point of Approach (TCPA) can be calculated based on the course over ground of the own ship 𝑥, the course over ground of the traffic ship 𝑦, the speed over ground of the own ship 𝑣, the speed over ground of the traffic ship 𝑤 as well as the longitudinal distance 𝑡 and lateral distance 𝑢 by 𝐶𝑃𝐴𝑢⋅𝑤⋅sin𝑦𝑡⋅𝑤⋅cos𝑦𝑢⋅𝑣⋅sin𝑥𝑡⋅𝑣⋅cos𝑥 𝑣 𝑤2⋅𝑣⋅𝑤⋅sin𝑥 ⋅sin𝑦 cos𝑥⋅ cos𝑦
358 Tina Scheidweiler and Carlos Jahn For the risk and safety assessment, the distances between two ships during encounters, as well as the distances to fairway edges and barrel lines, can be recorded, analysed and visualised. The TCPA can be used to determine the urgency of an evasive action and is given by 𝑇𝐶𝑃𝐴𝑡⋅𝑣⋅sin𝑥𝑡⋅𝑤⋅sin𝑦𝑢⋅𝑣⋅cos𝑥𝑢⋅𝑤⋅cos𝑦 𝑣 𝑤2⋅𝑣⋅𝑤⋅sin𝑥 ⋅ sin𝑦 cos𝑥⋅ cos𝑦 For the discussion of the passing distances, those of certain areas are determined. Figure 6 presents the passing distances on the basis of percentages. In addition, the encounter situations of two pre-selected ships can be evaluated with regard to collisions. Encounter situations shall be assessed by determining the number of encounters in a user defined fairway area within a defined time period. The passing distance of the ships is also analysed here. Finally, it should be possible to assign a safety level to each fairway and a risk level to each encounter situation. Figure 6: Representation of the CPAs in the Elbe River and the North Sea Using the IWRAP method recommended by the International Association of Lighthouse Authorities, the frequency of collisions and groundings in a
Business Analytics on AIS Data 359 given area can be specified on the basis of information on traffic volume and composition, route geometry and bathymetry. As an example, the collision risk for the Elbe at the level of the Hamburg suburb Blankenese is 1.4%. For further information on the modelling tool, please refer to the IALA documentation (IALA, 2014). 4.2.2 Safety levels of fairways Fairways can be assessed in terms of their safety levels by discussing domain violations from ships. Both the current position data of the AIS and historical movement data will be used to provide a risk profile. The ship domains indicate the area around a ship which should be kept free from other ships at all times. Since a violation of this area is the prerequisite for a possible collision, encounters between two ships that do not violate the other domain can be classified as comparatively low-risk. Moments in which at least one of the domains is violated require special attention and an analysis of the expected time of a possible collision (TCPA) as well as the speeds and courses of the ships against the background of historical data. 4.3 Anomaly Detection In addition to the general movement pattern and behaviour analyses of ships, the potentials of anomaly detections of historical and current traffic and traffic movements are to be identified and examined using maritime traffic data. For example, strong course deviations can be investigated here, but also the abandonment of fairways, main shipping lanes or traffic separation areas due to large draughts. Anomaly detection offers the potential of an early intervention on the ship's command, for example to prevent collisions or groundings.
360 Tina Scheidweiler and Carlos Jahn For the analysis of anomalies on the basis of course deviations within a defined area, the eastern section of the Kiel Canal is used. Based on this, an Isolation Forest (scikit-learn developers, 2018) provided by scikit-learn (Géron, 2018) will be used for outlier detection (Lewinson, 2018). With the help of the trained Isolation Forest, an anomaly value is provided for each data point and displayed in color. In addition to the anomalies of specified areas, anomalies of routes can also be evaluated with the help of the Isolation Forest. If only position data and thus point densities are taken into account, unusual behavior of ships - such as slow-moving ships - cannot be detected. Conversely, fast sailing is more often regarded as unusual. In addition, in this case areas are marked as anomalies that are far away from the center of the point (e.g. in ports). For the training the input parameters latitude, longitude, speed as well as course over ground were used and an Isolation Forest returning an anomaly score for each data point the area of the Kiel Canal was trained. With a number of 1000 estimators, an accuracy of 90 % was achieved. Collisions can be roughly divided into two categories: Collisions between two or more ships or the collision of a ship with an immovable structure such as offshore wind farms or bridges. For the detection of anomalies to prevent collisions, encounter situations can be evaluated with respect to the compliance of typical and thus normal evasive maneuvers of avoidable ships. In a first step, encounter situations are extracted from the AIS data. For the extraction of these, the assumption is made that an encounter situation exists when the minimum distance of two ships in the same period on the open sea is less than 3 nautical miles. With the help of the trips described in section 3 and the CPA, all ship encounters and corresponding AIS messages
Business Analytics on AIS Data 361 can be extracted. It has to be ensured that always the same times of two ships meeting each other are combined. Based on the encounter data, the type of encounter situation is determined depending on the maneuver of the first moment. A distinction is made between the situations of frontal encounter, overtaking and intersection. In addition, the system detects which ship should initiate an evasive maneuver and which should maintain course and speed. In order to determine the behavior of two ships encountering each other, a confidence interval of the speed and course change values of ships within the same area and considering the same encounter situations is then used. If 𝜇 is the mean value of the course change rate, 𝜎 the corresponding standard deviation and 𝑥 the course change rate of any evasive ship at the time of the assessment, then a normal evasive behavior exists for a significance level 𝛼 if 𝑥∈ 𝜇𝑧 𝜎 √𝑛;𝜇𝑧 𝜎 √𝑛, with 𝑛 being the number of observations and 𝑧 the quantile of standard normal distribution. 4.4 Conclusion To assess the feasibility of the AIS data analysis, the developed methods were validated on the basis of historical ship movement and environmental data and the values were checked for plausibility. With regard to methods that were developed using machine learning methods, the accuracy of these methods was also determined. It was found that the methods, especially the Isolation Forest for anomaly detection, used had good accuracy.
362 Tina Scheidweiler and Carlos Jahn In addition to the potentials identified in the presented paper, the analysis and prediction of encounter situations between two or more ships can be used to determine the changes in speed and/or course of given encounter situations. In this context, neural networks and agent-based learning could be used to learn speed and course changes to avoid collisions. Deep learning methods can also be used for the surface and underwater detection of ships, coastlines or buoys and thus for object detection. 5 Limitations It can be concluded that the identified potentials can be implemented within a system for business analytics on AIS data. With regard to a possible real-time implementation, the extraction of the mass data for motion pattern analysis and the offline training of the models in the case of anomaly detection must be taken into account. In this context, it is also often necessary to take into account missing static ship data such as engine values or insufficient data storage capacities and computational powers. In addition, incorrectly captured values in the AIS and data consistencies result in an increased processing effort. Furthermore, especially in the context of machine learning algorithms, the loss of control as well as the lack of theory and the high degree of trial and error should be mentioned. Despite the consistently provided data, they leave room for analysis within the human decision-making process, depending on the viewer. In the course of a real-time online tool, the topic of data security must also be taken into account as well.
Business Analytics on AIS Data 363 6 Perspectives and Outlook According to the port and water authorities, up to 30% efficiency savings can be achieved through automated analysis of movement data. In addition, the number of direct connections and transshipments can be determined for shipping companies and ship owners in particular or to determine congestion issues of ports and terminals. In this context, efficiency gains can be achieved through the selective retrieval of relevant information or complete situational awareness from a single source. There is the possibility that further or more precise outputs could improve the processes or expand the planning horizon, since the available information is currently considered and evaluated separately. Apart from this information, conclusions on the speed of port operations of different shipping companies can be discussed, berth availabilities or schedule integrities can be determined to extend the planning horizon of maritime stakeholders. Since 01.01.2018, the obligation to report CO2 emissions is mandatory for ships travelling to and from Europe as well as for intra-European traffic. In this context, the first emission report has to be delivered by 30.04.2019 to the EU. The amount of CO2 emitted must be transmitted for the entire voyage, from the port of departure via European ports to the port of destination. In order to meet these requirements and to enable and provide the maritime stakeholder with performance monitoring of fuel consumption and associated emissions, Fraunhofer CML together with the Wismar University of Applied Sciences, the JAKOTA Design Group, the German Aerospace Center (DLR) and the project manager JAKOTA Cruise Systems is developing a software prototype for calculating CO2-emissions within the project EmissionSEA. The data of the ships are used as well as information