Next Article in Journal
Frequency Shift Keying-Based Long-Range Underwater Communication for Consecutive Channel Estimation and Compensation Using Chirp Waveform Symbol Signals
Previous Article in Journal
A First Study on Distribution Characteristics of Common Dolphin in Korean Waters: A Study Using Data Collected during the Past 20 Years
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Combined Wind Forecasting Model Based on SSA and WNN: Application on Real Case of Ningbo Zhoushan Port

1
School of Transportation and Logistics Engineering, Wuhan University of Technology, 1178 Heping Street, Wuhan 430063, China
2
Ningbo Zhoushan Port Group Co., Ltd., 269 Ningdong Road, Ningbo 315100, China
3
Ningbo Beilun Third Container Terrminal Co., Ltd., 8 Jixiang Road, Ningbo 315813, China
4
Center for Research on Microgrids (CROM), AAU Energy, Aalborg University, 9220 Aalborg East, Denmark
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(9), 1636; https://doi.org/10.3390/jmse11091636
Submission received: 29 July 2023 / Revised: 18 August 2023 / Accepted: 20 August 2023 / Published: 22 August 2023

Abstract

:
Wind energy is an effective way to reduce emissions in ports. However, port wind power generation exhibits strong intermittency and randomness. Predicting port wind speed enables timely scheduling of port operations and improves wind energy utilization efficiency. To achieve high accuracy and rapid prediction of port wind speed, this paper proposes a wind speed prediction model based on the Sparrow Search Algorithm (SSA) optimized Wavelet Neural Network (WNN). Firstly, the SSA is used to optimize the Mean Squared Error (MSE) as the fitness function during the training process of the WNN model, obtaining the optimal fitness value corresponding to the network parameters. Then, the obtained parameters are used as the network model parameters of WNN for wind speed prediction. To validate the effectiveness of the proposed method, the model is validated using the measured wind speed data from the Chuanshan Port Area of Ningbo-Zhoushan Port throughout 2022, and its performance is compared with three other models: SSA–BP, SSA–LSTM, and WNN. The results demonstrate that the proposed prediction model exhibits good performance in port wind speed prediction and outperforms the other comparative models in terms of prediction accuracy and convergence speed.

1. Introduction

Ports are critical nodes connecting land and water transportation. With the annual growth of port cargo throughput, the total emissions of greenhouse gases and atmospheric pollutants from ships and port operating equipment have increased rapidly [1]. Although various emission reduction measures, including shore power, sea-rail intermodal transportation, and conversion of shore cranes to electricity, have been implemented, these measures fundamentally rely on fossil energy as the ultimate source of energy, leading to carbon emissions [2]. Clean energy sources such as wind and solar power, which do not rely on fossil energy, can eliminate port carbon emissions fundamentally [3], making them an effective approach for ports to achieve carbon peak and carbon neutrality goals. Among them, wind power generation in ports has seasonal and periodic patterns [4] and ports have abundant wind energy resources. Therefore, port wind energy has gained increasing attention. For example, Gutierrez-Romero proposed the use of onshore and offshore wind turbines as well as solar energy to provide shore power for ships at Cartagena Port, emphasizing that wind resources deserve special attention despite the significant role of solar energy [5].
However, port wind energy exhibits strong randomness and intermittency [6]. Furthermore, port operations themselves are highly stochastic, making the application of wind energy in ports more challenging [7]. On the one hand, the intermittency of wind power generation can affect the safe and stable operation of the power system. On the other hand, the randomness of wind energy may result in underutilization of wind power, reducing its practical efficiency. Therefore, accurate wind speed prediction can improve the safety and economic efficiency of port power grids, as well as reduce port carbon emissions more effectively. De Paula et al. used a combination of artificial neural networks and statistical methods to predict wind speeds at Porto do Açu, with an average MAE of 1.834 for a time resolution of 30 days [8]. Tascikaraoglu et al. used the WT–CST-WSF combination model to predict wind speeds at meteorological stations and airports in four states in the United States, with MAE and RMSE of 1.3186 and 1.7674, respectively, for a time resolution of 6 h [9]. Zhen et al. used a wind speed forecasting model based on time-scale recognition and dynamic adaptive modeling to predict wind speeds in the Mojave Desert Rocks of Nevada, achieving RMSE and MAE of 0.8195 and 0.6340, respectively, for a time resolution of 15 min [10]. Port operations are highly stochastic, and berth and operation plans are usually determined one day in advance. Therefore, predicting wind energy in port operating environments can provide more accurate and timely wind energy forecasts to support port scheduling decisions.
Wind speed prediction methods generally use machine learning or statistical approaches [11], without the need to establish physical models related to the actual environment, such as terrain, surface roughness, and meteorological conditions [12]. Statistical methods typically establish mapping relationships between data by learning the patterns of historical wind speed data, including Kalman filtering [13,14], exponential smoothing [15], and AutoRegressive Integrated Moving Average (ARIMA) models [16,17]. However, for data with large fluctuations and strong nonlinearity, especially port wind speed data, traditional statistical methods are greatly affected by external environmental factors, resulting in low prediction accuracy and limited predictive capability. Machine learning methods can continuously identify the features and patterns of data through learning wind speed data, thus enabling wind speed prediction. Deep learning has evolved from basic neural networks to intelligent algorithms, continuously improving prediction accuracy. Early wind speed prediction methods commonly used Support Vector Regression (SVR) [18], Random Forests [19], Long Short-Term Memory (LSTM) [20,21], and Backpropagation (BP) neural networks [22,23]. However, these methods have limited prediction accuracy and are suitable for smaller datasets. Therefore, some improvements have been made based on neural networks, such as Aly’s use of the Wavelet Neural Network (WNN) combination model to predict wind speeds in Halifax/Nova Scotia [24]. These neural network models can better adapt to nonlinear systems.
However, in practical applications, the prediction results of neural networks generally depend on the weights, thresholds, and other parameters between the layers of the network model. The traditional method of parameter selection through trial and error is often inefficient and it is difficult to find the optimal parameters. Therefore, it is crucial to quickly obtain the optimal parameters of the network for accurate and rapid wind energy prediction.
Common parameter optimization methods during the prediction process include Dragonfly Algorithm (DA) [25], Whale Optimization Algorithm (WOA) [26], Particle Swarm Optimization (PSO) [27], and Sparrow Search Algorithm (SSA) [28]. Swarm intelligence optimization algorithms have the advantage of avoiding getting trapped in local optima and achieving global optimization. However, parameter selection still relies heavily on experience. Among them, SSA has the ability to global search and enriches the population diversity to a greater extent, reducing the likelihood of the algorithm getting trapped in local optima. Therefore, this paper adopts SSA to optimize WNN and focuses on predicting wind energy in the Chuanshan Port Area of Ningbo–Zhoushan Port.
The innovations and contributions of this study are, firstly, the combination of SSA optimization algorithm and WNN neural network for wind speed prediction; secondly, we apply the methods to predicting wind speed in a port, taking Ningbo Zhoushan Port as a case study, which has not been considered by precious works. The model is also trained and tested by a real dataset with high authenticity and reliability, measured by actual LiDAR in the port area.
The structure of this paper is as follows: Section 2 introduces the algorithm principles of wind speed prediction methods, the steps of the optimization algorithm, and the calculation process of SSA–WNN. Section 3 presents the research object, the Chuanshan Port Area, and analyzes the measured wind speed data throughout 2022. Section 4 analyzes the prediction results and compares the recommended method with three other methods to validate its effectiveness and superiority. Finally, Section 5 concludes the paper.

2. Methodology

2.1. Wavelet Neural Network

The Wavelet Neural Network (WNN) is a network that has evolved from the error back-propagation neural network topology. It exhibits similarities to traditional neural network structures but possesses faster convergence speed, avoids local optima, and provides time-frequency local analysis characteristics [29]. WNN can be implemented in two ways. The first approach involves performing wavelet analysis on the signal to obtain high-frequency and low-frequency signals at each layer, which are then loosely coupled with the neural network. The second approach replaces the traditional neural network activation function with a wavelet function, establishing a compact coupling between wavelet transformation and network coefficients. Due to its time–frequency analysis and self-learning properties, this study employs the compact coupling WNN for research purposes.
In WNN, during the forward propagation of the entire signal, the error is propagated in the opposite direction. The transfer function of the hidden layer nodes is represented by wavelet basis functions, and the weights and thresholds between the input layer and the hidden layer are replaced by the scale expansion factor and time shift factor of the wavelet basis functions, respectively. The topology structure of WNN is illustrated in Figure 1.
The network consists of an input layer, a hidden layer, and an output layer. The input to the neural network is denoted as sequence X = (x1, x2, …, xm), and the output is denoted as Y = (y1, y2, …, yn), where m and n represent the number of input and output parameters, respectively. ωij and ωjk denote the connection weights between the layers of the neural network. h(x) represents the wavelet basis function, and in this study the Morlet wavelet function is used, which is expressed as:
h ( x ) = c o s ( 1.75 x ) e x 2 2
After the input vector X is processed according to Equation (1), the output values at the hidden layer are obtained as follows:
z j = h [ i = 1 m ω i j x i b j a j ] , j = 1,2 , 3 , , l
where z represents the output values of the hidden layer nodes, a and b are the scale expansion factor and time shift factor of the wavelet basis function, respectively, m is the number of input layer nodes, and l is the number of hidden layer nodes.
The output values from the hidden layer continue to propagate forward through the WNN output layer, resulting in the following output:
y k = j = 1 l ω j k z j , k = 1,2 , 3 , , n
where y k represents the actual output values of the WNN, and n is the number of nodes in the output layer.
The Mean Squared Error (MSE) is used as the loss function for WNN, which is calculated as:
M S E = 1 n k = 1 n ( y k y ^ k ) 2
where MSE represents the loss function, and y ^ k represents the true values.

2.2. Sparrow Search Algorithm

The Sparrow Search Algorithm (SSA) is a swarm intelligence optimization algorithm inspired by the foraging behavior and regurgitation feeding behavior of sparrows. It exhibits strong global optimization capabilities, as well as good parallelism and fast convergence speed.
To obtain food, a population of sparrows is divided into explorers and followers. When there is no external interference, individual sparrows monitor each other, and explorers expand their foraging range to obtain food, while followers compete for food resources from companions with larger food resources to increase their predation rate. Explorers have higher energy reserves compared to followers, and the roles of individuals can be switched to maintain the proportion within the population. In the event of an attack by a predator that threatens the safety of the group, explorers guide followers to safe areas for foraging. Sparrows located at the edges of the population quickly move towards safer areas to obtain better positions, while sparrows in the middle of the population move randomly. Throughout the foraging process, individuals with higher energy reserves are given priority in acquiring food resources.
(1) During each iteration process, the position update for explorers is as follows:
X i , j t + 1 = { X i , j t e x p ( i α i t e r m a x ) , R 2 < S T X i , j t + Q L , o t h e r w i s e
where X i , j represents the position of the i th sparrow in the j th dimension, t represents the iteration count, i t e r m a x is the maximum number of iterations, α ϵ ( 0 ,   1 ) and R 2 ϵ ( 0 ,   1 ) are random numbers, S T is set to 0.8, where R 2 represents a warning signal, S T represents a safety value, Q is a random number following a normal distribution, and L is a d -dimensional row vector of ones.
(2) During each iteration process, the position update for followers is as follows:
X i , j t + 1 = { Q e x p ( X w o r s t t X i , j t i 2 ) , i > n 2 X p t + 1 + X i , j t X p t + 1 A + L , o t h e r w i s e
In Equation (6), X p represents the position of the best explorer, X w o r s t represents the position of the worst individual in the current population, n represents the population size of the sparrows, A represents a d -dimensional row vector with elements randomly set to −1 or 1, and A + = A T ( A A T ) 1 . Additionally, i > n / 2 represents the energy reserve of the i th follower with a relatively low fitness value, indicating the need to search for food in other safe areas.
(3) Assuming that 20% of the sparrow population is aware of predator attacks, the initial positions of these individuals are randomly generated within the population according to the following equation:
X i , j t + 1 = { X b e s t t + β X i , j t X b e s t t , f i > f g X i , j t + K ( X i , j t X w o r s t t f i f w + ε ) , f i = f g
where X b e s t represents the current best position in the population, β is a step size control parameter with a mean of 0 and a variance of 1, representing a d-dimensional random row vector following a normal distribution. K ϵ [ 1 ,   1 ] is a random number, and ε is a constant with a value of 1 0 50 . f i represents the fitness value of the current individual, and f g and f w represent the current best and worst fitness values in the population.

2.3. SSA–WNN Neural Network

Based on the characteristics of WNN error backpropagation, continuously adjusting the weights and thresholds in the neural network can improve the accuracy of the WNN model. Therefore, this study adopts SSA to optimize the parameters of WNN and address the issues of slow convergence speed and susceptibility to local optima. The specific steps of the SSA–WNN neural network computation process are as follows:
(1) Data preprocessing: Normalize the original wind speed data to the range [ 1 ,   1 ] . This normalization confines the preprocessed data within a certain range, avoiding convergence issues caused by outlier data. The normalization is performed using the following equation:
X ¯ i = X i m i n ( x ) m a x ( x ) m i n ( x )
where X ¯ i represents the normalized sample value, X i represents the sample value before normalization, m a x ( x ) represents the maximum value in the sample data, and m i n ( x ) represents the minimum value in the sample data.
(2) Initialize WNN by determining the number of nodes in the input layer, hidden layer, and output layer.
(3) Initialize SSA parameters: Determine the dimension of SSA, maximum iteration count ( i t e r m a x ), population size ( pop ), the proportion of explorers within the population (20%), and the safety value (0.8).
(4) Define the fitness function and calculate the fitness values of individuals. In this case, the Mean Squared Error ( MSE ) is defined as the fitness function, where smaller values indicate lower errors. The function’s minimum point corresponds to the point of minimum error, which determines the position of the current global optimal solution.
(5) SSA Iterative Update. The individuals in good fitness positions are considered explorers, allowing them to have priority access to food and provide foraging directions for followers. The position of explorers is updated using Equation (5), while the positions of followers are updated after foraging using Equation (6). Additionally, the last 20% of the population consists of sparrows that are aware of predator attacks. Their positions are randomly generated, and their updates depend on Equation (7), which considers the current individual’s fitness value and the global best fitness value.
(6) After updating the positions, the fitness values of the individuals are compared with the current best fitness value. If the maximum iteration limit is reached, the algorithm selects the optimal solution; otherwise, the iteration process continues.
(7) The optimal solution obtained through SSA optimization represents the weights, biases, and thresholds of the WNN. The neural network is trained using these values, and the analysis continues until the desired accuracy is achieved. The predicted values are then outputted.
The flowchart of the SSA–WNN algorithm is shown in Figure 2.

3. Study Area and Wind Speed Data

In this study, the Ningbo Zhoushan Port Chuan Shan Port Area is chosen as the research area. This port area is the second-largest single-container port in the world. Since 2017, it has handled over 10 million TEUs (20-feet equivalent units) of containers annually, resulting in approximately 1.2 million tons of CO2 emissions from container handling equipment [30]. The port area plans to install two 6.25 MW wind turbines to provide electricity for the container handling equipment [31].
A laser radar station was established in the field in 2021, with coordinates at 29°53′9.69″ N, 122°1′41.48″ E. The geographical locations of the port area and the wind farm laser radar are shown in Figure 3.
The laser radar measures wind speeds at heights ranging from 30 m to 140 m with a sampling period of 10 min. The hub height of the planned wind turbines in the port area is 125 m. Therefore, this study focuses on analyzing wind speeds at 125 m. The wind speed data for the entire year of 2022 is shown in the following figures.
In Figure 4a, the plot shows the daily wind speed data at a 10-min interval for the entire year of 2022, with a total of 52,560 data points. Figure 4b illustrates the distribution of wind speeds throughout the year. It can be observed that the wind speeds in the Chuan Shan Port Area exhibit strong nonlinearity and fluctuation. The wind speeds are concentrated between 3 m/s and 6 m/s, with an average wind speed of 5.1 m/s. The maximum recorded wind speed is 31.6 m/s, and there are a few outliers with wind speeds exceeding 20 m/s. These outlier data points pose a challenge for direct prediction using the original dataset, as they can significantly affect the accuracy of the predictions. To address this issue, 720 data points from 5 days with unusually high wind speeds caused by factors such as typhoons are excluded to ensure that the dataset maintains consistent importance and distribution.
X = x 1 + x 2 + + x n n
where X is the sample mean and n is the number of samples.
S = i = 1 n ( X i X ) ² n 1
where S is the sample standard deviation and X i is some sample.
The results are presented in Table 1.
Based on the daily wind speed data from January to December 2022, the monthly wind speed distribution at the height of 125 m is shown in the rose diagram in Figure 5.
From the diagram, it can be observed that the wind speeds for most months are mainly distributed between 0 m/s and 10 m/s. Months such as February, March, April, June, September, November, and December exhibit more diverse colors, indicating greater variability in wind speed. On the other hand, months such as January, May, July, August, and October show more concentrated colors, indicating relatively stable wind speeds. Regarding wind direction, March, April, June, July, August, October, and December show more consistent wind directions. Specifically, March, April, June, July, and August exhibit SSE (south-southeast) wind directions, October exhibits N (north), and December exhibits NNW (north-northwest). The rose diagram clearly illustrates the wind speed distribution characteristics for each month, reflecting the seasonal variations in wind speed.
The processed dataset, consisting of 51,840 data points, is divided into a 4320 × 12 matrix as the dataset. The dataset is split into a training set (80%) and a testing set (20%) using an 8:2 ratio. To prevent overfitting during training, a 6-fold cross-validation is performed to determine the network model structure and hyperparameters. The SSA–WNN model has 10 input nodes, eight hidden nodes, and two output nodes. The first 10 columns (January to October) are used as the training set, while the last two columns (November and December) are used as the testing set.

4. Result Analysis

4.1. Prediction Results

The SSA–WNN algorithm is used to predict wind energy in the Chuan Shan Port Area. The results obtained are shown in Figure 6. The plot uses the wind speeds on 1 November and 1 December as coordinates. The red circles represent the actual wind speed values, while the blue circles represent the predicted values. The lines connecting the actual and predicted values represent the errors, with longer lines indicating larger errors. From the figure, it can be seen that the wind speeds on 1 November are concentrated between 7 m/s and 9 m/s, while the wind speeds on 1 December are concentrated between 9 m/s and 10.5 m/s. The prediction errors are generally below 0.5 m/s. Taking the leftmost group of data points in the scatter plot as an example, the red circle and blue circle representing the actual and predicted wind speeds are very close, and the line connecting them is short. The coordinates for the red circle are (2.609, 9.202), and for the blue circle are (2.433, 9.213), indicating that the predicted wind speed values for this group of data points on 1 November and 1 December are 2.433 m/s and 2.609 m/s, respectively. The results show a good agreement between the predicted values and the actual values for this group of data points.
To further analyze the prediction results, three evaluation metrics are used: Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE). The formulas for calculating these metrics are provided in Equations (11)–(13), respectively:
R M S E = 1 n k = 1 n ( y k y ^ k ) 2
M A E = 1 n k = 1 n y k y ^ k
M A P E = 100 % n k = 1 n y k y ^ k y ^ k
where n is the number of samples, y k is the current sample’s predicted value, and y ^ k is the current sample’s actual value. The evaluation metrics are analyzed for the entire testing dataset, with RMSE, MAE, and MAPE values of 0.5236 m/s, 0.2486 m/s, and 3.229%, respectively.

4.2. Comparative Analysis

To validate the superiority of the proposed algorithm, a comparison is made with three other neural network models: SSA–LSTM, SSA–BP, and WNN. For the SSA–LSTM algorithm, the first 41,472 data points are used as the training set, and the remaining 10,368 data points are used as the testing set. The training data sequence length is set to 10, and a one-step ahead prediction is performed. The optimization algorithm used is Adam, and the optimized parameters are the number of LSTM hidden nodes, the number of training iterations, and the learning rate. For the SSA–BP and WNN algorithms, the number of input nodes, hidden nodes, and output nodes is set to 10, 8, and 2, respectively. The first 10 columns (January to October) are used as the training set, while the last two columns (November and December) are used as the testing set. The learning rate and convergence error for SSA–BP are set to 0.05 and 0.1, respectively. The convergence curves for the four models, depicting the root mean square error (RMSE) as a function of the number of iterations, are shown in Figure 7.
From the figure, it can be observed that the SSA–WNN, SSA–LSTM, and SSA–BP algorithms converge quickly, with convergence iterations of 15, 18, and 37, respectively. The WNN model without optimization has the slowest convergence, requiring 62 iterations. Furthermore, at the point of convergence for each algorithm, the RMSE values are in the order of SSA–WNN < SSA–LSTM < SSA–BP < WNN. This indicates that the SSA–WNN algorithm achieves the fastest convergence and the highest prediction accuracy among the four algorithms.
Due to the large number of data points and their concentration in the testing set, it is difficult to observe them clearly. Therefore, in the figure, the wind speeds on 1 November and 1 December from the testing set were selected for comparison. The wind speed predictions obtained using SSA–WNN, SSA–LSTM, SSA–BP, and WNN models were compared with the actual wind speed values, as shown in Figure 8.
The x-axis in the above figures represents time, ranging from 00:00:00 to 23:50:00 with 10-min intervals, while the y-axis represents wind speed values. It can be observed that, for the wind speeds on 1 November and 1 December in the testing set, the model trained using the SSA–WNN algorithm shows closer agreement between the predicted and actual values compared to the models using SSA–LSTM, SSA–BP, and WNN algorithms. This indicates a better prediction performance of the SSA–WNN model, effectively capturing the future variations and accurately understanding the changing patterns of wind speeds in the port area. In Figure 8b it is more evident that the unoptimized WNN model exhibits larger errors between the predicted and actual values, highlighting the significant improvement in prediction accuracy achieved by the SSA optimization algorithm for neural networks.
Statistical information for the November and December data is provided in Table 2 and Table 3 below.
Table 4 provides a comparison of evaluation metrics for the four models using the testing set (November and December wind speeds). The SSA–WNN model achieves the lowest RMSE, MAE, and MAPE values compared to the other models. Particularly, compared to the unoptimized WNN model, the SSA–WNN model shows an improvement of 1.0993 m/s, 0.3962 m/s, and 5.329% in terms of RMSE, MAE, and MAPE respectively. This highlights the significance of SSA optimization for enhancing the performance of the WNN model. In the comparative analysis, the SSA–WNN algorithm outperforms the other algorithms in terms of prediction accuracy and convergence speed, demonstrating its superiority for wind speed prediction in the port area.

4.3. Discussion

Errors have a significant influence on the predicted wind output, which is of great importance to the energy usage schedule in port operation. To figure out the influence of different errors, wind power generation errors resulting from wind speed errors of 0.5 m/s, 1 m/s and 1.5 m/s are calculated respectively, according to the following equations:
P = 1 / 2 A V 3 C p D η
W = P t
where P denotes power in W, A is the swept area, i.e., A = ½π∗R² (π = 3.14159, R is the radius of the wind blade and is taken as 95 m), V is the wind speed, Cp is a kind of wind energy conversion rate value which is 30% here, D is the density of the air (with the increase in elevation and the decrease, the value of D is 1.21 Kg/m³ in the present study), η is the coefficient, and η value is taken as 1. W denotes power generation in W·s, and t denotes time in s.
From Equations (14) and (15), when the wind speed error is 0.5 m/s, 1 m/s, 1.5 m/s, with single wind turbine running for 10 min, the theoretical values of power generation error are 192,977 W·s, 1,543,814 W·s, 5,210,372 W·s, respectively. It can be seen that the difference between the results are significant, due to the cubic relationship between wind speed and wind power. A large error in wind generation prediction can lead to dispatch between wind generation and usage, resulting economic loss.
Besides, the grid connected wind power generation system is applied in the ports with different cargo handling equipment. With different equipment, transient disturbances, harmonic distortion and other problems will occur, thus, accurate prediction of the wind speed can be better combined with the control strategy of the system to reduce the problems that may occur in the system, so as to improve its power quality.
In the present study, to improve the accuracy of wind speed prediction, the SSA–WNN model was employed for port wind forecasting, and RMSE, MAE, and MAPE were adopted as evaluation metrics. In the previous research works of Pan et al., 2022, a prediction model based on spatio–temporal graph transformer network (STGTN) was proposed for short-term wind speed prediction of Danish offshore wind farms [32].The wind speed data contains 14,400 data points from 111 wind turbine nodes. The prediction results of the STGTN model on May 20 have MAE, RMSE, and MAPE of 0.3508 m/s, 0.4486 m/s, and 7.9280%, respectively, which is comparable to the prediction result of the STGTN model in the present study. Comparing with SSA–WNN, RMSE is closer, but the values of MAE and MAPE are larger than SSA–WNN, so the SSA–WNN algorithm performs better. Zhen et al. introduced an ultra-short-term wind speed prediction model based on time scale identification and dynamic adaptive modeling [10]. The RMSE, MAE, and MAPE are 0.8195 m/s, 0.6340 m/s, and 6.32%, respectively, for predicting 15-min wind speeds, which is worse than the SSA–WNN model in the present study. An RWT-ARIMA model was proposed to predict wind speed using data measured at the meteorological station in Malin Head, County Donegal, Republic of Ireland, on a 10-min time scale [17]. The evaluation metrics of MAE, RMSE, and MAPE are 0.2268 m/s, 0.3204 m/s, and 2.94%, respectively, which are smaller than those of the SSA–WNN model. However, the model was applied to a small scale dataset and is hard to be applied in real cases, such as in ports. The proposed method in the present study are suitable for the application in real cases and have a better performance compared with other research studies.

5. Conclusions and Future Work

5.1. Findings

In the present study, to improve the accuracy of wind speed prediction, the SSA–WNN model was employed for port wind forecasting. The characteristics of annual wind speeds in the port area were analyzed, and RMSE, MAE, and MAPE were used as evaluation metrics. A comparison analysis between the proposed method and other traditional methods, such as SSA–LSTM, SSA–BP, and WNN algorithms, was conducted. The results showed that the SSA–WNN algorithm achieved the fastest convergence in the convergence curve, and its RMSE was the lowest. In the wind speed prediction plots for 1 November and 1 December, the SSA–WNN algorithm exhibited predictions that were closer to the actual values compared to the other algorithms. In the evaluation metric table, the SSA–WNN model showed the most ideal performance, particularly when compared to the unoptimized WNN model, with improvements of 1.0993 m/s, 0.3962 m/s, and 5.329% in terms of RMSE, MAE, and MAPE, respectively. This indicates the significant importance of the SSA optimization algorithm for enhancing the performance of the WNN model. Moreover, the SSA–WNN algorithm demonstrated improved prediction accuracy and convergence speed when compared to other algorithms, highlighting its superiority in port wind speed prediction.

5.2. Future Work

There are certain limitations in this study. Firstly, the focus was solely on investigating the impact of the SSA optimization algorithm on neural networks, without comparing it with other optimization algorithms. Additionally, no hybrid models were incorporated in the neural network analysis. Furthermore, the study did not consider unexpected events such as typhoons or other natural disasters in the prediction process, but rather focused on normal wind speed prediction scenarios. Besides, the prediction results solely focused on wind speed and did not include the prediction of other wind energy resources in the port area, such as wind direction and wind power density. Therefore, these limitations are considered to be studied in future works. Besides, the power quality of grid-connected wind power generation system needs to be addressed by combining the system control strategy and wind speed prediction, so as to reduce the harmonic distortion.

Author Contributions

W.X.: Software, Validation, Writing—original draft. Y.K.: Data curation, Resources, Writing—original draft. Z.C.: Visualization, Writing—original draft. Y.G.: Conceptualization, Funding acquisition, Writing—original draft. J.M.G.: Supervision, Writing—review & editing. D.T.: Data curation, Formal Analysis, Resources, Supervision, Writing—review & editing. Y.Y.: Formal Analysis, Writing—original draft. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by National Key Research and Development Program of China under the Grant No. 2021YFB2601605.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data in the article is related to privacy and will not be published for the time being.

Conflicts of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Yin, C.; Ke, Y.; Chen, J.; Liu, M. Interrelations between sea hub ports and inland hinterlands: Perspectives of multi-modal freight transport organization and low carbon emissions. Ocean. Coast. Manag. 2021, 214, 105919. [Google Scholar] [CrossRef]
  2. Tang, D.; Chai, Z.; Zhang, Q.; Yuan, Y.; Xu, W.; Gu, Y. Practice and Perspectives towards Sustainable Carbon Neutral Green Ports. In Proceedings of the 7th International Conference on Transportation Information and Safety (ICTIS 2023), Xi’an, China, 4–6 August 2023. [Google Scholar]
  3. Hoang, A.; Foley, A.; Nižetić, S.; Huang, Z.; Ong, H.; Ölçer, A.; Nguyen, X. Energy-related approach for reduction of CO2 emissions: A critical strategy on the port-to-ship pathway. J. Clean. Prod. 2022, 355, 131772. [Google Scholar] [CrossRef]
  4. Zhou, X.; Huang, Z.; Wang, H.; Yin, G.; Bao, Y.; Dong, Q.; Liu, Y. Site selection for hybrid offshore wind and wave power plants using a four-stage framework: A case study in Hainan, China. Ocean. Coast. Manag. 2022, 218, 106035. [Google Scholar] [CrossRef]
  5. Gutierrez-Romero, J.; Esteve-Pérez, J.; Zamora, B. Implementing Onshore Power Supply from renewable energy sources for requirements of ships at berth. Appl. Energy 2019, 255, 113883. [Google Scholar] [CrossRef]
  6. Mesa-Jiménez, J.; Tzianoumis, A.; Stokes, L.; Yang, Q.; Livina, V. Long-term wind and solar energy generation forecasts, and optimisation of Power Purchase Agreements. Energy Rep. 2023, 9, 292–302. [Google Scholar] [CrossRef]
  7. Wang, W.; Peng, Y.; Li, X.; Qi, Q.; Feng, P.; Zhang, Y. A two-stage framework for the optimal design of a hybrid renewable energy system for port application. Ocean Eng. 2019, 191, 106555. [Google Scholar] [CrossRef]
  8. Azad, H.; Mekhilef, S.; Ganapathy, V. Long-Term Wind Speed Forecasting and General Pattern Recognition Using Neural Networks. IEEE Trans. Sustain. Energy 2014, 5, 546–553. [Google Scholar] [CrossRef]
  9. Tascikaraoglu, A.; Sanandaji, B.; Poolla, K.; Varaiya, P. Exploiting sparsity of interconnections in spatio-temporal wind speed forecasting using Wavelet Transform. Appl. Energy 2015, 165, 735–747. [Google Scholar] [CrossRef]
  10. Zhen, Z.; Qiu, G.; Mei, S.; Wang, F.; Zhang, X.; Yin, R.; Li, Y.; Osório, G.J.; Shafie-khah, M.; Catalão, J.P. An ultra-short-term wind speed forecasting model based on time scale recognition and dynamic adaptive modeling. Int. J. Electr. Power Energy Syst. 2021, 135, 107502. [Google Scholar] [CrossRef]
  11. Wang, L.; He, Y.; Liu, X.; Li, L.; Shao, K. M2TNet: Multi-modal multi-task Transformer network for ultra-short-term wind power multi-step forecasting. Energy Rep. 2022, 8, 7628–7642. [Google Scholar] [CrossRef]
  12. Burlando, M.; Pizzo, M.; Repetto, M.; Solari, G.; Gaetano, P.; Tizzi, M. Short-term wind forecast for the safety management of complex areas during hazardous wind events. J. Wind Eng. Ind. Aerodyn. 2014, 135, 170–181. [Google Scholar] [CrossRef]
  13. Cassola, F.; Burlando, M. Wind speed and wind energy forecast through Kalman filtering of Numerical Weather Prediction model output. Appl. Energy 2012, 99, 154–166. [Google Scholar] [CrossRef]
  14. Aly, H. A Hybrid Optimized Model of Adaptive Neuro-Fuzzy Inference System, Recurrent Kalman Filter and Neuro-Wavelet for Wind Power Forecasting Driven by DFIG. Energy 2022, 239, 122367. [Google Scholar] [CrossRef]
  15. Xu, M.; Wang, H.; Zhao, C.; Yan, H. Research on data preprocessing algorithm for short-term wind power forecasting. Renew. Energy Resour. 2019, 37, 119–125. [Google Scholar] [CrossRef]
  16. Liu, X.; Lin, Z.; Feng, Z. Short-term offshore wind speed forecast by seasonal ARIMA—A comparison against GRU and LSTM. Energy 2021, 227, 120492. [Google Scholar] [CrossRef]
  17. Aasim; Singh, S.; Mohapatra, A. Repeated wavelet transform based ARIMA model for very short-term wind speed forecasting. Renew. Energy 2019, 136, 758–768. [Google Scholar] [CrossRef]
  18. Dhiman, H.; Deb, D.; Guerrero, J. Hybrid machine intelligent SVR variants for wind forecasting and ramp events. Renew. Sustain. Energy Rev. 2019, 108, 369–379. [Google Scholar] [CrossRef]
  19. Wang, A.; Xu, L.; Li, Y.; Xing, J.; Chen, X.; Liu, K.; Liang, Y.; Zhou, Z. Random-forest based adjusting method for wind forecast of WRF model. Comput. Geosci. 2021, 155, 104842. [Google Scholar] [CrossRef]
  20. Joseph, L.; Deo, R.; Prasad, R.; Salcedo-Sanz, S.; Raj, N.; Soar, J. Near real-time wind speed forecast model with bidirectional LSTM networks. Renew. Energy 2022, 204, 39–58. [Google Scholar] [CrossRef]
  21. Nguyen, T.; Phan, Q. Hourly day ahead wind speed forecasting based on a hybrid model of EEMD, CNN-Bi-LSTM embedded with GA optimization. Energy Rep. 2022, 8 (Suppl. 10), 53–60. [Google Scholar] [CrossRef]
  22. Altan, A.; Karasu, S.; Zio, E. A new hybrid model for wind speed forecasting combining long short-term memory neural network, decomposition methods and grey wolf optimizer. Appl. Soft Comput. 2021, 100, 106996. [Google Scholar] [CrossRef]
  23. Chen, G.; Tang, B.; Zeng, X.; Zhou, P.; Kang, P.; Long, H. Short-term wind speed forecasting based on long short-term memory and improved BP neural network. Int. J. Electr. Power Energy Syst. 2022, 134, 107365. [Google Scholar] [CrossRef]
  24. Zhang, Y.; Chen, B.; Pan, G.; Zhao, Y. A novel hybrid model based on VMD-WT and PCA-BP-RBF neural network for short-term wind speed forecasting. Energy Convers. Manag. 2019, 195, 180–197. [Google Scholar] [CrossRef]
  25. Aly, H. An intelligent hybrid model of neuro Wavelet, time series and Recurrent Kalman Filter for wind speed forecasting. Sustain. Energy Technol. Assess. 2020, 41, 100802. [Google Scholar] [CrossRef]
  26. Huseyin, P.; Ugur, Y.; Emrah, D.; Nuh, E. Mutation based improved dragonfly optimization algorithm for a neuro-fuzzy system in short term wind speed forecasting. Knowl.-Based Syst. 2023, 268, 110472. [Google Scholar] [CrossRef]
  27. Chu, Z.; Ji, C.; Lei, H.; Ma, H.; Shahzad, N.; Tian, P. Evolutionary quantile regression gated recurrent unit network based on variational mode decomposition, improved whale optimization algorithm for probabilistic short-term wind speed prediction. Renew. Energy 2022, 197, 668–682. [Google Scholar] [CrossRef]
  28. Zhu, X.; Han, Z. Research on LS-SVM wind speed prediction method based on PSO parameter optimization. Proc. CSEE 2016, 36, 6337–6342+6598. [Google Scholar] [CrossRef]
  29. Xue, J. Research and Application of a Novel Swarm Intelligence Optimization Algorithm; Donghua University: Shanghai, China, 2020. [Google Scholar] [CrossRef]
  30. Zhang, Q.; Li, C.; Yin, C.; Zhang, H.; Su, F. A Hybrid Framework Model Based on Wavelet Neural Network with Improved Fruit Fly Optimization Algorithm for Traffic Flow Prediction. Symmetry 2022, 14, 1333. [Google Scholar] [CrossRef]
  31. Tang, D.; Chen, Z.; Xu, C.; Yuan, Y.; Zhong, X.; Yuan, C. Energy consumption and emissions analysis of large container seaports considering the impact of COVID-19: A case study of Ningbo Zhoushan Port. Ocean Coast. Manag. 2023, 244, 106781. [Google Scholar] [CrossRef]
  32. Pan, X.; Wang, L.; Wang, Z.; Huang, C. Short-term wind speed forecasting based on spatial-temporal graph transformer networks. Energy 2022, 253, 124095. [Google Scholar] [CrossRef]
Figure 1. WNN topology structure.
Figure 1. WNN topology structure.
Jmse 11 01636 g001
Figure 2. Algorithm Flowchart.
Figure 2. Algorithm Flowchart.
Jmse 11 01636 g002
Figure 3. Geographical locations of the port area and wind farm laser radar.
Figure 3. Geographical locations of the port area and wind farm laser radar.
Jmse 11 01636 g003
Figure 4. Wind speeds in Chuan Shan Port Area in 2022. (a) Raw wind speed data for the entire year. (b) Wind speed distribution.
Figure 4. Wind speeds in Chuan Shan Port Area in 2022. (a) Raw wind speed data for the entire year. (b) Wind speed distribution.
Jmse 11 01636 g004
Figure 5. Wind speed distribution rose diagram at 125 m height.
Figure 5. Wind speed distribution rose diagram at 125 m height.
Jmse 11 01636 g005
Figure 6. Wind speed scatter plot.
Figure 6. Wind speed scatter plot.
Jmse 11 01636 g006
Figure 7. Convergence curves of different models.
Figure 7. Convergence curves of different models.
Jmse 11 01636 g007
Figure 8. Comparison of prediction results. (a) Wind speeds on 1 November. (b) Wind speeds on 1 December.
Figure 8. Comparison of prediction results. (a) Wind speeds on 1 November. (b) Wind speeds on 1 December.
Jmse 11 01636 g008
Table 1. Characteristics of input wind data.
Table 1. Characteristics of input wind data.
Mean Value (m/s)Sample Standard Deviation (m/s)Maximum (m/s)Minimum (m/s)
January4.622.5914.240.14
February5.192.5015.310.14
March5.373.2620.740.14
April4.382.3312.900.17
May3.321.7210.780.16
June5.133.4716.560.16
July4.042.4218.200.18
August5.452.7515.110.27
September5.843.9931.600.29
October6.122.7616.070.30
November4.472.3215.470.16
December7.233.5518.440.28
annual5.092.9231.600.14
Table 2. Characteristics of prediction results in November.
Table 2. Characteristics of prediction results in November.
Mean Value (m/s)Sample Standard Deviation (m/s)Maximum (m/s)Minimum (m/s)
Actual value4.472.3215.470.16
SSA–WNN4.482.3514.990.02
SSA–LSTM4.472.3615.690.00
SSA–BP4.462.3915.820.01
WNN4.472.4215.000.00
Table 3. Characteristics of prediction results in December.
Table 3. Characteristics of prediction results in December.
Mean Value (m/s)Sample Standard Deviation (m/s)Maximum (m/s)Minimum (m/s)
Actual value7.233.5518.440.28
SSA–WNN7.243.5618.220.08
SSA–LSTM7.243.5718.920.00
SSA–BP7.253.6018.410.00
WNN7.253.7118.840.00
Table 4. Evaluation Metrics for Comparative Models.
Table 4. Evaluation Metrics for Comparative Models.
Comparative ModelsRMSE/(m·s−1)MAE/(m·s−1)MAPE (%)
SSA–WNN0.52360.24863.229
SSA–LSTM0.83230.38335.133
SSA–BP1.05340.49826.571
WNN1.62290.64488.558
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.

Share and Cite

MDPI and ACS Style

Gu, Y.; Xu, W.; Tang, D.; Yuan, Y.; Chai, Z.; Ke, Y.; Guerrero, J.M. A Combined Wind Forecasting Model Based on SSA and WNN: Application on Real Case of Ningbo Zhoushan Port. J. Mar. Sci. Eng. 2023, 11, 1636. https://doi.org/10.3390/jmse11091636

AMA Style

Gu Y, Xu W, Tang D, Yuan Y, Chai Z, Ke Y, Guerrero JM. A Combined Wind Forecasting Model Based on SSA and WNN: Application on Real Case of Ningbo Zhoushan Port. Journal of Marine Science and Engineering. 2023; 11(9):1636. https://doi.org/10.3390/jmse11091636

Chicago/Turabian Style

Gu, Yong, Wenhao Xu, Daogui Tang, Yuji Yuan, Ziyi Chai, Yao Ke, and Josep M. Guerrero. 2023. "A Combined Wind Forecasting Model Based on SSA and WNN: Application on Real Case of Ningbo Zhoushan Port" Journal of Marine Science and Engineering 11, no. 9: 1636. https://doi.org/10.3390/jmse11091636

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