A multi-parameter wave spectrum fitting method
By introducing a multi-parameter ocean wave spectrum fitting method and a heterogeneous comprehensive learning particle swarm optimizer to optimize shape parameters, the shortcomings of existing ocean wave spectrum fitting methods in multi-source data processing are solved, and the applicability and accuracy of the ocean wave spectrum model are improved. accuracy, meeting the needs of modern marine engineering.
Patent Information
- Application Number
- CN202410978385.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Existing wave spectrum fitting methods have poor parameter versatility, weak data fusion capabilities, insufficient real-time performance, and difficulty in balancing accuracy and complexity when processing multi-source and multi-parameter wave data. In addition, traditional methods rely on empirical formulas and lack understanding of wave formation. Deep understanding of complex processes.
A multi-parameter wave spectrum fitting method is adopted, the shape parameters Ai, Bi, Ci, Di are introduced, these parameters are optimized through the heterogeneous comprehensive learning particle swarm optimizer (HCLPSO), a bimodal or multimodal spectrum model is constructed, and the wave wave is constructed using buoy data Measured data sets, optimize model parameters to improve fitting accuracy.
It improves the applicable scope and accuracy of the wave spectrum model, enables accurate prediction with less training data, meets the needs of modern ocean engineering and scientific research, reduces the amount of calculation and improves the fitting effect.
Smart Images

Figure CN118536406B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of ocean wave numerical simulation and identification, and specifically discloses a multi-parameter ocean wave spectrum fitting method. Background Art
[0002] As the largest ecosystem on earth, the ocean's wave state plays a vital role in many fields such as marine engineering, navigation safety, marine resource development, and climate research. Accurately simulating and predicting the characteristics of waves is a key issue in marine science research and engineering practice. In the existing technology, the wave spectrum is an important tool for describing the energy distribution of waves. It can reflect multi-dimensional information such as the frequency, direction, and energy of waves. Traditional wave spectrum fitting methods, such as PM (Pierson-Moskowitz) spectrum and JONSWAP (Joint North Sea Wave Project) spectrum, can provide relatively accurate descriptions of wave characteristics under certain circumstances, but they often rely on empirical formulas, lack an in-depth understanding of the complex process of wave formation, and have limited adaptability in the changing marine environment.
[0003] With the development of ocean observation technology, the means of obtaining wave data are becoming more and more diverse, including buoys, satellite remote sensing, radar observation, etc. These observation methods can provide richer and more detailed wave data, making it possible to accurately fit the wave spectrum. However, when dealing with multi-source and multi-parameter wave data, the existing wave spectrum fitting methods often have problems such as poor parameter universality, weak data fusion capability, insufficient real-time performance, and difficulty in balancing accuracy and complexity, which is not conducive to engineering applications.
[0004] In view of the above problems, the present invention proposes a multi-parameter wave spectrum fitting method, which aims to construct a wave spectrum model containing more shape parameters, and the adopted shape parameters can be directly optimized and obtained through the heterogeneous comprehensive learning particle swarm optimizer (HCLPSO). The multi-parameter wave spectrum fitting method proposed in the present invention optimizes the model parameters with its efficient global search capability and fast convergence characteristics, and obtains more accurate prediction results when there are fewer training samples. The multi-parameter wave spectrum fitting method proposed in the present invention not only improves the scope of application and accuracy of the wave spectrum model to meet the needs of modern marine engineering and scientific research. Summary of the invention
[0005] In order to solve the problems that the existing wave spectrum model is not sufficiently applicable and the amount of calculation for selecting parameters through exhaustive iteration increases as the number of parameters in the wave spectrum model increases, the present invention proposes a multi-parameter wave spectrum fitting method.
[0006] The present invention provides a multi-parameter wave spectrum fitting method, comprising the following steps:
[0007] S1. Use buoys to obtain measured wave data and construct a measured wave data set;
[0008] S2. Constructing a multi-parameter wave spectrum model suitable for superposition of multiple wave spectrum shapes, wherein the multi-parameter wave spectrum model introduces a shape parameter A i , B i , C i , D i ;
[0009] The multi-parameter wave spectrum model is a model constructed based on a bimodal spectrum or a multimodal spectrum. The multi-parameter wave spectrum model is shown in formula (1):
[0010] (1)
[0011] Among them, the subscript Used to identify wind and wave information, subscript Used to identify surge information. is the wave spectral density function value, is the effective wave height, is the effective wave period, is the frequency, is the wave spectral density function of wind waves, is the wave spectral density function of the swell, the shape parameter A i , B i , C i , D i is a dimensionless parameter affected only by the wave spectrum shape, and the shape parameter A i ≥0, B i ≥0, C i ≥0, D i ≥0, A1, B1, C1, D1 are The shape parameters when C i The corresponding effective wave period is C i The corresponding frequency, n represents the number of superimposed wave spectra. When n=2, formula (1) is a double-peak spectrum. When the actual measured wave spectrum has more than 2 peaks, n>2;
[0012] S3. Construct a shape parameter optimization model with dimension M based on the Heterogeneous Comprehensive Learning Particle Swarm Optimizer (HCLPSO);
[0013] The shape parameter optimization model is shown in formula (2):
[0014] (2)
[0015] in, is the measured data in the wave measured data set, is the wave spectral density function value, and the optimization goal is to minimize the error E;
[0016] S4. Based on the measured wave data set constructed in step S1, the shape parameter optimization model in step S3 is used to calculate the shape parameter A required for the multi-parameter wave spectrum model in step S2. i , B i , C i , D i ;
[0017] S5. The shape parameter A calculated in step S4 i , B i , C i , D i The multi-parameter ocean wave spectrum model in step S2 is input, and the ocean wave spectrum fitting result is output after iterative updating.
[0018] According to some embodiments of the present application, a multi-parameter wave spectrum fitting method is characterized in that the dimension M in step S3 is 4n, and the feasible solution of the shape parameter optimization model is set to the vector shown in formula (3):
[0019] (3)
[0020] in, For vector The elements, , T represents matrix transpose, for The lower bound of the value, for The upper bound of the value, then the lower bound of the feasible solution value can be expressed as formula (4):
[0021] (4)
[0022] The upper bound of the feasible solution can be expressed as formula (5):
[0023] (5).
[0024] According to some embodiments of the present application, a multi-parameter wave spectrum fitting method is characterized in that the initial population of the shape parameter optimization model in step S3 is as shown in formula (6):
[0025] (6)
[0026] in, represents the initial population, represents the Kronecker product, represents the Hammond product, is an M×N matrix whose elements are all 1, is an M×N random matrix, and The elements in it are uniformly distributed between 0 and 1;
[0027] Then, The population of the iteration step is the M×N matrix shown in formula (7):
[0028] (7)
[0029] in, is the matrix Middle Column vector, matrix consisting of column elements Indicates The population of the iteration step.
[0030] According to some embodiments of the present application, a multi-parameter wave spectrum fitting method is characterized in that in each iteration step of the shape parameter optimization model in step S3, the population is updated as shown in formula (8):
[0031] (8)
[0032] in, By The population matrix of the iteration step Middle A column vector of column elements, Indicates The speed of each particle, that is, the step size of particle search.
[0033] A multi-parameter wave spectrum fitting method according to some embodiments of the present application is characterized in that, in the shape parameter optimization model in step S3, the population is divided into an exploration population and a development population, wherein the exploration population dimension is N1, and the development population dimension is N2.
[0034] According to some embodiments of the present application, a multi-parameter wave spectrum fitting method is characterized in that the exploration population is updated at a speed according to formula (9):
[0035] (9)
[0036] in, , , is the maximum number of iterations, is a A vector whose elements are uniformly distributed between 0 and 1. is a pre-designed random parameter;
[0037] The development population is updated at a speed according to formula (10):
[0038] (10)
[0039] in, , , and Yes 2 A vector whose elements are uniformly distributed between 0 and 1. , Calculated by the shape parameter optimization model described in formula (2);
[0040] When the maximum number of iterations is reached When , the output parameter optimization results ;
[0041] The parameter optimization result is input into the multi-parameter wave spectrum model of step S2, and the fitting result is output.
[0042] According to a multi-parameter wave spectrum fitting method in some embodiments of the present application, it is characterized in that the lower bound is .
[0043] According to some embodiments of the present application, a multi-parameter wave spectrum fitting method is characterized in that the wave measured data in step S1 is data obtained by buoy measurement, including: The wave spectral density and the effective wave height are composed of the wave spectral density value. , effective wave period .
[0044] The multi-parameter wave spectrum fitting method proposed in this invention constructs a multi-parameter wave spectrum model that can describe single-peak and multi-peak structures. This model introduces more shape parameters to improve the fitting effect of measured wave spectra of various shapes by freeing the limitation of the number of parameters of the traditional wave spectrum model. and effective period Two wave information statistical parameters, and the other parameters are dimensionless shape parameters, which can be directly optimized by using the existing mature optimization algorithm combined with the least squares error idea. The multi-parameter wave spectrum fitting method proposed in the present invention can achieve a very accurate fitting of the measured wave spectrum, and can make a more accurate prediction of the wave spectrum in a larger range based on less training data. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flow chart of the multi-parameter wave spectrum fitting method of the present invention;
[0046] Figure 2 This is a diagram showing the fitting results of 61 groups of measured wave spectra at location 1 in Example 6 of the present invention;
[0047] Figure 3 This is an example diagram of the fitting results of 61 groups of measured wave spectra at location No. 1 in Example 6 of the present invention;
[0048] Figure 4 This is a prediction result diagram of 200 sets of measured data at location 1 in Example 6 of the present invention;
[0049] Figure 5 This is an example of the spectrum shape with poor prediction effect for the first 80 groups at location 1 in Example 6 of the present invention;
[0050] Figure 6 This is an example of the spectrum shape with better prediction effect for the last 120 groups at location 1 in Example 6 of the present invention;
[0051] Figure 7 This is a diagram of the prediction results for 196 groups of measured data at location 2 in Example 6 of the present invention. DETAILED DESCRIPTION
[0052] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0053] Example 1
[0054] This embodiment provides a multi-parameter wave spectrum fitting method, such as Figure 1 As shown, the following steps are included:
[0055] S1. Use buoys to obtain measured wave data and construct a measured wave dataset.
[0056] S2. Constructing a multi-parameter wave spectrum model suitable for superposition of multiple wave spectrum shapes, wherein the multi-parameter wave spectrum model introduces a shape parameter A i , B i , C i , D i ;
[0057] S3. Construct a shape parameter optimization model with dimension M based on the Heterogeneous Comprehensive Learning Particle Swarm Optimizer (HCLPSO);
[0058] S4. Based on the measured wave data set constructed in step S1, the shape parameter optimization model in step S3 is used to calculate the shape parameter A required for the multi-parameter wave spectrum model in step S2. i , B i , C i , D i ;
[0059] S5. The shape parameter A calculated in step S4 i , B i , C i , D i The multi-parameter ocean wave spectrum model in step S2 is input, and the ocean wave spectrum fitting result is output after iterative updating.
[0060] Example 2
[0061] This embodiment provides a multi-parameter wave spectrum fitting method, comprising the following steps:
[0062] S1. Use buoys to obtain measured wave data and construct a measured wave data set;
[0063] S2. Based on the double-peak spectrum or multi-peak spectrum form, a multi-parameter wave spectrum model suitable for the superposition of multiple wave spectra is constructed as shown in formula (1), wherein the multi-parameter wave spectrum model introduces the shape parameter A i , B i , C i , D i ;
[0064] (1)
[0065] Among them, the subscript Used to identify wind and wave information, subscript Used to identify surge information. is the wave spectral density function value, is the effective wave height, is the effective wave period, is the frequency, is the wave spectral density function of wind waves, A is the shape parameter of the wave spectral density function of the swell, i , B i , Ci , D i is a dimensionless parameter affected only by the wave spectrum shape, and the shape parameter A i ≥0, B i ≥0, C i ≥0, D i ≥0, A1, B1, C1, D1 are The shape parameters when C i The corresponding effective wave period is C i The corresponding frequency, n represents the number of superimposed wave spectra. When n=2, formula (1) is a double-peak spectrum. When the actual measured wave spectrum has more than 2 peaks, n>2.
[0066] S3. A shape parameter optimization model with dimension M is constructed based on HCLPSO as shown in formula (2);
[0067] (2)
[0068] in, is the measured data in the wave measured data set, is the wave spectral density function value, and the optimization goal is to minimize the error E.
[0069] S4. Based on the measured wave data set constructed in step S1, the shape parameter optimization model in step S3 is used to calculate the shape parameter A required for the multi-parameter wave spectrum model in step S2. i , B i , C i , D i .
[0070] S5. The shape parameter A calculated in step S4 i , B i , C i , D i The multi-parameter ocean wave spectrum model in step S2 is input, and the ocean wave spectrum fitting result is output after iterative updating.
[0071] Example 3
[0072] This embodiment provides a multi-parameter wave spectrum fitting method, comprising the following steps:
[0073] S1. Use buoys to obtain measured wave data and construct a measured wave dataset.
[0074] S2. Constructing a multi-parameter wave spectrum model suitable for superposition of multiple wave spectra based on a bimodal spectrum or a multi-modal spectrum, wherein the multi-parameter wave spectrum model introduces a shape parameter A i , Bi , C i , D i . And the shape parameter A i , B i , C i , D i It is a dimensionless parameter that is only affected by the wave spectrum shape.
[0075] S3. Construct a shape parameter optimization model with dimension M based on HCLPSO;
[0076] Wherein, the dimension M=4n, and the feasible solution of the shape parameter optimization model is set to the vector shown in formula (3):
[0077] (3)
[0078] in, For vector The elements, , for The lower bound of the value, for The upper bound of the value, then the lower bound of the feasible solution value can be expressed as formula (4):
[0079] (4)
[0080] The optimal lower bound is ;
[0081] The upper bound of the feasible solution can be expressed as formula (5):
[0082] (5).
[0083] The initial population of the shape parameter optimization model is as follows:
[0084] (6)
[0085] in, represents the Kronecker product, represents the Hammond product, is an M×N matrix whose elements are all 1, is an M×N random matrix, whose elements are uniformly distributed between 0 and 1;
[0086] Then, The population of the iteration step is the M×N matrix shown in formula (7):
[0087] (7)
[0088] in, is the matrix Middle Column vector, matrix consisting of column elements Indicates The population of the iteration step.
[0089] In each iteration step of the shape parameter optimization model, the population is updated according to formula (8):
[0090] (8)
[0091] in Indicates The speed of each particle, that is, the step size of particle search.
[0092] S4. Based on the measured wave data set constructed in step S1, the shape parameter optimization model in step S3 is used to calculate the shape parameter A required for the multi-parameter wave spectrum model in step S2. i , B i , C i , D i ;
[0093] S5. The shape parameter A calculated in step S4 i , B i , C i , D i The multi-parameter ocean wave spectrum model in step S2 is input, and the ocean wave spectrum fitting result is output after iterative updating.
[0094] Example 4
[0095] This embodiment provides a multi-parameter wave spectrum fitting method, comprising the following steps:
[0096] S1. Use the buoy to obtain the measured wave data and construct a wave measured data set; wherein the wave measured data is the data obtained by the buoy measurement, including: The wave spectral density and the effective wave height are composed of the wave spectral density value. , effective wave period .
[0097] S2. Constructing a multi-parameter wave spectrum model suitable for superposition of multiple wave spectra based on a bimodal spectrum or a multi-modal spectrum, wherein the multi-parameter wave spectrum model introduces a shape parameter A i , B i , C i , D i ;
[0098] S3. Construct a shape parameter optimization model with dimension M based on HCLPSO;
[0099] In the shape parameter optimization model, the population is divided into an exploration population and a development population, wherein the dimension of the exploration population is N1 and the dimension of the development population is N2.
[0100] The exploration population is updated at a velocity according to formula (9):
[0101] (9)
[0102] in, , , is a A vector whose elements are uniformly distributed between 0 and 1. is a pre-designed random parameter;
[0103] The development population is updated at a speed according to formula (10):
[0104] (10)
[0105] in, , , and Yes 2 A vector whose elements are uniformly distributed between 0 and 1. ;
[0106] When the maximum number of iterations is reached When , the output parameter optimization results ;
[0107] The parameter optimization result is input into the multi-parameter wave spectrum model of step S2, and the fitting result is output.
[0108] S4. Based on the measured wave data set constructed in step S1, the shape parameter optimization model in step S3 is used to calculate the shape parameter A required for the multi-parameter wave spectrum model in step S2. i , B i , C i , D i ;
[0109] S5. The shape parameter A calculated in step S4 i , B i , C i , D i The multi-parameter ocean wave spectrum model in step S2 is input, and the ocean wave spectrum fitting result is output after iterative updating.
[0110] Example 5
[0111] This embodiment provides a multi-parameter wave spectrum fitting method, comprising the following steps:
[0112] S1. Use buoys to obtain measured wave data and construct a measured wave dataset.
[0113] S2. Constructing a multi-parameter wave spectrum model suitable for superposition of multiple wave spectra based on a bimodal spectrum or a multi-modal spectrum, wherein the multi-parameter wave spectrum model introduces a shape parameter A i , B i , C i , D i .
[0114] S3. Based on HCLPSO, a shape parameter optimization model with dimension M is constructed. The HCLPSO optimization process is shown in Table 1.
[0115] Table 1 HCLPSO optimization process
[0116]
[0117] S4. Based on the measured wave data set constructed in step S1, the shape parameter optimization model in step S3 is used to calculate the shape parameter A required for the multi-parameter wave spectrum model in step S2. i , B i , C i , D i .
[0118] S5. The shape parameter A calculated in step S4 i , B i , C i , D i The multi-parameter ocean wave spectrum model in step S2 is input, and the ocean wave spectrum fitting result is output after iterative updating.
[0119] Example 6
[0120] In this embodiment, a multi-parameter wave spectrum fitting method is provided. This embodiment uses wave spectrum data from two different locations in the sea area near Dalian City, Liaoning Province, China. Location 1 is far from the coast, and location 2 is close to the shore, with a straight-line distance of 50 kilometers between the two. These wave spectrum data were all measured using a wave knight buoy in 2023. The data at location 1 was measured in November 2023, and the data at location 2 was measured in April 2023. The buoy outputs wave spectrum data every 30 minutes. This embodiment is compared with the existing single-peak wave spectrum and double-peak wave spectrum models to illustrate that the proposed wave spectrum model has better fitting accuracy. The numerical comparison uses the measured wave spectrum from location 1, which contains a large amount of single-peak spectrum data and a small amount of double-peak spectrum data. For single-peak spectrum data, the comparison algorithm is the JONSWAP spectrum, and for double-peak spectrum data, the comparison algorithm is the double-peak spectrum model based on the JONSWAP spectrum. This embodiment is intended to illustrate that the proposed wave spectrum model has good versatility. Based on the data optimization at location 1, the shape parameters are obtained, the wave spectrum model is constructed, and the wave spectrum data at location 2 is predicted to verify the results of the proposed model directly applied to the prediction of wave spectra at different locations. The comparison algorithm is the JONSWAP spectrum.
[0121] This embodiment uses the multi-parameter wave spectrum fitting method of embodiments 1-5 to fit the buoy data from location 1. The multi-parameter wave spectrum model shown in formula (1) requires and It is directly given by the buoy data, and the remaining parameters are given by iterative calculation using the optimization algorithm. Although the peak type of the measured wave spectrum in this embodiment is affected by the surge and slightly bulges at low or high frequencies, it is still mainly a single-peak spectrum shape, and there are few very clear double-peak images, so the most commonly used JONSWAP spectrum is selected for comparison. In order to be fair, some double-peak data that are difficult to accurately fit the JONSWAP spectrum were screened out, and 61 sets of single-peak wave spectrum data with complete spectra were obtained. Since the initial version of the JONSWAP spectrum requires more measured parameters and is difficult to determine, the improved JONSWAP spectrum in this embodiment is shown in formula (11):
[0122] (11)
[0123] in, , , ;
[0124] The JONSWAP spectrum was proposed by Goda in 1999. Its characteristic is that once selected The spectrum shape can be determined by the design wave elements, which is convenient for engineering application. To obtain the fitting result that best matches the measured data. Determine the peak shape parameters Required peak frequency This can be directly given based on the measured data of the buoy. This embodiment uses the deviation index (DI) to evaluate the performance of different methods, and its definition is shown in formula (12):
[0125] (12)
[0126] in, is the fitted value, is the true value, is the zero-order moment of the wave spectrum, which can be expressed using the equation It is estimated that in this embodiment, when the DI value is 25-30, the fitting spectrum is optimized.
[0127] The comparison of the fitting results of 61 sets of measured single-peak wave spectrum data in this embodiment is as follows: Figure 2 As shown in the figure, OurSpectra represents the fitting data of the multi-parameter wave spectrum fitting method of this embodiment, JONSWAP represents the JONSWAP spectrum fitting data, and Spectrum Number represents the spectrum number. The average DI values of the wave spectrum and JONSWAP spectrum of this embodiment are 16.59 and 24.88 respectively, and the fitting effect is very optimized. Except for the wave spectra No. 23, 24, and 32, the DI values of the wave spectrum of this embodiment are all smaller than the DI values of the JONSWAP spectrum. Figure 3 In the figure, Our Spectra, DI represents the fitting data of the multi-parameter wave spectrum fitting method of this embodiment, JONSWAP, DI represents the fitting data of the JONSWAP spectrum, and Buoy Spectra represents the buoy data. Overall, although the fitting result of the JONSWAP spectrum is excellent, the average DI value of the wave spectrum of this embodiment is still 8.29 lower than that of the JONSWAP spectrum, which is a decrease of about 33.3%. Figure 3 Taking (b) as an example, the DI value of the JONSWAP spectrum fitting result is 18, which is very accurate. However, the DI value of the wave spectrum of this embodiment reaches an astonishing 8.8, which is reduced by about 51.1%. The fitting result is basically consistent with the measured wave spectrum.
[0128] This embodiment also uses existing wave parameters (such as ) The prediction and simulation of the wave spectrum are carried out. The accuracy of the wave spectrum prediction results is also related to the accuracy of the subsequent calculation results. In order to fit the actual project, this embodiment selects 40 sets of buoy data at location 1 that are continuous in time as the target of fitting optimization, and uses the multi-parameter wave spectrum fitting method of embodiments 1-5 to optimize and obtain the wave spectrum parameters that minimize the average error of the set of data. Table 2 shows the optimized wave spectrum parameters. The effective wave height of the 40 sets of buoy data The range is 1.17m~2.12m, and the effective wave period The range is 4.55s~6.67s. Then, the other 200 groups of buoy data at location 1 and 196 groups of buoy data at location 2 were selected as prediction targets to test the accuracy and versatility of the wave spectrum data obtained by optimizing the multi-parameter wave spectrum fitting method of this embodiment.
[0129] Table 2 The optimization results of the wave spectrum parameters in this embodiment
[0130]
[0131] Since the measured wave spectrum is still dominated by a single-peak wave spectrum, and when predicting, the only known parameters are and , which cannot meet the parameter requirements for constructing other existing bimodal wave spectra, so this embodiment still uses the JONSWAP spectrum as the control group. The peak factor required to construct the JONSWAP spectrum , obtained by optimizing the training of 40 known sets of measured wave spectrum data, the spectrum peak frequency The following formula (13) is used for estimation:
[0132] (13)
[0133] in, is a dimensionless coefficient. Figure 4 The calculation based on 200 sets of data at location 1 is given. The distribution of Predicted by Our Spectra (ave (DI)) is the fitting data of the method in this embodiment, Predicted by JONSWAP (ave (DI)) is the JONSWAP spectrum fitting data, and Spectrum Number represents the spectrum number. It can be seen from the figure that The value of is basically around 1, so it is better to take The effective wave height of the 200 sets of buoy data The range is 0.43m~3.48m, and the effective wave period The range is 4.17s~9.09s. The average DI values of the wave spectrum prediction results of this embodiment and the JONSWAP spectrum prediction results are 37.06 and 47.06 respectively. The first 80 groups of data have a large number of non-single-peak spectrum shapes, such as Figure 5As shown in the figure, Our Spectra, DI represents the fitting data of the multi-parameter wave spectrum fitting method of this embodiment, JONSWAP, DI represents the JONSWAP spectrum fitting data, and Buoy Spectra represents the buoy data. The wave spectrum and JONSWAP spectrum of this embodiment cannot give good prediction results, and the average DI values are 53.35 and 64.31 respectively; the spectrum of the last 120 groups of data is good, as shown in Figure 6 As shown in the figure, Our Spectra, DI represents the fitting data of the multi-parameter wave spectrum fitting method of this embodiment, JONSWAP, DI represents the JONSWAP spectrum fitting data, and Buoy Spectra represents the buoy data. The average DI value of the wave spectrum prediction result of this embodiment is 26.21, and the average DI value of the JONSWAP spectrum prediction result is 35.55. The prediction result of the wave spectrum of this embodiment is about 26.3% better than the JONSWAP spectrum prediction result.
[0134] In this embodiment, the straight-line distance between location 2 and location 1 is about 50 kilometers, and the measurement time of the data at location 2 differs from that at location 1 by about 6 months. Since the data measured at location 2 has a large number of irregular spectra when the effective wave height is small, the data measured at location 2 are screened, and all data with effective wave height less than 1m are removed, and a total of 196 sets of data are obtained. The effective wave height range of the 196 sets of buoy data is 1m~1.75m, and the effective wave period range is 4.55s~10s. Figure 7 The prediction results of the measured wave spectrum at location 2 based on the JONSWAP spectrum and the method of this embodiment are given in the figure. In the figure, Our Spectra, DI represents the fitting data of the multi-parameter wave spectrum fitting method of this embodiment, JONSWAP, DI represents the JONSWAP spectrum fitting data, and Buoy Spectra represents the buoy data. The average DI values of the wave spectrum and JONSWAP spectrum of this embodiment are 29.83 and 39.53 respectively. If the DI value is less than or equal to 30 as the standard for qualified prediction, the number of qualified prediction results of the method of this embodiment is 118, the qualified rate is 60.20%, and the number of qualified prediction results of the JONSWAP spectrum is 53, the qualified rate is 27.04%; if the DI value is less than or equal to 40 as the standard for qualified prediction, the qualified rate of the method of this embodiment rises to 85.71%, and the qualified rate of the JONSWAP spectrum rises to 58.16%. Through the verification of this embodiment, it can be considered that the multi-parameter wave spectrum fitting method of this embodiment has a good ability to summarize the spectral shape of the measured wave spectrum data, and has the potential to be used for wave spectrum prediction during actual ship navigation.
[0135] The embodiments of the present invention are given for the purpose of illustration and description, and are not intended to be exhaustive or to limit the invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.
Claims
1. A multi-parameter wave spectrum fitting method, characterized in that: The steps include: S1. Use buoys to obtain measured wave data and construct a measured wave data set; S2. Construct a multi-parameter wave spectrum model suitable for superposition of multiple wave spectrum shapes, wherein the multi-parameter wave spectrum model introduces shape parameter A i , B i , C i , D i ; The multi-parameter wave spectrum model is a model constructed based on a bimodal spectrum or a multimodal spectrum. The multi-parameter wave spectrum model is shown in formula (1): (1) Among them, the subscript Used to identify wind and wave information, subscript Used to identify surge information. is the wave spectral density function value, is the effective wave height, is the effective wave period, is the frequency, is the wave spectral density function of wind waves, is the wave spectral density function of the swell, the shape parameter A i , B i , C i , D i is a dimensionless parameter affected only by the wave spectrum shape, and the shape parameter A i ≥0, B i ≥0, C i ≥0, D i ≥0, A1, B1, C1, D1 are The shape parameters when C i The corresponding effective wave period is C i The corresponding frequency, n represents the number of superimposed wave spectra. When n=2, formula (1) is a double-peak spectrum. When the actual measured wave spectrum has more than 2 peaks, n>2; S3. Construct a shape parameter optimization model with dimension M based on heterogeneous comprehensive learning particle swarm optimizer; The shape parameter optimization model is shown in formula (2): (2) in, is the measured data in the wave measured data set, is the wave spectral density function value, and the optimization goal is to minimize the error E; S4. Based on the measured wave data set constructed in step S1, the shape parameter optimization model in step S3 is used to calculate the shape parameter A in the multi-parameter wave spectrum model in step S2. i , B i , C i , D i ; S5. The shape parameter A calculated in step S4 i , B i , C i , D i The multi-parameter ocean wave spectrum model in step S2 is input, and the ocean wave spectrum fitting result is output after iterative updating.
2. A multi-parameter wave spectrum fitting method according to claim 1, characterized in that: In step S3, the dimension M=4n, and the feasible solution of the shape parameter optimization model is set to the vector shown in formula (3) : (3) in, For vector The elements, , T represents matrix transpose, for The lower bound of the value, for The upper bound of the value, then the lower bound of the feasible solution can be expressed as shown in formula (4): (4) The upper bound of the feasible solution value can be expressed as formula (5): (5)。 3. A multi-parameter wave spectrum fitting method according to claim 2, characterized in that: The initial population of the shape parameter optimization model in step S3 is shown in formula (6): (6) in, represents the initial population, represents the Kronecker product, represents the Hammond product, is an M×N matrix whose elements are all 1, is an M×N random matrix, and The elements in it are uniformly distributed between 0 and 1; No. The population of the iteration step is shown in formula (7): (7) in, is the matrix Middle Column vector, matrix consisting of column elements Indicates The population of the iteration step.
4. A multi-parameter wave spectrum fitting method according to claim 3, characterized in that: In each iteration step of the shape parameter optimization model described in step S3, the population is updated as shown in formula (8): (8) in, By The population matrix of the iteration step Middle A column vector of column elements, Indicates The speed of each particle, that is, the step size of particle search.
5. A multi-parameter wave spectrum fitting method according to claim 3, characterized in that: In the shape parameter optimization model in step S3, the population is divided into an exploration population and a development population, wherein the exploration population dimension is N1 and the development population dimension is N2.
6. A multi-parameter wave spectrum fitting method according to claim 5, characterized in that: The exploration population is updated at a velocity according to formula (9): (9) in, , , is the maximum number of iterations, is a A vector whose elements are uniformly distributed between 0 and 1. is a pre-designed random parameter; The development population is updated at a speed according to formula (10): (10) in, , , and Yes 2 A vector whose elements are uniformly distributed between 0 and 1. ; When the maximum number of iterations is reached When , the output parameter optimization results ; The parameter optimization result is input into the multi-parameter wave spectrum model of step S2, and the fitting result is output.
7. A multi-parameter wave spectrum fitting method according to claim 2, characterized in that: The lower bound is .
8. A multi-parameter wave spectrum fitting method according to claim 1, characterized in that: The measured wave data in step S1 is the data obtained by buoy measurement, including: The wave spectral density and the effective wave height are composed of the wave spectral density value. , effective wave period .
