A gas jacking process real-time prediction and risk analysis method
By combining data cleaning and deep learning algorithms based on the mechanical equilibrium of air jacking and the gas state equation, a risk threshold system is dynamically constructed. This solves the problems of data noise interference and poor adaptability of fixed thresholds during air jacking, achieving high-precision real-time prediction and risk analysis, and improving the safety and intelligence level of air jacking operations.
Patent Information
- Application Number
- CN202611452375.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-18
- Publication Date
- 2026-11-27
AI Technical Summary
Existing monitoring and early warning technologies for the air-jacking process suffer from problems such as large data noise interference, poor adaptability of fixed threshold early warning, and lack of advanced prediction capabilities, resulting in a high false alarm rate and an inability to adapt to actual working conditions at different heights.
A multi-source sensor data real-time acquisition system was constructed. Combining the mechanical equilibrium of the air-lifting structure and the gas state equation, deep learning algorithms were used for data cleaning and prediction. A risk threshold system was dynamically constructed, and LSTM networks were used for time series prediction and risk analysis.
It significantly reduces the false alarm rate, realizing the transformation from post-event alarm to pre-event prevention, and improves the safety and intelligence level of pneumatic jacking operations.
Smart Images

Figure CN123179999A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of industrial process safety monitoring, intelligent control and artificial intelligence algorithm technology, and specifically relates to a method for real-time prediction and risk analysis of the air jacking process. Background Technology
[0002] Gas-lift technology is a key process in the construction of large liquefied natural gas (LNG) storage tanks, petrochemical storage tanks, and large dome structures. Its principle involves using a blower to create a slight positive pressure inside the tank, overcoming the gravity of the dome and frictional resistance to smoothly lift it to the designed height. This process is characterized by high risk, irreversibility, and strong coupling. Obstruction, deflection, leakage, or uncontrolled rapid lifting during the process can easily lead to severe deformation or even collapse of the tank structure, causing huge economic losses and safety accidents. Currently, construction sites mainly rely on distributed control systems or programmable logic controllers to collect sensor data such as pressure, height, and airflow, which are then displayed in real time through a human-machine interface. Operators typically rely on experience to observe data changes, triggering an alarm when the monitored value exceeds a preset fixed safety threshold.
[0003] However, existing monitoring and early warning technologies have significant limitations. First, the complex environment of construction sites, including electromagnetic interference, vibration, and sensor drift, often results in a large amount of noise in the collected data. Traditional digital filtering methods (such as moving average and Kalman filtering) process data based solely on statistical laws, lacking an understanding of the physical mechanisms of air jacking. This makes it difficult to distinguish between "instantaneous sensor interference" and "real-world changes in operating conditions," easily leading to false alarms or missed alarms and interfering with operators' judgment. Second, existing risk warnings mostly use fixed threshold methods, setting a universal alarm upper limit across the entire process. However, in reality, the safety boundary during air jacking is dynamically changing: as the arch height increases, sealing friction, wind resistance characteristics, and structural stability all change nonlinearly. Fixed thresholds cannot adapt to the actual operating conditions at different heights, often being too sensitive at low heights, resulting in frequent false alarms, while at high heights and critical stages, the thresholds are too wide, rendering them ineffective for early warning and failing to capture early abnormal trends. Furthermore, existing systems are mostly "post-event alarm" modes, meaning they only issue alarms when parameters actually exceed limits, lacking the ability to predict the future.
[0004] While some studies have attempted to incorporate artificial intelligence algorithms such as neural networks for trend prediction, most are purely "data-driven" black-box models that fail to integrate the physical mechanisms of gas lifting, such as the mechanical equilibrium equations and gas state equations, into their model construction. This results in poor generalization ability of pure data models outside the scope of the training data, and the prediction results may contradict physical common sense, reducing the reliability of the predictions. Therefore, there is an urgent need to develop a real-time monitoring method that can combine physical mechanisms for data cleaning, utilize deep learning algorithms to achieve high-precision time-series predictions, and establish a dynamic risk threshold system to solve the current technical challenges of lagging risk identification, high false alarm rates, and poor adaptability in gas lifting processes. Summary of the Invention
[0005] This invention discloses a real-time prediction and risk analysis method for the gas lifting process. Based on operational mechanism screening and prediction, this method performs real-time risk monitoring of the gas lifting process, aiming to solve the problems of high data noise interference, poor adaptability of fixed threshold early warnings, and lack of advanced prediction capabilities in existing technologies. The method:
[0006] First, a multi-source sensor data real-time acquisition system is constructed. Based on physical mechanisms such as the mechanical equilibrium of the air-lifting mechanism and the gas state equation, a dynamic constraint model is established to filter and clean the real-time data in accordance with physical laws.
[0007] Subsequently, a time series prediction algorithm (optional Long Short-Term Memory Network LSTM) is used to mine the nonlinear dynamic features of the cleaned time series data, so as to achieve high-precision real-time prediction of pressure, height and attitude at future moments.
[0008] Meanwhile, a mechanism risk threshold system that evolves over time is dynamically constructed based on changes in jacking height and working conditions. Predictive data is compared and analyzed with dynamic thresholds in real time to identify potential risk patterns and issue graded warnings.
[0009] This invention achieves a shift from passive post-event alarm to proactive pre-event prevention through a fusion strategy of "mechanism constraints + data-driven", significantly improving the safety and intelligence level of pneumatic jacking operations.
[0010] The technical solution adopted in this invention is: a method for real-time prediction and risk analysis of the gas lifting process, comprising the following steps:
[0011] S1: Collect complex, high-dimensional industrial datasets during the gas jacking process of LNG storage tanks, preprocess the complex data, and construct a dataset with a time-series structure and containing time-series features.
[0012] S2: Based on the preprocessed dataset, a data fusion algorithm based on DS evidence theory is adopted to effectively handle the uncertainty, ambiguity and conflict information that are common in sensor data without prior probability, reduce the weight of unreliable evidence and strengthen the credibility of consistent evidence.
[0013] S3: Using data dimensionality reduction techniques, high-dimensional correlated variables are transformed into a few linearly independent principal components through orthogonal transformation, preserving the main variance information of the original data. The multiple linear regression model (MLRM) is used to describe the linear relationship between stress variables and speed variables, etc. The influence of the dimensionality-reduced principal components on stress variables is quantified and analyzed, and an explicit functional relationship with strong interpretability is constructed. The parameters are estimated by the least squares method, and the quantitative relationship between variables is predicted and analyzed to obtain the optimal operating curve.
[0014] S4: Based on the operating mechanism of the air-lift process, real-time data is filtered to remove data noise points that do not conform to the mechanism; time series prediction algorithms (such as LSTM neural networks) are used to predict the air-lift process in real time, effectively predicting time series data; risk indicators are established based on the operating mechanism of the air-lift process and safety constraints, and risk analysis is carried out on the predicted data in a reasonable manner.
[0015] Based on the above technologies, real-time prediction and risk analysis software for the gas lifting process is developed. In the "Data Interface" module, the real-time data interface address for the gas lifting process is set to receive data. In the "Start Prediction" module, the technical methods in S1-S4 are used to predict and analyze the received real-time data, and the predicted and analyzed data is sent to the designated IP address to realize the front-end display of the data. In the "Stop Prediction" module, the prediction is stopped by closing the algorithm process.
[0016] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0017] This invention adopts a fusion monitoring mode of "physical mechanism constraints + deep learning prediction". By introducing the mechanical balance equation of air jacking as a pre-filter for data cleaning, it effectively eliminates sensor noise that violates physical laws and significantly reduces the false alarm rate. It breaks through the limitations of traditional fixed threshold alarms and constructs a risk threshold system that dynamically evolves with the jacking height and working conditions, realizing adaptive and accurate matching of safety boundaries for different construction stages. By utilizing the powerful temporal memory capability of LSTM network, risk identification is moved from "post-event limit exceeding alarm" to "pre-event trend warning". Attached Figure Description
[0018] Figure 1 The overall flowchart of the real-time prediction and risk analysis technology of the present invention is shown.
[0019] Figure 2The structure of the multiple linear regression model of the present invention is shown.
[0020] Figure 3 The LSTM model structure of the present invention is shown.
[0021] Figure 4 A schematic diagram illustrating the dynamic risk threshold principle of the present invention is shown. Detailed Implementation
[0022] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.
[0023] like Figures 1-4 A method for real-time prediction and risk analysis of the gas lifting process includes the following steps:
[0024] Step 1: Collect complex, high-dimensional industrial datasets during the LNG storage tank gas lifting process, preprocess the complex data, and construct a dataset with a time-series structure and containing time-series features.
[0025] To address the problem of completely random missing data, algorithms and mechanisms are used to impute different data types. These mechanisms can also be used to supplement and optimize the original data. The data imputation algorithm used is a template-based fluctuation pattern replacement method, combining domain knowledge-guided synthetic data generation and linear interpolation resampling. The data imputation algorithm is as follows:
[0026]
[0027] in For missing points, For template sampling points, , missing interval Corresponding template range For linear time scaling, It is a complete and unmissing reference sequence in the historical database.
[0028] The specific mechanism used to fill in missing data is as follows:
[0029] S1-1: The calculation principle for the lifting height during the air jacking process is as follows:
[0030]
[0031] in To the total lifting height, This is the average height reading. These are the height values for different measurement points, in millimeters.
[0032] S1-2: The instantaneous velocity calculation principle during the air-lift process is as follows:
[0033]
[0034] in This is the height difference, in millimeters. This is the time difference, expressed in minutes.
[0035] S1-3: The calculation principle for the maximum tilt during the air-lift process is:
[0036]
[0037] in To obtain the maximum value, To take the minimum value among them;
[0038] S1-4: The calculation principle of the tank pressure during the air jacking process is as follows:
[0039]
[0040] in Standard atmospheric pressure, The pressure difference between the inside and outside of the tank, expressed in Pascals (Pa).
[0041] S1-5: The calculation principle for the air leakage rate during the air jacking process is as follows:
[0042]
[0043] in Air density, expressed in kilograms per square meter;
[0044] S1-6: The calculation principle of air intake volume during the air jacking process is as follows:
[0045]
[0046] in This refers to the air intake volume, expressed in cubic meters. The air pressure required for jacking, in Pascals (Pa). This represents the total volume of the storage tank after lifting, in cubic meters. This represents the initial volume inside the storage tank before jacking, in cubic meters. Standard atmospheric pressure This is a dimensionless correction factor, and its value can range from 1.05 to 1.3.
[0047] Step 2: Based on the preprocessed dataset, a data fusion algorithm based on DS evidence theory is used to effectively handle the uncertainty, ambiguity and conflict information that are common in sensor data without prior probability, reduce the weight of unreliable evidence and strengthen the credibility of consistent evidence.
[0048] S2-1: Define the recognition framework The goal is to optimize a certain moment. Pressure value or rate of rise:
[0049]
[0050] Each of them It is a candidate value, representing that moment. The possible true value;
[0051] S2-2: Evaluate the credibility of each data source. For each piece of evidence, construct a Basic Probability Assignment (BPA) based on its stability, consistency, historical performance, etc. For the first... Each sensor at time readings Calculate its:
[0052]
[0053]
[0054] in The difference from the previous time step. To account for the deviation from the mean values of other sensors, For the first Each sensor at time The original measurement value, The BPA is defined as the average value from multiple sensors:
[0055]
[0056] in For sensor weights, For adjustment coefficients, Assign values to the basic probabilities. The quality of uncertainty is such that it is impossible to determine whether the value is correct;
[0057] S2-3: Use Dempster's synthesis rules to fuse the BPAs of all evidence sources to obtain a smoothed composite value:
[0058]
[0059]
[0060]
[0061] in Assign functions to the basic probabilities of each source of evidence. The proposition after fusion is any subset, A subset supported by each piece of evidence. As the normalization factor, This is the estimated value after fusion and optimization. Assign values to the integrated basic probabilities after fusion. The most credible candidate value is .
[0062] Step 3: Using data dimensionality reduction techniques, high-dimensional correlated variables are transformed into a few linearly independent principal components through orthogonal transformation, preserving the main variance information of the original data. The multiple linear regression model (MLRM) is used to describe the linear relationship between stress variables and speed variables, etc. The impact of the dimensionality-reduced principal components on stress variables is quantified and analyzed, and a highly interpretable explicit functional relationship is constructed. The parameters are estimated by the least squares method, and the quantitative relationship between variables is predicted and analyzed to obtain the optimal operating curve.
[0063] S3-1: Collect time series data of multiple synchronously sampled process variables during the gas jacking process to form the original data matrix:
[0064]
[0065] in The number of sampling points. For the original variable dimensions, For the first The sampling time of the first sampling moment The measured values of each variable;
[0066] S3-2: Perform data standardization preprocessing, standardizing each column of variables to zero mean and unit variance to eliminate the influence of dimensions:
[0067]
[0068]
[0069] in For the first The sample mean of the column variable. For the first The sample standard deviation of the column variable. The standardized value. A standardized matrix;
[0070] S3-3: Standardization matrix Principal component analysis (PCA) is performed for dimensionality reduction to extract a few principal components while retaining the main variance information of the original data.
[0071] Calculate the covariance matrix:
[0072]
[0073] Eigenvalue decomposition:
[0074]
[0075] in For the first 1 eigenvalue, For the first 1 eigenvector The eigenvalues are arranged in descending order;
[0076] Before choosing There are principal components that satisfy the condition that the cumulative variance contribution rate is greater than or equal to a threshold:
[0077]
[0078] in For threshold;
[0079] Calculate the principal component score matrix:
[0080]
[0081] in For the front The projection matrix composed of eigenvectors The principal component score matrix is the reduced-dimensionality matrix, and all columns are linearly independent.
[0082] S3-4: Construct a multiple linear regression model (MLRM) to boost pressure. As the dependent variable, the principal component scores are used. Establish a regression model with the following variables as independent variables:
[0083]
[0084] in The standardized pressure vector, For the regression coefficient vector, It is the residual vector;
[0085] The parameters are estimated using the least squares method:
[0086]
[0087] S3-5: Inversely transform the principal component regression model back to the original variable space to obtain physically interpretable operational relationships. Let the original independent variables (excluding pressure) be... (External) Then there exists an approximately linear relationship:
[0088]
[0089]
[0090] in Let be the standard deviation vector of the independent variable. The intercept term is obtained by restoring the mean.
[0091] S3-6: Clearly define the optimization objectives and safety and process constraints, define the optimization objectives and constraints, and plot the optimal operating curve:
[0092]
[0093] in For energy consumption, For efficiency;
[0094] S3-7: Traversal speed under constraints The feasible interval, for each Find the corresponding pressure that optimizes the objective. A series of points were obtained. Finally, the optimal operation curve is plotted.
[0095] Step 4: Based on the operating mechanism of the air-lift process, real-time data is filtered to remove data noise points that do not conform to the mechanism. An LSTM neural network prediction algorithm is used to predict the air-lift process in real time, effectively predicting time-series data. Risk indicators are established based on the operating mechanism of the air-lift process and safety constraints, and a reasonable risk analysis is performed on the predicted data. Specifically:
[0096] S4-1: Using physical mechanism constraints to eliminate data noise that does not conform to physical laws, a physical mechanism constraint model is established. Based on the ideal gas law and the principle of mechanical equilibrium, the mechanism mapping relationship of the gas lifting process is established, and the force balance constraint is:
[0097]
[0098] Among them, lifting force , To collect the pressure difference between the inside and outside of the tank in real time, To effectively lift the area, For the total weight of the vault, Frictional resistance;
[0099] The continuity constraint is: when the fan speed is stable, during the uniform speed increase phase, the rate of change of pressure inside the tank. With height change rate There should be a negative correlation logic when in the pressure holding phase. and There should be a positive correlation.
[0100] S4-2: Set a dynamic filtering window and calculate the residuals between real-time data and the theoretical mechanism within the sliding time window.
[0101]
[0102] in The residual between real-time data and mechanistic theory, This represents the actual data value. This is the theoretical value based on the mechanism.
[0103] S4-3: Given a noise removal strategy, output a high-quality cleaned dataset that conforms to physical mechanisms. The noise removal strategy is as follows:
[0104] like , If the maximum allowable deviation threshold is the point at which the mechanism is located, and the point appears as an isolated spike in the time series, then it is determined to be instantaneous interference noise from the sensor, which is then removed and filled in by interpolation of the mechanism at the time before and after the point.
[0105] If multiple consecutive points violate the mechanism, it is determined to be a equipment failure. This data is retained as a "fault feature" rather than simple noise and marked as "abnormal operating condition data", and is not included in the regular prediction training set.
[0106] The final output generates a high-quality cleaning dataset that conforms to the physical mechanism. ;
[0107] S4-4: Construct and train a real-time prediction model for the air-lifting process based on LSTM, and clean the dataset. Perform data reconstruction to construct the input sequence and predicted targets Transformed into a supervised learning format:
[0108]
[0109] in for The pressure difference between the inside and outside of the tank at any given time. for The lifting height at any given moment, For the pressure, height, or inclination at the next moment;
[0110] The network architecture of the LSTM is designed as follows: the input layer receives multi-dimensional temporal features; the LSTM layer consists of 2-3 stacked LSTM units, which automatically learn the temporal evolution of hidden states such as pressure accumulation, leakage rate, and friction coefficient changes by utilizing forget gates, input gates, and output gates; the dropout layer prevents overfitting; and the fully connected output layer outputs the predicted values for the next N time steps. ;
[0111] Model training and optimization were carried out using historical successful jacking case data to train the model, mean squared error (MSE) was used as the loss function, the Adam optimizer was used to update the weights, and an early stopping mechanism was introduced to avoid overfitting.
[0112] To achieve real-time inference, the cleaned data stream is input into the trained model, and the model outputs prediction data of the future trend of the gas lifting process.
[0113] S4-5: Establish a dynamic risk threshold system based on the operating mechanism:
[0114] According to design specifications, determine the static safety boundaries, including the maximum permissible pressure difference. Maximum allowable tilt angle This is set as a safety red line;
[0115] Calculate the dynamic mechanism threshold based on the current height. By combining the theoretical drag curve, the theoretically expected pressure range, i.e., the normal fluctuation zone, can be derived. Based on the fan's maximum adjustment capacity, set the maximum rate of change thresholds for pressure and height. Set a safe dynamic range for the height difference between each support point. This range tightens appropriately as the total height increases, ultimately forming a dynamic threshold lookup table or function indexed by time / height. ;
[0116] S4-6: Compare the LSTM prediction results with the dynamic risk threshold to achieve early warning and calculate the predicted value. With dynamic threshold Distance:
[0117] like If the fluctuation exceeds the normal fluctuation range but remains within the safety red line, it is considered an abnormal trend; if If the safety red line is reached or exceeded, it is determined to be an emergency risk.
[0118] Based on the above technologies, real-time prediction and risk analysis software for the gas-lifting process was developed. In the "Data Interface" module, a real-time data interface address for receiving data during the gas-lifting process is set. In the "Start Prediction" module, the S1-S4 method is used to perform prediction and risk analysis on the received real-time data, and the predicted and analyzed data is sent to a designated IP address for front-end data display. In the "Stop Prediction" module, the prediction is stopped by closing the algorithm process. Specifically:
[0119] 1) Configure the data interface module and establish a real-time communication link. In the software's "Data Interface" configuration interface, a parameter input box is provided, allowing users to set the IP address, port number, and communication protocol of the target data source. After the software starts, a connection request is initiated based on the set address, and a heartbeat detection mechanism is established. If no response is received within a specified time, a reconnection mechanism is automatically triggered and the connection log is recorded.
[0120] 2) Perform data stream parsing, define data packet parsing rules, map the received raw byte stream into structured data objects, including fields such as timestamp, tank pressure, dome height, and fan frequency, and set up a memory ring buffer to temporarily store high-frequency incoming real-time data to prevent data packet loss due to network fluctuations or algorithm processing delays, and ensure the continuity of data entering subsequent processing modules.
[0121] 3) Instantiate and run the above S1~S4 technical steps, listen for the "Start Prediction" button event on the user interface, and after triggering, the software initializes the prediction thread pool, loads the algorithm model, loads the pre-trained LSTM neural network weight file and the air-lift mechanism constraint parameter set from local storage or cloud model library, and executes the above technical steps in a pipeline, including the data cleaning subprocess, feature engineering subprocess, inference prediction subprocess, and risk analysis subprocess. At the same time, the status is marked, the system global status flag is set to running, and the watchdog timer is started to monitor the health status of the algorithm process.
[0122] 4) Push the analysis results to the remote terminal and convert them into visual information. Package the prediction results, risk analysis conclusions and current system status into a standard transmission format (JSON object), read the preset "specified IP address" configuration item, and use Socket communication or HTTP POST / WebSocket push technology to send the encapsulated data packet to the receiving end corresponding to the IP address. Display the visual prediction curve on the Web server.
[0123] 5) Respond to user termination operations, ensure graceful exit of the algorithm process, release system resources, guarantee software stability, continuously monitor "Stop Prediction" button events, and immediately interrupt new data reading tasks when a click signal is detected, smoothly close the process, send termination signals to the running LSTM inference thread and data analysis thread, wait for the currently ongoing single prediction calculation to complete, avoid interruption halfway leading to memory leaks or data corruption, then forcibly end the loop, actively close the data receiving connection with the field sensors, disconnect the data sending connection with the front-end display IP, and send a "Service Stopped" status notification packet, release occupied GPU / CPU memory resources and neural network model handles, automatically save the complete logs, key prediction segments, and alarm events during this run to the local database or cloud storage, generate a run report for post-run traceability and analysis, and simultaneously perform a state reset, reset the system global status flag to idle, restore the interface to the initial standby state, and prepare for the next task.
Claims
1. A method for real-time prediction and risk analysis of the gas lifting process, characterized in that... Includes the following steps: S1: Collect industrial datasets during the gas jacking process of the LNG storage tank dome; preprocess the multi-source sensor data to construct a dataset with a time-series structure and time-series features. The data includes, as collected by the corresponding sensors, the following during the gas lifting process: the lifting height, rising speed, and inclination of the tank dome; the internal pressure of the gas in the tank, the leakage rate, and the air intake. S2: Further process the dataset obtained from S1 to address uncertainties, ambiguities, and conflicting information present in the data; S3: Using data dimensionality reduction techniques, high-dimensional correlated variables are transformed into a few linearly independent principal components through orthogonal transformation, preserving the main variance information of the original data; a multiple linear regression model (MLRM) is used to describe the linear relationship between the stress variable and the velocity independent variable, quantifying and analyzing the impact of the dimensionality-reduced principal components on the stress variable, and constructing a highly interpretable explicit functional relationship; parameters are estimated using the least squares method, and the quantitative relationship between variables is predicted and analyzed to obtain the optimal operating curve; S4: Based on the operating mechanism of the air jacking process, real-time data is filtered to remove data noise points that do not conform to the mechanism; Next, a time series prediction algorithm model is used to predict the gas capping process in real time, thereby predicting the time series data; Then, risk indicators are established based on the operating mechanism and safety constraints of the air-lift process, and risk analysis is conducted on the predicted data. Step S4 includes: S4-1: Eliminate data noise that does not conform to physical laws by using physical mechanism constraints, establish a physical mechanism constraint model, and establish the mechanism mapping relationship of the gas lifting process based on the ideal gas equation of state and the principle of mechanical equilibrium. The force balance constraint is: , Among them, lifting force , For real-time collection of the pressure difference between the inside and outside of the tank, To effectively lift the area, For the total weight of the vault, Frictional resistance; The continuity constraint is: when the fan speed is stable, during the uniform speed increase phase, the rate of change of pressure inside the tank. With height change rate There should be a negative correlation logic when in the holding voltage phase. and There is a positive correlation. S4-2: Set a dynamic filtering window and calculate the residuals between real-time data and the theoretical mechanism within the sliding time window. , in The residual between real-time data and mechanistic theory, This represents the actual data value. This is the theoretical value based on the mechanism; S4-3: Given a noise removal strategy, output a high-quality cleaned dataset that conforms to physical mechanisms. The noise removal strategy is as follows: like If the sampling point appears as an isolated spike in the time series, it is determined to be instantaneous interference noise of the sensor, which is then removed and filled in by interpolation of the mechanism at the previous and next time points. This is the maximum allowable deviation threshold for the mechanism; If multiple consecutive sampling points violate the mechanism, it is determined to be a device failure. The data of these sampling points are retained as "fault features" and marked as "abnormal operating condition data", and are not included in the regular prediction training set. The final output generates a cleaned dataset that conforms to the physical mechanism. ; S4-4: Construct and train a time series prediction algorithm model for real-time prediction of the gas lifting process, and clean the dataset. Perform data reconstruction to construct the input sequence. and predicted targets Transformed into a supervised learning format: , in for The pressure difference between the inside and outside of the tank at any given time. for The lifting height at any given moment, For the pressure, height, or inclination at the next moment; S4-5: Establish a dynamic risk threshold system based on the operating mechanism: Determine the static safety boundary, including: maximum permissible pressure difference. and maximum allowable tilt angle ; Calculate the dynamic mechanism threshold based on the current height. By combining the theoretical drag curve, the theoretically expected pressure range, i.e., the normal fluctuation zone, can be derived. Based on the fan's maximum adjustment capacity, set the maximum rate of change thresholds for pressure and height. Set a safe dynamic range for the height difference between each support point. This range tightens appropriately as the total height increases, ultimately resulting in a dynamic threshold lookup table or function indexed by time / height. ; S4-6: Compare the prediction results of the time series forecasting algorithm model with the dynamic risk threshold to achieve early warning and calculate the predicted value. With dynamic threshold Distance: like If the fluctuation exceeds the normal fluctuation range but remains within the safety red line, it is considered an abnormal trend; if If the safety red line is reached or exceeded, it is determined to be an emergency risk.
2. The method for real-time prediction and risk analysis of the gas lifting process according to claim 1, characterized in that, In step S1, the preprocessing step for multi-source sensor data includes: S1-1 completing different data; S1-2 supplementing and optimizing the original data using mechanisms; The data completion algorithm for S1-1 is as follows: , in This is a missing point; For template sampling points; , missing interval The corresponding template range; For linear time scaling; It is a complete and unmissing reference sequence in the historical database; The mechanisms by which S1-2 fills in missing data include: 1) The calculation mechanism for the lifting height during the air jacking process is as follows: , in To the total lifting height, This is the average height reading. These are the height values at different measurement points; 2) The instantaneous velocity calculation mechanism during the air-lift process is as follows: , in For the height difference, For time difference; 3) The calculation mechanism for the maximum inclination during the air-jacking process is as follows: , in To obtain the maximum value, To take the minimum value among them; 4) The calculation mechanism of the tank pressure during the gas lifting process is as follows: , in Standard atmospheric pressure, The pressure difference between the inside and outside of the tank; 5) The calculation mechanism for air leakage rate during the air jacking process is as follows: , in air density; 6) The calculation mechanism for the air intake volume during the air jacking process is as follows: , in This refers to the air intake volume of the fan. The required air pressure for lifting. This represents the total volume of the storage tank after it has been lifted. This represents the initial volume inside the storage tank before lifting. Standard atmospheric pressure This is a dimensionless correction factor, with a value ranging from 1.05 to 1.
3.
3. The method for real-time prediction and risk analysis of the gas lifting process according to claim 1, characterized in that, In step S2, the DS evidence theory data fusion algorithm is used to further process the uncertainty, ambiguity, and conflicting information in the data. The steps include: S2-1: Define the recognition framework The goal is to optimize timing. The internal pressure or rate of rise of the tank: , When the optimization objective is the pressure value inside the tank, each It is a candidate value for the pressure value; when the optimization objective is the rate of ascent value, each It is a candidate value for the velocity, representing the value at that moment. The possible true value; S2-2: Evaluate the credibility of each data source. For each piece of evidence, construct a Basic Probability Assignment (BPA) based on its stability, consistency, and historical performance. Specifically: For the Each sensor at time readings ,calculate: , , in The difference from the previous time step. To account for the deviation from the mean values of other sensors, For the first Each sensor at time The original measurement value, The average value is from multiple sensors; Define BPA as: , in For sensor weights, For adjustment coefficients, Assign values to the basic probabilities. The quality of uncertainty is such that it is impossible to determine whether the value is correct; S2-3: Use Dempster's synthesis rules to fuse the BPAs of all evidence sources to obtain a smoothed composite value: , , , in Assign functions to the basic probabilities of each source of evidence. The proposition after fusion is any subset, A subset supported by each piece of evidence. As the normalization factor, This is the estimated value after fusion and optimization. Assign values to the integrated basic probabilities after fusion. The most credible candidate value is .
4. The method for real-time prediction and risk analysis of the gas lifting process according to claim 1, characterized in that, The steps for plotting the optimal operation curve in step S3 are as follows: S3-1: Collect time series data of multiple synchronously sampled process variables during the gas jacking process to form the original data matrix: , in The number of sampling points. For the original variable dimensions, For the first The sampling time of the first sampling moment The measured values of each variable; S3-2: Perform data standardization preprocessing, standardizing each column of variables to zero mean and unit variance to eliminate the influence of dimensions: , , in For the first The sample mean of the column variable. For the first The sample standard deviation of the column variable. The standardized value. A standardized matrix; S3-3: Standardization matrix Principal component analysis (PCA) was performed for dimensionality reduction to extract principal components and retain the original data variance information. Calculate the covariance matrix: , Eigenvalue decomposition: , in For the first 1 eigenvalue, For the first 1 eigenvector The eigenvalues are arranged in descending order; Before choosing There are principal components that satisfy the condition that the cumulative variance contribution rate is greater than or equal to a threshold: , in For threshold; Calculate the principal component score matrix: , in For the front The projection matrix composed of eigenvectors The principal component score matrix is the reduced-dimensionality matrix, and all columns are linearly independent. S3-4: Construct a multiple linear regression model (MLRM) to counteract the pressure. As the dependent variable, the principal component scores are used. Establish a regression model with the following variables as independent variables: , in The standardized pressure vector, For the regression coefficient vector, The residual vector; The parameters are estimated using the least squares method: , S3-5: Inversely transform the principal component regression model back to the original variable space to obtain physically interpretable operational relationships. Let the original independent variables be... Then there exists an approximately linear relationship: , , in Let be the standard deviation vector of the independent variable. The intercept term is obtained by restoring the mean. Exclusion of original independent variables ; S3-6: Clearly define the optimization objectives and safety and process constraints, define the optimization objectives and constraints, and plot the optimal operating curve: , in For energy consumption, For efficiency; S3-7: Traversal speed under constraints The feasible interval, for each Find the corresponding pressure that optimizes the objective. A series of points were obtained. Finally, the optimal operation curve is plotted.
5. The method for real-time prediction and risk analysis of the gas lifting process according to claim 1, characterized in that, The time series prediction algorithm model is an LSTM model, which serves as a real-time prediction model for the gas capping process. The network structure of the LSTM model is as follows: The input layer receives multidimensional temporal features; The LSTM layer is set with 2 to 3 stacked LSTM units. By using forget gate, input gate and output gate mechanism, it automatically learns the temporal evolution law of hidden states such as pressure accumulation, leakage rate and friction coefficient change. Dropout layers prevent overfitting; The fully connected output layer outputs the predicted values for the next N time steps. ; The training and optimization of the LSTM model are as follows: The model is trained using historical successful jacking case data, with mean squared error (MSE) as the loss function, and the Adam optimizer is used to update the weights. An early stopping mechanism is introduced to avoid overfitting. The real-time inference of the LSTM model is as follows: The real-time cleaned data stream is input into the trained LSTM model, which outputs prediction data of the future trend of the gas lifting process.
6. The method for real-time prediction and risk analysis of the gas lifting process according to claim 1, characterized in that, Software employing real-time prediction and risk analysis methods for the air-lifting process. Its development steps include: 1) Configure the data interface module and establish a real-time communication link: The software's "Data Interface" configuration interface provides a parameter input box, allowing users to set the IP address, port number, and communication protocol of the target data source; After the software starts, it initiates a connection request based on the set address and establishes a heartbeat detection mechanism. If no response is received within a specified time, the reconnection mechanism is automatically triggered and the connection log is recorded. 2) Perform data stream parsing and define packet parsing rules: The received raw byte stream is mapped into a structured data object, which includes fields such as timestamp, tank pressure, dome height and fan frequency. A memory ring buffer is set up to temporarily store the high-frequency incoming real-time data. 3) Instantiate and run steps S1~S4: Listen for the "Start Prediction" button event on the user interface. Once triggered, the software initializes the prediction thread pool; loads the time series prediction algorithm model, and loads the pre-trained time series prediction algorithm model weight file and gas crowning mechanism constraint parameter set from local storage or cloud model library; The pipeline executes steps S1 to S4, including data cleaning subprocess, feature engineering subprocess, inference and prediction subprocess, and risk analysis subprocess; at the same time, it performs status marking, sets the system global status flag to running, and starts a watchdog timer to monitor the health status of the algorithm process. 4) Push the analysis results to a remote terminal and convert them into visual information: The prediction results, risk analysis conclusions, and current system status are packaged into a standard transmission format JSON object. The preset "specified IP address" configuration item is read, and the packaged data packet is sent to the receiving end corresponding to the IP address using Socket communication or HTTP POST / WebSocket push technology. The visualized prediction curve is then displayed on the Web server. 5) Respond to user termination requests, ensure the algorithm process exits, release system resources, guarantee software stability, and continuously monitor the "Stop Prediction" button event: Upon detecting a click signal, the new data reading task is immediately interrupted, the process is smoothly shut down, and a termination signal is sent to the running algorithm model inference thread and data analysis thread. The system waits for the currently running single prediction calculation to complete, then forcibly terminates the loop, actively closes the data receiving connection with the field sensors, disconnects the data sending connection with the front-end display IP, and sends a "service stopped" status notification packet. It releases the occupied GPU / CPU memory resources and algorithm model handles. The system automatically saves the complete logs, key prediction segments, and alarm events from this run to the local database or cloud storage, generating a run report. Simultaneously, it performs a status reset, setting the system's global status flag to idle and restoring the interface to its initial standby state, preparing for the next task.
