CN112330082A - Intelligent quantitative risk assessment method based on dynamic mechanism model - Google Patents
Intelligent quantitative risk assessment method based on dynamic mechanism model Download PDFInfo
- Publication number
- CN112330082A CN112330082A CN202010811837.XA CN202010811837A CN112330082A CN 112330082 A CN112330082 A CN 112330082A CN 202010811837 A CN202010811837 A CN 202010811837A CN 112330082 A CN112330082 A CN 112330082A
- Authority
- CN
- China
- Prior art keywords
- dynamic
- network
- risk assessment
- assessment method
- mechanism 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000012502 risk assessment Methods 0.000 title claims abstract description 26
- 230000008278 dynamic mechanism Effects 0.000 title claims abstract description 20
- 230000008569 process Effects 0.000 claims abstract description 31
- 238000010586 diagram Methods 0.000 claims abstract description 16
- 238000012549 training Methods 0.000 claims abstract description 13
- 238000002474 experimental method Methods 0.000 claims abstract description 7
- 238000012360 testing method Methods 0.000 claims abstract description 7
- 230000000694 effects Effects 0.000 claims abstract description 6
- 238000013528 artificial neural network Methods 0.000 claims abstract description 5
- 241000183024 Populus tremula Species 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 4
- 230000001537 neural effect Effects 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract description 3
- 238000010276 construction Methods 0.000 abstract description 2
- QGZKDVFQNNGYKY-UHFFFAOYSA-N Ammonia Chemical compound N QGZKDVFQNNGYKY-UHFFFAOYSA-N 0.000 description 42
- 229910021529 ammonia Inorganic materials 0.000 description 20
- 238000003786 synthesis reaction Methods 0.000 description 13
- 230000015572 biosynthetic process Effects 0.000 description 12
- 210000004027 cell Anatomy 0.000 description 11
- 239000007789 gas Substances 0.000 description 9
- 238000004880 explosion Methods 0.000 description 8
- 238000001311 chemical methods and process Methods 0.000 description 6
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 6
- 239000000498 cooling water Substances 0.000 description 5
- 101001095088 Homo sapiens Melanoma antigen preferentially expressed in tumors Proteins 0.000 description 4
- 102100037020 Melanoma antigen preferentially expressed in tumors Human genes 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 4
- 230000004907 flux Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 238000002347 injection Methods 0.000 description 3
- 239000007924 injection Substances 0.000 description 3
- 238000010801 machine learning Methods 0.000 description 3
- 239000004229 Alkannin Substances 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 2
- 239000004230 Fast Yellow AB Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000002485 combustion reaction Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000007787 long-term memory Effects 0.000 description 2
- 230000015654 memory Effects 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 239000004172 quinoline yellow Substances 0.000 description 2
- 239000004149 tartrazine Substances 0.000 description 2
- 239000002341 toxic gas Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000011248 coating agent Substances 0.000 description 1
- 238000000576 coating method Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000000704 physical effect Effects 0.000 description 1
- 230000003449 preventive effect Effects 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 239000012495 reaction gas Substances 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000002829 reductive effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000002151 riboflavin Substances 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000036962 time dependent Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000002023 wood Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0635—Risk analysis of enterprise or organisation activities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Artificial Intelligence (AREA)
- Software Systems (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Molecular Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Development Economics (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- Educational Administration (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an intelligent quantitative risk assessment method based on a dynamic mechanism model, which comprises the following steps: establishing a steady-state model of the process flow according to the process flow diagram and the process parameters, adding a controller, establishing a dynamic mechanism model, and simulating process leakage to obtain dynamic data sets with different disturbances; selecting a variable for manual intervention, dividing a dynamic data set into a training set and a testing set, and adjusting network hyper-parameters by adopting an orthogonal experiment method; predicting variables which directly affect accident consequences through neural network learning, so that the network achieves the optimal prediction effect on a training set; and simulating accident hazard ranges under different process disturbances by a dynamic risk assessment method. The method realizes the construction of an industrial process dynamic mechanism model, accurately predicts the variable directly influenced by the accident, dynamically simulates the damage range of the accident, and has higher reliability compared with the classical safety assessment method.
Description
Technical Field
The invention relates to the field of chemical process prediction and safety evaluation, in particular to an intelligent quantitative risk evaluation method based on a dynamic mechanism model.
Background
Safety assessment is a prerequisite for the proper operation of chemical processes. Predictive risk analysis (PHA) is a widely used method for security assessment. Although it has the advantages of reducing the cost and reducing the occurrence of accidents, it still has some drawbacks, it depends heavily on the expertise of experts and it is difficult to obtain reliable quantitative results, and it may cause misjudgment if the experience is insufficient. Therefore, the reliable, accurate and dynamic risk assessment method can better ensure the production safety and the stable operation of the device.
Risk assessment methods in chemical processes are divided into qualitative and quantitative methods. Qualitative methods such as HAZOP and SIL analysis can estimate the possible risks of the process and the reasons of the risks through the brainstorms of expert groups, obtain the severity and frequency of the consequences when an accident occurs, and further provide corresponding preventive measures. Compared with a qualitative method, the quantitative risk assessment calculates the damage range caused by the accident based on the process parameters and the external environment parameters. However, it also requires constant loop calculations and cannot update the hazard range based on process upsets.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an intelligent quantitative risk assessment method based on a dynamic mechanism model, which is characterized in that a dynamic data set is built through the mechanism model, the interrelation among variables is learned by a deep learning technology, the variables directly influencing the consequences are predicted, and then the risk assessment method is adopted to simulate the accident hazard range.
In order to achieve the purpose, the invention provides the following technical scheme:
an intelligent quantitative risk assessment method based on a dynamic mechanism model comprises the steps of building a process flow mechanism model, predicting variables with direct influence on consequences by an LSTM, and simulating an accident hazard range by a QRA method, and comprises the following steps:
step one, establishing a process flow steady-state model through Aspen according to a process flow diagram and process parameters to ensure that the steady-state model is consistent with industrial actual data;
secondly, adding a controller through Aspen Dynamics, building a dynamic mechanism model, and simulating process leakage to obtain dynamic data sets with different disturbances;
thirdly, selecting a variable for human intervention from the dynamic data set obtained in the second step, dividing the dynamic data set into a training set and a testing set according to a proportion, and adjusting network hyper-parameters by adopting an orthogonal experiment method;
predicting variables which directly affect accident consequences through neural network learning, so that the network achieves the optimal prediction effect on the training set;
and fifthly, inputting network prediction and external environment parameters through a dynamic risk assessment method, and simulating the accident hazard range under different process disturbances.
Preferably, the steady-state model in the step one is consistent with the industrial practice, and the standard is that the relative error between the simulated data and the actual data is less than 3%.
Preferably, in the second step, each column of the dynamic data set represents a variable for human intervention, a row represents time, and reflects the change of the variable along with time, and the last column is a network prediction variable and is also a variable which directly affects an accident.
Preferably, the neural learning tool in step four is an LSTM neural network.
Preferably, in the third step, the dynamic data set except the last column is used as the input of the LSTM network, the dynamic data set is divided into a training set and a test set according to the proportion of 8:2, an LSTM model is built based on an open-source python 3.5 code packet, and the network hyper-parameter is adjusted by adopting an orthogonal experiment method
Preferably, in the fourth step, the characteristics of the human intervention variables are learned through a three-door mechanism of the LSTM network, deep relationships among the variables are memorized, and the variables which directly affect the accident consequence are predicted, so that the network achieves the optimal prediction effect on the training set.
The invention also takes the leakage accident of the synthetic ammonia engineering as an example, and particularly describes the flow of the intelligent quantitative risk assessment method provided by the invention, and provides the application of the method in the safety assessment of the chemical process.
The invention has the following beneficial effects:
(1) the invention provides an intelligent quantitative risk assessment method based on a dynamic mechanism model, which realizes the construction of the industrial process dynamic mechanism model, accurately predicts the variable directly influenced by an accident, dynamically simulates the hazard range of the accident, and has higher reliability compared with the classical safety assessment method.
(2) The method of the invention takes the leakage accident of the synthetic ammonia engineering as an example, effectively solves the problems that the safety assessment of the chemical process is mostly based on the heuristic method and needs a large amount of manual experience, improves the safety of the process, prevents unnecessary casualties and property loss caused by the accident, and also provides reference opinions for safe evacuation and plant area arrangement.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the invention and not to limit the invention.
FIG. 1 is a block diagram of DYN-LSTM-QRA method;
FIG. 2 is a PID control schematic;
FIG. 3 is a diagram illustrating a machine learning sequence;
FIG. 4 is a diagram of a long term memory network;
fig. 5 is a flow chart of the QRA method;
FIG. 6 is a steady state flow diagram of a process for ammonia synthesis;
FIG. 7 is a dynamic flow diagram of a process for ammonia synthesis;
FIG. 8 is a graph of feed and leak as a function of time under a feed disturbance;
FIG. 9 is an image of cooling water flow and leakage with time under a water break;
FIG. 10 is a comparison of the orthogonal experimental parameter adjustment process;
FIG. 11 is a graph comparing predicted and actual results for 5 examples;
FIG. 12-1 is a simulated diagram of a jet fire of example c;
FIG. 12-2 is a simulated diagram of an injection fire of example d;
FIG. 12-3 is a simulated view of an injection fire of example e;
FIG. 13 is a simulated diagram of a flash fire of example c;
FIG. 14 is a graph of explosion overpressure versus distance for example c;
fig. 15 is a diagram of a heat exchanger PFD.
Detailed Description
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments in accordance with the invention. As used herein, the singular is intended to include the plural unless the context clearly dictates otherwise, and it should be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of features, steps, operations, devices, components, and/or combinations thereof.
Terms and names interpretation:
the PID control is a general name of proportional-integral-derivative feedback control, and a controller applying a PID control law is called a PID controller. The PID controller compares the set value and the output value to form a control deviation, and after proportional, integral and differential operations are carried out on the control deviation, the control deviation is formed by linear combination. The control principle is shown in fig. 2.
Machine learning, as shown in fig. 3, includes three parts, input, network operation and output, and as an important method of machine learning, RNN and LSTM are each characterized, LSTM is a variant RNN and its essence is to introduce a concept of cell state, which is different from RNN only considering the most recent state, and the cell state of LSTM determines which states should be left and which should be forgotten.
The internal working principle of the LSTM neuron is shown in fig. 4. It consists of layer-by-layer and point-by-point operations that provide information on the state of the LSTM unit and maintain long-term memory through the network and input. In contrast to RNN, LSTM has three gates to protect and control the cell state. The input gate controls how much information can flow into the memory unit. Forgetting controls the proportion of information accumulated in the unit from the last time to the current time. The output gate controls the proportion of information in the cell from the current time to the current hidden state. The formula for the three gates is as follows:
it=σ(Wiht-1+WiXt+bi) (1)
ft=σ(Wfht-1+WfXt+bf) (2)
ot=σ(Woht-1+WoXt+bo) (3)
itis the input gate of the LSTM cell, ftIs a forgetting gate of the LSTM cell, otIs the output gate of the LSTM cell, σ is the activation function, W()Is the weight matrix of the gate, ht-1Is the output vector of the LSTM cell, X, computed at time t-1tIs an input value at time t, b()Is the biasing of the door.
The storage unit accumulates history information, which restricts information in a cell to a previous time by forgetting a gate, and restricts the input of new information by an input gate, as shown in the following formula:
By introducing memory states and three gates, the LSTM is able to find memorable history data as well as data that should be forgotten.
Quantitative Risk Assessment (QRA) is a Risk prediction method, and is an Analysis technique for assessing system reliability and availability, and is established on the basis of the theory of probability statistics to simulate accidents, and the flow of the method is shown in fig. 5, and the QRA method has been widely used in recent years.
In this embodiment, leakage accidents in the ammonia synthesis engineering are taken as an example, and specifically, the flow of the intelligent quantitative risk assessment method provided by the present invention is described, it should be noted that, after reading this embodiment, a person skilled in the art may transfer the flow to other chemical processes, and should also be used as an application of the technical solution provided by the present invention.
An intelligent quantitative risk assessment method based on a dynamic mechanism model is shown in a general flow chart of fig. 1, and comprises the following specific steps:
step one, establishing a process flow steady-state model through Aspen according to a process flow diagram and process parameters, and ensuring that the steady-state model is consistent with industrial actual data.
Based on the existing equipment model building process flow in Aspen software, the physical property selection method is referred to in the literature. And determining parameters such as pressure drop and temperature difference of each heat exchanger, pipeline feeding amount, temperature, pressure, mole fraction and the like according to the PFD diagram. As shown in the PFD diagram of the heat exchanger in FIG. 15, the temperatures of the materials 242 and 241 are respectively 40 and 55 degrees Celsius, the flow rate of 242 is 30388kg/h, the heat load of the heat exchanger 207 is-261.04 kw, and the parameters such as the inlet and outlet temperature, the material flow rate and the temperature of the heat exchanger during the Aspen simulation can be determined through the PFD diagram. And finally selecting a Newton iteration method to finish convergence. The steady state flow chart of the synthesis of ammonia is shown in FIG. 6, and the main variables are shown in Table 1. First, fresh synthesis gas enters the compressor (COM1), while fresh air is pressurized through the compression section. The compressed gas is cooled and enters the circulation section of the compressor together with the circulation gas coming out of the cold exchanger (E104). The mixture is finally pressurized to 15mpa and sent to a compressor. The synthesis gas is preheated by a heat exchanger (E102) and then sent to three synthesis ammonia reactors for synthesis ammonia reaction. Reaction gas generated by the synthetic ammonia reactor enters a high-pressure boiler feed water heat exchanger (E101) for heat recovery and then enters a heat exchanger (E102) for preheating, gas at the outlet of a compressor (COM3) is finally cooled to 273K through a water cooler (E103), a cold exchanger (E104) and an ammonia cooler (E105), and condensed liquid ammonia is separated by two-stage ammonia separators (D1 and D2). The circulating gas passes through the cold exchanger and is then introduced into the circulating section of the compressor to be combined with fresh gas, and the cycle is repeated.
Since it is difficult to simulate three-stage ammonia synthesis reaction by one column, the ammonia synthesis column is replaced by 3 reactors (R1, R2, R3) connected in series in the flow. Comparison of the final simulation results with the plant data is shown in table 2, where the steady state model is consistent with the industry practice, with the criterion that the relative error between the simulated data and the actual data is less than 3%.
Table 1 main variables table for ammonia synthesis process
TABLE 2 simulation and comparison Table for ammonia synthesis process
And secondly, adding a controller through Aspen Dynamics, building a dynamic mechanism model, and simulating process leakage to obtain dynamic data sets with different disturbances.
As shown in fig. 7, 3 reactors and 2 separators are respectively added with a pressure controller (PC1, PC2, PC3) and a liquid level controller (LC1, LC2), the parameters of the dynamic analog controller are shown in table 4, and since the controller adopts the PID control principle which is shown in fig. 2, when the controlled material fluctuates, the proportion control immediately generates a control action to reduce the error; the integration link memorizes errors and is mainly used for eliminating static errors and improving the zero-difference degree of the system; the differentiation link reflects the variation trend (change rate) of the deviation signal, and can introduce an effective early correction signal into the system before the value of the deviation signal becomes too large, so that the action speed of the system is accelerated, the regulation time is shortened, and the stable operation of the flow is ensured when disturbance is added. Adding a splitter to simulate leakage, and introducing a code to automatically open a valve when the pressure alarms; the dynamic data set was established by adding feed controllers to the feed stream (FC1), ammonia chiller (E105-FC3), and water cooler (E103-FC2) to set the disturbances. Each column of the dynamic data set represents a variable which is manually intervened, each row represents the change of the reflected variable along with the time at each moment, and the last column is a network prediction variable and is also a variable which has direct influence on accidents. As shown in table 3:
TABLE 3 dynamic data set (part)
As shown in fig. 8 and 9, (a) and (b) in fig. 8 are graphs showing the time-dependent changes of the feeding amount and the leakage amount when the disturbance of 10% and 15% is added to the feeding flow of the system, respectively; fig. 9 (a) and (b) are images showing changes over time in the flow rate and leakage rate of the cooling water when the cooling water is interrupted in the water cooler (E103) and the ammonia cooler (E105), respectively.
TABLE 4 dynamic analog controller parameter table
And step three, except for the last row of network prediction variable rows, taking the dynamic data set as the input of the LSTM network, dividing the dynamic data set into a training set and a testing set according to the ratio of 8:2, building an LSTM model based on an open source python 3.5 code packet, and adjusting network hyper-parameters by adopting an orthogonal experiment method.
According to the step (two), 3000 continuous-time data are collected from each group of dynamic data sets, wherein 2400 is a training set, 600 is a test set, and 20 groups are provided, and the disturbance of 5 cases is simulated, wherein the 5 cases are shown in table 5. The number of layer nodes, the node size and the activation function of the network are discussed respectively by adopting a three-factor three-level orthogonal experiment, and the experimental scheme is shown in table 6. The comparison between the predicted values and the actual values of the 9 sets of experimental networks is shown in fig. 10, and 9 graphs in fig. 10 are images of the predicted values and the actual values of the networks under 9 sets of different hyper-parameters, respectively. As can be seen from the figure, the leakage amount predicted by the network in the scheme D is the smallest difference from the actual leakage amount, so that the final network adopts 30 node numbers, a sigmoid activation function and 100 node sizes for prediction.
TABLE 5 perturbation example information Table
TABLE 6 orthogonal experimental parameters table
And step four, learning the characteristics of the human intervention variables through a three-door mechanism of the LSTM network, memorizing deep relationships among the variables, and predicting the variables which directly affect the accident consequences, so that the network achieves the optimal prediction effect on the training set.
As shown in fig. 11, 5 leakage cases of 10%, 15%, 20%, and 20% of the feed disturbance were predicted, and 5 examples are shown in table 4, where (a), (b), and (c) are images of predicted values and actual values of the network under 10%, 15%, and 20% of the feed disturbance, (d) are predicted images of the network when the cooling water of the water cooler is interrupted, and (e) are predicted images of the network under interruption of the cooling water of the ammonia cooler. It can be seen that the predicted values and the true values of the network differ very little. MAPE is adopted as an index for measurement, and not only is the error between a predicted value and a real value considered, but also the ratio of the predicted value and the real value is considered. The formula is as follows:
MAPE was calculated for samples between 500 and 600 in fig. 11, and the results are shown in table 7. As can be seen from the table, the minimum prediction error occurs in the case (b), and the MAPE in all cases does not exceed 3%, which proves the reliability of the prediction data source for safety analysis, and also proves that the network can well learn the influence of each artificial disturbance variable, and finally accurately predict the leakage amount when a single disturbance occurs. Since there is a small fluctuation in the leakage amount with time due to the presence of industrial noise, in order to input a reasonable net prediction amount in step (5), an average value is taken here, and the prediction and actual values in 5 cases in a state where the leakage amount is relatively stable are shown in table 8.
TABLE 7 prediction MAPE TABLE
Table 8 prediction and comparison table of leakage amount in disturbance example
And fifthly, inputting network prediction and external environment parameters through a dynamic risk assessment method, and simulating the accident hazard range under different process disturbances.
And (4) taking the leakage quantity predicted by the network obtained in the step four as a main index, wherein the input parameters are shown in a table 9, and finally, the relation between the overpressure and the distance of the injection fire, the flash fire and the explosion is simulated, as shown in figures 12-1, 12-2, 12-3, 13 and 14.
TABLE 9 QRA hazard simulation parameter table
Fig. 12 shows the range of damage of the jet fire caused by cases (c), (d) and (e), respectively, and it can be seen from fig. 12-1 that the heat flux gradually decreases with increasing distance. An elliptical region with a heat flux of 37.5kW/m2 and a major radius of 2.5m was formed about 5m from the center of the leakage. As the leakage distance increases to 35m, the heat flux decreases to 4kW/m 2. In conjunction with table 10, it is shown that the person feels pain in the blue line and outside the green line, the wood burns, first-order burns in the green line and outside the red line, all the operating equipment in the red line is damaged, and the person dies within one minute. The cases (d) and (e) in fig. 12 also show that the dangerous range of the jet fire is proportional to the leak flow rate. In case (d) the leakage flow is small, the simulated hazard range is less than 30 m.
TABLE 10 information table of the danger of the fire
FIG. 13 shows the hazard range of the flashover caused by case (c), with red line being the lower explosion limit and green line being the upper explosion limit. The results show that the gas concentration in the circle with a radius of 20m exceeds the upper explosion limit. Although the mixture does not explode when it comes into contact with air, a combustion phenomenon occurs. When the distance from the leak point is 20m to 45m, explosion occurs in the presence of an open flame. A gas concentration of 45m below the lower explosive limit does not pose a hazard.
The relation between overpressure and explosion distance for case (c) given in fig. 14 shows that the overpressure reaches 18.8kPa within 8m from the center of the leak, which would lead to death of the person. An overpressure (14kPa) of less than 11m will result in partial wall and roof collapse. Less than 20m (7.5kPa) may cause damage to a part of the equipment structure and deformation of the metal plate.
A report of the synthesis of ammonia by HAZOP and DYN-LSTM-QRA is shown in Table 11. The results of HAZOP analysis of process leakage of synthetic ammonia in a factory are as follows: the yield of ammonia gas is reduced, the leakage loss of materials, fire and explosion occur, and equipment is damaged in a large area. The recommendations given are: during the inspection, the pipeline condition is noticed, a toxic gas detector is installed, the open fire operation in the area is eliminated, and emergency leakage repair measures are made.
TABLE 11 Risk analysis report of DYN-LSTM-QRA and HAZOP
The consequences obtained by the proposed DYN-LSTM-QRA method are: the method has the advantages that people die within 8m, walls and roofs collapse within 11m, a combustion phenomenon occurs within 20m, equipment structures are damaged, metal plates deform, heat flux is within a dangerous range of 35m, and 20m to 45m can explode when exposed fire occurs. The recommendations given are: fire-proof coating is added to important equipment within 40m of a leakage point, an electrostatic discharge device is installed within 50m, a flammable and toxic gas detector is installed at a flange interface, and necessary interlocking and alarm equipment is added.
So far, the intelligent quantitative risk assessment method based on the dynamic mechanism model is successfully finished.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (6)
1. An intelligent quantitative risk assessment method based on a dynamic mechanism model is characterized by comprising the following steps:
step one, establishing a process flow steady-state model through Aspen according to a process flow diagram and process parameters to ensure that the steady-state model is consistent with industrial actual data;
secondly, adding a controller through Aspen Dynamics, and building a dynamic mechanism model to obtain dynamic data sets with different disturbances;
thirdly, selecting a variable for human intervention from the dynamic data set obtained in the second step, dividing the dynamic data set into a training set and a testing set according to a proportion, and adjusting network hyper-parameters by adopting an orthogonal experiment method;
predicting variables which directly affect accident consequences through neural network learning, so that the network achieves the optimal prediction effect on the training set;
and fifthly, inputting network prediction and external environment parameters through a dynamic risk assessment method, and simulating the accident hazard range under different process disturbances.
2. The method according to claim 1, wherein the steady-state model in the first step is consistent with industrial practice with a relative error between simulated data and actual data of less than 3%.
3. The intelligent quantitative risk assessment method based on dynamic mechanism model according to claim 1, wherein in the second step, each column of the dynamic data set represents a variable for human intervention, a row represents time, and represents the change of the variable along with time, and the last column is a network predictive variable and is also a variable having direct influence on accidents.
4. The intelligent quantitative risk assessment method based on dynamic mechanism model according to claim 1, wherein the neural learning tool in step four is an LSTM neural network.
5. The intelligent quantitative risk assessment method based on the dynamic mechanism model as claimed in claim 4, characterized in that in the third step, the dynamic data set except the last column is used as the input of the LSTM network, the dynamic data set is divided into a training set and a testing set according to the ratio of 8:2, the LSTM model is built based on an open-source python 3.5 code packet, and the network hyper-parameters are adjusted by adopting an orthogonal experiment method.
6. The intelligent quantitative risk assessment method based on the dynamic mechanism model according to claim 4, characterized in that in the fourth step, the characteristics of the human intervention variables are learned through the three-door mechanism of the LSTM network, the deep relationship between the variables is memorized, and the variables which directly affect the accident outcome are predicted, so that the network achieves the optimal prediction effect on the training set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010811837.XA CN112330082B (en) | 2020-08-13 | 2020-08-13 | Intelligent quantitative risk assessment method based on dynamic mechanism model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010811837.XA CN112330082B (en) | 2020-08-13 | 2020-08-13 | Intelligent quantitative risk assessment method based on dynamic mechanism model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112330082A true CN112330082A (en) | 2021-02-05 |
CN112330082B CN112330082B (en) | 2023-08-15 |
Family
ID=74303292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010811837.XA Active CN112330082B (en) | 2020-08-13 | 2020-08-13 | Intelligent quantitative risk assessment method based on dynamic mechanism model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112330082B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113792372A (en) * | 2021-09-28 | 2021-12-14 | 苏州大学 | Ground continuous wall deformation dynamic prediction method based on CV-LSTM combined model |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103177302A (en) * | 2013-03-28 | 2013-06-26 | 深圳市环境科学研究院 | Risk source assessment method for urban area reservoir water source |
CN103914622A (en) * | 2014-04-04 | 2014-07-09 | 清华大学 | Quick chemical leakage predicating and warning emergency response decision-making method |
US20150148919A1 (en) * | 2013-11-27 | 2015-05-28 | Adept Ai Systems Inc. | Method and apparatus for artificially intelligent model-based control of dynamic processes using probabilistic agents |
CN107808263A (en) * | 2017-12-01 | 2018-03-16 | 安徽中科超安科技有限公司 | Nuclear power station multi-risk System integrated estimation system and method based on information fusion |
CN108224096A (en) * | 2018-01-03 | 2018-06-29 | 中国石油大学(华东) | A kind of city oil-gas pipeline major accident Risk-warning appraisal procedure |
CN109359469A (en) * | 2018-10-16 | 2019-02-19 | 上海电力学院 | A kind of Information Security Risk Assessment Methods of industrial control system |
-
2020
- 2020-08-13 CN CN202010811837.XA patent/CN112330082B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103177302A (en) * | 2013-03-28 | 2013-06-26 | 深圳市环境科学研究院 | Risk source assessment method for urban area reservoir water source |
US20150148919A1 (en) * | 2013-11-27 | 2015-05-28 | Adept Ai Systems Inc. | Method and apparatus for artificially intelligent model-based control of dynamic processes using probabilistic agents |
CN103914622A (en) * | 2014-04-04 | 2014-07-09 | 清华大学 | Quick chemical leakage predicating and warning emergency response decision-making method |
CN107808263A (en) * | 2017-12-01 | 2018-03-16 | 安徽中科超安科技有限公司 | Nuclear power station multi-risk System integrated estimation system and method based on information fusion |
CN108224096A (en) * | 2018-01-03 | 2018-06-29 | 中国石油大学(华东) | A kind of city oil-gas pipeline major accident Risk-warning appraisal procedure |
CN109359469A (en) * | 2018-10-16 | 2019-02-19 | 上海电力学院 | A kind of Information Security Risk Assessment Methods of industrial control system |
Non-Patent Citations (2)
Title |
---|
XIN NING: "A quantitative safety risk assessment model for construction site layout planning" * |
王娜: "化工园区大气污染事故风险模拟研究" * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113792372A (en) * | 2021-09-28 | 2021-12-14 | 苏州大学 | Ground continuous wall deformation dynamic prediction method based on CV-LSTM combined model |
Also Published As
Publication number | Publication date |
---|---|
CN112330082B (en) | 2023-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8509924B2 (en) | Process control and optimization technique using immunological concepts | |
CN103246801B (en) | A kind of shaft furnace working of a furnace failure prediction method based on improving reasoning by cases | |
Liu et al. | An intelligent quantitative risk assessment method for ammonia synthesis process | |
CN112330082A (en) | Intelligent quantitative risk assessment method based on dynamic mechanism model | |
CN117495356B (en) | Intelligent gas pipeline maintenance method based on man-machine linkage and Internet of things system | |
Galina et al. | Development of smart technology for complex objects prediction and control on the basis of a distributed control system and an artificial immune systems approach | |
Lebukan et al. | Implementation of plant-wide PI-fuzzy controller in tennessee eastman process | |
KR20230085536A (en) | A method for generating an artificial intelligence model for process control, artificial intelligence model-based process control system and reactor including the same | |
Ali et al. | Dynamic risk-based process design and operational optimization via multi-parametric programming | |
CN116924340B (en) | Preparation method and equipment of chlorine pentafluoride | |
CN112668179B (en) | Novel intelligent dynamic prediction early warning method for internal leakage of heat exchange network of chemical enterprise | |
CN103048923B (en) | For the consistency constraint method of service water tank liquor bit string level Predictive Control System | |
Santander et al. | Deep learning economic model predictive control for refinery operation: A fluid catalytic cracker-fractionator case study | |
Wang et al. | RESEARCH ON QUANTIFICATION OF HAZOP DEVIATION BASED ON A DYNAMIC SIMULATION AND NEURAL NETWORK. | |
Muhammad et al. | Design of nonlinear adaptive-predictive control system with anfis modeling for urea plant reactor unit | |
Al-Qaisy | Linear and non-linear multi-input multi-output model predictive control of continuous stirred tank reactor | |
Valima et al. | Development of mathematical model based on artificial neural network to predict density in polymerization process of styrene | |
Suleimenov et al. | Development of intelligent system for optimal process control | |
Wu et al. | Intelligent Optimization and Control of Coking Process | |
Masooleh | Distributed Implementation of Model-based Methods on Large-scale Systems | |
Yu et al. | Predictive control based on neural networks of the chemical process | |
Bahri | A new integrated approach for operability analysis of chemical plants | |
Chetouani | Development of non-linear fault detection system using Cusum-based technique applied to a pilot distillation column | |
Chen et al. | Temperature data prediction and anomaly detection of Ethylene Cracking Furnace based on SVR | |
Panetsos et al. | An application of neural networks in the control of chemical reactors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |