DATA BASED MODELLING OF THE MEAN WAVE PERIOD IN THE ADRIATIC SEA

Marko Katalinić, Faculty of maritime Studies, Ruđera Boškovića 37, 21 000 Split

Luka Mudronja, Faculty of maritime Studies, Ruđera Boškovića 37, 21 000 Split

Petar Matić, Faculty of maritime Studies, Ruđera Boškovića 37, 21 000 Split

()

Abstract:

This paper investigates an ability to apply data based modelling methods for mean wave period modelling in a single point in the Adriatic Sea, while examining the influence of different input variables and their respective time series. For that purpose, regression analysis and artificial neural network were used. Total of 22-year data with 6h step size, i.e. 33604 data samples acquired from a satellite calibrated numeric model, were used to form the models. Available data set was divided in two subsets, 20-year data, i.e. 30684 data samples, which were used to calibrate the models, and 2-year data, i.e. 2920 data samples, that were used to test the model performance. Simulations were performed in Matlab, with the results proving the efficiency of modelling approaches, where artificial neural network provided more accurate results than traditional statistical models. Furthermore, the advantage of the neural network was more prominent for the case of multiple input variables

KEY WORDS

sea wave modelling, Adriatic Sea, data based modelling, mean wave period, Matlab.

1.  Introduction

In this paper, two data based approaches were investigated for the mean wave period modelling in the Adriatic Sea, artificial neural network (ANN) and regression analysis, while examining the influence of a different input variables and its time series.

The mean wave period (MWP) is one of the parameters that describe sea state and represents the mean of all wave periods in a time-series.

In general terms, a model can be formed based on the mathematical formulation of the physical processes that occur in the system being modelled, and that model is called physical model. The model can also be formed based on the measured values of the input and output variables of the system. That model is called the experimental or statistical model, and although it does not give insight to the physical properties of the system, it better describes the input-output behavior of the system (Matić et al., 2015). Two modelling approaches are often used for that matter, a regression analysis and artificial neural networks (ANNs). While regression based models require a strict mathematical form of a model to be defined, neural network uses more flexible structure to adjust to the data. ANNs can be regarded as an alternative to traditional, regression based statistical models that are expected to provide better modelling results especially in complex cases where multiple variables influence the output. So far, ANNs were successfully applied to a large number of different computational problems such as pattern recognition, classification, function approximation, modelling and prediction.

Sea wave modelling represents a challenge due to its complexity, where different parameters influence a mathematical description of the sea surface. In the field of waves modelling for the Adriatic Sea, Tonko Tabain made great effort by definition of Tabain spectrum of the waves (Tabain, 1997). For the sea wave modelling, several methods can be applied, ranging from empirical to the most sophisticated numerical third generation models.

Both, ANNs and regression analysis were already used in sea wave modeling, as described in (Zamani et al., 2009), (Peres et al., 2015), (Haddadpour, Etemad-Shahidi & Kamranzad, 2014).

2. Modelling methods

In data based modeling, a modelling method should provide a way to determine values of the model parameters, so the models’ response should fit the available data (Rawlings et al., 2001). In this paper two modelling methods were compared, an artificial neural networks and regression analysis. Regression analysis requires an assumption about the functional relationship between input and output variables, where models can use one or more (k) input, i.e. independent variables (xi) to explain the behavior of the output, i.e. dependent variable (yi). If the functional relationship is assumed to be linear, the model can be described with the expression (1). In that case, the model uses k+1 parameters (a) that need to be estimated in order to fit the function to the available data, and least squares estimate (LSE) method is often used (Rawlings et al., 2001).

(1)

However, physical processes are inherently non-linear and time invariant. Therefore, only simple cases could be modeled with linear functions. More realistic models use nonlinear relationships between dependent and independent variables, which could generally be expressed with (2), where fN stands for a nonlinear function.

(2)

Higher-degree polynomials, exponential, logaritmic and trigonometric functions can all be used as fN. Due to the complexity of other solutions, a quadratic function is often used, and even then a problem becomes too complex for more than two input variables. Decision on models’ functional relationship between input and output variables and model complexity problem could be avoided by using artificial neural networks (ANNs).

As briefly described in (Matić et al., 2015), ANN is an artificial structure that consists of a number of interconnected artificial neurons. Based on a type of a neuron and the way they are connected different ANNs have been developed over the last 50 years. However, a static feed-forward ANN called Multi-Layer Perceptron (MLP) represents probably the most commonly used network architecture. MLP has neurons organized in layers, with i inputs, h hidden neurons and o output neurons, and uses nonlinear sigmoidal activation functions in a hidden layer, which enables it to approximate nonlinear functions, i.e. model non-linear processes. Although optimal number of layers was often subject of research, it has been proven that two-layer structure is sufficient to approximate any practical function, given enough neurons in hidden layer (Cybenko, 1989). Therefore, a two-layer MLP known as universal approximator shown in Figure 1, was used in this research to form a neural model of mean wave period (MWP).

Figure 1. MLP network, a universal approximator

To form a neural model of the system, ANN needs to be trained, which is done based on the examples presented to the network during the training (or learning) process. During that process an algorithm is used to modify the network parameters (w) in order to minimize the error between network output and desired value for a given input values. ANNs model the process in a similar way human brain does when it “gets to know the system”, it learns from experience. However, this is also the way statistical models work; they also “learn” from the examples of input-output data pairs. The knowledge they both have about the system is stored in the adjustable parameters of the model. The difference is that ANNs uses a flexible neural structure to adjust to the data, which enables it to approximate any simple or composite function, unlike statistical models where exact function needs to be defined in advance. In this paper, Bayesian regularization (BR) algorithm from Matlabs’ neural network toolbox was used to train the neural models. BR is a useful tool in determining sufficient number of hidden neurons, making an improvement to the Levenberg-Marquardt (LM) algorithm, already proven to be the fastest and most appropriate algorithm for training networks containing up to few hundreds of adjustable parameters (Beale et al., 2010). Number of hidden neurons determines the quality of the neural model, and therefore represents inevitable subject of research in model development process.

3. CASE STUDY – MEAN WAVE PERIOD MODELLING OF THE ADRIATIC SEA WAVE

Available data were obtained from the company for environmental monitoring Fugro OCEANOR with the aim of use in DATAS (Damaged Tanker in The Adriatic Sea) project funded by the Croatian Science Foundation. Collected data are based on a numerical hindcast which was calibrated with satellite altimetry mapping in period between January 1992 and January 2016, with time step of 6 hours in 40 points in the Adriatic Sea. Calculations in this paper deal with data in a single point in the Adriatic Sea (42.00 N, 17.00 E). The chosen point is on a frequent merchant ship route from Otrant (SE entrance in the Adriatic Sea) towards ports in the NE part (Rijeka, Venezia, Koper). The total available data included 12 variables, while in this study only 4 variable data were used, as presented in Table 1.

Table 1. Data used for modelling purposes

Variable name / Abbreviation / Unit
Significant wave height / SWH / m (meters)
Mean wave period / MWP / s (seconds)
Wind speed at 10 m height / WSP / m/s (meters/second)
Wind direction at 10 m height / WDIR / ° (degrees)

3.1. Data analysis

The correlation analysis was performed to examine the influence of the potential input variables, with the results presented in Table 2, providing an insight to the input and output variable dependence.

Table 2. Correlation analysis for potential input variables for the chosen point in the Adriatic Sea

WSPt / WDIRt / SWHt / MWPt-1
MWPt / 0.421069 / -0.09684 / 0.691128 / 0.839201

Based on the results shown in Table 2, it can be assumed that MWPt is strongly influenced by the SWHt and its own value from previous calculation step, i.e. MWPt-1, while WSPt has some influence to the MWPt and WDIRt has none. Therefore, time series of the variables: SWH, WSP and MWP are investigated as the potential inputs to the MWPt model through a set of model based experiments.

3.2. Model formulation

From the set of 22-year data available, 20-year data were used for calibrating the models and 2-year data for testing the models, which resulted in 30684 samples for calibrating and 2920 samples for testing the models performances, due to the 6h sample rate. In order to define optimal input variables to model current value of the mean wave period (MWPt), a set of potential input variables was evaluated through series of experiments as described in Table 3.

Table 3. Experiment setup for optimal input variables detection

i / Formulation
1 / MWPt = f (MWPt-k1)
2 / MWPt = f (MWPt-k1, SWHt-k2)
3 / MWPt = f (MWPt-k1, SWHt-k2, WSPt-k3)
4 / MWPt = f (SWHt-k2, WSPt-k3)
5 / MWPt = f (SWHt-k2)

First, the influence of the variable with the highest score in correlation test was examined as a single input variable, and then other variables were included. Therefore, experiment 1 was used to determine the optimal number of the MWP time series members as inputs (k1). In experiment 2, k1 number of inputs was expended with SWH time series, and the optimal number of the time series members k2 was determined. In experiment 3, the input set of variables was furtherly expanded by the WSP time series in order to determine optimal number k3. Therefore, maximal number of inputs in all experiments was Ni_max = k1+k2+k3, which was reduced in experiments 4 and 5, as defined in table 3 to examine the impact of the variables added later to the set of inputs. For each experiment i Î [1, 5] two models were formed, a neural network model (NNMi), and a regression model (RMi).

3.3. Model evaluation

To evaluate models performances graphical and numerical methods can be used. Graphical methods enable visual comparison of the model response to the actual values, while numerical methods measure the exact quantity of models response deviation from the actual value. The authors of (LeGates and McCabe, 1999) proposed a set of different statistical measures to evaluate the quality of the model, and recommended that the set should include at least one relative and one absolute measure. In paper (Moriasi et al., 2007), model classification is made based on the values of CE, RSR and PBIAS quality measures. In the paper (Gupta et al, 1999) the application of Persistence Index (PI) is also recommended.

Therefore, to evaluate the models quality in this paper, both graphical and following numerical measures are used, absolute: root mean squared error (RMSE), mean absolute error (MAE); and relative: Nash-Sutchllife coefficient of efficiency (NSC, or CE), percent bias (PBIAS), RMSE to standard deviation ratio (RSR) and persistency index (PI).

Furthermore, in order to compare modelling approaches, i.e. neural networks and regression analysis, a model comparison coefficient (MCCPI) was created in this paper, as described with the expression (3).

(3)

Since PI has been identified as the most sensitive criterion among the numerical measures used in this paper, MCCPI uses PI values of the RM and NM to calculate the value which ranges from –¥ to +¥. Positive values indicate better performances of the NM, negative values indicate better performances of the RM expressed in percentages, and value of the MCCPI close to zero indicates that there is no advantage in either models performance.

4. Results and discussion

As defined in Table 3, experiments 1 to 5 were performed to determine optimal set of input variables for modelling MWP, and the results are presented in Table 4. The best performances of the models from experiment 1 can be obtained when two time series members are used as inputs, i.e. MWPt-1 and MWPt-2. Therefore, neural model NM1 has two input neurons and performs best with 40 hidden neurons to calculate MWPt. Optimal RM11 model is described with the expression (4), where y stands for MWP.

(4)

The models from experiment 2 perform best when three time series members of SWH are used as input variables, i.e. SWHt, SWHt-1, SWHt-2, in addition to MWPt-1 and MWPt-2, determined in experiment 1. Optimal set of input variables was determined through a model based experiment using artificial neural network, and the same variables were used to form a regression model, described with (5), where x(1) stands for SWH. Neural network used in the experiment has 40 neurons of hidden layer, also determined as a subject of the experiments performed.

(5)

In order to improve model performances another input variable was included in the experiment 3, namely a WSP, and the experiments performed on a neural model suggested 4 time series members to be included in the set of input variables (WSPt, WSPt-1, WSPt-2, WSPt-3) in addition to already established members of the input set. All neural models were formed using 40 neurons of the hidden layer. The same variables were used to form a regression model, described with (6), where x(2) stands for WSP.