Professional Documents
Culture Documents
S1589-S1594, 1996
Pergamon
S0098-1354(96)00270-0
Abstract
Hazard and Operability (HAZOP) analysis is the most widely used and recognized as the preferred safety analysis approach in the chemical process industry. A model-based framework and an
expert system called HAZOPExpert has been developed recently for automating this analysis. The
performance of HAZOPExpert was evaluated on a sour water stripper plant and a hydrotreator plant
case studies. The expert system was found to successfully emulate the human experts reasoning and
identify the hazards similar to the HAZOP team. But, it generated a large number of unrealizable
hazardous consequences compared to the team, due to the strict qualitative reasoning approach implemented. In order to filter and rank the results from HAZOPExpert using additional quantitative
knowledge similar to the team, a semi-quantitative reasoning methodology is developed using the
quantitative design and operating specifications of the process units, and process material property
values. Significant reduction in the number of consequences was obtained using this approach on an
ethylene plant case study.
1
INTRODUCTION
Process Hazards Analysis (PHA) is the systematic identification, evaluation and mitigation of potential process hazards which could endanger the health and safety of humans and cause serious economic losses. The importance of
this activity was underscored by the Occupational Safety and Health Administration's (OSHA) PSM standard Title 29
CFR 1910.119 in the United States (OSHA, 1992), which requires that initial PHAs of all the processes covered by the
standard be completed by no later than May 26, 1997. Hazard and Operability (HAZOP) analysis is the most widely
used and recognized as the preferred PHA approach in the chemical process industry. This analysis is typically performed by a team of experts who has specialized knowledge and expertise in the design, operation, and maintenance
of the plant. The team members examine the process P&ID systematically, identify every conceivable deviation from
design intent in the plant, determine all the possible abnormal causes and the adverse hazardous consequences of that
deviation (CCPS, 1985).
Thus, HAZOP analysis is a laborious, time-consuming and expensive activity that can benefit from automation. An
intelligent system can reduce the time, effort and expense involved in this analysis, make the analysis more thorough
and detailed, minimize human errors, and enable the team to concentrate on the more complex aspects of the analysis which are unique and difficult to automate. Towards that goal, a digraph model-based framework for automating HAZOP analysis, and an expert system called HAZOPExpert, has been developed recendy (Vaidhyanathan and
Venkatasubramanian, 1995). In this paper, we briefly describe the salient features of this framework and summarize
the performance of the HAZOPExpert system on three industrial-scale petrochemical plant case studies.
2
The overall architecture of the model-based framework is shown in Figure 1. The central ideas in the framework are
the separation of the knowledge required to perform HAZOP analysis into process-specific and process-general knowledge (Venkatasubramanian and Vaidhyanathan, 1994), and the use of generic Digraph-based HAZOP models of the
process units. The process-specific knowledge consists of process material properties (such as corrosivity, flammability, volatility, toxicity, etc.) and the process P&ID. The process-general knowledge consists of the HAZOP-Digraph
(HDG) models of the process units which are signed directed graph based qualitative causal models developed specifically for hazard identification. These HDG models of the process units are developed in a context-independent manner
so that they can be used for performing the analysis of a wide-variety of processes. The inference engine consists of
the method for finding abnormal causes, the method for finding adverse consequences and the method for propagation of process variable deviations. These methods allow for the appropriate interaction of the process-general and
process-specific knowledge components and identify only the abnormal causes and the adverse consequences which
are realizable in the process plant considered. The user interacts with the system through the graphical user interface
S1589
S1590
(GUI), which consists of the P&ID graphical editor and the graphical HDG model developer for knowledge acquisition
and augmentation.
GRAPHICAL
USER [ 1
INTERFACE
HAZOPINFERENCE
ENGINE
HAZOPKNOWLEDGEBASE
t
PROCESSSPECIFIC]
KNOWLEDGE
HAZOP-Digraph Models
As an example, the HAZOP-Digraph (HDG) model of a heat exchanger is shown in Figure 2. The process variables of
the heat exchanger are represented by the process variable nodes (octagonal icons). These nodes can have the qualitative values "high", "low", "zero" or "normal". The directed arcs connecting these nodes have "positive" or "negative"
gains indicating the qualitative causal influence between the process variables. This qualitative causal model can be
obtained from the steady-state material and energy balances of the heat exchanger. The knowledge about finding the abnormal causes and the adverse consequences are incorporated into the HDG models using abnormal cause and adverse
consequence nodes (rectangular icons) connected to the process variable nodes. These nodes contain the knowledge
about generic unit malfunctions causes and generic adverse consequences of the process variable deviations in a process
unit, respectively.
In addition, predefined generic procedures such as "process-materials-cause", "process-materials-consequence",
and "leak-consequence" are attached to the process variable nodes in the HDG for finding process-specific causes and
consequences of process variable deviations by interacting with process material properties. For example, the "processmaterials-cause" procedure will find the process-specific abnormal causes, "blockage of tubes due to the accumulation of solid materials" and "leak from the tubes due to corrosive process materials", for a "Low Flow" deviation.
The "process-materials-consequence" procedure will find the process-specific adverse consequence, "fire hazard" or
"flashing of volatiles", for a "High Temperature" deviation. Similarly, the "leak-consequence" procedure will find the
process-specific adverse consequences due to the loss of containment of toxic, flammable or corrosive process materials
from a process unit.
3
Based on the model-based framework described above, an expert system called HAZOPExpert has been implemented
using the real-time expert system shell G2 marketed by Gensym, Inc. The graphical user interface (GUI) of HAZOPExpert is shown in Figure 3. This figure displays the essential features of the GUI, namely, the process unit HAZOP
model library, the P&ID graphical editor and the HAZOP results windows. HAZOPExpert's model library currently
has generic models for the following 17 process units: surge tank, storage tank with lights skim, settling tank, surge
drum, liquid knockoff drum, accumulator, gas liquid separator, heater, shell and tube heat exchanger, fan condenser,
shell and tube condenser, stripper, centrifugal pump, compressor, flow control valve, non return valve, and pipe. The
user can build a new I-IDG model or add more knowledge to the existing HDG model using the graphical HDG model
developer. The P&IDs of the process and the process materials properties are the process-specific information that are
to be input by the user. If the P&IDs of the process are available in CAD format, they can be automatically imported
into HAZOPExpert. Otherwise, the user can easily draw the P&IDs of the process using the P&ID graphical editor in
S1591
HAZOPExpert is the first intelligent system, and to date the only system, in the published literature that has been successfully evaluated on various industrial-scalecase studies. In this section, we present the summary of the results obtained by HAZOPExpert on three petrochemical plant case studies as compared with the results obtained by the consultants from the Arthur D. Little, Inc., Cambridge, MA, USA. Detailed descriptions of these case studies and exhaustive
listings and discussions of all the results summarized below are presented elsewhere (Vaidhyanathan, 1995).
$1592
==
P~F'
i,,
Z~
B&BI-PROE~.UNIT
~
TANK
V,iA~LVE
/~
HE~T.EXCHANQER
CONDE~gEe EIE~ILEll
/~
,~
~E'TTUNC~TA#K ~ ow-covcrnOL-V,~LVE STCe,M~iFT~:n
eU~OE,D~M
ud N
SWS4=iD
[]
HAZOP-LWIT-LIB
[]
HAZOP-PROCEDUREg
NO~I~V~V E
~,
~1"O~~OE-T~41.~Ltl Q~T8-8IOU
/,~
~'~OCE~M ATERI&L
~l
mm z:~
/~
HA~F-CC4~NECTION-PO~
I~;
/~
~ Unit N ~
ID sw
ID: SW-SU~GE-DflUM
Hydrotreator Plant
The P&ID of the hydrotreator plant is shown in Figure 4. This process consists of 4 heat exchangers, 1 condenser,
2 fan condensers, 3 strippers, 1 heater, 1 separator, 2 compressors, 2 pumps, 1 hydrotreator, 15 flow control valves,
15 controllers, 16 sensors, 1 surge drum, 3 liquid knockoff drums, and 68 pipes. This process removes the sulfur,
nitrogen and oxygen compounds from the heavy gas oil by catalytic reaction with hydrogen in the hydrotreator. Heavy
gas oil is a flammable raw material, and the reactant hydrogen is flammable and toxic. The impurities, ammonia and
hydrogen sulfide are toxic, corrosive and flammable. Hence, the release of any of these materials will lead to fire, toxic
exposure or environmental violation consequences. For this case study, a team of five experts spent 2 weeks to identify
the 75 causes and 90 consequences for 56 process deviations considered. For these process variable deviations, HAZOP
analysis was performed using HAZOPExpert and the expert system identified 140 causes and 190 consequences.
For both these case studies, the HAZOP results from the expert system included those obtained by the team. But,
HAZOPExpert identified more number of causes and consequences as compared to the team. This is partly due to
the more thorough nature of the propagation of the process deviations and the analysis performed by HAZOPExpert.
In addition, HAZOPExpert provides explanations of process variable deviation propagation along with the causes and
consequences and these results for a deviation are identified in a few seconds on a Sun sparcl class machine. Thus from
a computational perspective, HAZOPExpert is quite fast. The HAZOP analysis for the entire sour water stripper plant
was performed in about 2 hours and the hydrotreator plant in about 4 hours in an interactive mode using HAZOPExpert.
This time requirement is much lower than the time spent by the team for the analysis. Thus, HAZOPExpert can be used
to obtain significant savings in performing PHAs. The purpose of the expert system is not to replace the conventional
team of experts entirely. But, the goal is to synergistically minimize the team's time and effort enabling the team to
focus on more complex aspects of the analysis that can not be automated. HAZOPExpert can be used in an interactive
batch mode with the team or a fully automated mode.
S 1593
An important drawback of this first version of HAZOPExpert is the strict qualitative nature of the analysis implemented
in the system. Due to this, HAZOPExpert assumes the worst case scenario and identifies more number of consequences
compared to the team, with increasing complexity of the processes. The HAZOP team will filter these worst case consequences using additional quantitative information in the form of design and operating specifications of the process
units and quantitative process material property values. For example, while considering a process deviation of 'high
temperature' in a process unit, HAZOPExpert will find the consequence "fire hazard", if a flammable process material
is present in that unit. But, when the experts perform the analysis, they will compare the operating temperature of the
unit with the auto-ignition and flash-point temperatures of the process materials and report a fire hazard consequence
only if it exceeds a threshold value. Similarly, the team will filter the worst case consequences for the deviations, "High
Flow", and "High Pressure", such as leak and rupture leading to release of hazardous chemicals, and fire hazard due to
release of flammables, etc.
In order to automatically filter and rank the adverse consequences identified by HAZOPExpert similar to the team,
a semi-quantitative reasoning methodology was developed by appropriately integrating the qualitative HDG models
and the additional quantitative information. This methodology uses quantitative "threshold values" for comparing the
design and operating values of the process variables and the process material property values in order to decide whether
a particular adverse consequence will occur in a process unit in the given process plant. The threshold values used by
the filtering methodology can be specified by the user, thus controlling the number of consequences generated by the
expert system. The additional quantitative knowledge is also used to automatically detect any major errors in the basic
design of the process, like the set point pressure of the relief valve for a vessel set higher than the design pressure of the
vessel thus "blowing the vessel in order to protect the relief valve", and any operating hazards like operating too close
to or higher than the design values of the process units. In addition, the hazardous consequences found by the expert
system are ranked based on their severity. Also, some of the qualitative ambiguities encountered during the propagation
of qualitative process variable deviations can be resolved by performing order-of-magnitude comparisons among the
quantitative operating values of the process variables.
Ethylene Plant
The performance of the semi-quantitative reasoning approach for filtering and ranking of the consequences was tested
on an ethylene plant case study. The P&ID of the ethylene plant section is shown in Figure 5. This plant section consists
of the tertiary waste heat recovery using quench water wash in a stripper, primary compression, acid-gas removal using
caustic wash in a scrubber and secondary compression of the pyrolysis gas. There are 5 compressors, 5 compressor
intercooler condensers, 5 liquid knockoff drums, 2 strippers, 2 pumps, 1 quench water cooler heat exchanger and 1
quench water heavy oil separator surge-drum in this process.
For this case study, the HAZOP results for a sample of 5 process deviations were considered for evaluation. For
S1594
a:..L
-- ~
, ;= --2--, "&
" :
CONCLUSIONS
A model-based expert system for automating HAZOP analysis called HAZOPExpert has been developed. The following key techniques and novel concepts were utilized in order to make this automation feasible and useful: the identification and the separation of the knowledge required to perform HAZOP into process-specific and generic components, the
use of context-independent HAZOP-Digraph models of process units, appropriate interaction among these components
to cover the process-specific aspects of the analysis, and a semi-quantitative reasoning methodology for filtering and
ranking the HAZOP results using additional quantitative information in the form of design and operating specifications
of the process units and process material property values. The performance of HAZOPExpert was successfully evaluated on three industrial scale petrochemical plant case studies by comparing with the HAZOP team's results. These
successful results suggest that the technology of automating PHA of chemical process plants using intelligent systems
is now beyond proof of concept and is ready for industrial applications.
ACKNOWLEDGMENTS
The authors gratefully acknowledge the National Institute of Occupational Safety and Health which supported this work
in part through the grant R01 OH03056. The authors also acknowledge Mr. Frederick T. Dyke, Senior Consultant,
Arthur D. Little, Inc., Cambridge, MA., for his assistance with the case studies and the evaluation of HAZOPExpert.
REFERENCES
CCPS (1985). Guidelines for hazard evaluation procedures. Center for Chemical Process Safety, AIChE, New York.
OSHA (1992). Process safety management of highly hazardous chemicals; explosives and blasting agents; final rule,
29 cfr 1910.119. 6356-6417, Federal Register, Department of Labor, United States.
Vaidhyanathan, R. (1995). A Model-Based Frameworkfor Automating HAZOP Analysis of Continuos Process Plants.
PhD thesis, School of Chemical Engineering, Purdue University.
Vaidhyanathan, R. and Venkatasubramanian, V. (1995). Digraph-based models for automated hazop analysis. To appear
in Reliability Engineering and System Safety.
Venkatasubramanian, V. and Vaidhyanathan, R. (1994). A knowledge-based framework for automating hazop analysis.
AIChE Journal, 40, 496-505.