CN103337000B - A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system - Google Patents
A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system Download PDFInfo
- Publication number
- CN103337000B CN103337000B CN201310301350.7A CN201310301350A CN103337000B CN 103337000 B CN103337000 B CN 103337000B CN 201310301350 A CN201310301350 A CN 201310301350A CN 103337000 B CN103337000 B CN 103337000B
- Authority
- CN
- China
- Prior art keywords
- centerdot
- matrix
- sigma
- variable
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system, comprises the modeling process of GMDH algorithm and the algorithm application flow in oil-gas gathering and transportation system safe early warning system; Namely GMDH algorithm model is first set up, then according to GMDH algorithm model, have chosen the input of the working parameter of a certain period oil-gas gathering and transportation system as model data, the situation in future is predicted, obtain final early warning result, and carry out early warning measure in advance and prepare. Compared with prior art, invention has the following advantages: modeler does not exist bias in modeling process, computer is the optimum variable of Confirming model and structure automatically, ensures selecting without artificial subjective factor of model like this, such that it is able to improve the precision of data prediction.
Description
Technical field
Present method relates to a kind of method of data prediction, a kind of Forecasting Methodology being especially applied in oil-gas gathering and transportation system safe early warning system.
Background technology
The process characteristic of oil-gas gathering and transportation system self determines that it is a hazard level height, the place that is prone to accidents. Along with the increase of oilfield transportation system scale, the contact between its structure and each subsystem inner is also more and more complicated, will utilize now some safety technique means that it carries out effective safe early warning also more and more difficult.
On the other hand; along with the development of science and technology; oil-gas gathering and transportation system engineering is constantly comprehensively developed to systems engineering and concurrent engineering direction by Engineering Speciality; with above-mentioned traditional security monitoring with evaluate theoretical and method analyze these huge and Iarge-scale system of complexity time, the complicated problem such as usually can run into that changing environment, higher-dimension high-order, fault data sample be incomplete and information is few.
Therefore, " information island " and " data rich and lack of knowledge and information statement are not directly perceived " problem is the bottleneck that oilfield transportation system is carried out effective and safe management by restriction. In the process of construction of digitizing oil field, raw security testing and monitoring data volume is big and mixes, the security how field produces is managed by decision-making level by the data of magnanimity carries out interpretation and application, thus carry out rational security and emergency response, effectively control examination and repair cost, reduce damage sequence loss, and then improve the intrinsic safety in oil field, be problem demanding prompt solution in the information-based process of current safe monitoring index system in the world.
Traditional safe early warning method has multiple, such as gray theory method, Time Series AR modelling, SVMs method etc.The fitting precision of these Forecasting Methodologies is higher, but for reality engineering predict time, be easy to that bigger error occurs. Because traditional Forecasting Methodology is that the dynamic parameter of forecasting object is regarded as static parameter, modeler needs the independent variable(s) considered in function and dependent variable and parameter and coefficient in modeling process, and these often modeler according to consulting relevant data and data obtain. So traditional modeling method all with modeler subjective thought inside, this just causes the practicality of institute's established model to reduce, and the precision predicted the outcome also reduces accordingly.
Summary of the invention
For solving the deficiencies in the prior art, the present invention provides a kind of safe monitoring and pre-alarming method of the oil-gas gathering and transportation system based on GMDH algorithm, predicts the outcome the low defect of precision to solve prior art.
The present invention comprises the modeling process of GMDH algorithm and the algorithm application flow in oil-gas gathering and transportation system safe early warning system;
First setting up GMDH algorithm model, modeling process comprises the following steps:
If input variable is x1,x2,…,xn, output variable is y, sets up a high-order regression model:
Y=f(x1,x2,…,xn) (1)
Wherein Y is dependent variable, and x is independent variable(s);
If x is the input of system, y is the output of system, sample count as n, the number of sample is m, the data of sample is divided into learning sample and test samples, if the number of learning sample is nt, the input and output matrix of variables W of system is as follows:
Next step regression Calculation;
In formula (2) matrix, get any Two Variables x of input variable in learning samplei,xjPolynomial regression is carried out by following equation with output variable y:
Wherein the learning sample of A, B, C, D, E and F matrix (5) calculates according to method of least squares; After recurrence, it is possible to produceThe recurrence polynomial expression of individual higher-order, if:
Then can calculate from the input variable part of matrix (4) and obtain new matrix as shown in the table:
(5)
Next step optimized choice;
The process of previous step is the process that input variable x is replaced by new input variable z in fact, and the object changed like this finds out between it and inspection matrix y the relation existed;
The method used is as follows:
By formula (3), the input and output variable in the test samples matrix in formula (2) matrix is carried out polynomial regression, and the result obtained corresponding element value inner with table (1) is by the root-mean-square value of column count between them:
Here sequence number obtains by the sequence number in test samples, is nt+1 to n;
According to experience value, or sets itself threshold value rg, from the matrix obtained, leave out those rj≥rgRow; K' row are made to meet rj<rg, then it is reassembled into matrix z ' with K'k, then with z 'kM), replacing the input variable of matrix (5), this just obtains one group of new matrix, and (wherein k ' is < as shown in table
Next step is optimized inspection and calculates;
According to previous step, it is possible to obtain minimum rj, it is designated as Rmin; Then with z as variable, repeat the process of the first step and the 2nd step, obtain RminIf, the R that this step producesminThan the R of previous stepminLittle, then continue to repeat the first step and the 2nd step, until the R obtainedminBig than a step above, so iteration just stops; This iterative process just can reach requirement after 4 iteration; The first of input matrix z arranges the y producediIt is worth as follows:
Y described above1To yn, it is obtain by n sampled data; Predictive model required by us is exactly the polynomial expression represented by the first row of matrix;
Next provides the application flow of above-mentioned algorithm in oil-gas gathering and transportation system safe early warning system, and idiographic flow is as follows:
1. set up raw data set, regard the parameter value of oil-gas gathering and transportation system on-line data acquisition as a time series, predict x by front k the value in n momentn, can represent for xn=f(xn-1,xn-2,…xn-k), corresponding matrix is
Wherein, k is prediction order;
2., according to GMDH algorithm process, above-mentioned raw data is divided into training set and inspection collection;
3. get the reference function of (3) formula as model, each independent variable(s) in this function is used as new independent variable(s), then there are 5 independent variable(s) according to (3) formula, then the first layer input of GMDH model can choose this 5 new independent variable(s), again these 5 variablees are combined respectively between two, it is possible to producing new model number isOn the set W of training set and system, simulate these new models respectively according to method of least squares, obtain the mid-module of GMDH network like this; Again according to the model in the middle of these, calculate the estimated value on training set corresponding to mid-module and system set W;
4. with the minimum deviation criterion in the outer criterion of packet Processing Algorithm as the formula (6), from all competitive models that the 3rd step is formed, search out optimum model;
5. by Optimality equations, the situation in future is predicted, obtains final early warning result, and carry out early warning measure in advance and prepare.
Compared with prior art, invention has the following advantages: modeler does not exist bias in modeling process, computer is the optimum variable of Confirming model and structure automatically, ensures selecting without artificial subjective factor of model like this, such that it is able to improve the precision of data prediction.
Accompanying drawing explanation
Fig. 1 is GMDH algorithm iteration step number judgment criterion schematic diagram.
Fig. 2 is the application flow block diagram of GMDH algorithm in oil-gas gathering and transportation system safe early warning system.
Fig. 3 is water trap oil liquid level prognostic chart.
Fig. 4 is water trap oil liquid level prediction partial enlargement figure.
Fig. 5 is the fuel-displaced pressure prediction figure of water trap.
Fig. 6 is the fuel-displaced pressure prediction partial enlargement figure of water trap.
Fig. 7 is the fuel-displaced temperature prediction figure of water trap.
Fig. 8 is the fuel-displaced temperature prediction partial enlargement figure of water trap
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described:
A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system, comprises the modeling process of GMDH algorithm and the algorithm application flow in oil-gas gathering and transportation system safe early warning system;
First setting up GMDH algorithm model, modeling process comprises the following steps:
If input variable is x1,x2,…,xn, output variable is y, sets up a high-order regression model:
Y=f(x1,x2,…,xn) (1)
Wherein Y is dependent variable, and x is independent variable(s);
If x is the input of system, y is the output of system, sample count as n, the number of sample is m, the data of sample is divided into learning sample and test samples, if the number of learning sample is nt, the input and output matrix of variables W of system is as follows:
Next step regression Calculation;
In formula (2) matrix, get any Two Variables x of input variable in learning samplei,xjPolynomial regression is carried out by following equation with output variable y:
Wherein the learning sample of A, B, C, D, E and F matrix (5) calculates according to method of least squares;
After recurrence, it is possible to produceThe recurrence polynomial expression of individual higher-order, if:
Then can calculate from the input variable part of matrix (4) and obtain new matrix as shown in the table:
(5)
Next step optimized choice;
The process of previous step is the process that input variable x is replaced by new input variable z in fact, and the object changed like this finds out between it and inspection matrix y the relation existed;
The method used is as follows:
By formula (3), the input and output variable in the test samples matrix in formula (2) matrix is carried out polynomial regression, and the result obtained corresponding element value inner with table (1) is by the root-mean-square value of column count between them:
Here sequence number obtains by the sequence number in test samples, is nt+1 to n;
According to experience value, or sets itself threshold value rg, from the matrix obtained, leave out those rj≥rgRow; K' row are made to meet rj<rg, then it is reassembled into matrix z ' with K'k, then with z 'kM), replacing the input variable of matrix (5), this just obtains one group of new matrix, and (wherein k ' is < as shown in table
Next step is optimized inspection and calculates;
According to previous step, it is possible to obtain minimum rj, it is designated as Rmin; Then with z as variable, repeat the process of the first step and the 2nd step, obtain RminIf, the R that this step producesminThan the R of previous stepminLittle, then continue to repeat the first step and the 2nd step, until the R obtainedminBig than a step above, so iteration just stops; See Fig. 1, it is seen that, this process just can reach requirement after 4 iteration; The first of input matrix z arranges the y producediIt is worth as follows:
Y described above1To yn, it is obtain by n sampled data; Predictive model required by us is exactly the polynomial expression represented by the first row of matrix;
Next provides the application flow of algorithm in oil-gas gathering and transportation system safe early warning system, as follows see Fig. 2 idiographic flow:
1. set up raw data set, regard the parameter value of oil-gas gathering and transportation system on-line data acquisition as a time series, predict x by front k the value in n momentn, can represent for xn=f(xn-1,xn-2,…xn-k), corresponding matrix is
Wherein, k is prediction order;
2., according to GMDH algorithm process, above-mentioned raw data is divided into training set and inspection collection;
3. get the reference function of (3) formula as model, each independent variable(s) in this function is used as new independent variable(s), then there are 5 independent variable(s) according to (3) formula, then the first layer input of GMDH model can choose this 5 new independent variable(s), again these 5 variablees are combined respectively between two, it is possible to producing new model number isOn the set W of training set and system, simulate these new models respectively according to method of least squares, obtain the mid-module of GMDH network like this; Again according to the model in the middle of these, calculate the estimated value on training set corresponding to mid-module and system set W;
4. with the minimum deviation criterion in the outer criterion of packet Processing Algorithm as the formula (6), from all competitive models that the 3rd step is formed, search out optimum model;
5. by Optimality equations, the situation in future is predicted, obtains final early warning result, and carry out early warning measure in advance and prepare.
The collection in worksite data of the major equipment water trap in oil-gas gathering and transportation system have been carried out prediction checking by calculation process according to GMDH algorithm and calculation procedure, respectively to the oil liquid level of water trap, go out oil pressure and fuel-displaced temperature has been applied.
Present method have employed MATLAB and GMDH method programmed, and have chosen the input of the working parameter of a certain period water trap as model data, and the result of prediction is as shown in figures 3-8. As can be seen from the figure, after adopting the method, the predictor of the data of collection in worksite and the fitting degree of actual value are very high, and relative error is maximum is only 0.03%. Absolutely prove the feasibility that GMDH model is predicted for the safety of oil-gas gathering and transportation system online data.
Claims (1)
1. the safe monitoring and pre-alarming method of oil-gas gathering and transportation system, it is characterised in that: comprise the modeling process of GMDH algorithm and the algorithm application flow in oil-gas gathering and transportation system safe early warning system;
First setting up GMDH algorithm model, modeling process comprises the following steps:
If input variable is x1,x2,…,xn, output variable is y, sets up a high-order regression model:
Y=f (x1,x2,…,xn)(1)
Wherein y is dependent variable, and x is independent variable(s);
If x is the input of system, y is the output of system, sample count as n, the number of sample is m, the data of sample is divided into learning sample and test samples, if the number of learning sample is nt, the input and output matrix of variables W of system is as follows:
Next step regression Calculation;
In formula (2) matrix, get any Two Variables x of input variable in learning samplei,xjPolynomial regression is carried out by following equation with output variable y:
Wherein A, B, C, D, E and F are calculated according to method of least squares by the learning sample in matrix (5);
After recurrence, it is possible to produceThe recurrence polynomial expression of individual higher-order, if:
Then can calculate from the input variable part of matrix (4) and obtain new matrix as follows:
Next step optimized choice;
The process of previous step is the process that input variable x is replaced by new input variable z in fact, and the object changed like this finds out between it and inspection matrix y the relation existed;
The method used is as follows:
By formula (3), the input and output variable in the test samples matrix in formula (2) matrix is carried out polynomial regression, and the result obtained corresponding element value inner with matrix (5) is by the root-mean-square value of column count between them:
Here sequence number obtains by the sequence number in test samples, is nt+1 to n;
According to experience value, or sets itself threshold value rg, from the matrix obtained, leave out those rj≥rgRow; K' row are made to meet rj< rg, then it is reassembled into matrix z with K'K', then use zK'Replacing the input variable of matrix (5), this just obtains one group of new matrix (wherein K'< m), as shown in table
Next step is optimized inspection and calculates;
According to previous step, it is possible to obtain minimum rj, it is designated as Rmin; Then with z as variable, repeat the process of the first step and the 2nd step, obtain RminIf, the R that this step producesminThan the R of previous stepminLittle, then continue to repeat the first step and the 2nd step, until the R obtainedminBig than a step above, so iteration just stops; The first of input matrix z arranges the y producediIt is worth as follows:
Y described above1To yn, it is obtain by n sampled data; Predictive model required by us is exactly the polynomial expression represented by the first row of matrix;
Next provides the application flow of algorithm in oil-gas gathering and transportation system safe early warning system, and idiographic flow is as follows:
I. set up raw data set, regard the parameter value of oil-gas gathering and transportation system on-line data acquisition as a time series, predict x by the individual value of front k ' in n momentn, can represent for xn=f (xn-1, xn-2... xn-k′) corresponding matrix is
Wherein, k ' is prediction order;
II. according to GMDH algorithm process, above-mentioned raw data is divided into training set and inspection collection;
III. get the reference function of (3) formula as model, each independent variable(s) in this function is used as new independent variable(s), then there are 5 independent variable(s) according to (3) formula, then the first layer input of GMDH model can choose this 5 new independent variable(s), again these 5 variablees are combined respectively between two, it is possible to producing new model number isOn the set W of training set and system, simulate these new models respectively according to method of least squares, obtain the mid-module of GMDH network like this; Again according to the model in the middle of these, calculate the estimated value on training set corresponding to mid-module and system set W;
IV. by the minimum deviation criterion in the outer criterion of packet Processing Algorithm such as formula, shown in (6), searching out optimum model from all competitive models that the 3rd step is formed;
V. by Optimality equations, the situation in future is predicted, obtain final early warning result, and carry out early warning measure in advance and prepare.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310301350.7A CN103337000B (en) | 2013-07-18 | 2013-07-18 | A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310301350.7A CN103337000B (en) | 2013-07-18 | 2013-07-18 | A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103337000A CN103337000A (en) | 2013-10-02 |
CN103337000B true CN103337000B (en) | 2016-06-15 |
Family
ID=49245156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310301350.7A Active CN103337000B (en) | 2013-07-18 | 2013-07-18 | A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103337000B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108765889B (en) * | 2018-04-17 | 2020-08-04 | 中国石油集团安全环保技术研究院有限公司 | Oil and gas production operation safety early warning method based on big data technology |
CN109299560B (en) * | 2018-10-09 | 2020-10-27 | 西安交通大学 | Method for determining optimal exhaust pressure characteristic variable of CO2 system |
CN110148285B (en) * | 2019-05-15 | 2021-04-02 | 山东云科汉威软件有限公司 | Intelligent oil well parameter early warning system based on big data technology and early warning method thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63209790A (en) * | 1987-02-27 | 1988-08-31 | Meidensha Electric Mfg Co Ltd | Bulking controller |
CN1794309A (en) * | 2005-12-26 | 2006-06-28 | 山东赛瑞石油科技发展有限公司 | Remote monitoring method of oil gas gathering and transportation pipeline electric protection |
-
2013
- 2013-07-18 CN CN201310301350.7A patent/CN103337000B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63209790A (en) * | 1987-02-27 | 1988-08-31 | Meidensha Electric Mfg Co Ltd | Bulking controller |
CN1794309A (en) * | 2005-12-26 | 2006-06-28 | 山东赛瑞石油科技发展有限公司 | Remote monitoring method of oil gas gathering and transportation pipeline electric protection |
Non-Patent Citations (2)
Title |
---|
Abductive Networks:A New Modeling Tool for the Oil and Gas Industry;R.E.Abdel-Aal;《SPE Asia Pacific Oil and Gas Conference and Exhibition》;20021010;1-7 * |
基于GMDH的民航客运量需求预测与分析;邓洁君等;《软科学》;20061230;第20卷(第6期);35-38 * |
Also Published As
Publication number | Publication date |
---|---|
CN103337000A (en) | 2013-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wu et al. | Critical review of data-driven decision-making in bridge operation and maintenance | |
CN105139585B (en) | A kind of soil-slope dangerous situation intelligent early-warning forecasting procedure | |
CN104238545B (en) | Fault diagnosis and pre-warning system in oil refining production process and establishment method thereof | |
Purba et al. | Fuzzy probability based fault tree analysis to propagate and quantify epistemic uncertainty | |
CN105653794B (en) | A kind of time-varying reliability design method of the Rectangular Plate Structure containing initial imperfection | |
CN111178758A (en) | Concrete dam monitoring data intelligent management and real-time evaluation system based on BIM | |
CN103514366A (en) | Urban air quality concentration monitoring missing data recovering method | |
CN103983453A (en) | Differentiating method of fault diagnosis of executing mechanism of aeroengine and sensor | |
CN103455682A (en) | Method for predicting residual life of corroded casing of high-temperature and high-pressure well | |
CN103425874B (en) | A kind of Space Vehicle Health appraisal procedure based on profust reliability theory | |
CN105243393A (en) | Characteristic-based fault forecasting method for complex electromechanical system | |
Tang et al. | A framework for making maintenance decisions for oil and gas drilling and production equipment | |
CN102662389A (en) | Monitoring parameter selection method based on failure characteristic analysis | |
CN104850750A (en) | Nuclear power plant reactor protection system reliability analysis method | |
CN103337000B (en) | A kind of safe monitoring and pre-alarming method of oil-gas gathering and transportation system | |
CN104156775B (en) | Meteorological disaster Forecasting Methodology based on arithmetic of linearity regression | |
Xu et al. | A hybrid approach for dynamic simulation of safety risks in mega construction projects | |
CN105718667A (en) | Validation method of non-probabilistic Bayesian model for aircraft structure | |
Enemark-Rasmussen et al. | A simulation based engineering method to support HAZOP studies | |
CN103226737B (en) | Based on the chemical industry unusual service condition trend forecasting method of Kalman filtering and gray prediction | |
CN109902265A (en) | A kind of underground method for early warning based on hidden Markov model | |
Chen et al. | Spatio‐temporal data mining method for joint cracks in concrete dam based on association rules | |
CN105488343A (en) | Fault probability calculation method of secondary electric power equipment | |
CN105741184A (en) | Transformer state evaluation method and apparatus | |
Jun et al. | Markov/CCMT: towards an integrated platform for dynamic reliability and risk analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |