A rip current early warning method based on ocean numerical model and GAM
By combining the ocean numerical model and the GAM model, the environmental factor thresholds for rip currents are determined, which solves the problems of single and insufficient advance warning methods in the existing technology, realizes efficient and low-cost rip current forecasting and early warning, and improves improve the safety of coastal areas.
Patent Information
- Application Number
- CN202411017056.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-29
Smart Images

Figure CN118551697B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of rip current monitoring, and specifically relates to a method based on an ocean numerical model and GAM ( Generalized Additive Model ) rip current warning method. Background Art
[0002] Rip currents, also known as offshore currents, are fast offshore currents that occur in coastal areas and can extend from near to farther away from the wave zone. Rip currents are the result of the coupling of nearshore waves, waves, and topography. They are an important part of nearshore circulation and not only play an important role in the transport and diffusion of sediments and pollutants, but also have important impacts on the biological level. Importantly, rip currents may drag swimmers into deeper or more dangerous waters, seriously endangering public safety.
[0003] In recent years, with the development of computer technology and the progress of coastal resource survey methods, marine numerical models and field observations have become efficient means of rift current research: marine numerical models are based on fluid mechanics. After calculating the hydrodynamic field of the monitoring area with low-cost numerical calculations, environmental conditions can be further controlled, calculations can be repeated, and the rift current generation mechanism under different scenarios can be analyzed. However, numerical models have certain limitations in terms of accuracy; field observations, as an early research method for rift currents, have been fully developed in observation methods and technologies. They can directly measure and capture the actual situation of rift currents with high accuracy, providing reliable data support for rift current research, but the high cost of field observations and limited coverage of time and space are also defects that cannot be ignored. Therefore, the combination of numerical simulation and field observation can make up for each other's disadvantages. Field observations provide verification data for numerical simulations and improve the credibility of numerical simulations; numerical simulations supplement data for field observations, and a priori numerical models can calculate a large amount of multidimensional hydrodynamic field data.
[0004] Based on a large amount of rift flow data with guaranteed accuracy calculated by a priori numerical models, the generalized additive model GAM can be used to study rift flow and extract the threshold of environmental factors that cause rift flow. The GAM model can be modeled through non-parametric smooth functions, and smooth functions are not limited to linear, quadratic and other forms. The GAM model can adapt to complex nonlinear relationships and make predictions, and has advantages in prediction. In addition, the GAM model is data-driven, rather than assuming parameters that have a specific relationship between the data (there is no need to know the relationship between the dependent variable and the independent variable in advance, and use nonlinear smooth terms to fit the model). The model has high flexibility in the analysis process and can well express the importance of each explanatory variable. The GAM model can quantitatively express the contribution of environmental factors that affect the generation of rift flow while considering the interaction of environmental factors.
[0005] Based on the vigorous development of coastal tourism, the existing intelligent rip current warning system has a numerical model calculation method, which extracts rip currents after calculating the flow field. However, the calculation of the numerical model requires a certain amount of computing power, which results in certain limitations in the advance nature of the warning. Another method is based on video surveillance equipment at the seaside site, which can use neural network algorithms to interpret and identify rip currents. This method will only generate a warning when a rip current occurs, and requires real-time image transmission and computer identification. It has limitations in terms of warning and computing power. Summary of the invention
[0006] In view of the above-mentioned deficiencies in the prior art, the rip current warning method based on ocean numerical model and GAM provided by the present invention solves the problem that the existing warning methods are relatively single and limited in advance.
[0007] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: a rip current early warning method based on ocean numerical model and GAM, comprising the following steps:
[0008] S1. Collect rip current related data within the rip current monitoring area, sort and pre-process them, and obtain basic data for constructing an ocean numerical model;
[0009] S2. Setting the configuration file of the ocean numerical model according to the basic data, executing the configuration file to realize the model calculation, and performing calibration verification, and outputting the hydrodynamic field of the monitoring area through the ocean numerical model after verification;
[0010] S3, extracting rip current data in the hydrodynamic field, and combining it with the corresponding sea-air data, establishing a GAM model, and using it to determine the environmental factor threshold when rip currents occur;
[0011] S4. Compare the determined environmental factor thresholds with the forecast data of the open offshore environmental factors to achieve rip current warning.
[0012] Furthermore, the rip current number related data in step S1 includes measured topographic data, ocean current data, wave data, meteorological data and tidal data;
[0013] The pre-processing comprises:
[0014] Correct the measured topographic data to the mean sea level as the reference surface, and then perform interpolation processing;
[0015] For ocean current data, the offshore and onshore components of the velocity are extracted based on the angle of the coastline of the monitoring area;
[0016] The wave data obtained from field measurements were used to calculate the significant wave height and average period using the zero crossing method;
[0017] Correct the downloaded wave data and meteorological data to the time zone of the monitoring area, and prepare corresponding files in the format of boundary conditions of temporal and spatial variations in the ocean numerical model;
[0018] The tidal data are corrected to the time zone of the monitoring area as the offshore boundary conditions, and a boundary condition drive file is created.
[0019] Furthermore, in step S2, the configuration file of the ocean numerical model includes:
[0020] The Delft3D numerical model is used to model the ocean numerical model, and the pre-processed measured terrain data, wave data, and tide data are set as the boundary drivers of the ocean numerical model modeling, and the boundary conditions are added in a time and space variation manner;
[0021] In the ocean numerical model, the Delft3D-Flow and Delft3D-Wave modules are set to perform real-time wave-current coupling by constructing intermediate communication files and transmitting interactions in real time;
[0022] Setting the ocean numerical model to use a multi-layer nested grid;
[0023] Setting the bottom friction coefficient of the ocean numerical model to adopt zone assignment;
[0024] Set the calculation step size and calculation start mode of the ocean numerical model.
[0025] Furthermore, the step S2 is specifically as follows:
[0026] S21, use the Delft3D numerical model execution configuration file to perform numerical model calculations and output result files;
[0027] S22, using Matlab to read and output the result file, unifying the format of the result file and the basic data obtained by preprocessing, comparing them, and then calibrating the input parameters of the numerical model;
[0028] S23, the numerical model after calibrating the input parameters executes the configuration file to run the calculation, and uses R 2 Indicators for model validation;
[0029] S24. The verified ocean numerical model outputs the hydrodynamic field of the monitoring area with high temporal and spatial resolution.
[0030] Furthermore, the step S3 is specifically as follows:
[0031] S31. Based on the numerical simulation results of the hydrodynamic field, rip flow data were extracted using Matlab;
[0032] S32, according to the extracted rip current data, the sea and air data of the open sea when the rip current occurs is used as the environmental factor affecting the occurrence of the rip current, and the environmental factor is matched with the corresponding rip current velocity one by one to prepare the input file required by the GAM model;
[0033] S33, import the input file into the GAM model of R language software, use the variance inflation factor VIF to test the collinearity problem of environmental factors, and eliminate environmental factors whose collinearity exceeds the requirement;
[0034] S34, building a GAM model with the tested environmental factors and the rip flow velocity one by one, testing the significance of the impact of a single environmental factor on the rip flow, and then determining the environmental impact factor;
[0035] S35. Analyze the interaction between environmental influencing factors and determine the threshold of environmental factors that cause rip currents.
[0036] Furthermore, in step S34, when the P value representing the significance of the explanatory variable is less than a preset threshold, it is judged that the corresponding environmental factor has a significant effect on the rift flow, and the P value is inversely proportional to the significance of the effect of the environmental factor on the rift flow.
[0037] Furthermore, the step S35 is specifically as follows:
[0038] The interaction between the two environmental factors was used as the independent variable to build the GAM model with the rip current velocity, and the F statistic and the deviation explanation rate DE value after the interaction modeling were checked, and then the interaction items with high contribution to the rip current velocity were extracted.
[0039] Based on the extracted high-contribution interaction items, the critical values of various environmental impact factors when the set flow velocity threshold is reached when extracting rip flow data are analyzed and used as the environmental factor threshold when rip flow occurs.
[0040] The environmental factor threshold is a unique value or a unique value range.
[0041] Furthermore, in step S4, when all environmental impact factors in the forecast data reach corresponding environmental factor thresholds, the time of occurrence of rip flow, rip flow velocity and duration are counted to issue a rip flow warning.
[0042] The beneficial effects of the present invention are:
[0043] (1) The method of the present invention combines the ocean numerical model with the GAM model, directly compares the public sea-air data set with the nearshore rip current generation threshold, and completes the efficient and rapid rip current forecast and warning work.
[0044] (2) The present invention is based on the ocean numerical model - GAM model method, which directly establishes a relationship between the public forecast data of the open sea and the occurrence of rip currents in the monitoring area, and establishes a rapid prediction and early warning system for rip currents. This method is low-cost, does not require real-time transmission of large amounts of image data, saves computing power, and can issue early warnings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 Flow chart of the rip current warning method based on ocean numerical model and GAM provided by the present invention.
[0046] Figure 2 The preferred Taylor diagram is configured for the ocean numerical model provided by the present invention.
[0047] Figure 3 This is a verification analysis diagram of the ocean numerical model provided by the present invention and the water level measured data.
[0048] Figure 4 This is a verification analysis diagram of the ocean numerical model provided by the present invention and the effective water height measured data.
[0049] Figure 5 This is a diagram of the ocean numerical model calculation of rip currents and drone image verification provided by the present invention.
[0050] Figure 6 The single factor modeling rip flow and environmental factor response curve provided by the present invention.
[0051] Figure 7 A heat map of the interaction modeling effects of environmental factors provided by the present invention.
[0052] Figure 8 This is a diagram showing the effect of the interaction of environmental factors on rip current velocity provided by the present invention. DETAILED DESCRIPTION
[0053] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0054] The embodiment of the present invention provides a rip current early warning method based on an ocean numerical model and GAM, such as Figure 1 As shown, the following steps are included:
[0055] S1. Collect rip current related data within the rip current monitoring area, sort and pre-process them, and obtain basic data for constructing an ocean numerical model;
[0056] S2. Setting the configuration file of the ocean numerical model according to the basic data, executing the configuration file to realize the model calculation, and performing calibration verification, and outputting the hydrodynamic field of the monitoring area through the ocean numerical model after verification;
[0057] S3, extracting rip current data in the hydrodynamic field, and combining it with the corresponding sea-air data, establishing a GAM model, and using it to determine the environmental factor threshold when rip currents occur;
[0058] S4. Compare the determined environmental factor thresholds with the forecast data of the open offshore environmental factors to achieve rip current warning.
[0059] In step S1 of the embodiment of the present invention, the scope of the rip current monitoring area is determined based on the actual distribution of docks and bathing beaches and visual identification methods; in order to realize the modeling of numerical models and the prediction and early warning of rip currents, the rip current number related data collected in this embodiment include measured terrain data, ocean current data, wave data, meteorological data and tidal data.
[0060] Specifically, in this embodiment, taking the data of Xiangshui Bay in Hainan Province, China as an example, the measured terrain data includes measurement data obtained by drone radar point cloud photography and RTK (Real-time kinematic) direct measurement; the ocean current data includes wave tide meters, current meters, and altimeters in the nearshore wavebreak zone, and the instruments are deployed in rift channels and sandbars; the measured wave data includes mean wave direction (Direction), mean wave period (Period), and significant wave height (SWH), and the data format of the wave data corresponding to the time of field observation is .nc format; the wind field data (wind speed, wind direction) of the monitoring area is downloaded according to the corresponding time to collect meteorological data; the eight main offshore harmonic constants (M2, S2, N2, K2, K1, O1, P1, Q1) of TPXO7.2 are downloaded as tidal data.
[0061] In step S1 of the embodiment of the present invention, the preprocessing includes:
[0062] Correct the measured topographic data to the mean sea level as the reference surface, and then perform interpolation processing;
[0063] For ocean current data, the offshore and onshore components of the velocity are extracted based on the angle of the coastline of the monitoring area;
[0064] The wave data obtained from field measurements were used to calculate the significant wave height and average period using the zero crossing method;
[0065] Correct the downloaded wave data and meteorological data to the time zone of the monitoring area, and prepare corresponding files in the format of boundary conditions of temporal and spatial variations in the ocean numerical model;
[0066] The tidal data are corrected to the time zone of the monitoring area as the offshore boundary conditions, and a boundary condition drive file is created.
[0067] In step S2 of the embodiment of the present invention, the configuration file of the ocean numerical model includes:
[0068] The Delft3D numerical model is used to model the ocean numerical model. The pre-processed measured terrain data, wave data and tide data are set as the boundary drivers of the ocean numerical model modeling. The boundary conditions are added in a time and space variation manner to ensure the accuracy of the calculation.
[0069] In the ocean numerical model, the Delft3D-Flow and Delft3D-Wave modules are set to perform real-time wave-current coupling by constructing intermediate communication files and transmitting interactions in real time;
[0070] Setting the ocean numerical model to use a multi-layer nested grid;
[0071] Setting the bottom friction coefficient of the ocean numerical model to adopt zone assignment;
[0072] The calculation step size and calculation start mode of the ocean numerical model are set; wherein the calculation step size is set to 0.1s, and the cold start calculation mode is adopted.
[0073] In this embodiment, the ocean numerical model considers the interaction of wave-current coupling: both the influence of waves on current and the influence of current on waves are considered. Current affects waves in the form of water refraction and enhanced bottom friction, and waves affect convection by forcing and enhancing turbulence and shear stress of the riverbed.
[0074] In this embodiment, multi-layer nested grids are used to improve the accuracy and quality of nearshore calculations. The grid resolution is gradually improved from offshore to nearshore, and the nearshore grid resolution reaches 3m×3m.
[0075] Step S2 of the embodiment of the present invention is specifically as follows:
[0076] S21, use the Delft3D numerical model execution configuration file to perform numerical model calculations and output result files;
[0077] S22, using Matlab to read and output the result file, unifying the format of the result file and the basic data obtained by preprocessing, comparing them, and then calibrating the input parameters of the numerical model;
[0078] S23, the numerical model after calibrating the input parameters executes the configuration file to run the calculation, and uses R 2 Indicators for model validation;
[0079] S24. The verified ocean numerical model outputs the hydrodynamic field of the monitoring area with high temporal and spatial resolution.
[0080] Specifically, in step S22 of this embodiment, the model input parameters are calibrated by adjusting the bottom bed friction coefficient by partition, correcting the time zone, switching the dry and wet grid judgment of the numerical model, whether to use wave-current coupling, etc. The calibration in this embodiment is completed by comparing the measured values with the calculated values of the numerical model, and then gradually adjusting the parameters set by the numerical model, and then using the Taylor diagram to intuitively display the comparison results (the comparison results are shown in FIG. Figure 2 ).
[0081] In step S23 of this embodiment, R 2 The indicators are used to evaluate the calculated data of the numerical model, and the comparison results are as follows: Figure 3 and Figure 4 As shown, Figure 3 To verify and analyze the water level measured data, Figure 4 For the verification analysis of the measured time of effective wave height, the X-axis represents the measured data and the Y-axis represents the calculated data of the ocean numerical model. Finally, a reliable calculation result is obtained that can accurately reflect the hydrodynamic conditions in the monitoring area.
[0082] In step S24 of this embodiment, the verified numerical model calculation results are output to obtain the hydrodynamic field of the monitoring area with high temporal and spatial resolution. Figure 5 , the image of the rip flow observed on site is superimposed with the flow field calculated by the model at the same time, which is used to visually display the rip flow situation in the monitoring area later.
[0083] Step S3 of the embodiment of the present invention is specifically:
[0084] S31. Based on the numerical simulation results of the hydrodynamic field, rip flow data were extracted using Matlab;
[0085] S32, according to the extracted rip current data, the sea and air data of the open sea when the rip current occurs is used as the environmental factor affecting the occurrence of the rip current, and the environmental factor is matched with the corresponding rip current velocity one by one to prepare the input file required by the GAM model;
[0086] S33, import the input file into the GAM model of R language software, use the variance inflation factor VIF to test the collinearity problem of environmental factors, and eliminate environmental factors whose collinearity exceeds the requirement;
[0087] S34, building a GAM model with the tested environmental factors and the rip flow velocity one by one, testing the significance of the impact of a single environmental factor on the rip flow, and then determining the environmental impact factor;
[0088] S35. Analyze the interaction between environmental influencing factors and determine the threshold of environmental factors that cause rip currents.
[0089] In step S31 of this embodiment, the method of extracting rip flow data using Matlab is:
[0090] According to the direction of the coastline, the offshore direction range of the flow field is set. According to the coastline direction of Xiangshui Bay, the direction of the rip current is set to 81-171°. On this basis, the offshore flow velocity of the rip current is set to be no less than 0.12m / s (different rip current velocity thresholds can be preset according to early warning requirements). The continuous area of the grid (Area) where the flow vector meets the standard should not be less than 50m 2 The Matlab program will determine the rip current and extract the time, duration and area of the rip current. At the same time, the sea and air data of the open sea when the rip current occurs are also extracted, including the tidal data of the open sea, effective wave height, average wave period, average wave direction, wind speed, wind direction, etc.
[0091] In step S32 of the present embodiment, the sea and air parameters (tide level, significant wave height, average wave period, average wave direction, wind speed, and wind direction) of the open sea when rip currents occur are defined as environmental factors that affect the occurrence of rip currents. The environmental factors are matched one-to-one with the rip current velocities at that time to create an input file required by the GAM model (both the environmental factors and the rip current velocities are averaged).
[0092] In step S33 of this embodiment, the input file is imported into the GAM model of the R language software. After the duplicate data are removed, the variance inflation factor (VIF) is used to check the collinearity problem between the environmental variables. When VIF>10, it means that the collinearity between the environmental factors is too large and needs to be removed.
[0093] In step S34 of this embodiment, when the P value representing the significance of the explanatory variable is less than a preset threshold, the corresponding environmental factor has a significant effect on the rift flow, and the P value is inversely proportional to the significance of the effect of the environmental factor on the rift flow.
[0094] Specifically, in this embodiment, when P<0.01, it is determined whether a single environmental factor has a significant effect on the change of rip current velocity; illustratively, water level, significant wave height, average wave direction, average wave period, wind speed, and wind direction all pass the significance test of P<0.01, and these factors are selected as environmental factors for modeling of the GAM model, and the response relationship with the change of rip current velocity is as follows: Figure 6As shown in the figure (the gray shadows in the figure are the upper and lower limits of the confidence interval, the solid line is the fitting curve of the smooth function, the X-axis represents the value of the environmental factor, the Y-axis represents the smooth function, and the numbers in brackets represent the degrees of freedom), Figure 6 In the figure, the Chinese characters and figure numbers of each English word or abbreviation correspond to each other as follows: (a) Area; (b) Significant wave height (SWH); (c) Significant wave height (SWH); (d) Mean wave period (Period); (e) Wind direction (WD); (f) Water level (WL); It is proved here that the response relationships between these environmental influencing factors and rift currents are all nonlinear, which proves the necessity of using subsequent environmental factor interaction modeling.
[0095] Step S35 of this embodiment is specifically as follows:
[0096] The interaction between the two environmental factors was used as the independent variable to build the GAM model with the rip current velocity, and the F statistic and the deviation explanation rate DE value after the interaction modeling were checked, and then the interaction items with high contribution to the rip current velocity were extracted.
[0097] Based on the extracted high-contribution interaction items, the critical values of various environmental impact factors when the set flow velocity threshold is reached when extracting rip flow data are analyzed and used as the environmental factor threshold when rip flow occurs.
[0098] The environmental factor threshold is a unique value or a unique value range.
[0099] Among them, the larger the F-statistic value, the more important the environmental factor is. DE represents the model's explanation rate for the change of environmental factor variables. The closer the value is to 1, the better the model effect is.
[0100] Specifically, the P values after the above modeling in this embodiment are all less than 0.01, which have a significant impact on rip flow. The F statistic and DE value after the interactive modeling are checked. Figure 7 As shown in , the three-dimensional effect extraction of the interaction terms with high contribution to the rip flow velocity is performed, as shown in Figure 8 shown in Figure 8 In the figure, (a) represents the interaction term between the average wave period and the average wave direction, which has a high contribution to the rip current velocity; (b) represents the interaction term between the water level and the average waveform, which has a high contribution to the rip current velocity; (c) represents the interaction term between the water level and the effective wave height, which has a high contribution to the rip current velocity; (d) represents the interaction term between the water level and the wind direction, which has a high contribution to the rip current velocity.
[0101] Based on this, the environmental factor thresholds when rip current occurs are shown in Table 1.
[0102] Table 1: Rip current impact thresholds
[0103]
[0104] In step S4 of the embodiment of the present invention, when all environmental impact factors in the forecast data reach the corresponding environmental factor thresholds, the time of occurrence of rip flow, rip flow velocity and duration are counted to issue a rip flow warning.
[0105] Specifically, according to the a priori numerical model data described above, it is only necessary to calculate the numerical model once in advance, and compare the threshold of the environmental factor affecting the rip flow velocity determined by the GAM model with the forecast data of the environmental factor of the offshore public data. When all the environmental factors of the rip flow are within the corresponding threshold range, it can be determined that a rip flow will occur.
[0106] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0107] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A rip current early warning method based on ocean numerical model and GAM, characterized in that: The following steps are involved: S1. Collect rip current related data within the rip current monitoring area, sort and pre-process them, and obtain basic data for constructing an ocean numerical model; S2. Setting the configuration file of the ocean numerical model according to the basic data, executing the configuration file to realize the model calculation, and performing calibration verification, and outputting the hydrodynamic field of the monitoring area through the ocean numerical model after verification; S3, extracting rip current data in the hydrodynamic field, and combining it with the corresponding sea-air data, establishing a GAM model, and using it to determine the environmental factor threshold when rip currents occur; S4. Compare the determined environmental factor threshold with the forecast data of the open offshore environmental factors, and then realize the rip current warning; The step S3 is specifically as follows: S31. Based on the numerical simulation results of the hydrodynamic field, rip flow data were extracted using Matlab; S32, according to the extracted rip current data, the sea and air data of the open sea when the rip current occurs is used as the environmental factor affecting the occurrence of the rip current, and the environmental factor is matched with the corresponding rip current velocity one by one to prepare the input file required by the GAM model; S33, import the input file into the GAM model of R language software, use the variance inflation factor VIF to test the collinearity problem of environmental factors, and eliminate environmental factors whose collinearity exceeds the requirement; S34, building a GAM model with the tested environmental factors and the rip flow velocity one by one, testing the significance of the impact of a single environmental factor on the rip flow, and then determining the environmental impact factor; S35. Analyze the interaction between environmental influencing factors and determine the threshold of environmental factors that cause rip currents.
2. The rip current early warning method based on ocean numerical model and GAM according to claim 1 is characterized in that: The rip current number related data in step S1 include measured topographic data, ocean current data, wave data, meteorological data and tidal data; The pre-processing comprises: Correct the measured topographic data to the mean sea level as the reference surface, and then perform interpolation processing; For ocean current data, the offshore and onshore components of the velocity are extracted based on the angle of the coastline of the monitoring area; The wave data obtained from field measurements were used to calculate the significant wave height and average period using the zero crossing method; Correct the downloaded wave data and meteorological data to the time zone of the monitoring area, and prepare corresponding files in the format of boundary conditions of temporal and spatial variations in the ocean numerical model; The tidal data are corrected to the time zone of the monitoring area as the offshore boundary conditions, and a boundary condition drive file is created.
3. The rip current early warning method based on ocean numerical model and GAM according to claim 2 is characterized in that: In step S2, the configuration file of the ocean numerical model includes: The Delft3D numerical model is used to model the ocean numerical model, and the pre-processed measured terrain data, wave data, and tide data are set as the boundary drivers of the ocean numerical model modeling, and the boundary conditions are added in a time and space changing manner; In the ocean numerical model, the Delft3D-Flow and Delft3D-Wave modules are set to perform real-time wave-current coupling by constructing intermediate communication files and transmitting interactions in real time; Setting the ocean numerical model to use a multi-layer nested grid; Setting the bottom friction coefficient of the ocean numerical model to adopt zone assignment; Set the calculation step size and calculation start mode of the ocean numerical model.
4. The rip current early warning method based on ocean numerical model and GAM according to claim 3 is characterized in that: The step S2 is specifically as follows: S21, use the Delft3D numerical model execution configuration file to perform numerical model calculations and output result files; S22, using Matlab to read and output the result file, unifying the format of the result file and the basic data obtained by preprocessing, comparing them, and then calibrating the input parameters of the numerical model; S23, the numerical model after calibrating the input parameters executes the configuration file to run the calculation, and uses R 2 Indicators for model validation; S24. The verified ocean numerical model outputs the hydrodynamic field of the monitoring area with high temporal and spatial resolution.
5. The rip current early warning method based on ocean numerical model and GAM according to claim 1 is characterized in that: In step S34, when the P value representing the significance of the explanatory variable is less than a preset threshold, it is judged that the corresponding environmental factor has a significant effect on the rift flow, and the P value is inversely proportional to the significance of the effect of the environmental factor on the rift flow.
6. The rip current early warning method based on ocean numerical model and GAM according to claim 1, characterized in that: The step S35 is specifically as follows: The interaction between the two environmental factors was used as the independent variable to build the GAM model with the rip current velocity, and the F statistic and the deviation explanation rate DE value after the interaction modeling were checked, and then the interaction items with high contribution to the rip current velocity were extracted. Based on the extracted high-contribution interaction items, the critical values of various environmental impact factors when the set flow velocity threshold is reached when extracting rip flow data are analyzed and used as the environmental factor threshold when rip flow occurs. The environmental factor threshold is a unique value or a unique value range.
7. The rip current early warning method based on ocean numerical model and GAM according to claim 1, characterized in that: In step S4, when all environmental impact factors in the forecast data reach the corresponding environmental factor thresholds, the time of occurrence of rip current, rip current velocity and duration are counted to issue a rip current warning.
Citation Information
Patent Citations
Split flow risk evaluation method and early warning system
CN114863262A
Method for generating rip current warning
US20150046136A1
