Next Article in Journal
A Survey on Underwater Acoustic Sensor Network Routing Protocols
Next Article in Special Issue
TTEO (Things Talk to Each Other): Programming Smart Spaces Based on IoT Systems
Previous Article in Journal
High-Order Interference Effect Introduced by Polarization Mode Coupling in Polarization—Maintaining Fiber and Its Identification
Previous Article in Special Issue
Lightweight CoAP-Based Bootstrapping Service for the Internet of Things
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

SmartPort: A Platform for Sensor Data Monitoring in a Seaport Based on FIWARE

by
Pablo Fernández
1,
José Miguel Santana
2,*,
Sebastián Ortega
1,
Agustín Trujillo
2,
José Pablo Suárez
1,
Conrado Domínguez
3,
Jaisiel Santana
1 and
Alejandro Sánchez
1
1
IUMA Information and Communications System, Division of Mathematics, Graphics and Computation (MAGiC), University of Las Palmas de Gran Canaria, Canary Islands 35017, Spain
2
Imaging Technology Center (CTIM), University of Las Palmas de Gran Canaria, Canary Islands 35017, Spain
3
General Administration, University of Las Palmas de Gran Canaria, Canary Islands 35017, Spain
*
Author to whom correspondence should be addressed.
Submission received: 11 January 2016 / Revised: 8 March 2016 / Accepted: 18 March 2016 / Published: 22 March 2016
(This article belongs to the Special Issue Intelligent Internet of Things (IoT) Networks)

Abstract

:
Seaport monitoring and management is a significant research area, in which infrastructure automatically collects big data sets that lead the organization in its multiple activities. Thus, this problem is heavily related to the fields of data acquisition, transfer, storage, big data analysis and information visualization. Las Palmas de Gran Canaria port is a good example of how a seaport generates big data volumes through a network of sensors. They are placed on meteorological stations and maritime buoys, registering environmental parameters. Likewise, the Automatic Identification System (AIS) registers several dynamic parameters about the tracked vessels. However, such an amount of data is useless without a system that enables a meaningful visualization and helps make decisions. In this work, we present SmartPort, a platform that offers a distributed architecture for the collection of the port sensors’ data and a rich Internet application that allows the user to explore the geolocated data. The presented SmartPort tool is a representative, promising and inspiring approach to manage and develop a smart system. It covers a demanding need for big data analysis and visualization utilities for managing complex infrastructures, such as a seaport.

Graphical Abstract

1. Introduction

A seaport is the connection between the coastal environment and the urban structures. It accommodates ships, enabling commerce and person transportation. With the rise of the Internet of Things (IoT) and the availability of new sensor networks, the amount of information gathered from the natural and man-made elements of the seaport has rapidly increased.
The data gathered from the seaport sources must be continuously monitored, in order to organize and control the ongoing activities. Such activities play a key role in the economic and social development of the community, enabling commerce, transportation of goods and people, environmental protection, etc.
This important social role is particularly notorious for the seaport of Las Palmas de Gran Canaria. Placed in the Canary Islands, Spain, it is one of the most important seaports of the western coast of Africa, serving as a connecting point between Africa, Europe and America, as well as a major stop for many goods coming from Asia. Las Palmas seaport receives more than 900,000 Twenty-foot Equivalent Units (TEU) [1] containers and almost two million travelers each year. All of these activities are combined with an extensive range of nautical sport activities, a fishing industry and touristic services.
The body entrusted for the monitoring, maintenance and decision-making of this seaport is Las Palmas de G.C. Port Authority [2]. This institution relies on receiving accurate information about the nearby vessels, containers, meteorological data and the state of the sea. Much of this information comes from a network of sensors deployed all over the seaport and its surroundings.
These large volumes of information usually are geolocated, including their management in the field of big geo-data, a particular problem within big data analysis [3]. A computational architecture is therefore needed that enables the Port Authority to collect, store and visualize the data, as well as performing reactive actions based on current readings.
Due to its volume, the aggregation of data collected by a network of sensors during a long period of time needs to be processed to ensure its availability and scalability. The challenges and complexities implicit in big data volumes, their analysis and the importance of their graphic representations are described in the work of Chopade et al. [4].
In this scenario, we have recently introduced the SmartPort project [5], a web platform that integrates the tools for the analysis and visualization of the sensor network of Las Palmas de Gran Canaria seaport. In that work, the project was firstly introduced explaining its design and the used technologies.
The SmartPort project is born from a collaboration agreement between the University of Las Palmas de Gran Canaria (ULPGC), Las Palmas de Gran Canaria Port Authority and the FIWARE program. FIWARE is an open project sponsored by the Future Internet Public Private Partnership (FI-PPP) program, created by the European Commission [6]. It enables the validation of new concepts and technologies, as well as new business models and applications.
The goals of SmartPort can be enumerated as:
  • Creating a back-end architecture that processes and stores all of the incoming sensor data safely; a data analysis module is also needed to infer meaningful information from the dataset, enabling the efficient storage and retrieval of information for its subsequent processing.
  • Implementing high-level features over the data provided by the meteorological and sea sensors, that turn SmartPort into a Decision Support System (DSS); these features must have a positive impact on the decision-making of the Port Authority, offering reactive notifications on the sensors readings.
  • Developing a Rich Internet Application (RIA) as the project front-end, providing tools to manage and visualize the sensor data and quick access to current and historical readings.

Related Work

Decision support systems are a technological tool that aims to improve the operability of many human organizations. These intelligent applications are often labeled as “smart” [7] due to the high level of automation of their tasks.
The inclusion of DSSs in many contexts is a growing study area in which extracting the visual significance of big data volumes is still challenging. In this regard, the survey offered by Zhang et al. [8] is noteworthy, as well as the proposals of McCann [9] of a web-based visualization service aimed at the monitoring of oceanographic data. The visual representation of large sensor networks has also been addressed by Talukder [10] for different infrastructures.
For maritime environments, the automation of decision-making is also a current trend of technological progress. Thus, the literature offers many examples of the inclusion of intelligent systems on sea studies, maritime navigation and seaport control.
Nowadays, we can find long-term projects that support data gathering and integration of maritime sensor networks. Incoming data gathered from mareographs are integrated with the measurements of other sensors to provide a reliable model about the state of the sea.
Some of these projects require a data transfer rate that imposes the use of cabled sensors. This is the case of the North-East Pacific Time-series Undersea Networked Experiments (NEPTUNE) project [11], which also implements a Data Management and Archive System (DMAS) with similar goals as our proposal. However, most of these systems, including the SmartPort project presented here, rely on wireless sensor networks [12] placed on top of maritime buoys. This kind of data transmission is in itself an ongoing challenge [13] in which the impact of the sea conditions should not be underestimated, as explained by Albaladejo et al. [14].
The Port Authority also deals with more domain-specific tasks. One of the most studied specific problems in the context of a merchant seaport is to plan the arrival, storage and transshipments of goods. This transportation is mostly done through a standard system of cranes and containers whose scheduling has been the object of mathematical studies, such as the one proposed by Murty et al. [15].
Due to its economic relevance, there are numerous proposed DSS to automatically compute the optimal route that each vessel and container should follow. These systems are based on different strategies, such as Multi-Criteria Decision Making (MCDS) agents [16], numerical simulations [17] or evolutionary algorithms [18].
Despite the applicability of the mentioned systems, they generally do not integrate outer information sources, such as environmental or marine traffic data. Moreover, platforms for the acquisition of maritime sensor data like NEPTUNE do not focus on any GIS (Geographic Information System) 3D visualization interface, showing the docking area just as a schematic layout. In this regard, SmartPort offers a solution in which it is possible to integrate sensors’ data from different domains, being an informative tool for the Port Authority.
The planning of fleet routes is often carried out manually by domain experts. However, there are already automatic solutions, like the TurboRouter system [19], which offers a generic GIS approach. Such systems could easily make use of the SmartPort interface to display the desired vessel routes. In this regard, some opportunities for the planning of vessel locations are explored in Section 7.
Similarly, on-board navigational systems offer a wide range of outcomes that may be tracked. These systems [20] position the vessel by integrating several environmental parameters and navigational inputs, normally including a Global Navigation Satellite System (GNSS). A formal approach to the uncertainty inherent to such sensors can be found in the work of Borkowski [21]. SmartPort integrates current navigational vessel data, being a possible extension of such DSS.
In this work, we go into further detail explaining the FIWARE architecture and modules used in the project (Section 2) and the seaport data sources (Section 3). Hereinafter, the back-end and front-end architectures developed for SmartPort are described (Section 4 and Section 5, respectively).
Throughout the paper, we also highlight the role of the data gathered from meteorological stations and vessel systems. The current sensor network of Las Palmas seaport provides detailed maritime data on a per-minute basis.
However, raw data must be processed to get meaningful insight. This information allows the port technicians to implement strategies for the best use and improvement of the port facilities. Section 6 presents an instance of data analysis applied to the sensor readings received from two different buoys located in the seaport, which addresses the effectiveness of the port docks for containing the swell. Such an analysis could be applied to other environmental parameters, for instance the wind information. These data, in combination with the ship information, can be used to offer a better understanding of the seaport to the Port Authority.
Finally, Section 7 proposes a particular application of SmartPort addressing the calculation of risks on the vessel positions. The proposed DSS uses different parameters regarding the sea status and the vessel locations, integrating both data sources in a single Fuzzy Inference System (FIS).

2. FIWARE at a Glance

FIWARE is a royalty-free and open source project aimed at creating a sustainable ecosystem for understanding opportunities arising from the new era of digitization caused by the integration of the latest Internet technologies [22,23]. The project is funded by the European Commission under its Future Internet Public Private Partnership (FI-PPP) program, where cooperation with private companies in the technology sector for the development of Internet-based technologies occurs.
The FIWARE platform provides many technological resources. FIWARE is based on elements called Generic Enablers (GEs), which offer reusable and shared modules that cover a multiplicity of usage areas across various sectors [24].
Generic enablers are considered as software modules that offer various functionalities along with protocols and interfaces for operation and communication. The core platform provided by the FIWARE project is based on GEs linked to the main FIWARE Technical Chapters [25].

2.1. Generic Enablers Used in SmartPort

The back-end architecture of the project is mainly based on two different modules provided by FIWARE technology: Orion Context Broker and Cosmos.

2.1.1. Orion Context Broker

A Context Broker (CB) allows the management of the whole context information life cycle, including registrations, updates, subscriptions and queries. Using the context broker, it is possible to store the context elements and manage them through updates and queries. Besides, a CB user is able to subscribe to context information. In that case, whenever a condition is triggered (i.e., the context elements have changed or a predefined time has already passed), the user receives a notification.
In this kind of architecture, a component between the context consumers (i.e., smartphones) and producers (i.e., sensors) is needed. The context broker fills that requirement in the previous setup.
The CB accepts two publish/subscribe modes, Push and Pull. From the perspective of a context producer, the Push method consists of sending the information to the broker as soon as it is available. The user does not need to request this information continuously. On the other hand, the Pull method consists of sending the information requested by the broker.
A fundamental principle of the context broker is the complete dissociation between context producers and consumers. This means that producers publish data without knowing what, where and when the consumers will consume that information. On the other hand, the context consumers retrieve information without knowing that a context producer is publishing a specific event. As a result, the context broker GE is a bridge that allows external applications to manage IoT events in a simple way, since it hides the complexity of the measurements gathered from the IoT resources, such as sensors.
Orion provides two REST API interfaces: NGSI9 and NGSI10. These APIs allow the following operations:
  • NGSI9: register content, discover the context availability, subscribe to context availability, update the context availability and unsubscribe from the context availability.
  • NGSI10: update content, query content, subscribe to content, update the subscription and unsubscribe from content.

2.1.2. Cosmos

Cosmos and its ecosystem is the big data storage and analysis Generic Enabler reference implementation (GEri). The big data analysis GE is intended to deploy means for analyzing both batch and stream data. Although the streaming part is still in the road-map, the batch part has been widely developed through the adoption and the in-house creation of the following tools:
  • A Hadoop As A Service (HAAS) engine. Apache Hadoop is an open-source software framework written in Java for distributed storage and distributed processing of very large datasets on computer clusters built from commodity hardware.
    All of the modules in Hadoop have been designed with the fundamental assumption that hardware failures (of individual machines or racks of machines) are commonplace; thus, they should be automatically handled by the software inside the framework. The core of Apache Hadoop consists of a storage part (Hadoop Distributed File System (HDFS)) and a processing part (MapReduce).
    Cosmos as GE implements a light version based on a shared Hadoop cluster. The official version is based on OpenStack Sahara, which provides a simple means to provision a data-intensive application cluster (Hadoop or Spark) on top of OpenStack.
  • Cosmos GUI and an OAuth2 Tokens Generator for Cosmos REST APIs.
  • Cygnus is used as a connector between the Orion context broker and Cosmos. It is based on Flume, a distributed service for efficiently collecting, aggregating and moving large amounts of log data.
    It has a simple and flexible architecture based on streaming data flows. It is robust and fault-tolerant with customized reliability mechanisms and many fail-over and recovery methods. It uses a simple extensible data model that allows for any analytic application.

3. Understanding Las Palmas de Gran Canaria Seaport Data Sources

The varied nature of the data coming from Las Palmas seaport required an analysis prior to the design of the components of the system. Therefore, in SmartPort, we have differentiated several information sources from which we have distinguished between dynamic and static data, as is explained below. Through the analysis of the volume, variety and velocity of the incoming data, it has been possible to create an architecture that is an efficient and scalable solution.

3.1. Static Data

Static data are those that are considered unalterable over time. For the seaport case, we have digitized static data from different sources, such as Google Earth or references from Spatial Data Infrastructures (SDIs). Some examples of data in SmartPort are infrastructures, hotels, restaurants, Automated Teller Machines (ATMs), bus stops and pharmacies.
The sensors that belong to Las Palmas seaport are placed at fixed locations. This allows us to statically store their coordinates, in contrast with more advanced models, such as Mobile Wireless Sensor Networks (MWSNs) [26], that require a more complex control logic.

3.2. Dynamic Data

On the other hand, dynamic data are those with temporal variance, usually presenting an update frequency. Thus, they are one of the main sources for big data volumes. An example of dynamic data is those gathered by buoys and meteorological sensors with a refresh rate of 3 min.
We can find several devices that supply us with varied datasets:
  • Meteorological sensors: The information is provided by Geonica 41001, Geonica 05106 and Geonica 52203 sensors; which provide us with the following data: temperature, wind speed and direction, gust magnitude and direction, rainfall, pressure, trend and humidity.
  • Current meter sensors: The information is provided by Aanderaa Instruments series 3791–3798 and Geonica Datamar 2000C; which provide us with the following data: significant spectral wave height (meters), upper third higher waves average height (meters), 10% of maximum wave average height (meters), maximum wave height (meters), average wave period (seconds), wave peak period (seconds), wave pitch average period at point zero (seconds), wave pick average direction (clockwise arc degrees), scattering of wave direction at peak power (clockwise arc degrees), average wave incoming direction (clockwise arc degrees), directionality index (custom indicator), water column pressure above the Acoustic Waves and Currents (AWAC) sensor (decibars), surface orbital speed above the AWAC sensor (meters per second), surface current direction above the AWAC sensor (clockwise arc degrees) and energy density spectrum for time series (spectral band).
  • Ships: The information is provided by the AIS (Automatic Identification System), including vessel parameters, such as: name, length, nationality, operation type, berth quay, company, arrival date, source port, port code, ship type, cruise transit, Lloyd code, departure date, bollards, call sign and destination port.

4. SmartPort Back-End Architecture

In this section, the different back-end modules of the SmartPort project are explained. The main goal of these modules is to store data streams coming from the sensors.
Starting with the static data, where a complex architecture is not required, they mostly need a simple storage architecture. That is the case of Relational Database Management Systems (RDBMS).
The work-flow (see Figure 1) when dealing with static data is as follows:
  • Data are digitized by an operator using a Geographic Information System (GIS). In our case, we have used Quantum GIS (QGIS) [27], a user friendly Open Source GIS licensed under the GNU General Public License.
  • The same GIS edits and stores the data in an RDBMS. The chosen RDBMS has been PostgreSQL with PostGIS, its extension for geographic data management.
  • The previously-stored data are converted into GeoJSON format in order to display them in the viewer. GeoJSON is a format for the encoding of different geographic data structures, which supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString and MultiPolygon. The geometry lists are represented by a GeometryCollection type.
One of the main features of the dynamic sensor data provided in Las Palmas seaport is the refresh rate. It has a maximum value of three minutes due to the nature of its implementation. This implies the fast growth of the information stored in the database, which implies that a traditional database does not satisfy the requirements of this project.
Here is where FIWARE comes into play. It has eased the implementation of new architectures due to its modular interface with the GEs. One of its biggest advantages is the decrease of time dedicated to installing and configuring the system.
In order to obtain the last readings from every sensor, we use the Orion GE. Orion provides a sensor subscription system, which allows us to store and query the last available data. An abstraction layer was made on top of Orion in order to simplify the HTTP transactions and to allow a more agile interaction with the web application. In this way, we can generate simplified data queries via AJAX requests, thereby reducing the amount of calculations done in the client.
Thanks to the previous abstractions and interfaces, a simple query allows us to retrieve data from the sensors. An example to obtain data from the ships would be:
http://<<IP>>:<<Port>>/orion/query.html?sensorType=ship&sensorID=.&pattern=true
Considering that one of the main goals for SmartPort is to obtain sensor historic data, we use Cosmos GE in order to accomplish it.
In our application, as seen in Figure 2, we store the existing data in Orion and afterwards in Cosmos. In order to achieve this connection, we use Cygnus, which is a distributed and reliable data stream channel.
One of the reasons to adopt a big data module is to ensure scalability over time. Currently, the Port Authority of Las Palmas de G.C. is planning to extend the sensor network to support different projects by installing 30 additional sensors per year in a four-year period, having a total of 124 at the end of 2020.
Table 1 shows the expected evolution of the total amount of collected data at the end of each year. The incoming data per day ratio will raise from 140 Mb/day in the 2011–2015 period to 4340 Mb/day in 2020. Once the installation of the sensors is finished, the expected total amount of data stored by the system will increase to 4241.69 Gb at the end of 2020.
Since Hadoop is aimed at working with big volumes of data, it does not offer its optimal capacities with smaller quantities compared to a relational database management system. One of the handicaps in Hadoop is its low query speed, compared to an RDBMS. In order to overcome this issue, we have proceeded to implement a specific data management architecture based on Lambda Architecture [28] in which we differentiate three different layers:
  • Batch layer: where all data are stored using Hadoop. This layer pre-processes the views as soon as data arrive. The data post-processing is delegated to the service layer.
  • Service layer: the main role of this layer is to answer the queries efficiently. To achieve this, this layer caches the query results in an RDBMS.
  • Speed layer: One of the main issues to be solved is the data streaming processing. Thanks to this layer, the most recent data can be included in the analysis result while they propagate through the Hadoop distributed system.
Table 2 shows a comparison of retrieval time before and after the use of the Lambda Architecture and with two RDBMS. The use of the Lambda Architecture reduces the query time up to 88% compared to a standard Hadoop implementation (see Table 3).

Alert Manager for Sensor Data in SmartPort

Alerts are presented as a strategic goal in SmartPort. Data visualization is not the only important aspect of the application; thus, DSS features have been included in SmartPort. Therefore, we have considered it crucial to implement an alert system to aid the decision-making in the seaport. The alert system allows the application to notify the user when a sensor takes a specific value, enabling in this way the control over the sensor system of the seaport.
The alert system work-flow starts with the creation of an alert. This alert is defined by the sensor type, the attribute to monitor and the condition for the alert. Currently, alerts get triggered when a sensor value is below, equal to or above the condition value.
When an alert is created, a subscription to Orion is generated using a custom Python API in the back-end. Whenever the condition is triggered, a notification from Orion is sent. When a notification with a condition that raises an alert is received from Orion, it is stored in a MySQL database. Afterwards, the web application fetches the new alert through a custom API, supported by a PHP server module, and displays it (Figure 3). In the front-end, currently active alerts are displayed, as well as alerts that were triggered, but are not active.

5. Sensor Data Visualization through SmartPort Rich Internet Application

One of the main goals of SmartPort is to assist the tasks performed by the Port Authority. Therefore, their decision-making processes should be based on reliable and understandable information. Thus, due to the huge volumes of data that their sensor network provides, displaying meaningful information in real-time is quite a challenge.
The front-end of SmartPort is an RIA, which summarizes the seaport data for the user in a comprehensible way. Most of these data reference a spatial location within the seaport of Las Palmas. Displaying the geographical location of the sensors is a common practice that makes the data richer and more understandable, both for indoor [29] and outdoor environments.
For this reason, the RIA is based on a 3D virtual globe, which models the seaport of Las Palmas. This three-dimensional representation of the seaport infrastructures is generated using the Glob3 Mobile framework (G3M). In the next subsections, we explore the main features of this framework and how they have been used to provide a useful tool to the SmartPort end-user.

5.1. 3D Visualization of Terrain and Facilities in SmartPort

The 3D scenario of the seaport is the main element of the SmartPort web interface. It provides a meaningful representation of all of the geolocated elements tracked by the SmartPort system, such as sensors, vessels, containers and points of interest. Therefore, the user is able to “virtually” explore the seaport of Las Palmas and its surroundings and to discover the available data sources.
Such GIS visualization falls into the category of virtual Earth engines for the web, which is an open problem by itself in the field of computer graphics. Many map engines can be found to deal with this kind of 3D scenario, such as CesiumJS [30] and WorldWind [31]. A 3D GIS engine creates a dynamic representation of the planet where the developer just has to adjust some parameters of the view and data sources.
During the last few years, we have actively collaborated with the IGO Software company on the creation of G3M, a 3D rendering engine that allows one to create virtual globe applications [32]. G3M offers the web tools needed for visualizing 3D maps, and it is aimed at displaying geo-referenced data [33], allowing the user to virtually explore the seaport and visually locate the sensor stations. As the G3M engine offers all of the functional requirements of the SmartPort front-end [34], it was chosen as the main element of our Internet application.
G3M is available as a JavaScript library that can be used by the web document. Through a JS API, the developer establishes the main parameters of the virtual globe (imagery, extent, elevation model, etc.) and the position of the virtual camera. This virtual scenario is integrated on the web document as a widget that, in the case of SmartPort, is placed as the background of the web taking the whole screen space, as shown in Figure 4.
The JavaScript widget defines an API that is accessible from other modules of the web document. For instance, information of the 3D view, such as the camera position, can be altered through actions on other elements of the web. In a similar way, the G3M widget offers methods that inform the rest of the web about the state of the 3D scenario, so the rest of the interface can be properly updated.
The widget can also request information from Internet servers. This capability enables the widget to access not only the large dataset that composes the terrain model, but also to request information from the SmartPort back-end. The whole architecture of the RIA can be seen in Figure 5.
The SmartPort web interface displays a portion of the Earth’s surface that totally covers not only the surroundings of the seaport, but a large portion of sea and the whole island of Gran Canaria. The model of this surface represents a large amount of information, which includes the geolocation of the mesh points, their altitude and the imagery that is displayed on them. In order to manage all of this information, the Earth’s surface is going to be represented by a multiresolution model that evolves depending on the camera position and altitude, according to an algorithm called hierarchical level of detail [35]. This allows the system to fetch only the needed data and to perform a real-time rendering of the surface.
Each “chunk” of terrain is formed by a regular grid of triangles covered by a texture. This texture is requested from online Web Map Service (WMS) services and can be composed of several layers. Figure 6 shows how the SmartPort web application combines a bathymetric layer with satellite imagery, to inform the user about the sea depth at every point.
In addition, this surface grid is displaced vertically following a Digital Elevation Model (DEM) that represents the altitude of the surrounding areas of the seaport. This orography, as seen in Figure 4, represents the landscape seen from the seaport, serving as a reference point to locate the user.
G3M also permits the inclusion of 3D objects that are going to be rendered within the virtual Earth scenario. These objects are imported in SceneJS format and can include textures and make use of a global illumination system.
SmartPort makes use of this feature to show precisely the location of important items, such as the static data sources (buoys and meteorological sensors) and other movable items. Models of such vessels and cranes can be seen in Figure 7.
One of the utilities integrated on the SmartPort RIA is an option to highlight the location of diverse services related to the seaport activities. These items compound a set that can reach several hundreds of locations.
To show the location of these many items, detailed 3D models cannot be used, as they would cause long rendering times and are scaled by the user perspective. Instead, we use the following rendering solution: for each item, the rendering engine shows a billboard that is projected on the 3D position of that location. The billboard shows a small image and, additionally, some text on it. Billboards are axes aligned within the screen space and do not shrink through perspective projection, as can be seen in Figure 8.
As there can be many items projected on close screen positions, marks could be rendered on top of each other, making them unreadable. New methods for on-the-fly clustering and new kinds of movable marks are topics for upcoming future research.

5.2. Rich Internet Application

The main user interface of the SmartPort project has been defined as an RIA based on a 3D visualization of the seaport environment. This 3D environment is then enriched by the inclusion of georeferenced data provided by the SmartPort back-end.
G3M offers a wide range of user-driven interactions that enable the user to move the camera across the virtual scenario. Each one of these user inputs belongs to one of the following groups:
  • Desktop mode: classic mouse-and-keyboard interaction paradigm. The user can move the virtual camera by dragging the scenario or combining the mouse movement with keyboard commands that alter the camera pitch and heading. The mouse wheel allows controlling a fast zoom-in/zoom-out camera effect. In addition, the arrow keys allow the user to displace the camera on the geographic space.
  • Multi-touch mode: on mobile devices, the user interaction is performed by touching the screen device. G3M recognizes multiple fingers moving on the screen and interprets them as camera movement commands. These multi-touch gestures include double tap (zoom in), single drag (drag scenario), double drag (zoom and rotate effect) and triple drag (pitch and camera heading control).
SmartPort web is mainly intended to be used through the desktop mode, as the web applications normally run on personal computers. However, some users find it more comprehensible to handle on-screen controls, as they offer a visual representation of the camera position and altitude. These kinds of controls are widely used in other GIS applications. For this reason, SmartPort has integrated visual controls on the top-right corner of the screen.
These controls are known as a dragging ball, representing the heading of the camera and its pitch, and a steady scroll that allows one to change the camera distance to the ground. The controls and their use can be seen in Figure 9. These controls are similar to other controls found on well-known virtual globe apps, such as Google Earth [36], easing the user adaptation to the system.

5.3. Native App for Mobile Devices

The SmartPort application was initially conceived of to be executed on a computer using an HTML browser. However, it is convenient to use SmartPort on a mobile device, like a tablet. For instance, an operator can navigate to the port and view or edit any of the georeferenced parameters related to the app, such as buoys, sensors, etc. Another use case occurs when an alert related to a specific sensor has been raised. In this case, the user sees his or her precise location on the map. As most tablets include GPS sensors, which report the user location, an operator can find the troubling sensor quickly.
Currently, the RIA of SmartPort can be accessed on mobile browsers. However, mobile versions of browsers, included in smartphones and tablets, are not quite efficient at dealing with complex 3D scenes. Besides, the gesture interaction inside the browser canvas does not work properly when using multiple fingers to handle the scene.
In order to efficiently use SmartPort on a mobile device, the best solution is to develop a native version of the application. This is relatively simple using the G3M API, since it is a multi-platform engine. Two main technical tasks have been made to obtain this native version. Firstly, multi-touch gesture handlers have been added to the app to achieve a smooth navigation using the fingers instead of a mouse. Secondly, the native API for each device (iOS or Android) has been used to obtain the real geographical position of the user through the GPS sensor included in the device. In this way, a mark is drawn on the scene indicating that position.
G3M includes level of detail algorithms specifically designed to be run on mobile devices, used on the terrain [37] and other 3D models. This task is needed to obtain a good performance on a mid-range mobile device. Figure 10 shows the app running on a tablet.

6. SmartPort Data Analysis

We explore in this section the possibilities of SmartPort as a data analysis system. This analysis is performed on the aggregation of meteorological and maritime information over time, enabling statistical and historical analysis of the data series.

6.1. Historical Characterization of Large Datasets

One of the key elements of SmartPort is the data management capabilities. Considering that the analytical part is still being developed, we have already made basic characterization tasks over the stored data in the SmartPort system. This is the case of a dataset taken from two buoys located at the seaport. These buoys have been named “Reina Sofía” and “León y Castillo”, based on their location. The “Reina Sofía” buoy is located at the end of one of the most important docks of the port, exposed to heavy swells, while “León y Castillo” is covered by the seaport itself, as shown in Figure 11.
The first analysis we have made in this setup is the visualization of the whole dataset provided by both buoys, whose locations can be seen in Figure 12. We have chosen the parameter named “10% of maximum wave average height”. It can clearly be seen that the “León y Castillo” readings are notably lower, since the port infrastructure highly smooths the effect of waves. Besides, an oscillatory sequence between different seasons of the year can be observed. This fact is addressed in further detail in Section 6.2. Some missing data can be observed, due to the temporal malfunction of the sensors.
Additionally, an analysis has been made on a smaller dataset, taking a sample of only one day, as shown in Figure 13.

6.2. Seasonal Analysis of Maritime Sensors Output

As was explained in previous sections, SmartPort provides the tools to properly manage huge datasets, regarding the meteorological and sea conditions during long periods of time. As has been stated above, this analysis enables us to perform historical analysis, find trends on the datasets and even extract conclusions about the effects of the different elements of the seaport.
However, in some cases, a temporal clustering of the datasets may allow us to achieve a more meaningful insight on the information gathered by the sensors. In order to achieve this, the SmartPort back-end supports a temporal grouping of the data based on the needs of the study. In this case study, we have considered the dataset described in Section 6.1, and we have arranged the readings of both sensors according to the season in which they were taken. The selection of the clusters used in this study is based on how the state of the sea appreciably varies over the seasons.
In fact, studying the seasonal variance of the mean wave height through the years 2011–2015 allows one to understand that the outer wave increases around 25% from autumn to winter and the inner wave 21% approximately. This seasonal change in the state of the sea can be seen in Figure 14.
Once the variability of the sea conditions across the different seasons of the years has been established, we can extract statistical information about each season from the period 2011–2015. Based on these statistics, the Port Authority may extract meaningful conclusions about the seasonal variance of the swell and the behavior of the sensors in place.
Insightful data about the sensor performance are the presence of readings considered as outliers within this dataset. The criterion used to identify such readings is to consider any data point more than 1.5 interquartile ranges (IQRs) below the first quartile or above the third quartile. The results of such an analysis are presented in Table 4 and Table 5, which show the performance of Mareograph Geonica placed on the buoys of “León Y Castillo” and “Reina Sofía”, respectively.
Table 4 shows the performance of the inner mareograph. It is noteworthy that there is a lack of data for the winter 2013 period, due to a disconnection of the buoy for maintenance. It is also remarkable that, although the buoy offers new data every hour (3600 s), the medium frequency of the data is noticeably higher (around 3900 s). That is due to missing values, lost during the transfer of the signal from the buoy to the port data receiver. The number of outliers is also apparently higher in seasons with higher waves, such as winters and autumns, which could be interpreted as a higher malfunctioning rate of the sensor over those periods.
In a similar way, Table 5 describes the mareograph data measuring the conditions of the sea outside the seaport. The analysis shows that the periods of autumn and winter of 2012 are missing, due to maintenance activities. The medium frequency of the incoming data is 4048 s, due to the greater distance that the signal has to travel. The number of outliers detected in this case has decreased, meaning a more consistent set of readings through each one of the seasons.
Another tool to understand the data managed by SmartPort is statistical plotting of clustered data. In this case, the variance of the data collected through the seasons can be better understood graphically. Figure 15 and Figure 16 are two box plots, centered on the area of greatest point density of both data series. In those figures, it is visible how the concentration of collected data varies accordingly with the expected behavior of the swell of each season. Once more, they accurately show the effectiveness of the dam, reducing the effect of the waves inside the seaport.

7. Analyzing Multiple Sensor Data in SmartPort: A Case Study

One of the potential features of SmartPort is the assistance with the relocation and reorientation of ships based on sea condition variables. For this purpose, SmartPort needs a function, named the risk function, which calculates a risk value using as input a set of variables, such as wave height, wave period and current direction. The SmartPort application should evaluate this value with the ship length and orientation and then act accordingly.
For instance, SmartPort should notify that some anchored small ships must be reoriented or relocated if the risk function determines that the risk is medium and the angle between the ship orientation and the current direction is greater than 45 degrees (Figure 17).
In order to create the risk function, we propose to use fuzzy logic. With this approach, we can easily define a system based on rules, and a complex mathematical model is not needed.
One of the fundamental parts of a fuzzy system is the membership grade definition (how much a value belongs to a category) for each magnitude. For this example, we have used trapezoidal functions for risk and wave height magnitudes, while normal distribution functions have been used for the wave period.
Figure 18 illustrates the functions that represent the membership grade for each category based on the risk magnitude, showing three distinct categories: low, medium and high. For instance, a risk value is considered low for all values lower than four.
In Figure 19, we can see the membership grade for the categories that define the wave height. In this case, we distinguish four categories: low, normal, high and very high. The wave height is considered low for all values smaller than 1.3 meters (with a full membership grade until a value of 0.6 m).
Finally, Figure 20 shows the membership grade for the wave period magnitude. The categories low, normal, high and very high have been defined, and as specified above, normal distribution functions are used to define the membership. For instance, we can see that the low category is defined with a median value of 1 s.
The other fundamental part of a fuzzy system is the definition of its rules. Using a “natural language”, these rules define the system behavior. Figure 21 shows the rules used in this example. For instance, the first rule of the figure is interpreted as “when the height of the wave is low, the risk level is low”.
Once the system is defined, we only need to perform an inference with the data read from the sensors and then use the defuzzy function to retrieve the risk value (Figure 22).
Using this simplified system, if we provide as input a wave height value of 1.5 m and a period value of eight seconds, the defuzzy function returns a risk value of 2.1, and no actions are required. However, if we provide a wave height with a value of four meters, the defuzzy function returns a risk value of approximately 6.7. In that case, all small ships that are not aligned with the current should be reoriented.
This case study shows the potential of crossing different sensor data to improve the capabilities of SmartPort as a DSS. Moreover, one of the advantages of the usage of fuzzy logic is its closeness to natural language, which makes it easier to involve port technicians in extending this tool to cover more decision-making aspects of the day-to-day monitoring and management.

8. Conclusions and Future Work

In this paper, we have presented SmartPort, showing its main features and demonstrating its utility for the monitoring and the decision-making of a seaport environment.
The analysis of SmartPort is based on the study of the sources of data available to the Port Authority. This study analyzed the seaport environment and many of the measurement systems present in it, mainly buoys, ships and weather stations. Based on the characterization of these sources, we have implemented an architecture that enables us to model the sources of static and dynamic data. An analysis of the data from the sensors present in the port environment has allowed us to implement a system with a proper collection, storage and analysis.
The FIWARE platform has been the mainstay of SmartPort, using software components (generic enablers) as key elements in the development of the back-end of the platform. In this sense, SmartPort stands as a good example of an FIWARE use case. This paper has presented an overview of FIWARE, as well as a detailed analysis of the main components used in the project analysis.
Likewise, the paper introduces an RIA, which enables geolocated data display and control of the different features of SmartPort. Among them, we find the alert system, aimed at improving and easing the decision-making tasks of port elements. This web application makes use of the latest web standards, its main component being a virtual 3D Earth model that represents the seaport of Las Palmas and its surroundings based on the Glob3 mobile framework.
The SmartPort architecture does not only support different datasets offered by the port, but ensures a collection rate that enables one to perform tasks of analysis and transmission strategies to send the data efficiently to the web interface.
One of the lines of future work is to deepen the task of data analysis using new big data technologies. In addition, this analysis module of the project should be based on both statistical techniques and thematic knowledge. This will allow the system to extract meaningful information from the sensor network that would be useful for the port community.

Acknowledgments

This work has been supported by the Spanish Ministry of Economy and Competitiveness (MINECO) project RTC-2014-2258-8 and by the European Commission FP7 project “FI-WARE: Future Internet Core Platform” FP7-2011-ICT-FI 285248. We would like to thank the Port Authority general director, Salvador Capella, for supporting the access to the data of “Puerto de La Luz”. The second author wants to thank Agencia Canaria de Investigación, Innovación y Sociedad de la Información for the grant “Formación del Personal Investigador-2012 of Gobierno de Canarias”.

Author Contributions

Conrado Domínguez led the FIWARE development team. Jose Pablo Suárez implemented the collaboration program with the Port Authority and worked in data gathering. Pablo Fernández performed the analysis and design of the back-end architecture, and also worked on the statistical results. Jaisiel Santana worked in database modeling and queries. Alejandro Sánchez made development tasks related to the Generic Enablers. Sebastián Ortega developed the web user interface of the system and the graphic HUD. José Miguel Santana added all the necessary features within the G3M graphic engine. Agustín Trujillo developed the SmartPort native app for mobile devices. All of the authors actively participated in the SmartPort Data Analysis section, final remarks, and writing of the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Containers—Autoridad Portuaria de Las Palmas. 2016. Avaiable online: http://palmasport.es/web/guest/contenedores (accessed on 22 February 2016).
  2. Las Palmas Port—Autoridad Portuaria de Las Palmas. 2016. Avaiable online: http://www.palmasport.es/web/guest/puerto-de-las-palmas (accessed on 22 February 2016).
  3. Emani, C.K.; Cullot, N.; Nicolle, C. Understandable Big Data: A survey. Comput. Sci. Rev. 2015, 17, 70–81. [Google Scholar] [CrossRef]
  4. Chopade, P.; Zhan, J.; Roy, K.; Flurchick, K. Real-time large-scale big data networks analytics and visualization architecture. In Proceedings of the 2015 12th International Conference Expo on Emerging Technologies for a Smarter World (CEWIT), Melville, NY, USA, 19–20 October 2015; pp. 1–6.
  5. Suárez, J.P.; Trujillo, A.; Domínguez, C.; Santana, J.M.; Fernández, P. Managing and 3D Visualization of Real-Time Big Geo-Referenced Data from Las Palmas Port through a Flexible Open Source Computer Architecture. In Proceedings of the 1st International Conference on Geographical Information Systems Theory, Applications and Management, Barcelona, Spain, 28–30 April 2015.
  6. Di Cola, S.; Tran, C.; Lau, K.K.; Celesti, A.; Fazio, M. A Heterogeneous Approach for Developing Applications with FIWARE GEs. In Service Oriented and Cloud Computing; Dustdar, S., Leymann, F., Villari, M., Eds.; Springer International Publishing: Cham, Switzerland, 2015; Volume 9306, pp. 65–79. [Google Scholar]
  7. Bowerman, B.; Braverman, J.; Taylor, J.; Todosow, H.; Von Wimmersperg, U. The vision of a smart city. In Proceedings of the 2nd International Life Extension Technology Workshop, Paris, France, September 2000.
  8. Zhang, L.; Stoffel, A.; Behrisch, M.; Mittelstadt, S.; Schreck, T.; Pompl, R.; Weber, S.; Last, H.; Keim, D. Visual analytics for the big data era—A comparative review of state-of-the-art commercial systems. In Proceedings of the 2012 IEEE Conference on IEEE Visual Analytics Science and Technology (VAST), Seattle, WA, USA, 14–19 October 2012; pp. 173–182.
  9. McCann, M.P. Using GeoVRML for 3D oceanographic data visualizations. In Proceedings of the Ninth International Conference on 3D Web Technology, Monterey, CA, USA, 5–8 April 2004; pp. 15–21.
  10. Talukder, A.; Panangadan, A. Online visualization of adaptive distributed sensor webs. In Proceedings of the IEEE Aerospace Conference, Big Sky, MT, USA, 7–14 March 2009; pp. 1–8.
  11. Barnes, C.; Best, M.; Bornhold, B.; Juniper, S.; Pirenne, B.; Phibbs, P. The NEPTUNE Project—A cabled ocean observatory in the NE Pacific: Overview, challenges and scientific objectives for the installation and operation of Stage I in Canadian waters. In Proceedings of the Symposium on IEEE Underwater Technology and Workshop on Scientific Use of Submarine Cables and Related Technologies, Tokyo, Japan, 17–20 April 2007; pp. 308–313.
  12. Akyildiz, I.F.; Su, W.; Sankarasubramaniam, Y.; Cayirci, E. Wireless sensor networks: A survey. Comput. Netw. 2002, 38, 393–422. [Google Scholar] [CrossRef]
  13. Danieletto, M.; Bui, N.; Zorzi, M. RAZOR: A Compression and Classification Solution for the Internet of Things. Sensors 2014, 14, 68–94. [Google Scholar] [CrossRef] [PubMed]
  14. Albaladejo, C.; Soto, F.; Torres, R.; Sánchez, P.; López, J.A. A low-cost sensor buoy system for monitoring shallow marine environments. Sensors 2012, 12, 9613–9634. [Google Scholar] [CrossRef] [PubMed]
  15. Murty, K.G.; Liu, J.; Wan, Y.W.; Linn, R. A decision support system for operations in a container terminal. Decis. Supp. Syst. 2005, 39, 309–332. [Google Scholar] [CrossRef]
  16. Vannieuwenhuyse, B.; Gelders, L.; Pintelon, L. An online decision support system for transportation mode choice. Logist. Inf. Manag. 2003, 16, 125–133. [Google Scholar] [CrossRef]
  17. Petering, M.E. Decision support for yard capacity, fleet composition, truck substitutability, and scalability issues at seaport container terminals. Transp. Res. Part E Logist. Transp. Rev. 2011, 47, 85–103. [Google Scholar] [CrossRef]
  18. Bose, J.; Reiners, T.; Steenken, D.; Voß, S. Vehicle dispatching at seaport container terminals using evolutionary algorithms. In Proceedings of the IEEE 33rd Annual Hawaii International Conference on System Sciences, Maui, HI, USA, 4–7 January 2000.
  19. Fagerholt, K.; Lindstad, H. TurboRouter: An interactive optimization-based decision support system for ship routing and scheduling. Mar. Econ. Logist. 2007, 9, 214–233. [Google Scholar] [CrossRef]
  20. Pietrzykowski, Z.; Borkowski, P.; Wołejsza, P. Marine integrated navigational decision support system. In Telematics in the Transport Environment; Springer: New York, NY, USA, 2012; pp. 284–292. [Google Scholar]
  21. Borkowski, P. Data fusion in a navigational decision support system on a sea-going vessel. Pol. Marit. Res. 2012, 19, 78–85. [Google Scholar]
  22. Ramparany, F.; Galan Marquez, F.; Soriano, J.; Elsaleh, T. Handling smart environment devices, data and services at the semantic level with the FI-WARE core platform. In Proceedings of the 2014 IEEE International Conference on Big Data (Big Data), Washington, DC, USA, 27–30 October 2014; pp. 14–20.
  23. Zahariadis, T.; Papadakis, A.; Alvarez, F.; Gonzalez, J.; Lopez, F.; Facca, F.; Al-Hazmi, Y. FIWARE Lab: Managing Resources and Services in a Cloud Federation Supporting Future Internet Applications. In Proceedings of the 2014 IEEE/ACM 7th International Conference on Utility and Cloud Computing (UCC), London, UK, 8–11 December 2014; pp. 792–799.
  24. Fazio, M.; Celesti, A.; Glikson, A.; Villari, M. Exploiting the FIWARE Cloud Platform to Develop a Remote Patient Monitoring System. In Proceedings of the 2015 IEEE Symposium on Computers and Communication (ISCC), Larnaca, Cyprus, 6–9 July 2015.
  25. Overall FIWARE Vision-FIWARE Forge Wiki. 2016. Avaiable online: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Overall_FIWARE_Vision (accessed on 2 March 2016).
  26. Zhang, Y.; Chen, W.; Liang, J.; Zheng, B.; Jiang, S. A Network Topology Control and Identity Authentication Protocol with Support for Movable Sensor Nodes. Sensors 2015, 15, 29958–29969. [Google Scholar] [CrossRef] [PubMed]
  27. QGIS project. Available online: http://www.qgis.org/ (accessed on 19 February 2016).
  28. Marz, N.; Warren, J. Big Data: Principles and Best Practices of Scalable Realtime Data Systems; Manning Publications Co.: Greenwich, CT, USA, 2015. [Google Scholar]
  29. Kim, S.; Kim, J.; Jung, J.; Heo, J. Development of a 3D Underground Cadastral System with Indoor Mapping for As-Built BIM: The Case Study of Gangnam Subway Station in Korea. Sensors 2015, 15, 30870–30893. [Google Scholar] [CrossRef] [PubMed]
  30. WebGL Virtual Globe and Map Engine. Available online: http://cesiumjs.org/ (accessed on 19 October 2015).
  31. NASA World Wind. Available online: http://worldwind.arc.nasa.gov/java/ (accessed on 19 October 2015).
  32. Suárez, J.P.; Trujillo, A.; de la Calle, M.; Gómez-Deck, D.D.; Santana, J.M. An open source virtual globe framework for iOS, Android and WebGL compliant browser. In Proceedings of the 3rd International Conference on Computing for Geospatial Research and Applications, Whashington, DC, USA, 1–3 July 2012.
  33. Trujillo, A.; Suárez, J.P.; Santana, J.M.; De La Calle, M.; Gómez-Deck, D. An efficient architecture for automatic shaders management on virtual globes. In Proceedings of the 2014 IEEE Fifth International Conference on Computing for Geospatial Research and Application (COM. Geo), Washington, DC, USA, 4–6 August 2014; pp. 38–42.
  34. Trujillo, A.; Gómez-Deck, D.; de la Calle, M.; Suárez, J.P.; Pedriza, A.; Santana, J.M. Glob3 Mobile: An open source framework for designing Virtual Globes on iOS and Android mobile devices. In Proceedings of the 7th International 3DGeoInfo Conference, Quebec, QC, Canada, 16–17 May 2012.
  35. Cozzi, P.; Ring, K. 3D Engine Design for Virtual Globes, 1st ed.; A. K. Peters, Ltd.: Natick, MA, USA, 2011. [Google Scholar]
  36. Stannus, S.; Rolf, D.; Lucieer, A.; Chinthammit, W. Gestural Navigation in Google Earth. In Proceedings of the 23rd Australian Computer-Human Interaction Conference, Canberra, Australia, 28 November–2 December 2011; pp. 269–272.
  37. Suárez, J.P.; Trujillo, A.; Santana, J.M.; de la Calle, M.; Gómez-Deck, D. An efficient terrain Level of Detail implementation for mobile devices and performance study. Comput. Environ. Urban Syst. 2015, 52, 21–33. [Google Scholar] [CrossRef]
Figure 1. Static data in SmartPort.
Figure 1. Static data in SmartPort.
Sensors 16 00417 g001
Figure 2. SmartPort back-end architecture.
Figure 2. SmartPort back-end architecture.
Sensors 16 00417 g002
Figure 3. SmartPort alert manager architecture.
Figure 3. SmartPort alert manager architecture.
Sensors 16 00417 g003
Figure 4. View of the seaport generated on the G3M widget of the SmartPort’s front-end.
Figure 4. View of the seaport generated on the G3M widget of the SmartPort’s front-end.
Sensors 16 00417 g004
Figure 5. Glob3 Mobile (G3M) integration scheme with the SmartPort front-end and showing access to online services.
Figure 5. Glob3 Mobile (G3M) integration scheme with the SmartPort front-end and showing access to online services.
Sensors 16 00417 g005
Figure 6. Showing bathymetry layer combined with the orthophoto layer, both fetched using the Web Map Service (WMS) protocol.
Figure 6. Showing bathymetry layer combined with the orthophoto layer, both fetched using the Web Map Service (WMS) protocol.
Sensors 16 00417 g006
Figure 7. 3D models showing the current position of the vessels, containers and cranes within the seaport environment.
Figure 7. 3D models showing the current position of the vessels, containers and cranes within the seaport environment.
Sensors 16 00417 g007
Figure 8. 2D billboard marks showing the position of different items on the seaport surroundings.
Figure 8. 2D billboard marks showing the position of different items on the seaport surroundings.
Sensors 16 00417 g008
Figure 9. On-screen Head Up Display (HUD) widgets provide control over the virtual camera attitude.
Figure 9. On-screen Head Up Display (HUD) widgets provide control over the virtual camera attitude.
Sensors 16 00417 g009
Figure 10. Native version of SmartPort running on an iPad Air 2.
Figure 10. Native version of SmartPort running on an iPad Air 2.
Sensors 16 00417 g010
Figure 11. Location of the “León y Castillo” and “Reina Sofía” buoys in Las Palmas de Gran Canaria.
Figure 11. Location of the “León y Castillo” and “Reina Sofía” buoys in Las Palmas de Gran Canaria.
Sensors 16 00417 g011
Figure 12. 2012–2015 readings of the height of 10% of the maximum wave registered by Mareograph Geonica placed on the “Reina Sofía” and “León y Castillo” buoys.
Figure 12. 2012–2015 readings of the height of 10% of the maximum wave registered by Mareograph Geonica placed on the “Reina Sofía” and “León y Castillo” buoys.
Sensors 16 00417 g012
Figure 13. Mareograph Geonica data series of both buoys close-up, centered on days ‘1 July 2014’–‘3 July 2014’.
Figure 13. Mareograph Geonica data series of both buoys close-up, centered on days ‘1 July 2014’–‘3 July 2014’.
Sensors 16 00417 g013
Figure 14. The 10% highest wave’s mean height as registered by Mareograph Geonica on the “Reina Sofía” and ‘León y Castillo” buoys, grouped by season for the years 2011–2015.
Figure 14. The 10% highest wave’s mean height as registered by Mareograph Geonica on the “Reina Sofía” and ‘León y Castillo” buoys, grouped by season for the years 2011–2015.
Sensors 16 00417 g014
Figure 15. Quartile distribution of the wave height data series from Mareograph Geonica placed on the “León y Castillo” buoy, grouped by season and year.
Figure 15. Quartile distribution of the wave height data series from Mareograph Geonica placed on the “León y Castillo” buoy, grouped by season and year.
Sensors 16 00417 g015
Figure 16. Quartile distribution of the wave height data series from Mareograph Geonica placed on the “Reina Sofía” buoy, grouped by season and year.
Figure 16. Quartile distribution of the wave height data series from Mareograph Geonica placed on the “Reina Sofía” buoy, grouped by season and year.
Sensors 16 00417 g016
Figure 17. A ship whose angle between its orientation and the current direction is greater than 45 degrees.
Figure 17. A ship whose angle between its orientation and the current direction is greater than 45 degrees.
Sensors 16 00417 g017
Figure 18. Membership grade for risk.
Figure 18. Membership grade for risk.
Sensors 16 00417 g018
Figure 19. Membership grade for wave height.
Figure 19. Membership grade for wave height.
Sensors 16 00417 g019
Figure 20. Membership grade for the wave period.
Figure 20. Membership grade for the wave period.
Sensors 16 00417 g020
Figure 21. Rule definition.
Figure 21. Rule definition.
Sensors 16 00417 g021
Figure 22. Inference and defuzzification example.
Figure 22. Inference and defuzzification example.
Sensors 16 00417 g022
Table 1. Expected evolution of total collected data at the end of each year.
Table 1. Expected evolution of total collected data at the end of each year.
YearNumber of SensorsIncoming Data (Mb/Day)Total Data Per Year (Gb)Accumulated Data (Gb)
2011414049.9049.90
2012414049.9099.80
2013414049.90149.71
2014414049.90199.61
2015414049.90249.51
2016414049.90299.41
2017341190424.17723.58
2018642240798.441522.02
20199432901172.712694.73
202012443401546.974241.70
Table 2. Data retrieval time in seconds.
Table 2. Data retrieval time in seconds.
MySQLPostgreSQLStandard HadoopHadoop (Lambda Arch.)
All mareograph data8.129.7260.039.01
One attribute sorted by date10.5511.5374.838.91
Table 3. Retrieval time performance (%) using Hadoop with Lambda Architecture instead of Standard Hadoop.
Table 3. Retrieval time performance (%) using Hadoop with Lambda Architecture instead of Standard Hadoop.
Performance (%)
All mareograph data85
One attribute sorted by date88
Table 4. The 10% highest wave’s average height of Mareograph Geonica placed on the “León y Castillo” buoy, grouped by season and year.
Table 4. The 10% highest wave’s average height of Mareograph Geonica placed on the “León y Castillo” buoy, grouped by season and year.
Year - SeasonMin (m.)Mean (m.)Max (m.)Frequency (s)OutliersOutliers (%)
11 - Spring0.000.211.074258.201306.85
11 - Summer0.080.220.634139.821477.52
11 - Autumn0.020.250.903771.61824.25
11 - Winter0.000.281.074509.501599.31
12 - Spring0.000.210.793647.96855.01
12 - Summer0.000.230.783923.63783.77
12 - Autumn0.080.240.763839.161768.79
12 - Winter0.000.281.473616.781597.40
13 - Spring0.090.231.073730.141316.15
13 - Summer0.090.211.343860.201718.13
13 - Autumn0.050.140.383680.00207.38
14 - Spring0.000.170.655112.46335.07
14 - Summer0.060.193.263737.911175.39
14 - Autumn0.000.201.083699.3510010.20
14 - Winter0.170.314.233615.90337.93
15 - Spring0.000.242.093745.971466.88
Table 5. The 10% highest wave’s average height of Mareograph Geonica placed on the “Reina Sofía” buoy, grouped by season and year.
Table 5. The 10% highest wave’s average height of Mareograph Geonica placed on the “Reina Sofía” buoy, grouped by season and year.
Year - SeasonMin (m.)Mean (m.)Max (m.)Frequency (s)OutliersOutliers (%)
11 - Spring0.001.123.344584.23722.08
11 - Summer0.281.343.394106.19411.96
11 - Autumn0.221.143.134077.49375.50
11 - Winter0.531.374.124596.37936.88
12 - Spring0.001.256.334635.471183.19
12 - Summer-9.001.596.474080.98392.90
13 - Spring0.001.272.523610.99193.52
13 - Summer0.001.182.873867.58741.51
13 - Autumn0.191.113.713632.33325.54
13 - Winter0.001.545.283725.841111.12
14 - Spring0.001.283.144431.13172.22
14 - Summer0.001.072.863674.66491.90
14 - Autumn0.361.133.123649.57409.73
14 - Winter-9.001.654.734426.201717.32
15 - Spring0.001.203.763626.521592.08

Share and Cite

MDPI and ACS Style

Fernández, P.; Santana, J.M.; Ortega, S.; Trujillo, A.; Suárez, J.P.; Domínguez, C.; Santana, J.; Sánchez, A. SmartPort: A Platform for Sensor Data Monitoring in a Seaport Based on FIWARE. Sensors 2016, 16, 417. https://doi.org/10.3390/s16030417

AMA Style

Fernández P, Santana JM, Ortega S, Trujillo A, Suárez JP, Domínguez C, Santana J, Sánchez A. SmartPort: A Platform for Sensor Data Monitoring in a Seaport Based on FIWARE. Sensors. 2016; 16(3):417. https://doi.org/10.3390/s16030417

Chicago/Turabian Style

Fernández, Pablo, José Miguel Santana, Sebastián Ortega, Agustín Trujillo, José Pablo Suárez, Conrado Domínguez, Jaisiel Santana, and Alejandro Sánchez. 2016. "SmartPort: A Platform for Sensor Data Monitoring in a Seaport Based on FIWARE" Sensors 16, no. 3: 417. https://doi.org/10.3390/s16030417

APA Style

Fernández, P., Santana, J. M., Ortega, S., Trujillo, A., Suárez, J. P., Domínguez, C., Santana, J., & Sánchez, A. (2016). SmartPort: A Platform for Sensor Data Monitoring in a Seaport Based on FIWARE. Sensors, 16(3), 417. https://doi.org/10.3390/s16030417

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop