Method for predicting wind speed along high-speed rail based on wind speed state change
The wind speed sequence is divided by vector autoregressive model and Markov state transition, combined with multifractal detrended fluctuation analysis and variational mode decomposition, the wind speed signal is decomposed into low-complexity and high-complexity components, and ARIMA and N-beats networks are used for prediction. , solves the problem of second-level instantaneous wind speed prediction in high-speed railway winds, and improves prediction accuracy and operational safety.
Patent Information
- Application Number
- CN202410607406.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technology is difficult to predict instantaneous wind speeds at the second level for high-speed railway winds, and cannot meet the early warning requirements for high-speed railway operation safety.
The wind speed prediction method along the high-speed railway line based on the change of wind speed state is adopted, the wind speed sequence is divided through the vector autoregressive model and Markov state transition, combined with multi-fractal detrended fluctuation analysis and variational mode decomposition, the Hurst index is calculated, and the wind speed signal is decomposed into low Complex and high-complexity components and prediction using ARIMA and N-beats networks.
It improves the accuracy of wind speed prediction, can more effectively meet the second-level wind speed prediction requirements of high-speed railways, and enhances operational safety warning capabilities.
Smart Images

Figure CN118536015A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of high-speed railway wind speed prediction, and in particular relates to a method for predicting wind speed along a high-speed railway based on changes in wind speed states. Background Art
[0002] At present, with the continuous increase in train speed, railway operation safety has become the focus of people's attention. Among them, strong winds are the weather type that has the greatest impact on high-speed railways. Accidents such as train rollovers and derailments caused by strong winds often occur. The problem of strong wind warning for high-speed railways has been studied both at home and abroad. Some developed countries that started high-speed railways earlier also started earlier and conducted in-depth research. Foreign countries have established a probability model of wind speed and wind direction based on data along the high-speed railway and data from adjacent meteorological stations; some countries can achieve wind speed prediction within the next 4 minutes. Since their TVG high-speed railways are often affected by strong winds, on-site monitoring points such as strong winds and earthquakes are set up along the line, and connected to the monitoring center through the national railway communication network; the WINDAS system abroad can achieve strong wind warnings for more than 10 minutes; a foreign railway company has developed a fully automatic short-term wind speed forecasting system called "Nowcasting", which uses continuous wind speed data to make short-term predictions of peak wind speeds 2 minutes in advance. However, the materials introducing the forecasting and warning systems in these countries have shielded the actual application models of wind speed prediction and speed limit interval positioning, forming a strict technical barrier. Domestic scholars have also conducted a lot of research on wind speed prediction since the 20th century. However, most domestic scholars' research on railway issues is based on a 3-minute time interval (the average value of a certain length of time is called the time interval), lacking the advance prediction of instantaneous wind speed in seconds that meets the requirements of high-speed rail operation safety prediction and warning. Summary of the invention
[0003] The technical problem to be solved by the present invention is to propose a method for predicting wind speed along a high-speed railway based on changes in wind speed states, which can effectively improve the prediction accuracy.
[0004] Purpose of the invention: To solve the above technical problems, the present invention provides a method for predicting wind speed along a high-speed railway based on wind speed state changes, comprising:
[0005] S1. The wind speed signal along the high-speed railway has strong volatility, and the fluctuation state changes randomly. At the same time, the volatility is also affected by meteorological factors such as temperature, humidity and air pressure. Therefore, a vector autoregression model is constructed, and the historical wind speed along the railway is divided into three zones using the Markov state, and the wind speed rising zone system, wind speed stable zone system and wind speed falling zone system are obtained. The wind speed is classified based on the three-zone system to obtain the falling wind speed sequence, stable wind speed sequence and rising wind speed sequence.
[0006] S2. The wind speed signal along the high-speed rail has different characteristics under different time states and presents different nonlinear change laws. Based on the wind speed sequence classified in step S1, the interference trend of the wind speed sequence is eliminated by the multi-fractal detrending fluctuation analysis method, and the wind speed fragments with Hurst index less than 0.5 in the wind speed sequence are eliminated based on the fluctuation function to obtain a set of sequence fragments with different time scales.
[0007] S3. Due to the inherent complexity and nonlinearity of the wind speed time series along the high-speed railway, the VMD (Variational Mode Decomposition) model is used to decompose the sequence fragments of different time scales in step S2 into intrinsic mode components, and the Hurst index of the component is calculated and classified, including high-complexity components and low-complexity components.
[0008] S4. According to the characteristics of the components, different methods are used to predict the wind speed, and the prediction results of different components are added together to obtain the final wind speed prediction result.
[0009] Furthermore, in step S1, classifying the wind speed includes the following sub-steps:
[0010] S101. Obtain the wind speed V at the high-speed railway target station at time t t , Temperature X 1(t) 、HumidityX 2(t) and air pressure X 3(t) , forming a four-dimensional time series, constructing a p-order vector autoregression model. The specific formula is:
[0011]
[0012] ε t ~iidN(0,σ 2 )
[0013] Among them, X t represents the four-dimensional time series at time t, X t = {V (t) ,X 1(t) ,X 2(t) ,X 3(t)}; μ represents the intercept term; r represents the total number of wind speed features; A i represents the lag coefficient of the i-th wind speed feature in the four-dimensional time series; X t-r represents the four-dimensional time series at the trth moment; ε t Represents the random disturbance term at time t, and its mean is 0 and its variance is σ 2 Normal distribution; iidN represents the variance.
[0014] S102. The vector autoregression model is based on the assumption of a linear relationship, but the actual wind speed signal changes are very complex, so the simple use of the VAR model is not reliable. Therefore, the present invention adopts the three-zone Markov state transition phase change characteristics based on the vector autoregression model, and sets the state variable S t It is a discrete-valued three-zone first-order Markov process. The zone state transition probability matrix is used to represent the zone state transition process. The specific expression is:
[0015]
[0016] Among them, s 11 Indicates from zone 1 to zone 1, s 21 Indicates from zone system 2 to zone system 1.
[0017] The specific calculation formulas for the three district systems are as follows:
[0018] V t =μ(S t )+A i V t-i +ε t
[0019] ε t ~iidN(0,σ 2 (S t ))
[0020] Among them, S t represents the state variable at time t, V t-i represents the wind speed at the ti moment; μ(S t ) represents the intercept term.
[0021] Zone 1 is a wind speed increasing zone, zone 2 is a wind speed stable zone, and zone 3 is a wind speed decreasing zone.
[0022] According to the three-zone system, the wind speed at time t is classified into the descending wind speed sequence V corresponding to zone 1 and drop(t) , the steady wind speed sequence V corresponding to zone 2 stable(t) The rising wind speed sequence V corresponding to zone 3 rise(t) .
[0023] Furthermore, in step S2, obtaining sequence fragments of different time scales includes the following sub-steps:
[0024] S201. Cumulative deviation sequence is a statistical sequence, which is a sequence composed of the cumulative sum of the difference between each data point of a time series and the average value of the time series. Set the arithmetic mean corresponding to the wind speed sequence in step S1 to be ω drop ,ω stable ,ω rise, calculate the cumulative deviation sequence of the corresponding wind speed sequence, the specific formula is:
[0025]
[0026]
[0027]
[0028] Among them, Y drop represents the cumulative deviation sequence of the descending wind speed sequence, Y stable represents the cumulative deviation sequence of the steady wind speed sequence, Y rise represents the cumulative deviation sequence of the rising wind speed sequence, V drop(t) represents the wind speed at the tth moment of the descending wind speed sequence, V stable(t) represents the wind speed at the tth moment of the steady wind speed sequence, V rise(t) It represents the wind speed at the tth moment of the rising wind speed sequence, and N represents the total duration.
[0029] S202. Since the sequence length is not always an integer multiple of the unit length, sometimes a small amount of data information at the end of the sequence cannot be used. In order to make full use of the data, the accumulated deviation sequence is first divided into equal lengths in the forward order with ρ as the unit length to obtain N ρ non-overlapping subintervals; then, the accumulated deviation sequence is divided into equal lengths in reverse order with ρ as the unit length, and N ρ non-overlapping subintervals; a total of 2N ρ subintervals of equal length; where N ρ is the integer part of N / ρ.
[0030] S203, using the least squares method to perform curve fitting on the sub-intervals obtained in step S202, and calculate the residual sequence Z of the ζ-th sub-interval ζ (λ).
[0031] When ζ=1,2,…,N ρ When , the calculation formula of the residual sequence is:
[0032]
[0033] When ζ=N ρ +1,N ρ +2,…,2N ρ When , the calculation formula of the residual sequence is:
[0034]
[0035] Among them, λ represents a value in the subinterval, y ζ(λ) represents the fitting polynomial of the ζ-th subinterval, and Y[] represents the cumulative deviation sequence.
[0036] S204, calculate the fluctuation function F(ρ), the specific formula is:
[0037]
[0038] Among them, F 2 (ρ,ζ) represents the mean square error of the subinterval, q represents the order. If the wind speed sequence has autocorrelation, the fluctuation function F(ρ) and the unit length ρ are in a power law relationship, and the specific formula is:
[0039] F(ρ)∝ρ h(q)
[0040] Where h(q) represents the Hurst exponent,
[0041] S205, when 0.5≤h(q)≤1, it indicates that the past state of the sequence can have an impact on the present or future, has long-range correlation and fluctuation law, and is highly predictable. When h(q)<0.5, it indicates that the sequence fragment has poor autocorrelation and poor predictability. Based on this, the wind speed fragments with poor predictability in the wind speed sequences corresponding to the three zone systems are removed to obtain a set V of T sequence fragments with different time scales and temporal predictability. new-drop 、V new-stable and V new-rise , V new-drop = {V new-drop1 ,V new-drop2 …,V new-dropT},V new-stable = {V new-stable1 ,V new-stable2 …,V new-stableT},V new-rise = {V new-rise1 ,V new-rise2 …,V new-riseT}, where V new-dropT represents the Tth segment in the segment set corresponding to the descending wind speed sequence, V new-stableT represents the Tth segment in the segment set corresponding to the steady wind speed sequence, V new-rise Represents the Tth segment in the segment set corresponding to the rising wind speed sequence.
[0042] Furthermore, in step S3, the classification includes the following sub-steps:
[0043] S301, input the segment sets corresponding to the three wind speed sequences into the VMD model respectively, calculate the analytical signals of each modal function through Hilbert transform, and obtain the single-sided spectrum of the modal function; compare the analytical signal of the modal function with the estimated center frequency Mix and modulate the modal function spectrum to the baseband; calculate the square norm of the gradient of the signal to be decomposed, estimate the bandwidth of each modal function, and construct a variational problem to obtain R eigenmodal components. The expression is as follows:
[0044]
[0045] Among them, u k represents the modal signal of the kth mode, * represents the convolution operator, τ k represents the center frequency of the kth mode, δ(t) represents the Dirac function, J represents the Hipbolt imaginary signal coefficient, and u k (t) represents the modal signal of the kth mode at the tth time, represents the least squares method at time t.
[0046] The set of R eigenmode components is {V1 imf1 ,V1 imf2 ,...,V1 imfr ,...,V1 imfR}; Among them, V1 imfr represents the rth eigenmode component.
[0047] S302, the Hurst index of the intrinsic mode component is calculated by using the re-scaled range analysis method, and the calculation process is as follows:
[0048] S3021, Calculate V1 imfr The arithmetic mean ω imfr and standard deviation Q imfr , and then calculate V1 imfr The cumulative deviation sequence Y imfr and the range R in the sequence imfr , the specific formula is:
[0049] Y imfr =∑(V1 imfr -ω imfr )
[0050] R imfr =max(V1 imfr )-min(V1 imfr );
[0051] Among them, max(.) represents V1 imfr The maximum value in, min(.) represents V1 imfr The minimum value in ;
[0052] S3022. Calculate the average of the rescaled range The specific formula is:
[0053]
[0054] where n represents the length of the r-th intrinsic mode component;
[0055] S3023. Obtain the Hurst relation as where c is a constant and h(q) is the Hurst exponent.
[0056] S303. If 0 < h(q) < 0.5, then the past and the future show negative correlation. The closer h(q) is to 0, the stronger the negative correlation, and the stronger the randomness of the sequence. If 0.5 ≤ h(q) < 1, then the past and the future show positive correlation. The closer h(q) is to 1, the stronger the positive correlation, and the stronger the trend of the sequence. When h(q) ≥ 0.9, it indicates that the sequence has an obvious trend.
[0057] When the Hurst exponent value of the intrinsic mode component is between 0.5 < h(q) < 0.9, it is classified as a high-complexity component; when h(q) ≥ 0.9, it is classified as a low-complexity component.
[0058] Furthermore, in step S4, predicting the wind speed values of different types of components includes the following sub-steps:
[0059] S401. According to the characteristics of different components, conduct wind speed prediction. The specific content is:
[0060] (2) Use the ARIMA (Autoregressive Integrated Moving Average Model) statistical method to perform first-order and second-order differences on the low-complexity wind speed components, and use the ADF (Augmented Dickey-Fuller test) to test the difference results. Use the BIC criterion function to determine that the prediction model parameters of the low-complexity components are ARIMA(5,2,3). The specific expression is:
[0061]
[0062] where, X (1)d , X (1)d-1 , …, X (1)d-5 , represent wind speed data, φ d , φ d-1 , …, φ d-3 represent white noise sequences at different orders, Represents autoregressive coefficients of different orders, θ1…θ3 represent sliding average coefficients under different differences, and d represents the number of differences made for the time series to become a stationary series.
[0063] ARIMA is used to predict the low-complexity wind speed component and obtain the wind speed prediction results.
[0064] (2) N-beats is an interpretable time series prediction model based on neural networks. It proposes a deep neural network structure with forward and backward residual connections and a very deep fully connected layer stack, which can well learn the nonlinear components in time series. At present, the prediction effect of this algorithm on many public data sets is better than other time series prediction methods. The N-beats network is used to train the highly complex components to obtain the prediction results of wind speed.
[0065] S402: linearly superimpose the prediction results of the low-complexity component and the high-complexity component to obtain a final prediction result.
[0066] Furthermore, the present invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for predicting wind speed along a high-speed railway based on changes in wind speed states as described above are implemented.
[0067] Furthermore, the present invention also proposes a computer-readable storage medium, which stores a computer program. When the computer program is run by a processor, it executes the method for predicting wind speed along the high-speed railway based on changes in wind speed states as described above.
[0068] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:
[0069] The present invention uses the Markov zone conversion vector autoregression model to divide the historical wind speed along the railway into three zones, which are divided into a wind speed rising zone, a wind speed stable zone and a wind speed falling zone, and calculates the state transition probability of each zone, and labels the wind speed data. The wind speed signal along the high-speed railway has different characteristics under different time states and presents different nonlinear change laws. The wind speed sequence is eliminated from the interference trend by the multi-fractal detrending fluctuation analysis method, and the time dimension correlation is analyzed. The wind speed signal is decomposed according to the long-range correlation of the wind speed sequence to obtain a predictive sequence slice. Due to the inherent complexity and nonlinearity of the wind speed time series along the high-speed railway, VMD is used to decompose the wind speed time series fragments into a series of intrinsic mode functions. Then the Hurst index is used to divide the subsequence into low-complexity components and high-complexity components. According to the characteristics of the component class, the statistical method ARIMA is used to predict the low-complexity wind speed component. For the prediction of the high-complexity component, the N-beats network is used for prediction, and the two results are finally linearly superimposed, which can effectively improve the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 It is an overall implementation flow chart of the present invention.
[0071] Figure 2 It is a schematic diagram of the cumulative deviation sequence in an embodiment of the present invention.
[0072] Figure 3 It is a schematic diagram of the MVMD decomposition result in an embodiment of the present invention. DETAILED DESCRIPTION
[0073] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0074] The present invention is further described in detail below with reference to the accompanying drawings.
[0075] The present invention proposes a method for predicting wind speed along a high-speed railway based on the change of wind speed state, using wind speed monitoring data measured by an anemometer at a certain station along the high-speed railway at a height of 4m above the ground from October 1, 2017 to September 30, 2019, with a time resolution of seconds, including strong wind monitoring data. Figure 1 As shown, the following steps are included:
[0076] S1. Construct a vector autoregression model and use the Markov state to divide the historical wind speed along the railway into three zones, and obtain the wind speed rising zone system, wind speed stable zone system and wind speed falling zone system. Based on the three-zone system, the wind speed is classified to obtain the falling wind speed sequence, stable wind speed sequence and rising wind speed sequence. The specific content is as follows:
[0077] S101. Obtain the wind speed V at the high-speed railway target station at time t t , Temperature X 1(t) 、HumidityX 2(t) and air pressure X 3(t) , forming a four-dimensional time series, constructing a p-order vector autoregression model. The specific formula is:
[0078]
[0079] ε t ~iidN(0,σ 2 )
[0080] Among them, X t represents the four-dimensional time series at time t, X t = {V (t) ,X 1(t) ,X 2(t) ,X 3(t)}; μ represents the intercept term; r represents the total number of wind speed features; A i represents the lag coefficient of the i-th wind speed feature in the four-dimensional time series; X t-r represents the four-dimensional time series at the trth moment; ε t Represents the random disturbance term at time t, and its mean is 0 and its variance is σ 2 Normal distribution; iidN represents the variance.
[0081] S102. The vector autoregression model is based on the assumption of a linear relationship, but the actual wind speed signal changes are very complex, so the simple use of the VAR model is not reliable. Therefore, the present invention adopts the three-zone Markov state transition phase change characteristics based on the vector autoregression model, and sets the state variable S t It is a discrete-valued three-zone first-order Markov process. The zone state transition probability matrix is used to represent the zone state transition process. The specific expression is:
[0082]
[0083] Among them, s 11 Indicates from zone 1 to zone 1, s 21 Indicates from zone system 2 to zone system 1.
[0084] The specific calculation formulas for the three district systems are as follows:
[0085] V t =μ(S t )+A i V t-i +ε t
[0086] εt ~iidN(0,σ 2 (S t ))
[0087] Among them, S t represents the state variable at time t, V t-i represents the wind speed at the ti moment; μ(S t ) represents the intercept term.
[0088] Zone 1 is a wind speed increasing zone, zone 2 is a wind speed stable zone, and zone 3 is a wind speed decreasing zone.
[0089] According to the three-zone system, the wind speed at time t is classified into the descending wind speed sequence V corresponding to zone 1 and drop(t) , the steady wind speed sequence V corresponding to zone 2 stable(t) The rising wind speed sequence V corresponding to zone 3 rise(t) .
[0090] S2. Based on the wind speed sequence classified in step S1, the wind speed segments with Hurst index less than 0.5 in the wind speed sequence are eliminated based on the fluctuation function to obtain a set of sequence segments with different time scales. The specific contents are as follows:
[0091] S201, set the arithmetic mean values of the wind speed sequences in step S1 to be ω drop ,ω stable ,ω rise , calculate the cumulative deviation sequence of the corresponding wind speed sequence, the result is as follows Figure 2 As shown, the specific formula is:
[0092]
[0093]
[0094]
[0095] Among them, Y drop represents the cumulative deviation sequence of the descending wind speed sequence, Y stable represents the cumulative deviation sequence of the steady wind speed sequence, Y rise represents the cumulative deviation sequence of the rising wind speed sequence, V drop(t) represents the wind speed at the tth moment of the descending wind speed sequence, V stable(t) represents the wind speed at the tth moment of the steady wind speed sequence, V rise(t) It represents the wind speed at the tth moment of the rising wind speed sequence, and N represents the total duration.
[0096] S202. Since the sequence length is not always an integer multiple of the unit length, sometimes a small amount of data information at the end of the sequence cannot be used. In order to make full use of the data, the accumulated deviation sequence is first divided into equal lengths in the forward order with ρ as the unit length to obtain N ρ non-overlapping subintervals; then, the accumulated deviation sequence is divided into equal lengths in reverse order with ρ as the unit length, and N ρ non-overlapping subintervals; a total of 2N ρ subintervals of equal length; where N ρ is the integer part of N / ρ.
[0097] S203, using the least squares method to perform curve fitting on the sub-intervals obtained in step S202, and calculate the residual sequence Z of the ζ-th sub-interval ζ (λ).
[0098] When ζ=1,2,…,N ρ When , the calculation formula of the residual sequence is:
[0099]
[0100] When ζ=N ρ 1,N ρ +2,…,2N ρ When , the calculation formula of the residual sequence is:
[0101]
[0102] Among them, λ represents a value in the subinterval, y ζ (λ) represents the fitting polynomial of the ζ-th subinterval, and Y[] represents the cumulative deviation sequence.
[0103] S204, calculate the fluctuation function F(ρ), the specific formula is:
[0104]
[0105] Among them, F 2 (ρ,ζ) represents the mean square error of the subinterval, q represents the order. If the wind speed sequence has autocorrelation, the fluctuation function F(ρ) and the unit length ρ are in a power law relationship, and the specific formula is:
[0106] F(ρ)∝ρ h(q)
[0107] Where h(q) represents the Hurst exponent,
[0108] S205, when 0.5≤h(q)≤1, it indicates that the past state of the sequence can have an impact on the present or future, has long-range correlation and fluctuation law, and is highly predictable. When h(q)<0.5, it indicates that the sequence fragment has poor autocorrelation and poor predictability. Based on this, the wind speed fragments with poor predictability in the wind speed sequences corresponding to the three zone systems are removed to obtain a set V of T sequence fragments with different time scales and temporal predictability. new-drop 、V new-stable and V new-rise , V new-drop = {V new-drop1 ,V new-drop2 …,V new-dropT},V new-stable = {V new-stable1 ,V new-stable2… ,V new-stableT},V new-rise = {V new-rise1 ,V new-rise2… ,V new-riseT}, where V new-dropT represents the Tth segment in the segment set corresponding to the descending wind speed sequence, V new-stableT represents the Tth segment in the segment set corresponding to the steady wind speed sequence, V new-rise Represents the Tth segment in the segment set corresponding to the rising wind speed sequence.
[0109] S3, using the variational mode decomposition model to decompose the sequence fragments of different time scales in step S2 into intrinsic mode components, calculate the Hurst index of the component and classify it, including high-complexity components and low-complexity components, the specific content is:
[0110] S301, input the segment sets corresponding to the three wind speed sequences into the VMD model respectively, calculate the analytical signals of each modal function through Hilbert transform, and obtain the single-sided spectrum of the modal function; compare the analytical signal of the modal function with the estimated center frequency Mix and modulate the modal function spectrum to the baseband; calculate the square norm of the gradient of the signal to be decomposed, estimate the bandwidth of each modal function, and construct a variational problem to obtain 7 eigenmode components, such as Figure 3 The expression is as follows:
[0111]
[0112] Among them, u k represents the modal signal of the kth mode, * represents the convolution operator, τ k represents the center frequency of the kth mode, δ(t) represents the Dirac function, J represents the Hipbolt imaginary signal coefficient, and u k (t) represents the modal signal of the kth mode at the tth time, represents the least squares method at time t.
[0113] The set of 7 eigenmode components is {V1 imf1 ,V1 imf2 ,V1 imf3 ,V1 imf4 ,V1 imf5 ,V1 imf6 ,V1 imf7}.
[0114] S302. Since the seven decomposed intrinsic mode components have different characteristics, and the same prediction model has different prediction effects on different characteristic components, the frequency run discrimination method lacks a consistent classification standard for high, medium and low frequency signals. The Hurst index can well judge the degree of wandering of time series data and measure the size of the time series deviation, so it can effectively measure the randomness of different frequency subsequences. Therefore, the present invention uses the re-standardized range analysis method to calculate the Hurst index of the intrinsic mode component, and the calculation process is as follows:
[0115] S3021, Calculate V1 imfr The arithmetic mean ω imfr and standard deviation Q imfr , and then calculate V1 imfr The cumulative deviation sequence Y imfr and the range R in the sequence imfr , the specific formula is:
[0116] Y imfr =∑(V1 imfr -ω imfr )
[0117] R imfr =max(V1 imfr )-min(V1 imfr );
[0118] Among them, max(.) represents V1 imfr The maximum value in, min(.) represents V1 imfr The minimum value in ;
[0119] S3022, calculate the average value of the re-standardized range The specific formula is:
[0120]
[0121] Where n represents the length of the rth eigenmode component;
[0122] S3023, get the Hurst relationship as Where c is a constant and h(q) is the Hurst exponent.
[0123] S303. If 0 < h(q) < 0.5, there is a negative correlation between the past and the future. The closer h(q) is to 0, the stronger the negative correlation and the stronger the randomness of the sequence. If 0.5 ≤ h(q) < 1, there is a positive correlation between the past and the future. The closer h(q) is to 1, the stronger the positive correlation and the stronger the trend of the sequence. When h(q) ≥ 0.9, it indicates that the sequence has an obvious trend.
[0124] When the Hurst exponent value of the intrinsic mode function component is between 0.5 < h(q) < 0.9, it is classified as a high-complexity component; when h(q) ≥ 0.9, it is classified as a low-complexity component. Accordingly, the IMF1-IMF2 components are classified into the low-complexity component class {X (1)n}, and the IMF3-IMF7 components are classified into the high-complexity component class {X (2)n}, and the specific results are shown in Table 1.
[0125] Table 1 Hurst exponents of each component
[0126] Quantity IMF1 IMF2 IMF3 IMF4 IMF5 IMF6 IMF7 Hurst Index 0.952 0.914 0.856 0.843 0.781 0.614 0.541
[0127] S4. According to the characteristics of the components, different methods are used to predict the wind speed, and the prediction results of different components are added to obtain the final wind speed prediction result. The specific content is as follows:
[0128] S401. According to the characteristics of different components, wind speed prediction is carried out. The specific content is as follows:
[0129] (1) For the characteristics of small fluctuations and stable linearity of the IMF1-IMF2 components, the ARIMA (Autoregressive Integrated Moving Average Model) statistical method is used to perform first-order and second-order differences on the low-complexity wind speed components. This model has a simple structure, fast prediction speed, few set parameters, and less memory occupancy of the prediction system.
[0130] Before using the ARIMA model to predict data, first determine the parameters p, d, and q of ARMIA. Among them, p refers to the autoregressive order, q refers to the moving average order, and d refers to the number of differences made for the time series to become a stationary series.
[0131] The ADF (Augmented Dickey-Fuller test) is used to test the difference results, and the test results are shown in Table 2. It can be seen that the t statistic of the first-order difference is only -2.51, which is greater than each critical value, but the p value of 0.12 is greater than 0.1, so it is still a non-stationary series. The t statistic of the second-order difference is only -8.57, which is less than each critical value, and the p value of 8.48E-14 is much less than 0.1. Therefore, d is taken as 2.
[0132] Table 2 ADF test of first-order difference and second-order difference
[0133] t statistic Critical value 1% critical value 5% critical value 10% critical value First Difference -2.51E+00 1.12E-01 -3.44E+00 -2.86E+00 -2.57E+00 Second order difference -8.57E+00 8.48E-14 -3.44E+00 -2.86E+00 -2.57E+00
[0134] The BIC criterion function is used to determine the low-complexity component prediction model parameters as ARIMA (5, 2, 3). The specific expression is:
[0135]
[0136] Among them, X (1)d ,X (1)d-1 ,…,X (1)d-5 , represents wind speed data, φ d ,φ d-1 ,...,φ d-3 represents white noise sequences of different orders, represents autoregressive coefficients of different orders, and θ1…θ3 represent moving average coefficients under different differences.
[0137] ARIMA is used to predict the low-complexity wind speed component and obtain the wind speed prediction results.
[0138] (2) N-beats is an interpretable time series prediction model based on neural networks. It proposes a deep neural network structure with forward and backward residual connections and a very deep fully connected layer stack, which can well learn the nonlinear components in time series. At present, the prediction effect of this algorithm on many public data sets is better than other time series prediction methods. The N-beats prediction model architecture consists of multiple stacks, each stack consists of different blocks, and finally the prediction results of each stack are accumulated to obtain the final prediction result. The N-beats network is used to train the highly complex components to obtain the prediction results of wind speed. The specific contents are as follows:
[0139] The input to the first block of the first stack is a high-complexity component {X (2)n}, each subsequent block uses the residual output of the previous block as input. First, the input data first passes through 4 layers of fully connected layers FC l,1 , FC l,2 , FC l,3 and FC l,4 , where the FC layer is a standard fully connected layer using the RELU activation function to extract wind speed data, as shown below: (the parameters before and after are inconsistent)
[0140] h l,1 =FC l,1 ·(W l,1 ·X (2)n +b l,1 )
[0141] h l,2 =FC l,2 ·(W l,2 ·h l,1 +b l,2 )
[0142] h l,3 =FC l,3 ·(W l,3 ·h l,2 +b l,2 )
[0143] h l,4 =FC l,4 ·(W l,4 ·h l,3 +b l,4 )
[0144] Among them, W l,1 , W l,2 , W l,3 , W l,4 is the weight of the RELU activation function in the 4 fully connected layers in the lth block; b l,1 、b l ,2 、b l,3 、b l,4 is the bias of the RELU activation function; h l,1 、h l,2 、h l,3 represents the result of the first, second, and third fully connected layers in the lth block; h l,4 It is the result obtained after the fully connected layer and is also the input of the linear layer.
[0145] After 4 layers of fully connected layers, a linear transformation is performed after the linear projection LINER layer to generate a forward and backward Is a low-dimensional vector that stores time series information:
[0146]
[0147]
[0148] Among them, the LINER layer is a simple linear projection, and the present invention selects the RELU activation function as the LINER layer.
[0149] then, and Through the bias layer function and Output forward prediction results And the backward prediction results
[0150]
[0151]
[0152] in, and are the forward prediction basis vectors and the backward prediction basis vectors, yes The i-th element of and yes and The dimension of the basis vector and It is a constraint on the function space.
[0153] A block gets two outputs, namely forward output and backward output The forward output of each block in a stack is directly added to form the output of a stack, and the backward output enters the next stacked block as abstract information of historical data for fitting. The outputs of all stacks are superimposed to obtain the overall prediction result, that is, the sequence of predicted data.
[0154] S402: linearly superimpose the prediction results of the low-complexity component and the high-complexity component to obtain a final prediction result.
[0155] The embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. It should be noted that when the processor executes the computer program, the specific steps of the method provided in the embodiment of the present invention are corresponding to the specific steps of the method provided in the embodiment of the present invention, and the processor has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided in the embodiment of the present invention.
[0156] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. It should be noted that when the computer program is executed by the processor, it corresponds to the specific steps of the method provided in the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided in the embodiment of the present invention.
[0157] Although the embodiments of the present invention are shown and described above, it is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art can change, modify, replace and modify the above embodiments within the scope of the present invention. Any other corresponding changes and modifications made according to the technical concept of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for predicting wind speed along a high-speed railway based on wind speed state changes, characterized in that: Including: S1. Construct a vector autoregressive model, use the Markov state to divide the historical wind speed along the railway into three regimes, obtain the wind speed rising regime, the wind speed stable regime, and the wind speed falling regime, classify the wind speed based on the three regimes, and obtain the falling wind speed sequence, the stable wind speed sequence, and the rising wind speed sequence; S2. Based on the wind speed sequences classified in step S1, use the fluctuation function to剔除 the wind speed segments with a Hurst index less than 0.5 in the wind speed sequences, and obtain a set of sequence segments of different time scales; S3. Use the variational mode decomposition model to decompose the sequence segments of different time scales in step S2 into intrinsic mode components, calculate the Hurst index of this component and classify it, including high-complexity components and low-complexity components; S4. According to the characteristics of the components, use different methods to predict the wind speed, and add the prediction results of different components to obtain the final wind speed prediction result.
2. The method for predicting wind speed along a high-speed railway based on wind speed state changes according to claim 1 is characterized in that: In step S1, classifying the wind speed includes the following sub-steps: S101. Obtain the wind speed V at the high-speed railway target station at time t t , Temperature X 1(t) 、HumidityX 2(t) and air pressure X 3(t) , forming a four-dimensional time series, constructing a p-order vector autoregression model. The specific formula is: e t ~iidN(0,σ 2 ) Among them, X t represents the four-dimensional time series at time t, X t = {V (t) ,X 1(t) ,X 2(t) ,X 3(t) }; μ represents the intercept term; r represents the total number of wind speed features; A i represents the lag coefficient of the i-th wind speed feature in the four-dimensional time series; X t-r represents the four-dimensional time series at the trth moment; ε t Represents the random disturbance term at time t, and its mean is 0 and its variance is σ 2 Normal distribution; iidN represents variance; S102, based on the vector autoregression model, the three-zone Markov state transition phase change characteristics are adopted to set the state variable S t It is a discrete-valued three-zone first-order Markov process. The zone state transition probability matrix is used to represent the zone state transition process. The specific expression is: Among them, s 11 Indicates from zone 1 to zone 1, s 21 Indicates from zone system 2 to zone system 1; The specific calculation formulas for the three regimes are: V t =μ(S t )+A i V t-i +e t e t ~iidN(0,σ 2 (S t )) Among them, S t represents the state variable at time t, V t-i represents the wind speed at the ti moment; μ(S t ) represents the intercept term; Regime 1 is the wind speed rising regime, regime 2 is the wind speed stable regime, and regime 3 is the wind speed falling regime; According to the three-zone system, the wind speed at time t is classified into the descending wind speed sequence V corresponding to zone 1 and drop(t) , the steady wind speed sequence V corresponding to zone 2 stable(t) The rising wind speed sequence V corresponding to zone 3 rise(t) .
3. The method for predicting wind speed along a high-speed railway based on wind speed state changes according to claim 1 is characterized in that: In step S2, obtaining the sequence segments of different time scales includes the following sub-steps: S201. Calculate the cumulative deviation sequence of the corresponding wind speed sequence, and the specific formula is: Among them, Y drop represents the cumulative deviation sequence of the descending wind speed sequence, Y stable represents the cumulative deviation sequence of the steady wind speed sequence, Y rise represents the cumulative deviation sequence of the rising wind speed sequence, V drop(t) represents the wind speed at the tth moment of the descending wind speed sequence, V stable(t) represents the wind speed at the tth moment of the steady wind speed sequence, V rise(t) represents the wind speed at the tth moment of the rising wind speed sequence, N represents the total duration, ω drop represents the average value of the descending wind speed sequence, ω stable represents the average value of the steady wind speed series, ω rise represents the average value of the rising wind speed series; S202, first divide the accumulated deviation sequence into equal lengths from the forward order with ρ as the unit length, and obtain N ρ non-overlapping subintervals; then, the accumulated deviation sequence is divided into equal lengths in reverse order with ρ as the unit length, and N ρ non-overlapping subintervals; a total of 2N ρ Subintervals of equal length; where N ρ is the integer part of N / ρ; S203, using the least squares method to perform curve fitting on the sub-intervals obtained in step S202, and calculate the residual sequence Z of the ζ-th sub-interval ζ (λ); When ζ=1,2,…,N ρ When , the calculation formula of the residual sequence is: When ζ=N ρ +1,N ρ +2,…,2N ρ When , the calculation formula of the residual sequence is: Among them, λ represents a value in the subinterval, y ζ (λ) represents the fitting polynomial of the ζ-th subinterval, and Y[] represents the cumulative deviation sequence; S204. Calculate the fluctuation function F(ρ), and the specific formula is: Among them, F 2 (ρ,ζ) represents the mean square error of the subinterval, q represents the order; The fluctuation function F(ρ) and the unit length ρ have a power-law relationship, and the specific formula is: F(ρ)∝ρ h(q) Where h(q) represents the Hurst exponent, S205, remove the wind speed segments with h(q) < 0.5 in the wind speed sequences corresponding to the three zone systems, and obtain a set V of T sequence segments with different time scales and temporal predictability. new-drop 、V new-stable and V new-rise , V new-drop = {V new-drop1 ,V new-drop2 …,V new-dropT },V new-stable = {V new-stable1 ,V new-stable2 …,V new-stableT },V new-rise = {V new-rise1 ,V new-rise2 …,V new-riseT }, where V new-dropT represents the Tth segment in the segment set corresponding to the descending wind speed sequence, V new-stableT represents the Tth segment in the segment set corresponding to the steady wind speed sequence, V new-rise Represents the Tth segment in the segment set corresponding to the rising wind speed sequence.
4. The method for predicting wind speed along a high-speed railway based on wind speed state changes according to claim 1 is characterized in that: In step S3, classifying includes the following sub-steps: S301, input the segment sets corresponding to the three wind speed sequences into the VMD model respectively, calculate the analytical signals of each modal function through Hilbert transform, and obtain the single-sided spectrum of the modal function; compare the analytical signal of the modal function with the estimated center frequency Mix and modulate the modal function spectrum to the baseband; calculate the square norm of the gradient of the signal to be decomposed, estimate the bandwidth of each modal function, and obtain R eigenmodal components. The specific formula is: Among them, u k represents the modal signal of the kth mode, * represents the convolution operator, τ k represents the center frequency of the kth mode, δ(t) represents the Dirac function, J represents the Hippolt imaginary signal coefficient, and u k (t) represents the modal signal of the kth mode at the tth time, represents the least square method at time t; The set of R eigenmode components is {V1 imf1 ,V1 imf2 ,...,V1 imfr ,...,V1 imfR }; Among them, V1 imfr represents the rth eigenmode component; S302. Use the rescaled range analysis method to calculate the Hurst index of the intrinsic mode component, and the specific content is: S3021, calculation V1 imfr The arithmetic mean ω imfr and standard deviation Q imfr , and then calculate V1 imfr The cumulative deviation sequence Y imfr and the range R in the sequence imfr , the specific formula is: Y imfr =∑(V1 imfr -ω imfr ) R imfr =max(V1 imfr )-min(V1 imfr ) Among them, max(.) represents V1 imfr The maximum value in, min(.) represents V1 imfr The minimum value in ; S3022, calculate the average value of the re-standardized range The specific formula is: Among them, n represents the length of the r-th intrinsic mode component; S3023, Hurst's relationship is Where c is a constant and h(q) is the Hurst exponent; S303. When the Hurst index value of the intrinsic mode component is between 0.5 < h(q) < 0.9, it is classified as a high-complexity component; when h(q) ≥ 0.9, it is classified as a low-complexity component.
5. The method for predicting wind speed along a high-speed railway based on wind speed state changes according to claim 1, characterized in that: In step S4, predicting the wind speed values of different types of components includes the following sub-steps: S401. According to the characteristics of different components, perform wind speed prediction, and the specific content is: (1) Use the autoregressive integrated moving average model statistical method to perform first-order and second-order differences on the low-complexity wind speed component, and use the unit root test to test the difference results; use the BIC criterion function to determine that the prediction model parameters of the low-complexity component are ARIMA(5,2,3), and the specific expression is: Among them, X (1)d ,X (1)d-1 ,…,X (1)d-5 , represents wind speed data, φ d ,φ d-1 ,...,φ d-3 represents white noise sequences of different orders, represents the autoregressive coefficients of different orders, θ1…θ3 represents the moving average coefficients under different differences, and d represents the number of differences made to make the time series become a stationary series; Use the ARIMA model to predict the low-complexity wind speed component to obtain the prediction result of the wind speed; (2) Use the N-beats network to train the high-complexity component to obtain the prediction result of the wind speed; S402. Linearly superimpose the prediction results of the low-complexity component and the high-complexity component to obtain the final prediction result.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the steps of the high-speed railway line wind speed prediction method based on wind speed state change according to any one of claims 1 to 5.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is run by the processor, it executes the high-speed railway line wind speed prediction method based on wind speed state change according to any one of claims 1 to 5.
Citation Information
Patent Citations
Second-level wind speed signal characteristic analysis and dynamic wind field reconstruction method along high-speed rail
CN117744537A
Cited By
Auxiliary monitoring method and device for settlement displacement of deep foundation pit
CN120744547A
