A risk prediction method for LNG large tank area based on genetic particle swarm optimization CNN-LSTM
Through the CNN-LSTM hybrid neural network based on genetic particle swarm optimization, a CH4 concentration prediction model for the LNG storage tank area is constructed, which solves the problem of CH4 concentration monitoring and early warning in the LNG storage tank area and transportation pipelines, and achieves more efficient and accurate Risk warning.
Patent Information
- Application Number
- CN202311605548.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-11-28
AI Technical Summary
In LNG storage tank areas and transportation pipelines, existing technology fails to effectively use sensor data for real-time monitoring and early warning of CH4 concentration due to the risk of gas leakage caused by insufficient valve sealing performance and corrosion at welds.
A CNN-LSTM hybrid neural network based on genetic particle swarm optimization is used to construct a CH4 concentration prediction model in the LNG large storage tank area by obtaining and preprocessing historical and real-time operating parameters. The sliding window module and GA-PSO optimization algorithm are used to establish the CH4 concentration. Early warning system to realize risk early warning for LNG storage tank areas.
It improves the prediction accuracy and efficiency of CH4 concentration in the atmosphere of LNG storage tank area, enhances the stability and generalization ability of the model, reduces the complexity of the model, makes the early warning system easier to understand and explain, and improves the robustness and overall situation Search capabilities.
Smart Images

Figure CN117610729B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of risk prediction, and specifically but not limited to, relates to a risk prediction method for a large LNG storage tank area based on genetic particle swarm optimization CNN-LSTM. Background Art
[0002] At present, the use of liquefied natural gas (LNG) as a clean energy has been widely promoted in China, which has effectively reduced the emission of atmospheric pollutants and improved the environmental quality.
[0003] Since a large LNG storage tank area stores a large amount of natural gas, gas is transmitted through natural gas pipelines to provide natural gas for residents, tank trucks, etc., and there is a large flow of vehicles and people. However, during LNG storage and pipeline transportation, there is a risk of LNG gas leakage due to insufficient valve sealing performance and corrosion at welding points. Therefore, it is necessary to monitor and warn the CH4 concentration in the LNG storage tank area in real time to strictly prevent accidents. With the continuous improvement of the degree of automation, sensors or data acquisition instruments can be used to sense and record the operating parameters and atmospheric parameters of LNG storage tanks and transportation pipelines in the database, but these data have not been well utilized. Therefore, these data provide us with new ideas for optimizing the CH4 prediction model.
[0004] In view of this, it is necessary to provide a new prediction method to solve at least part of the above problems. Summary of the invention
[0005] In view of one or more problems in the prior art, the present invention proposes a risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM, which can solve the problem of prediction and early warning of CH4 concentration in the atmosphere of large LNG storage tank areas.
[0006] The technical solution to achieve the purpose of the present invention is:
[0007] A risk prediction method for LNG large tank area based on genetic particle swarm optimization CNN-LSTM, including:
[0008] Step 1: Obtain historical operating parameters of LNG storage tanks and transportation pipelines, as well as historical parameters of the atmospheric environment of the LNG tank area, collect marker position characteristic parameters of marker positions where different sensors are located from the aforementioned historical operating parameters and historical parameters, and perform data preprocessing on the marker position characteristic parameters to obtain a standardized data sample set;
[0009] Step 2: Use a sliding window module to convert the standardized data sample set into an input feature matrix, which is used as the input of the CH4 concentration prediction model for the LNG large storage tank area to obtain a reconstructed data sample set;
[0010] Step 3: Based on the reconstructed data sample set, the CNN-LSTM hybrid neural network with genetic particle swarm optimization is used to build a CH4 concentration prediction model for the LNG large storage tank area;
[0011] Step 4: Establish a CH4 early warning system for a large LNG storage tank area, obtain the real-time operating parameters of the LNG storage tanks and transportation pipelines, and the real-time parameters of the atmospheric environment of the LNG tank area, pre-process the above real-time operating parameters and real-time parameters and input them into the CH4 concentration prediction model of the large LNG storage tank area to obtain the predicted value of CH4 concentration in the large LNG storage tank area, and issue a risk warning for the LNG tank area based on the predicted value.
[0012] Furthermore, in the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention, the marker feature parameters in step 1 include: tank temperature, tank pressure, pipeline pressure, pipeline flow rate, atmospheric temperature, atmospheric humidity, wind field direction, and solar radiation.
[0013] Furthermore, in the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention, the data preprocessing of the marker feature parameters in step 1 includes:
[0014] Step 1-1: Data cleaning: For missing data in the marker characteristic parameters, fill it with the normal data of the previous marker, and the missing data refers to data with empty data value; for abnormal value data in the marker characteristic parameters, delete the abnormal value data and fill it with the normal data of the previous marker, and the abnormal value data refers to data with large difference from the previous and next time data, sudden rise and fall, or obvious errors; for repeated data in the marker characteristic parameters, retain it, and the repeated data refers to multiple pieces of data that are the same as the previous and next marker data;
[0015] Step 1-2: Data standardization: Use the min-max standardization calculation method to normalize the marker feature parameters after data cleaning to obtain a standardized data sample set. The min-max standardization calculation is as follows:
[0016] X inorm =(X i -X min ) / (X max -X min )
[0017] Among them, X inorm represents the normalized ith feature parameter, x min represents the minimum value of the feature parameter before normalization, x max represents the maximum value of the feature parameters before normalization, x iRepresents the i-th feature parameter before normalization.
[0018] Furthermore, in the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention, obtaining the reconstructed data sample set in step 2 includes:
[0019] Step 2-1: Concatenate the standardized data sample set into vectors according to the outlet CH4 concentration at a certain moment and its influencing factors to form new sequence data; the influencing factors are the data in the standardized data sample set that affect the CH4 concentration, such as the tank temperature, tank pressure, pipeline pressure, pipeline flow rate, atmospheric temperature, atmospheric humidity, wind field direction, solar radiation, etc.;
[0020] Step 2-2: Use a sliding window on the time axis to capture the new sequence data, each time the sliding window captures the data within a period of time to form a subsequence, and the elements in the subsequence represent the influencing factors of the CH4 concentration in the large LNG storage tank area at time t; convert the subsequence into a feature matrix for predicting the CH4 concentration at the next time point;
[0021] Step 2-3: Repeat step 2-2, convert each subsequence captured by the sliding window into a feature matrix graph, and combine all feature matrix graphs into a set to obtain a reconstructed data sample set.
[0022] Furthermore, in the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention, the characteristic matrix in step 2-2 is:
[0023]
[0024] Where: X t×s Represents an input matrix with t rows and s columns, where t represents the time window and s represents the number of sequence features.
[0025] Furthermore, the risk prediction method for LNG large storage tank area based on genetic particle swarm optimization CNN-LSTM of the present invention, in step 3, adopts genetic particle swarm optimization CNN-LSTM hybrid neural network to construct CH4 concentration prediction model for LNG large storage tank area, including:
[0026] Step 3-1: Obtain a reconstructed data sample set when the LNG tank farm is operating normally, and divide the historical data of the characteristic variables of the input characteristic matrix in the reconstructed data sample set into a training set and a test set;
[0027] Step 3-2: A CNN-LSTM neural network prediction model is established based on the training set and the test set. The CNN-LSTM prediction model includes four convolutional layers, four pooling layers, one LSTM layer and two fully connected layers, and a Dropout mechanism is introduced to reduce the dependence of the neural network prediction model on local features;
[0028] Step 3-3: Set the variable constraint range of the genetic particle swarm optimization model GA-PSO, build a GA-PSO optimization model to optimize the number of convolution kernels, the number of hidden neurons, and the number of iterations of the CNN-LSTM prediction model, and obtain a CNN-LSTM prediction model based on genetic particle swarm optimization. The GA-PSO optimization model embeds the crossover and mutation operations in the GA algorithm as operators into the PSO algorithm model;
[0029] Step 3-4: Input the training set and test set data into the CNN-LSTM prediction model based on genetic particle swarm optimization, and perform denormalization on the predicted results, and calculate as follows:
[0030] x i =x inorm (x max -x min )+x min
[0031] Among them, x i represents the i-th characteristic parameter after denormalization, X inorm represents the i-th characteristic parameter before denormalization, x min represents the minimum value of the characteristic parameters before denormalization, x max Represents the maximum value of the characteristic parameters before denormalization;
[0032] Step 3-5: Evaluate the performance of the CH4 concentration prediction model for large LNG storage tank areas based on the root mean square error (RMSE) and the mean absolute percentage error (MAPE).
[0033] Furthermore, in the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention, the variables of the GA-PSO model in step 3-3 include: initial population size, number of GA-PSO iterations, inertia weight coefficient, crossover probability, mutation probability, number of model training rounds, range of LSTM neuron number, and range of convolution kernel number.
[0034] Furthermore, in the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention, the formula of the GA-PSO optimization model in step 3-3 is as follows:
[0035] V id(t+1)=wV id (t)+c1r1(p id -x id (t))+c2r2(p gd -x id (t))
[0036] x id (t+1)=x id (t)+v id (t+1)
[0037] Where: t represents the tth iteration; V id represents the velocity of the ith particle in the dth dimension; w represents the inertia factor; c1 and c2 represent the learning factors; r1 and r2 represent random numbers on (0, 1); p id represents the individual extreme value of the particle; p gd represents the global extreme value of the entire particle swarm; wV id (t) represents the flying speed of the particle at the last moment; c1r1(p id -x id (t)) represents the self-awareness search part of the particle; c2r2(p gd -x id (t)) represents the information sharing and coordination among particle groups.
[0038] Furthermore, in the risk prediction method for LNG large storage tank area based on genetic particle swarm optimization CNN-LSTM of the present invention, the establishment of CH4 early warning system for LNG large storage tank area in step 4 includes:
[0039] Step 4-1: Building a CH4 early warning system for a large LNG storage tank area based on Javascript, and embedding the trained CH4 concentration prediction model for a large LNG storage tank area into the early warning system;
[0040] Step 4-2: The real-time operating parameters of the LNG storage tanks and transportation pipelines, and the real-time parameters of the atmospheric environment of the LNG tank area are pre-processed and input into the early warning system to predict and warn of future CH4 concentrations.
[0041] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:
[0042] 1. The risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention adopts filling method and min-max standardization to preprocess the data, making the data input to the model more accurate and standardized, which helps to improve the stability and generalization ability of the model.
[0043] 2. The risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention uses GA-PSO algorithm to optimize the parameters of the model without changing the architecture of the CNN-LSTM hybrid prediction model, which effectively reduces the complexity of the model, making it easier to understand and explain, and at the same time improves the prediction efficiency and accuracy of CH4 concentration in the atmosphere of large LNG storage tank areas.
[0044] 3. The risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention realizes the innovation of algorithm fusion by embedding the operations in the genetic algorithm into the particle swarm algorithm, so as to better find the optimal solution in the search parameter space and improve the robustness and global search capability of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings are used to provide a further understanding of the present invention and are used together with the description to explain the embodiments of the present invention, but do not constitute a limitation of the present invention. In the accompanying drawings:
[0046] Figure 1 This is a data preprocessing flow chart of the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention.
[0047] Figure 2 This is a schematic diagram of constructing an input feature matrix using a sliding window module in the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention.
[0048] Figure 3 It is a schematic diagram of the CNN-LSTM prediction model of the LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM of the present invention.
[0049] Figure 4 Schematic diagram of the neural network structure with the addition of the Dropout mechanism for the traditional neural network structure and the LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM of the present invention.
[0050] Figure 5 The present invention is a flow chart of a method for predicting large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM, in which a GA algorithm is embedded as an operator into a PSO algorithm.
[0051] Figure 6 The present invention is a flow chart of the modeling of the CH4 concentration prediction model of the LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM.
[0052] Figure 7This is a warning flow chart of the risk prediction method for large LNG storage tank areas based on genetic particle swarm optimization CNN-LSTM of the present invention. DETAILED DESCRIPTION
[0053] In order to further understand the present invention, preferred embodiments of the present invention are described below in conjunction with examples. However, it should be understood that these descriptions are only for further illustrating the features and advantages of the present invention, rather than limiting the claims of the present invention.
[0054] The description in this section is only for typical embodiments, and the present invention is not limited to the scope of the embodiments. The combination of different embodiments, the mutual replacement of some technical features in different embodiments, and the mutual replacement of the same or similar prior art means with some technical features in the embodiments are also within the scope of the description and protection of the present invention.
[0055] According to one aspect of the present invention, a risk prediction method for a large LNG storage tank area based on genetic particle swarm optimization CNN-LSTM is provided. Figure 6 As shown, including:
[0056] Step 1: Obtain the historical operating parameters of the LNG storage tank and transportation pipeline, as well as the historical parameters of the atmospheric environment of the LNG tank area, collect the marker position characteristic parameters of the marker positions of different sensors from the aforementioned historical operating parameters and historical parameters, and perform data preprocessing on the marker position characteristic parameters to obtain a standardized data sample set. The marker position characteristic parameters include: storage tank temperature, storage tank pressure, pipeline pressure, pipeline flow rate, atmospheric temperature, atmospheric humidity, wind field direction, and solar radiation. Among them, data preprocessing includes data cleaning and data standardization, such as Figure 1 As shown, the specific steps include:
[0057] Step 1-1: Data cleaning: For missing data in the marker characteristic parameters, fill it with the normal data of the previous marker, and the missing data refers to data with empty data value; for abnormal value data in the marker characteristic parameters, delete the abnormal value data and fill it with the normal data of the previous marker, and the abnormal value data refers to data that is greatly different from the previous and next data, rises and falls sharply, or has obvious errors; for repeated data in the marker characteristic parameters, retain it, and the repeated data refers to multiple pieces of data that are the same as the previous and next marker data.
[0058] Step 1-2: Data standardization: Use the min-max standardization calculation method to normalize the marker feature parameters after data cleaning to obtain a standardized data sample set. The min-max standardization calculation is as follows:
[0059] X inorm =(X i -Xmin ) / (X max -X min )
[0060] Among them, X inorm represents the normalized ith feature parameter, x min represents the minimum value of the feature parameter before normalization, x max represents the maximum value of the feature parameters before normalization, x i Represents the i-th feature parameter before normalization.
[0061] Step 2: Use the sliding window module to convert the standardized data sample set into an input feature matrix, which is used as the input of the CH4 concentration prediction model for the LNG large tank area to obtain a reconstructed data sample set. The specific steps for obtaining the reconstructed data sample set include:
[0062] Step 2-1: Concatenate the standardized data sample set into vectors according to the outlet CH4 concentration at a certain moment and its influencing factors to form new sequence data. The influencing factors are the data in the standardized data sample set that affect the CH4 concentration, such as tank temperature, tank pressure, pipeline pressure, pipeline flow rate, atmospheric temperature, atmospheric humidity, wind direction, solar radiation, etc.
[0063] Step 2-2: Use a sliding window on the time axis to capture the new sequence data. Each time the sliding window captures the data within a period of time to form a subsequence. The elements in the subsequence represent the influencing factors of the CH4 concentration in the LNG large storage tank area at time t; convert the subsequence into a feature matrix for predicting the CH4 concentration at the next time point. The format of the feature matrix is as follows:
[0064]
[0065] Where: X t×s Represents an input matrix with t rows and s columns, where t represents the time window and s represents the number of sequence features.
[0066] Specifically, the new sequence data is used to form an input matrix X1 through a sliding window module to predict the CH4 concentration Y1 at the next time point, such as Figure 2 As shown, the input matrix X1 is represented as X1 = [x1, x2, x3, ..., x t ], where each x t Indicates the influencing factor of CH4 concentration in the large LNG storage tank area at time t. Similarly, select the next input matrix X2 to predict the value of Y2. The input matrix X2 is expressed as X2 = [x1, x2, x3, ..., x t , x t+1 ].
[0067] Step 2-3: Repeat step 2-2. For each subsequence captured by the sliding window, convert it into a matrix feature map. Combine all these matrix feature maps into a set to obtain a reconstructed data sample set. This is to divide all the sequence data into a single matrix feature map.
[0068] Step 3: Based on the reconstructed data sample set, the CNN-LSTM hybrid neural network with genetic particle swarm optimization is used to build a CH4 concentration prediction model for large LNG storage tank areas. Figure 6 As shown in the figure, the specific steps of constructing the CH4 concentration prediction model for the large LNG storage tank area include:
[0069] Step 3-1: Obtain a reconstructed data sample set when the LNG tank farm is operating normally, and divide the historical data of the characteristic variables of the input characteristic matrix in the reconstructed data sample set into a training set and a test set in a ratio of 9:1.
[0070] Step 3-2: Establish a CNN-LSTM neural network prediction model based on the training set and the test set, such as Figure 4 As shown in FIG, the CNN-LSTM prediction model includes four convolutional layers, four pooling layers, one LSTM layer and two fully connected layers, and introduces the Dropout mechanism to reduce the dependence of the neural network prediction model on local features, as shown in FIG. Figure 3 The figure shows a comparison between the connection mode between neurons in a traditional neural network and the connection mode of a neural network after adding the Dropout mechanism.
[0071] Step 3-3: Set the variable constraint range of the genetic particle swarm GA-PSO optimization model, build a GA-PSO optimization model to optimize the number of convolution kernels, the number of hidden neurons, and the number of iterations of the CNN-LSTM prediction model, and obtain a CNN-LSTM prediction model based on genetic particle swarm optimization. The GA-PSO optimization model embeds the crossover and mutation operations in the GA algorithm as operators into the PSO algorithm model, such as Figure 5 Among them, the variables of the GA-PSO model include: initial population size, GA-PSO iteration number, inertia weight coefficient, crossover probability, mutation probability, number of model training rounds, LSTM neuron number range, convolution kernel number range, and the constraint range of each variable is shown in the following table:
[0072]
[0073] The formula of the GA-PSO optimization model is as follows:
[0074] V id (t+1)=wV id (t)+c1r1(p id -x id(t))+c2r2(p gd -x id (t))
[0075] x id (t+1)=x id (t)+v id (t+1)
[0076] Where: t represents the tth iteration; V id represents the velocity of the ith particle in the dth dimension; w represents the inertia factor; c1 and c2 represent learning factors, which are generally 2; r1 and r2 represent random numbers on (0, 1); p id represents the individual extreme value of the particle; p gd represents the global extreme value of the entire particle swarm; wV id (t) represents the flying speed of the particle at the last moment; c1r1(p id -x id (t)) represents the self-awareness and search part of the particle. If there is no search by the particle itself, it will be very easy to fall into the local optimal solution; c2r2(p gd -x id (t)) represents the information sharing and coordination between particle groups. If the particle groups cannot share information, the integrity of the particles will be very poor, and the optimal solution will not be achieved.
[0077] Step 3-4: Input the training set and test set data into the CNN-LSTM prediction model based on genetic particle swarm optimization for training and testing, and perform denormalization on the predicted results, and calculate as follows:
[0078] x i =x inorm (x max -x min )+x min
[0079] Among them, x i represents the i-th characteristic parameter after denormalization, X inorm represents the i-th characteristic parameter before denormalization, x min represents the minimum value of the characteristic parameters before denormalization, x max Represents the maximum value among the characteristic parameters before denormalization.
[0080] Step 3-5: Evaluate the performance of the CH4 concentration prediction model for the LNG large tank area based on the root mean square error RMSE and the mean absolute percentage error MAPE. The calculation methods of the root mean square error RMSE and the mean absolute percentage error MAPE are as follows:
[0081]
[0082]
[0083] Where: y i Indicates actual value; represents the predicted value; n represents the number of samples.
[0084] Step 4: Establish a CH4 early warning system in large LNG storage tank areas, such as Figure 7 As shown, the real-time operating parameters of the LNG storage tank and the transportation pipeline, as well as the real-time parameters of the atmospheric environment of the LNG tank area are obtained, and the real-time operating parameters and real-time parameters are pre-processed and input into the CH4 concentration prediction model of the large LNG storage tank area to obtain the predicted value of CH4 concentration in the large LNG storage tank area, and the risk warning of the LNG tank area is carried out according to the predicted value. Among them, the specific steps of establishing the CH4 early warning system for the large LNG storage tank area include:
[0085] Step 4-1: Building a CH4 early warning system for a large LNG storage tank area based on Javascript, and embedding the trained CH4 concentration prediction model for a large LNG storage tank area into the early warning system;
[0086] Step 4-2: The real-time operating parameters of the LNG storage tanks and transportation pipelines, and the real-time parameters of the atmospheric environment of the LNG tank area are pre-processed and input into the early warning system to predict and warn of future CH4 concentrations.
[0087] The description and application of the present invention here are illustrative, and it is not intended to limit the scope of the present invention to the above-mentioned embodiments. The effects or advantages involved in the specification may not be reflected in the actual experimental examples due to the uncertainty of specific condition parameters or other factors, and the effects or advantages are not used to limit the scope of the invention. The deformation and change of the embodiments disclosed here are possible, and the replacement of the embodiments and the various equivalent parts are well known to those of ordinary skill in the art. It should be clear to those skilled in the art that the present invention can be implemented in other forms, structures, arrangements, proportions, and with other components, materials and parts without departing from the spirit or essential features of the present invention. Other deformations and changes can be made to the embodiments disclosed here without departing from the scope and spirit of the present invention.
Claims
1. A risk prediction method for LNG large tank area based on genetic particle swarm optimization CNN-LSTM, It is characterized in that include: Step 1: Obtain historical operating parameters of LNG storage tanks and transportation pipelines, as well as historical parameters of the atmospheric environment of the LNG tank area, collect marker position characteristic parameters of marker positions where different sensors are located from the aforementioned historical operating parameters and historical parameters, and perform data preprocessing on the marker position characteristic parameters to obtain a standardized data sample set; Step 2: Use the sliding window module to convert the standardized data sample set into an input feature matrix, which is used for the CH 4 The input of the concentration prediction model is used to obtain a reconstructed data sample set; the specific steps include: Step 2-1: Standardize the data sample set according to the export CH at a certain moment 4 The concentration and its influencing factors are connected in series into a vector to form new sequence data; the influencing factor is the influence factor of CH in the standardized data sample. 4 Concentration data, including tank temperature, tank pressure, pipeline pressure, pipeline flow rate, atmospheric temperature, atmospheric humidity, wind direction and solar radiation; Step 2-2: Use a sliding window on the time axis to capture the new sequence data. Each time the sliding window captures the data within a period of time to form a subsequence. The elements in the subsequence represent the CH of the LNG large storage tank area at time t. 4 The influencing factors of concentration; convert the subsequence into a feature matrix to predict CH at the next time point 4 concentration; Step 2-3: Repeat step 2-2, convert each subsequence captured by the sliding window into a feature matrix graph, and combine all feature matrix graphs into a set to obtain a reconstructed data sample set; Step 3: Based on the reconstructed data sample set, the CNN-LSTM hybrid neural network is optimized using genetic particle swarm optimization to construct the CH 4 Concentration prediction model; Step 4: Establish LNG large storage tank area CH 4 The early warning system obtains the real-time operating parameters of the LNG storage tanks and transportation pipelines, as well as the real-time parameters of the atmospheric environment in the LNG tank area, and pre-processes the real-time operating parameters and real-time parameters before inputting them into the CH 4 In the concentration prediction model, the CH 4 The concentration prediction value is used to provide risk warning for the LNG tank area based on the prediction value.
2. According to claim 1, the LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM, It is characterized in that The marker characteristic parameters in step 1 include: tank temperature, tank pressure, pipeline pressure, pipeline flow rate, atmospheric temperature, atmospheric humidity, wind field direction and solar radiation.
3. The LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM according to claim 1, It is characterized in that The data preprocessing of the marker feature parameters in step 1 includes: Step 1-1: Data cleaning: For missing data in the marker characteristic parameters, fill it with the normal data of the previous marker, and the missing data refers to data with empty data value; for abnormal value data in the marker characteristic parameters, delete the abnormal value data and fill it with the normal data of the previous marker, and the abnormal value data refers to data with large difference from the previous and next time data, sudden rise and fall, or obvious errors; for repeated data in the marker characteristic parameters, retain it, and the repeated data refers to multiple pieces of data that are the same as the previous and next marker data; Step 1-2: Data standardization: Use the min-max standardization calculation method to normalize the marker feature parameters after data cleaning to obtain a standardized data sample set. The min-max standardization calculation is as follows: X inorm =(X i -X min ) / (X max -X min ) Among them, X inorm represents the normalized ith feature parameter, x min represents the minimum value of the feature parameter before normalization, x max represents the maximum value of the feature parameters before normalization, x i Represents the i-th feature parameter before normalization.
4. The LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM according to claim 1, It is characterized in that The feature matrix in step 2-2 is: Where: X t×s Represents an input matrix with t rows and s columns, where t represents the time window and s represents the number of sequence features.
5. The LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM according to claim 1, It is characterized in that In step 3, genetic particle swarm optimization CNN-LSTM hybrid neural network is used to construct CH 4 Concentration prediction models include: Step 3-1: Obtain a reconstructed data sample set when the LNG tank farm is operating normally, and divide the historical data of the characteristic variables of the input characteristic matrix in the reconstructed data sample set into a training set and a test set; Step 3-2: Establish a CNN-LSTM neural network prediction model, which includes four convolutional layers, four pooling layers, one LSTM layer and two fully connected layers, and introduces a Dropout mechanism to reduce the dependence of the neural network prediction model on local features; Step 3-3: Set the variable constraint range of the genetic particle swarm optimization model GA-PSO, build a GA-PSO optimization model to optimize the number of convolution kernels, the number of hidden neurons, and the number of iterations of the CNN-LSTM prediction model, and obtain a CNN-LSTM prediction model based on genetic particle swarm optimization. The GA-PSO optimization model embeds the crossover and mutation operations in the GA algorithm as operators into the PSO algorithm model; Step 3-4: Input the training set and test set data into the CNN-LSTM prediction model based on genetic particle swarm optimization for training and testing, and perform denormalization on the predicted results, and calculate as follows: x i =x inorm (x max -x min )+x min Among them, x i represents the i-th characteristic parameter after denormalization, X inorm represents the i-th characteristic parameter before denormalization, x min represents the minimum value of the characteristic parameters before denormalization, x max Represents the maximum value of the characteristic parameters before denormalization; Step 3-5: Analyze the CH of LNG large storage tank area based on root mean square error RMSE and mean absolute percentage error MAPE 4 The performance of the concentration prediction model was evaluated.
6. The LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM according to claim 5, It is characterized in that The variables of the GA-PSO model in step 3-3 include: initial population size, number of GA-PSO iterations, inertia weight coefficient, crossover probability, mutation probability, number of model training rounds, range of LSTM neuron number, and range of convolution kernel number.
7. The LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM according to claim 5, It is characterized in that The formula of the GA-PSO optimization model described in step 3-3 is as follows: V id (t+1)=wV id (t)+c 1 r 1 (p id -x id (t))+c 2 r 2 (p gd -x id (t)) x id (t+1)=x id (t)+v id (t+1) Where: t represents the tth iteration; V id represents the velocity of the ith particle in the dth dimension; w represents the inertia factor; c 1 、c 2 represents the learning factor; r 1 、r 2 represents a random number on (0, 1); p id represents the individual extreme value of the particle; p gd represents the global extreme value of the entire particle swarm; wV id (t) represents the flying speed of the particle at the last moment; c 1 r 1 (p id -x id (t)) represents the self-awareness search part of the particle; c 2 r 2 (p gd -x id (t)) represents the information sharing and coordination among particle groups.
8. The LNG large tank area risk prediction method based on genetic particle swarm optimization CNN-LSTM according to claim 1, It is characterized in that In step 4, establish a large LNG storage tank area CH 4 The early warning system includes: Step 4-1: Building LNG large tank area CH based on Javascript 4 Early warning system, and trained LNG large tank area CH 4 A concentration prediction model is embedded in the early warning system; Step 4-2: Pre-process the real-time operating parameters of the LNG storage tanks and transportation pipelines, and the real-time parameters of the atmospheric environment in the LNG tank area, and then input them into the early warning system to predict the future CH 4 Concentration prediction and warning.
Citation Information
Patent Citations
CNN-LSTM load prediction-based charging station micro-grid system optimization scheduling method
CN113887858A
Load prediction method based on PSO-CNN-LSTM model
CN114707750A
Sewage treatment dissolved oxygen concentration prediction method based on hybrid optimization algorithm
CN116542382A
