TL;DR
This paper introduces PWPNet, a novel two-stage deep learning framework for real-time prediction of significant wave height (SWH) distribution within ports. PWPNet effectively combines historical port wave data with external wave and wind field information to achieve superior medium- to long-term prediction accuracy compared to existing methods.
What Problem Does This Paper Address?
Accurate prediction of wave conditions within ports is crucial for maritime safety, port operations, and coastal engineering. Traditional numerical models, while robust, are computationally intensive and struggle to provide the real-time predictions needed for dynamic port management. Existing machine learning approaches often focus on predicting SWH at specific buoy locations, neglecting the spatial distribution across an entire port. This paper addresses the need for a computationally efficient, accurate, and spatially comprehensive method for real-time in-port SWH prediction, particularly for longer forecast horizons.
Methods
PWPNet is a cascaded deep learning framework consisting of two main components:
- PWP-out: This module predicts future port-entrance wave parameters (SWH, peak period, mean direction, and directional spectrum width). It employs a novel three-branch architecture:
- LSTM Branch: Captures temporal dependencies in historical port-entrance wave data.
- WWFE (Wave and Wind field Feature Extraction) Branch: Utilizes a residual network with spatial and channel attention to extract spatiotemporal features from outside-port 2D wave and wind field data.
-
Multi-scale Time Encoding Branch: Encodes temporal information (month, hour) to capture periodic characteristics of waves and wind. The outputs of these branches are concatenated and fed into stacked fully connected layers for prediction.
-
PWP-in: This module estimates the in-port SWH distribution. It takes the predicted port-entrance wave parameters from PWP-out as input and uses a customized Artificial Neural Network (ANN). The ANN is trained to learn the complex, non-linear relationship between port-entrance conditions and the resulting SWH distribution within the port, outputting a spatial image of the SWH.
Datasets
- Outside-port 2D wave and wind field dataset: This dataset, used for training and testing PWP-out, was derived from the ERA5 hourly reanalysis dataset (2010-2020) provided by the European Centre for Medium-Range Weather Forecasts (ECMWF). It includes data with a resolution of 0.5°×0.5° and a 1-hour time interval.
- In-port SWH dataset: This dataset, used for training and testing PWP-in, was generated using the SWASH (Simulating WAves till Shore) numerical model. The SWASH model was calibrated against buoy-observed SWH data (ADCP1 and ADCP2) from Hambantota Port. Port-entrance wave parameters from the ERA5 dataset were used as inputs to SWASH to simulate in-port SWH distributions. A total of 384 samples were generated.
Key Insights and Ideas
- Leveraging External Data: The paper highlights the critical importance of incorporating external wave and wind field data (beyond just historical port data) for accurate medium- to long-term wave predictions. The WWFE module's ability to extract spatiotemporal features from this external data is a key innovation.
- Multi-Branch Architecture for PWP-out: The three-branch design of PWP-out effectively addresses different aspects of wave prediction: temporal dynamics (LSTM), spatial influences (WWFE), and cyclical patterns (time encoding). This modular approach allows for a more comprehensive understanding of the factors influencing port-entrance waves.
- Cascaded Prediction for Spatial Distribution: The two-stage approach (predicting port-entrance parameters first, then in-port distribution) is a pragmatic way to tackle the complexity of in-port wave dynamics. It breaks down a challenging problem into more manageable sub-problems.
- Importance of Time Encoding: The multi-scale time encoding proves effective in capturing the periodic nature of wave and wind phenomena, which is crucial for longer-term predictions influenced by seasonal and daily weather patterns.
Key Results
- PWP-out Performance: PWP-out significantly outperforms mainstream machine learning models (LSTM, GRU, BPNN, SVR, ELM, RF) in medium-term (25-48 h), med-long-term (49-72 h), and long-term (73-96 h) predictions of port-entrance wave parameters. While it is slightly less accurate in short-term predictions (1-24 h), its advantage grows with the forecast horizon.
- PWPNet Performance: The complete PWPNet framework demonstrates superior performance compared to other two-stage cascaded models (e.g., LSTM+PWP-in, GRU+PWP-in) for medium- to long-term predictions of in-port SWH distribution, achieving better SSIM and PSNR scores.
- Real-time Capability: PWPNet achieves real-time SWH prediction in a port with an average time cost of 0.0369 seconds per prediction, making it suitable for operational use.
Limitations and Future Work
- Short-term Prediction Accuracy: While PWP-out excels in longer-term predictions, its accuracy in short-term forecasting is slightly inferior to models that solely use historical port data. The authors suggest integrating Empirical Mode Decomposition (EMD) as a preprocessing step to improve short-term results.
- PWP-in Improvement: The PWP-in module, while achieving good SSIM and PSNR, could be further improved. The authors propose exploring Generative Adversarial Networks (GANs) for enhanced in-port SWH estimation.
- Data Dependency: PWPNet relies on external wave and wind field data. For real-time prediction, it can be combined with numerical models providing historical data. Future work includes integrating forecasted outside-port wind field data from atmospheric models (like ECMWF) to further enhance predictions.
- Error Accumulation: The two-stage nature of PWPNet can lead to error accumulation. The authors suggest using observed SWH data from buoys (like ADCP1) as an additional input to mitigate this.
- Data Availability: The ERA5 dataset, while comprehensive, has a daily update latency of about 5 days, meaning it cannot be directly used for real-time prediction of PWP-out. It is primarily used for training and testing.
Summary updated