1. Introduction
Due to numerous important applications, including search and rescue, shipping and renewable energy sources, the necessity for accurate wave predictions has substantially increased. Numerical wave prediction models, which are employed by many operational and research centers, are a trustworthy and effective instrument to reach these goals, as they are fairly successful in simulating global environmental conditions. Nevertheless, when the forecasting concerns a local area of interest, numerical models fail to provide precise forecasts. The main reason for this is the multiparametric nature of the various factors involved, such as the strong dependence on initial and lateral conditions or the parametrization of some atmospheric or wave procedures [
1].
The enhancement of the model’s resolution could be a potential solution to these problems, but the success of this strategy is uncertain and at the same time extremely costly, as the computational time will rise dramatically. An alternative approach could be to use post-processing algorithms [
1,
2,
3] to improve the starting conditions based on assimilation systems. These instruments, like ANNs and Kalman Filters, can be used to improve the output generated by statistical models by reducing the systematic error of the simulation. In order to achieve this, a cost function is defined as the “distance” (bias) between the direct output of the model and the actual observations.
Under this framework, we introduce a hybrid Extended Kalman Filter based on a parametrized FeedForward Neural Network (pFFNN) for the prediction of the Significant Wave Height (SWH). In particular, for a set of historical data, the pFFNN is trained for various values of the parameter and the optimal value is added to the hybrid Extended Kalman Filter, which reduces the systematic error between the direct output of the WAM-cycle 4 [
4] model and the corresponding observation.
2. Extended Kalman Filter Algorithm
Kalman Filtering (KF) is a recursive prediction algorithm which provides an optimal estimation for an unknown state vector
given information about an observable vector
based on the assumption that there is a linear correlation between these variables. However, when the dynamics of the model are nonlinear, a different filtering approach is necessary. One such technique is the Extended Kalman Filter, which is an extension of the Kalman Filter through a linearization process based on Taylor’s approximation [
5].
To lay the groundwork for the construction of the EKF, we consider a nonlinear system which is described by the following state measurement model:
where
and
are independent Gaussian noise processes with zero mean and covariance matrices
and
, respectively. The quantities
and
are the nonlinear transition matricies functions, which are considered to be
and in some cases are time varying.
The fundamental idea behind the Extended Kalman Filter is to linearize the state space model of Equations (1) and (2) each time around the previous or most recent state estimate, which is taken to be either
or
depending on which specific functional is being taken into consideration [
5]. The variables
and
express the priori and the posteriori estimate of the state, respectively.
3. Parametrized FeedForward Neural Network
Artificial Neural Networks (ANNs) are adaptable artificial systems that draw inspiration from the processes of the human brain, and are able to rebuild the fuzzy rules that determine the unknown correlation between various variables. The simplest type of ANN is the FeedForward Neural Network, which is a multi-layer network where every neuron in the previous layer connects to each neuron of the next layer [
6].
In this study, a parametrized three-level FeedForward Neural Network has been applied in order to determine the optimal parameter
, with one hidden layer, twenty neurons, the sigmoid function,
as the activation function and one linear output layer. In particular, the network’s direct output is given by:
where
is a
matrix, with
being the number of neurons in the hidden layer and
being the size of the input data
.
and
are
matrices, while
is the (scalar) bias of the output layer.
The pFFNN can be trained for a range of values of the parameter
(here
), enhancing network’s efficiency. The idea behind the application of a parameterized ANN is based on the work of Famelis and Kaloutsa, in which an NN was trained for different values of a parameter in order to determine to what extent this affects the stiffness of the problem [
7]. Furthermore, in order to determine the network’s parameters, the Levenberg–Marquardt method was applied as learning a rule.
4. The Proposed Methodology
The Kalman Filtering procedure uses fixed covariance matrices; thus, choosing the quantities and is one of the most challenging issues for the filter’s successful implementation.
To avoid this problem, Shahrokh Akhlaghi and Zhenyu Huang [
8] proposed an estimating method to adaptably adjust the quantities
and
at each step of the EKF algorithm, based on:
and
Their choice was for all their tests. Here, the quantity is the residual and can be determined by the difference between the measurement’s actual value and its projected value based on the data provided at step t. On the other hand, is the innovation and expresses the difference between the actual measurement and its predicted value at time t.
However, the choice of the parameter
cannot be independent of the available data, as this loses essential information necessary for the study of dynamical systems. For this reason, aiming to improve the forecasting capabilities of WAM-cycle 4, the proposed methodology implements the parametrized FeedForward Neural Network presented in
Section 2 to determine parameter
and therefore to modify the covariance matrices.
More specifically, the available historical data are divided into three sections:
For all case studies, , and .
Hybrid Extended Kalman Filter
In order to reduce the systematic error of the simulation, we define
as the difference between the actual Significant Wave Height and the FeedForward Neural Network’s direct output, which uses as input the previous forecast of the model, with the following form:
where
is the nonlinear transition matrix function, while the quantity
express a vectorial parameter that needs to be estimated by the filter. Note here that
includes the parameters of each layer of the FFNN, i.e.,
and
, where
is the sigmoid function.
Furthermore, as we lack accurate knowledge about the evolution of the state vector
in time, we presume that its change would be random and thus we set the system’s nonlinear transition matrix function
. Therefore, the state equation for the EKF can be described as follows:
Combining (3) and (4), we construct the state space model:
When the dynamic system is defined, the hybrid Extended Kalman Filter follows the following steps:
5. Case Study
In this section, we compare the results derived from the hybrid Extended Kalman Filter with the tuned parameter to those obtained by the same filter but with a stable parameter (). The presented case study concerns data from the area of Lesvos in the Aegean Sea for the period 2010–2012. As training data for the pFFNN, one thousand WAM forecasts were used (DataSet1), while as training data for the hybrid EKF, the next two hundred and fifty model estimations were applied (DataSet2). Finally, in order to validate the performance of the proposed method, the following forty WAM predictions were used (DataSet3).
The values of Bias, Absolute Bias, Root Mean Square Error (Rmse) and Nash–Sutcliffe model efficiency coefficient (Ns) are reported in
Table 1. More specifically, the indications “HybridEKFwithStableParameter” and “HybridEKFwithTuning Parameter” express the corresponding results from the proposed methodology, while the indication “Model” presents the direct output of the numerical wave model prior to the use of the method.
Additionally, time series diagrams per year are included. In particular, the indicator “True Values” expresses the actual observations of the Significant Wave Height, while “Model”, “HybridEKFwithStablePar” and “HybridEKFwithTuningPar” present the results produced from the numerical model before and after the implementation of the method, respectively.
Improving the Forecasting Capabilities-Lesvos Region
As new data for the Significant Wave Height were provided every three hours, our goal was to employ the suggested strategy to improve the wave model predictions for a period of five days.
Analyzing the time series (
Figure 1) and
Table 1, it is observed that the proposed method enhances the forecasts of the simulation model for all time periods. In particular, the various indicators improved greatly, most of all the Nash–Sutcliffe model efficiency coefficient index (Ns) and the Root Mean Square Error (Rmse).
According to the Ns, the greatest improvement was observed in the period of 2012, which prior to the usage of the method had a negative value (), while after the implementation of the hybrid filter with a tuning parameter, the corresponding value increased to .
Furthermore, in the same period, the Rmse indicator significantly reduced, as its prior value was , while after the application of the proposed methodology with the adaptive parameter, the corresponding value was Additionally, it should be noted that in all cases, the hybrid filter with a fixed parameter improves the model’s performance, but to a lesser extent compared to the adapted parameter filter and therefore it cannot be considered as the optimal choice.
6. Conclusions
In this study, we introduce a hybrid Extended Kalman Filter based on a parametrized FeedForward Neural Network (pFFNN) for the prediction of the Significant Wave Height (SWH). In particular, for a set of historical data, the pFFNN is trained for various values of the parameter and the optimal value is selected. Then, the chosen parameter is used in the Extended Kalman Filter in order to modify the covariance matrices.
The efficiency of the above methodology was evaluated through various time periods, which concerned (among others) the area of Lesvos in the Aegean Sea in 2010–2012. For every case, we compared the hybrid Extended Kalman Filter with a tuned parameter with the corresponding constant parameter filter to determine to what extent the value of the parameter influenced the performance of the proposed methodology.
The hybrid filter significantly improved the forecasting results of the simulation system. More specifically, in all cases, we observed that the hybrid filter based on a tuned parameter provided better results in comparison to those derived from the fixed parameter filter and therefore it is considered the better option to improve the forecasts of the WAM-cycle 4 model.
Finally, the proposed method was also implemented for the Pacific and other Aegean regions with similar success, but the results are not included in this paper. Furthermore, it should be noted that the hybrid approach of ANNs and EKFs is not limited to WAM-cycle 4 applications, but can be extended to other numerical prediction models as well.
Author Contributions
Conceptualization, A.D., G.G. and I.T.F.; methodology, A.D., G.G. and I.T.F.; software, A.D. and I.T.F.; validation, A.D., G.G. and I.T.F.; formal analysis, A.D., G.G. and I.T.F.; investigation, A.D., G.G. and I.T.F.; resources, G.G.; data curation, A.D. and G.G.; writing—original draft preparation, A.D. and I.T.F.; writing—review and editing, A.D., G.G. and I.T.F.; visualization, A.D., G.G. and I.T.F.; supervision, G.G. and I.T.F.; project administration, G.G. and I.T.F.; funding acquisition, I.T.F. All authors have read and agreed to the published version of the manuscript.
Funding
This work has been funded by the Unit of Economic and Administrative Support (E.L.K.E) of University of West Attica.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Data is unavailable due to privacy restrictions.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Famelis, I. Runge-Kutta solutions for an environmental parameter prediction boundary value problem. J. Coupled Syst. Mul-tiscale Dyn. Exp. 2014, 2, 62–69. [Google Scholar] [CrossRef]
- Famelis, I.; Galanis, G.; Ehrhardt, M.; Triantafyllou, D. Classical and Quasi-Newton Methods for a Meteorological Parameters Prediction Boundary Value Problem. Appl. Math. Inf. Sci. 2014, 8, 2683–2693. [Google Scholar] [CrossRef]
- Famelis, I.; Tsitouras, C. Quadric Shooting Solution for an Environmental parameter prediction model. Far East J. Appl. Math. 2015, 91, 81–98. [Google Scholar] [CrossRef]
- Galanis, G.; Chu, P.C.; Kallos, G. Statistical post processes for the improvement of the results of numerical wave prediction models. A combination of Kolmogorov-Zurbenko and Kalman filters. J. Oper. Oceanogr. 2011, 4, 23–31. [Google Scholar] [CrossRef]
- Haykin, S. Kalman Filtering And Neural Networks; John Wiley & Sons: Hamilton, ON, Canada, 2001; p. 304. [Google Scholar]
- Famelis, I.; Donas, A.; Galanis, G. Comparative study of FeedForward and Radial Basis Function Neural Networks for solving an Environmental Boundary Value Problem. Results Appl. Math. 2022, 16, 100344. [Google Scholar] [CrossRef]
- Famelis, I.; Kaloutsa, V. Parameterized neural network training for the solution of a class of stiff initial value systems. Neural Comput. Appl. 2021, 33, 3363–3370. [Google Scholar] [CrossRef]
- Shahrokh, A.; Huang, Z. Adaptive Adjustment of Noise Covariance in Kalman Filter for Dynamic State Estimation. In Proceedings of the IEEE General Meeting Power& Energy Society, Chicago, IL, USA, 16–20 July 2017. [Google Scholar]
| Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).