A wave shallowing offline rapid calculation method and system
By combining artificial neural networks and wave numerical models, we construct a wave database for near-island reef waters and train a mesh wave shallowing sub-model, which solves the problem of difficulty in rapid response in near-island reef wave forecasting in the existing technology, and achieves high-precision, low-cost Wave forecast of resource demand, suitable for network-free environments.
Patent Information
- Application Number
- CN202411079073.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-07
AI Technical Summary
Existing near-shore wave prediction methods based on complex numerical models are difficult to respond quickly in sea areas where data transmission is difficult, and cannot effectively reflect the characteristics of waves near islands and reefs. This results in a low level of forecast refinement and lacks the ability to quickly calculate the shallowing of near-island reefs in an offline state. Post wave approach.
The method of combining artificial neural networks and wave numerical models is used to construct a wave database for near-island and reef waters, train a mesh wave shallowing sub-model, build a wave shallowing offline quick calculation module, and use Euclidean distance and Kriging interpolation method to calculate waves at target points. elements to achieve rapid wave forecasting in a non-network environment.
It improves the accuracy and timeliness of wave forecasting in areas near islands and reefs, makes up for the lack of wave forecasting in describing waves near islands and reefs, has significant advantages in environments with limited wireless signal transmission, lowers user thresholds, and requires low computing resources. .
Smart Images

Figure CN118627394B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an artificial neural network and a wave numerical model, and in particular to a wave shallowing offline rapid calculation business method and system combining the artificial neural network and the numerical model. Background Art
[0002] Waves near islands and reefs are affected by shallow water deformation and are complex. At the same time, waves are of great significance to the construction and protection of islands and reefs. When waves propagate from the open sea to the nearshore, their spectral morphology and propagation characteristics will change significantly, which will have a direct impact on the safety and efficiency of the anchoring operations of nearshore ships and boats. At present, the nearshore wave prediction method based on complex numerical models is highly dependent on high-speed networks and powerful computing power, and its computational efficiency becomes a limiting factor. Especially when real-time response is required or there are extremely high requirements for the immediacy of the prediction results, especially in sea areas far away from the mainland and difficult to transmit data, such numerical models are often difficult to respond quickly, and therefore do not have the feasibility of practical application. The existing wave forecast has a low degree of refinement and can reflect the conditions of offshore waves, but cannot reflect the characteristics of near island and reef waves. If only wave numerical models are used for forecasting, such numerical models are difficult to respond quickly in sea areas where data transmission is difficult, and are not applicable and difficult to transmit data. Therefore, there is a lack of a method for using offshore wave elements in an offline state to quickly calculate the waves after shallowing of near islands and reefs.
[0003] In view of this, this invention is proposed. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a method and system for wave shallowing offline rapid calculation business. The method combines artificial neural network and wave numerical model for shallowing offline rapid calculation of near-island reef waves, and realizes the construction of wave database, shallowing offline rapid calculation, and business application of near-island reef waves.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A method for offline rapid calculation of wave shoaling, which combines an artificial neural network and a wave numerical model to realize offline rapid calculation of the wave shoaling process from offshore to nearshore, comprises the following steps:
[0007] S1: Construct a wave database for the target near-island and reef waters based on observation data and shallow water wave models;
[0008] S2: construct and train the mesh wave shallowing sub-model;
[0009] S3: Build a wave shallowing offline fast calculation module, and construct a wave shallowing offline fast calculation method based on the mesh wave shallowing sub-model obtained in S2.
[0010] Preferably, step S1 comprises the following steps:
[0011] S11: Build a numerical model of shallow water waves in the target area near islands and reefs;
[0012] S12: Use the numerical model built in S11 to conduct long-term simulation of waves in the target near-island and reef waters;
[0013] S13: Process and integrate the wave element field output by the numerical model with the local meteorological element field to form a database of meteorological elements and wave elements in the target near-island and reef waters; wherein the wave elements include: effective wave height, wave direction, wave period, and the meteorological elements include: wind speed and wind direction.
[0014] Preferably, the step S11 includes: selecting a shallow water wave numerical model, establishing a numerical grid around the islands and reefs, and improving the grid resolution in the waters near the islands and reefs.
[0015] Preferably, step S12 includes: using public meteorological and wave global reanalysis data to produce an initial field file and a boundary file of the target sea area numerical model.
[0016] Preferably, step S2 comprises the following steps:
[0017] S21: Based on the characteristics of the coastline and peripheral water depth of the islands and reefs, several isobaths surrounding the nearby islands and reefs are selected based on isobaths. On each isobath, several points of the same distance are selected as mesh nodes and numbered;
[0018] S22: constructing a long-short memory recurrent artificial neural network model, using the wave element and meteorological element time series of a mesh node in the outer circle as the input data of the artificial neural network, and the wave element time series of all mesh nodes on a single inner circle as the output data;
[0019] S23: training sub-models, using the artificial neural network model built in S22 to train sub-models, and the final number of sub-models is equal to the number of outer circle mesh nodes multiplied by the number of inner circle circles.
[0020] Preferably, step S3 comprises the following steps:
[0021] S31: Using the Euclidean distance calculation method, find the outer circle mesh node closest to the observation point and the four inner circle mesh nodes closest to the target point;
[0022] S32: according to the node number information obtained in S31, calling the corresponding sub-model to calculate the wave elements of the four inner circle nodes;
[0023] S33: The wave elements of the four inner circle nodes calculated in S31 are used to obtain the wave elements of the target point using the Kriging interpolation method according to the longitude and latitude information of the target point and the four nodes.
[0024] The present invention also provides a wave shallowing offline rapid calculation system, which utilizes the wave shallowing offline rapid calculation method to perform wave shallowing offline rapid calculation.
[0025] Preferably, the system includes a business application module, which provides an interactive interface for users to input parameters to perform wave shallowing offline rapid calculation and result display.
[0026] Preferably, the business application module includes:
[0027] S41: user input module, including obtaining the longitude and latitude of the observation point, wave elements, meteorological element information and the longitude and latitude information of the target point;
[0028] S42: fast calculation module, including the following steps:
[0029] S31: Using the Euclidean distance calculation method, find the outer circle mesh node closest to the observation point and the four inner circle mesh nodes closest to the target point;
[0030] S32: according to the node number information obtained in S31, calling the corresponding sub-model to calculate the wave elements of the four inner circle nodes;
[0031] S33: using the wave elements of the four inner circle nodes calculated in S31, according to the longitude and latitude information of the target point and the four nodes, to obtain the wave elements of the target point by using the Kriging interpolation method;
[0032] S43: result output module, i.e. displaying the wave shallowing offline rapid calculation result on the UI interface, marking the observation point and the target point on the map and displaying them on the UI interface, and recording and displaying the historical rapid calculation information;
[0033] S44: User operation module, including calculation, software initialization, parameter reset, image reset, history record clearing, and warning information functions.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] 1. The present invention uses an artificial neural network to train a wave shallowing sub-model to store the shallowing law of waves near islands and reefs. At the same time, the wave shallowing offline rapid calculation module can quickly call multiple sub-models to calculate the wave element information around the target point in a network-free environment. According to the actual meteorological and hydrological conditions of the established points in the open sea, the wave characteristic parameters of multiple target points can be instantly reversed, which can effectively improve the accuracy and timeliness of wave forecasts near islands and reefs. The wave element information of the target point is obtained by interpolation, which makes up for the insufficient description of waves near islands and reefs in wave forecasts. At the same time, the present invention is an offline rapid calculation method, which has significant advantages when wireless signal transmission is impossible or signal transmission is restricted.
[0036] 2. The method of the present invention realizes the offline rapid calculation of wave shallowing. It has a UI window, which reduces the threshold for users to use and is simple to operate. Users only need to input the longitude and latitude of the observation point, wave elements, meteorological element information and the longitude and latitude of the target point, and click a button to quickly obtain the shallow wave elements. It also has a user input detection and warning function to ensure the correctness of the input information, as well as the observation position and target position display and historical record display functions. At the same time, the software generated by this method is much smaller than the numerical wave model, has low requirements for computer performance, and the calculation time is also much shorter than the numerical wave model, which has significant advantages in resource-constrained environments (such as offshore islands and reefs). BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a flow chart of the present invention;
[0038] Figure 2 This is a numerical grid schematic diagram of Example 1, where the island is Lingshan Island;
[0039] Figure 3 This is a schematic diagram of the division and numbering of mesh nodes in the target sea area of Example 1, where the island is Lingshan Island;
[0040] Figure 4 Schematic diagram of the wave shallowing rapid calculation method of Example 1, in which the island is Lingshan Island;
[0041] Figure 5 This is a comparison chart of the wave calculation results for points A and B of sub-model MODEL_4_5 of Example 1;
[0042] Figure 6 This is a comparison chart of the wave calculation results for points C and D of sub-model MODEL_4_4 of Example 1;
[0043] Figure 7 This is a comparison chart of the wave calculation results of the target point Q obtained by the offline shallow calculation in Example 1;
[0044] Figure 8 A schematic diagram of a business application user UI interface established by the method of Example 2;
[0045] Fig. 9 This is a schematic diagram of the business-oriented multiple application results established by the method of Example 2. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0047] Embodiment 1: A method for offline rapid calculation of wave shallowing, which combines artificial neural network and wave numerical model to realize offline rapid calculation of wave shallowing process from offshore to nearshore, comprising the following steps: S1: constructing a wave database for target near-island reef waters based on observation data and shallow water wave model; S2: constructing and training a mesh wave shallowing sub-model; S3: building a wave shallowing offline rapid calculation module, and constructing a wave shallowing offline rapid calculation method according to the mesh wave shallowing sub-model obtained in S2; S4: configuring a business application module, the business application module provides an interactive interface for users to input parameters for wave shallowing rapid calculation and result display, and its establishment process is as follows Figure 1 shown.
[0048] In this embodiment, in S1, a wave database for the target near-island and reef waters is constructed based on a shallow water wave model. It should be noted that the wave numerical model selection, numerical grid, model parameters, etc. vary depending on the user's computing needs and are not within the scope of protection of the present invention. The numerical grids and model parameters of different examples need to be set by the user. Specifically, S1 may include the following steps: S11: Build a numerical model of shallow water waves in the target near-island and reef waters; S12: Use the numerical model built by S11 to perform long-term simulation of waves in the target near-island and reef waters; S13: Process and integrate the wave element field output by the numerical model with the local meteorological element field to form a database of meteorological elements and wave elements in the target near-island and reef waters; wherein, the wave elements include: effective wave height, wave direction, wave period, and the meteorological elements include: wind speed and wind direction.
[0049] In the S11, a suitable shallow water wave numerical model is selected, a numerical grid is established around the islands and reefs, and the grid resolution is improved in the waters near the islands and reefs; the shallow water wave numerical model selected in this embodiment is SWAN (Simulating Wave Nearshore), and Lingshan Island in Shandong Province and its surrounding waters are used as an example for demonstration, as shown in FIG. Figure 2 As shown in Figure 1, the outer grid resolution is 0.5 km × 0.5 km, and the grid resolution in the near-island and reef waters is 0.15 km × 0.15 km. Other suitable shallow water wave numerical models can also be selected in practical applications.
[0050] In the S12, a long-term simulation is performed on the waves in the target sea area, so as to obtain the wave conditions of the target sea area near the islands and reefs under as many sea conditions as possible. To achieve this purpose, the initial field file and boundary file of the numerical model of the target sea area can be prepared using the public meteorological and wave global reanalysis data. In this embodiment, the initial field file and boundary file of the SWAN model are prepared using the ERA5 global reanalysis data, and the wave simulation of the target sea area is carried out for up to 5 years.
[0051] In S13, the wave elements output by the numerical model are processed and integrated to form a wave database for the target near-island reef sea area. The wave elements selected in this embodiment include: effective wave height, wave direction, wave period, and the meteorological elements selected include: wind speed and wind direction, which are integrated to form a database. In practical applications, wave elements and meteorological elements can also select other elements for integration.
[0052] In this embodiment, in S2, constructing and training the mesh wave shallowing sub-model includes the following steps: S21: According to the characteristics of the coastline and peripheral water depth of Lingshan Island, based on the isobaths, several isobaths surrounding the nearby islands and reefs are selected at equal intervals. On each isobath, in combination with the numerical grid, several points are selected at almost equal distances as mesh nodes and numbered, such as Figure 3 As shown; in this embodiment, 5 isobaths are selected, and 5 nodes (i.e., the intersection of the red dotted line and the yellow or green solid line) are selected at approximately equal distances on each isobath; S22: constructing a long short-term memory recurrent artificial neural network model, using a mesh node wave element and a meteorological element time series in the outer circle as the artificial neural network input data, and all the mesh node wave element time series on a single inner circle as the output data; the artificial neural network model selected in this embodiment is a long short-term memory network (LSTM, Long Short-Term Memory), specifically using the LSTM model in MATLAB, setting the LSTM hidden layer to 16 layers, using a mesh node wave element and a meteorological element in the outer circle (i.e., the deepest isobath) as the artificial neural network input data, and all the mesh node wave elements on a single inner circle (excluding the outer circle) as the output data, for example Figure 3 In the process, the effective wave height, wave direction, period, wind direction and wind speed at the triangle points are used as LSTM input data, and the effective wave heights at the five pentagonal points are used as LSTM output data. The model trained in this way is a sub-model; in practical applications, other artificial neural network models can also be selected as needed; S23, train the sub-model and store it for standby use, and use the artificial neural network model built in S22 to train the sub-model. The final number of sub-models is equal to the number of mesh nodes in the outer circle multiplied by the number of inner circles. In this embodiment, each circle has 5 nodes and the number of inner circles is 4, so the final number of sub-models is 20. The sub-models are numbered, such as MODEL2_2, the first number represents the number of points in the outer circle, and the second number represents the number of inner circles. The sub-model is stored as a file of a suitable format. In this embodiment, the LSTM training model in MATLAB is used, so the sub-model is stored as a MATLAB data format file named by the number. After training, the prediction effect of some sub-models is as follows Figure 5 and 6 As shown, Figure 5The comparison chart of the wave calculation results of sub-model MODEL_4_5 for points A and B is shown; that is, using the wave element of the 4th point in the outer circle to predict the effective wave height of the five points on the inner circle numbered 5, it can be seen that the prediction effect of the model is good; Figure 6 The comparison chart of wave calculation results of points C and D by sub-model MODEL_4_4 is shown;
[0053] In the present embodiment, in said S3, the construction of the wave shallow offline quick calculation module includes the following steps: S31: using the Euclidean distance calculation method, finding the outer circle mesh node closest to the observation point and the four inner circle mesh nodes closest to the target point; S32: according to the node number information obtained in S31, calling the corresponding sub-model to calculate the wave elements of the four inner circle nodes; S33: using the Kriging interpolation method to obtain the wave elements of the target point based on the longitude and latitude information of the target point and the four nodes, the wave elements of the four inner circle nodes calculated in S31 are obtained. In this embodiment, the Kriging interpolation method is used to obtain the wave elements of the target point through four nodes, such as Figure 4 As shown in the figure, P is the observation point and Q is the target point. At this time, the wave elements at the four positions A, B, C, and D can be interpolated by Kriging to obtain the Q position data. Specifically, the outer circle point closest to P is 4, the circle number of A and B is 5, and the circle number of C and D is 4. Therefore, the model numbers called are MODEL_4_5 and MODEL_4_4. By calling these two models, the wave elements at the four positions A, B, C, and D can be calculated respectively, that is, calling model MODEL_4_4, using the effective wave height, wave direction, period, wind speed, and wind direction of the triangle point position as input data, the wave elements at the two nodes A and B can be obtained. The estimated data of these two nodes are compared with the actual data. Figure 5 As shown in the figure, the overall RMSE of the estimated significant wave height at point A is 0.12m, and the RMSE is 0.17m when the sea condition is above level 3. The overall RMSE of the estimated significant wave height at point B is 0.1m, and the RMSE is 0.15m when the sea condition is above level 3. Similarly, calling model MODEL_4_5 can obtain the wave elements at nodes C and D. The estimated data of these two nodes are compared with the actual data. Figure 6 As shown in the figure, the overall RMSE of the estimated effective wave height at point C is 0.15m, and the RMSE is 0.21m when the sea condition is above level 3. The overall RMSE of the estimated effective wave height at point D is 0.1m, and the RMSE is 0.13m when the sea condition is above level 3. Both sub-models shown show good estimation performance. Then, the wave elements at the target point Q are obtained by Kriging interpolation of the data prediction data at the four locations A, B, C, and D. The estimated wave element data at Q is compared with the actual data. Figure 7As shown in the figure, the overall RMSE of the target point Q is 0.1m, and the RMSE is 0.14m when the sea condition is above level 3. Therefore, the wave elements calculated by this offline fast calculation method have high accuracy and good calculation performance. In practical applications, other methods such as linear interpolation can also be used to obtain the wave elements of the target point.
[0054] Example 2: Figure 8 , Fig. 9 As shown, this embodiment provides a wave shallowing offline rapid calculation system, which uses the method of embodiment 1 to perform wave shallowing offline rapid calculation.
[0055] In this embodiment, the system includes a business application module, which provides an interactive interface for users to input parameters to perform wave shallowing offline rapid calculation and result display.
[0056] The service application modules of this embodiment include:
[0057] S41: user input module, including obtaining the longitude and latitude of the observation point, wave elements, meteorological element information and the longitude and latitude information of the target point;
[0058] S42: fast calculation module, including the following steps:
[0059] S31: Using the Euclidean distance calculation method, find the outer circle mesh node closest to the observation point and the four inner circle mesh nodes closest to the target point;
[0060] S32: according to the node number information obtained in S31, calling the corresponding sub-model to calculate the wave elements of the four inner circle nodes;
[0061] S33: using the wave elements of the four inner circle nodes calculated in S31, according to the longitude and latitude information of the target point and the four nodes, to obtain the wave elements of the target point by using the Kriging interpolation method;
[0062] S43: result output module, i.e. displaying the wave shallowing offline rapid calculation result on the UI interface, marking the observation point and the target point on the map and displaying them on the UI interface, and recording and displaying the historical rapid calculation information;
[0063] S44: User operation module, including calculation, software initialization, parameter reset, image reset, history record clearing, and warning information functions.
[0064] In this embodiment, the user operation module is to build a UI interface that is convenient for user operation, and the interface includes the following interactive functions:
[0065] Software initialization: Reset the software and clear all user input data, images, warning messages and history.
[0066] Parameter reset: clear all parameters input by the user for the observation point and target point and the wave elements of the target point output by the software.
[0067] User input parameter verification and warning function: If the user enters an incorrect parameter or it is not within a reasonable range but clicks Calculate, an error parameter prompt will be given.
[0068] Image display and reset: Display the observation point and target point positions input by the user on the map; reset the map and clear the point indication.
[0069] Calculation: Based on the parameters correctly input by the user, the wave height, wave direction and period of the target point are calculated.
[0070] History display and clearing function: Display the user's calculation history and clear the historical calculation records.
[0071] The UI interface of this embodiment is as follows Figure 8 As shown, the UI interface is written in MATLAB language. It should be noted that the specific functions, layout and other requirements of the UI interface need to be determined according to user needs. This embodiment only provides a feasible solution and is not required.
[0072] like Fig. 9 As shown, multiple calculation results of business applications realized by the method of this embodiment are displayed. The wave shallowing offline rapid calculation software established by this method has the characteristics of small size, low performance requirements, simple operation, fast calculation speed, and strong environmental adaptability. Especially in an environment where wireless communication is not possible, the wave elements after shallowing can be quickly inferred through the wave elements of the observation points, and it is fully capable of business applications on remote islands and reefs.
[0073] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A wave shallowing offline rapid calculation method, characterized in that: The method combines artificial neural network and wave numerical model to realize offline rapid calculation of wave shoaling process from offshore to nearshore, including the following steps: S1: Construct a wave database for the target near-island and reef waters based on observation data and shallow water wave models; S2: construct and train the mesh wave shallowing sub-model; S3: Building a wave shallowing offline fast calculation module, and constructing a wave shallowing offline fast calculation method based on the mesh wave shallowing sub-model obtained in S2; The step S2 comprises the following steps: S21: Based on the characteristics of the coastline and peripheral water depth of the islands and reefs, several isobaths surrounding the nearby islands and reefs are selected based on isobaths. On each isobath, several points of the same distance are selected as mesh nodes and numbered; S22: constructing a long-short memory recurrent artificial neural network model, using the wave element and meteorological element time series of a mesh node in the outer circle as the input data of the artificial neural network, and the wave element time series of all mesh nodes on a single inner circle as the output data; S23: training the sub-models, using the artificial neural network model built in S22 to train the sub-models, and the final number of sub-models is equal to the number of mesh nodes in the outer circle multiplied by the number of circles in the inner circle; The step S3 comprises the following steps: S31: Using the Euclidean distance calculation method, find the outer circle mesh node closest to the observation point and the four inner circle mesh nodes closest to the target point; S32: according to the node number information obtained in S31, calling the corresponding sub-model to calculate the wave elements of the four inner circle nodes; S33: The wave elements of the four inner circle nodes calculated in S31 are used to obtain the wave elements of the target point using the Kriging interpolation method according to the longitude and latitude information of the target point and the four nodes.
2. The off-line rapid calculation method for wave shallowing according to claim 1 is characterized in that: The step S1 comprises the following steps: S11: Build a numerical model of shallow water waves in the target area near islands and reefs; S12: Use the numerical model built in S11 to conduct long-term simulation of waves in the target near-island and reef waters; S13: Process and integrate the wave element field output by the numerical model with the local meteorological element field to form a database of meteorological elements and wave elements in the target near-island and reef waters; wherein the wave elements include: effective wave height, wave direction, wave period, and the meteorological elements include: wind speed and wind direction.
3. The off-line rapid calculation method for wave shallowing according to claim 2 is characterized in that: The step S11 includes: selecting a shallow water wave numerical model, establishing a numerical grid around the islands and reefs, and improving the grid resolution in the waters near the islands and reefs.
4. The off-line rapid calculation method for wave shallowing according to claim 2 is characterized in that: The step S12 includes: using public meteorological and wave global reanalysis data to produce an initial field file and a boundary file of a numerical model of the target sea area.
5. A wave shallowing offline rapid calculation system, characterized in that: The system uses the method described in any one of claims 1 to 4 to perform offline rapid calculation of wave shallowing.
6. The wave shallowing offline rapid calculation system according to claim 5 is characterized in that: The system includes a business application module, which provides an interactive interface for users to input parameters for wave shallowing offline rapid calculation and result display.
7. The wave shallowing offline rapid calculation system according to claim 6 is characterized in that: Business application modules include: S41: user input module, including obtaining the longitude and latitude of the observation point, wave elements, meteorological element information and the longitude and latitude information of the target point; S42: fast calculation module, including the following steps: S31: Using the Euclidean distance calculation method, find the outer circle mesh node closest to the observation point and the four inner circle mesh nodes closest to the target point; S32: according to the node number information obtained in S31, calling the corresponding sub-model to calculate the wave elements of the four inner circle nodes; S33: using the wave elements of the four inner circle nodes calculated in S31, according to the longitude and latitude information of the target point and the four nodes, to obtain the wave elements of the target point by using the Kriging interpolation method; S43: result output module, i.e. displaying the wave shallowing offline rapid calculation result on the UI interface, marking the observation point and the target point on the map and displaying them on the UI interface, and recording and displaying the historical rapid calculation information; S44: User operation module, including calculation, software initialization, parameter reset, image reset, history record clearing, and warning information functions.
Citation Information
Patent Citations
Path planning method and system for wave glider
CN111290435A
Marine environment and ship movement monitoring and forecasting system and monitoring and forecasting method
CN111336996A
Method and system for path planning of wave glider
US20210286361A1
