Digitalisasi Hazop
Digitalisasi Hazop
A R T I C L E I N F O A B S T R A C T
Keywords: Safety is paramount to any process plant facilities and its design process. To ensure that safety is considered in
Process safety design stages, process safety analysis such as hazard and operability studies are often carried out to address safety
HAZOP concerns throughout the stages of plant design to operation. However, conventional HAZOP studies are labor-
Automation
intensive and expensive. This paper aims to provide a semi-automated HAZOP study using a computer-aided
Matlab
Stateflow
tool called Stateflow. It describes the rule-based approach and algorithm used to develop the automated
HAZOP process. The paper also highlights the limitations and challenges faced and finishes with the potential
areas for further works on Stateflow to enhance the HAZOP automation capabilities.
* Corresponding author.
E-mail address: [email protected] (P.K. Naraharisetti).
https://doi.org/10.1016/j.psep.2023.09.005
Received 7 April 2023; Received in revised form 3 August 2023; Accepted 4 September 2023
Available online 9 September 2023
0957-5820/© 2023 The Author(s). Published by Elsevier Ltd on behalf of Institution of Chemical Engineers. This is an open access article under the CC BY license
(http://creativecommons.org/licenses/by/4.0/).
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
based on the digital representation of the process plant.” As the manual process involves an expert team of humans, it is
subjected to cognitive biases (Baybutt, 2016). Overconfidence bias, herd
2. HAZOP methodology mentality, confirmation bias, framing cognitive bias, representative
heuristics are some of the biases that could implicate the result of
The estimated cost of about 1% sales or 10% profit in chemical HAZOP as such biases are subconsciously employed during the course of
company is spent on carrying out safety analysis (Zhao et al., 2009). the study and difficult to detect and override.
HAZOP requires tremendous amount of time and effort to look at and the Although the guidelines for deviations are clearly established in the
manhours of experts involved as a correlation to the cost per manhour is guide (Crawley and Tyler, 2015), the way the causes and consequences
significantly high. In addition, legislation and requirement for HAZOP to are written can vary due to the nature of the processes. The records of
be updated and reviewed again upon any significant change to the plant the HAZOP study can be phrased differently across different studies, and
or after a certain period of time (5 years or 10 years, depending on plant difficult to interpret as a result of inconsistency in wordings and ex
process) involves many expensive manhours to be in place. pressions or can be perceived differently by different people.
Nodes are defined for the design typically on the piping and instru
mentation diagram (P&IDs) and process flow diagram (PFD) to divide 2.2. Literature on automation of HAZOP
complex processes involved in a plant into sections for review. A node
can be pipe sections and vessels in which process chemicals are, or may One of the earliest attempts of automation was carried out (Parmar
be, present. Wu and Lind (2018) explains that the complexity and extent and Lees, 1987) using qualitative propagation equations to propagate
of the node is not explicitly elaborated in traditional HAZOP method faults at each process unit. The causes are generated by searching the
procedures. A proposed criterion for selecting and sizing of nodes for initial event and consequences by searching for the terminal event. The
HAZOP studies is suggested by Dunjó et al., (2011). Node selections system was efficient in identifying immediate causes and consequences
usually relies on experiences from the HAZOP team leader to divide and but had limited effectiveness in propagating deviations. It was also too
group the design into their design intent as much as possible. Mathe process-specific to the water separation system it was meant to
matical approaches using matrix calculus and graph theory was pre demonstrate.
sented by Sauk et al. (2015) and this was done to determine an optimal A quasi-steady state qualitative simulation approach to automate
order of HAZOP nodes. HAZOP analysis was proposed in the 1989s (Waters and Ponton, 1989).
Once the consequences are established through HAZOP, the existing The top-down approach here is highly like other techniques such as
safeguards and protections of the system against the consequences or the fault-tree analysis with which it was compared. However, the approach
scenarios envisaged can be recorded down as the next step. One was highly combinatorial and time consuming for practical application.
approach would be to ignore the existence of any safeguards and derive Subsequently, a system called HAZOPEX was used for safety man
the worst-case scenario, which has the advantage of being more prudent agement to support the process designers in the HAZOP analysis (Suokas
and misjudgement of the need for protection can be minimised. It is et al., 1990). Its purpose was to identify defects and error in design in the
argued that such approach can be unrealistic to ignore any existing early stage to have better and more economic possibilities for corrective
safeguards if the system is well-designed. actions to be taken (Heino et al., 1988). It utilizes a knowledge base to
A risk assessment then assigns the risk level by considering the generate all possible deviations systematically, where the user can
likelihood and the severity of the consequences. Statistically the level of choose to accept, reject, or complement the suggestions. More efforts
risk can be represented as the product of the probability the harm occurs were required to filter the abnormal causes and the system was more
multiplied by the severity of the harm. In most cases neither the likeli focused on the causes rather than the consequences and measures.
hood nor severity can be indicated with accuracy and precision as it is a In the 1990 s, a group of researchers developed an inductive and
leading indicator. Risk matrices, when defined properly and used deductive methodological approach for chemical reactions hazards
correctly (Busby and Kazarians, 2018) can be applied to quantitatively (Nagel, 1991) and the approach was only limited to this aspect.
assess the risk presented. With an experienced team and sound judge Later, another group of researchers developed a rule-based approach
ment, the process efficiency of qualifying the risk increases. to map out the networks for consequence reasoning using both forward
Following the risk assessment, recommendations, and actions to be and backward chaining (Chae et al., 1994). Their process focuses more
taken to remediate the problem are proposed and recorded in the on individual equipment deviations, causes, and consequences and
HAZOP study. The positive actions should be unanimously agreed by the contains a limited knowledge based of six different equipment type. It
team and as this benefits the design of the plant to improve its safety. does not consider the fault propagation along the same nodes which
The HAZOP study then continues to another node or section to repeat negates the purpose of a HAZOP study covering the plant in totality from
the entire process of analysis. an overall point of view.
OptHAZOP that was developed (Khan and Abbasi, 1997b) proposed
2.1. Drawbacks of a conventional HAZOP study a study procedure and technique that relied on an expert knowledge
base with a large collection of facts, rules and information regarding
With increasing complexity of plants and operations, HAZOP studies various components of process plants.to generate cause and conse
become increasingly tedious and time-consuming. A typical chemical quences to reduce the time required to brainstorm for them, hence better
process could take anytime from 1 to 8 weeks, involving a team of 4–10 efforts can be put into proposing recommendations for mitigation of
members or more (Venkatasubramanian et al., 2000). these consequences. Most of the plants have similar failure and causes,
As HAZOP is a very thorough systematic approach to carry out consequences may differ due to capacity, chemical use, or operating
process hazard analysis, much of the time spent is used to identify conditions.
failures and hazards (Khan and Abbasi, 1997b). Of these identified, most TOPHAZOP was a software (Khan and Abbasi, 1997c) using knowl
of them are routine causes and consequences (Venkatasubramanian and edge base divided into two segments, process-general knowledge and
Vaidhyanathan, 1994) because the process units are common in many process-specific knowledge to of 15 process units to propagate the fail
plants, such as pumps, tanks, and valves etc. The repetitive nature of ure cause and consequences. Subsequently, a new software EXPERTOP
such analysis results in reduced efforts and concentration over time over was developed (Khan and Abbasi, 2000) where it supplements their
mundane tasks like this. Cognition, reliability and reasoning capacities previous works to add on an inference engine and graphical user
may decrease drastically when repetitive tasks are carried out, or large interface on top of the existing knowledge base design in TOPHAZOP.
amounts of data are presented, and the conditions becomes stressful to The limitation in it was the inability to propagate the deviation to all
the HAZOP team (Iyun, 2012). downstream units for possible causes and consequences.
138
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
In the same period, a knowledge-based software HAZOPExpert Prolog, one of the first and the advanced logic programming language
(Vaidhyanathan et al., 1996) that uses the framework of process-specific back then to create an expert system consisting of a knowledge base, an
and process-general knowledge, (Vaidhyanathan and Venkatasu inference engine and case-specific information that forms the backbone
bramanian, 1996) and the use of Digraph-based HAZOP (HDG) models of an expert system structure. An inference engine can infer new rules
(Vaidhyanathan and Venkatasubramanian, 1995) for process units were from the case-specific data and new user inputs to construction a solu
developed. The models were developed to be context-independent tion. The advantages over shells are that it allows more flexibility in
manner and can be used to perform analysis over a wider variety of programming, and has advantages of modularising the knowledge base,
processes. The software contains a library for 17 process units: surge allowing faster search to be carried out instead of searching from a single
tank, storage tanks with lights skim, settling tank, surge drum, liquid large database (Earl and Williamson, 1988).
knockoff drum, accumulator, gas liquid separator, heater, shell and tube The usage of knowledge-based expert systems become widely
heat exchanger, fan condenser, shell and tube condenser, stripper, adopted as the framework to carry out automation, as seen in the many
centrifugal pump, compressor, flow control valve, non-return valve and studies and prototypes being developed (Khan and Abbasi, 2000; Rah
pipe. The performance of the software was successfully applied to three man et al., 2009; Vaidhyanathan and Venkatasubramanian, 1996; Zhao
industrial-scale petrochemical plant case studies by comparison of the et al., 2005; Zhao et al., 2005; Zhao et al., 2009, Chae et al., 1994). This
actual HAZOP team’s results. The system uses a large amount of mem was optimal as causes and consequences are all interlinked and required
ory, and therefore restricts its use to large machines. The to be stored in a structured data form, compared to typical databases.
knowledge-based creation proved to be very complex and not available HAZOPExpert was one such knowledge-based system that had much
to other users for modification. further development from a prototype compared to the rest of the tools.
PHASuite was developed subsequently (Zhao et al., 2005) with an It was taken further when the authors subsequently improved the
extensive knowledge engineering framework, comprising of four main framework (Venkatasubramanian and Vaidhyanathan, 1994) with the
parts: information sharing, representation, knowledge base, and use of a digraph-based model (Vaidhyanathan and Venkatasu
reasoning engine. The approach was based on Petri nets and applied to bramanian, 1995) that could further enhance the representation of the
pharmaceutical batch processes. process system to the tool user. Further on the authors integrated Petri
ExpHAZOP+ (Rahman et al., 2009) utilises the same key concept as nets (Srinivasan and Venkatasubramanian, 1996), mathematical lan
optHAZOP (Khan and Abbasi, 1997b) and was a further development of guages that can subtask the digraphs to account for operational pro
EXPERTOP (Khan and Abbasi, 2000), using a unique fault propagation cedures in batch processes. The authors developed a more
algorithm and a knowledge-base to retrieve causes and consequences comprehensive system call PHAzer (Srinivasan, 1998) that uses quali
downstream from an identified upstream event. It has an enhanced tative digraph-based models of unit operations to identify hazards, dy
graphical user interface (GUI) and a selection method for equipment namic mathematical models to perform detailed safety evaluation, and
node. It consists of 19 different pieces of equipment but is only able to digraph and fault tree models to synthesize and analyse fault trees
perform a single path based on user selection. (Venkatasubramanian et al., 2000; Vaidhyanathan and Venkatasu
The works that have been done in this area aims to reduce the bramanian, 1996)
amount of time spent on conventional HAZOP study with the aid of The tool optHAZOP was developed to help improve efficiency in
computer programs. A method was set up (Freeman et al., 1992) to es carrying out studies compared to conventional HAZOP processes.
timate the amount of time required to carry out a HAZOP based on Further works were carried out to speed up optHAZOP in a tool called
number of major equipment for analysis, the complexity of the system as TOPHAZOP to identify general and specific cause-consequences of all
well as the experience of the team as the considerable factors. Later on, a probably process-deviations. The entire expert system (termed as
mathematical model was proposed (Khan and Abbasi, 1997a) that EXPERTOP) is also made up of knowledge-base, inference engine and
further refined this method by considering other parameters like prep user interface (Khan and Abbasi, 2000). Finally, the author also pro
aration time, meeting time, delay and report writing. Additionally, the posed a knowledge-based framework to conduct HAZOP on offshore
number of P&IDs and its complexity are also a function of the prepa process facilities (Khan, 2005).
ration and study time parameters. A detailed analysis on the time taken for study procedure reveals that
A comprehensive review on the reasons as to why automated HAZOP around 35–42% of the total time for a HAZOP study is spent on identi
has not found its acceptance was presented (Taylor, 2017). It was fying failures and hazards, and causes of these hazards (Khan and
observed that one of the key challenges of the last century was the Abbasi, 1997b). The amount of time saving with use of optHAZOP takes
translation of the P&IDs (piping and instrumentation diagrams) into the 45% less time than conventional study time with the use of a case study.
automated HAZOP software (Single et al., 2022). Such drawbacks were also claimed the tool TOPHAZOP enabled the study to be completed in
addressed by some researchers who integrated computer aided design 4.5 h, while the same study by conventional HAZOP study took 2.5
(Rossing et al., 2010). P&IDs were also translated into digraphs and used weeks (Khan and Abbasi, 1997c). It was also claimed the HAZOPExpert
in HAZOP (Cui et al., 2008 & Cui et al., 2010). Causal reasoning using tool completed the HAZOP of a sour water stripper plant in 2 h, and a
D-higraphs, that are graphs which have depth and orthogonality were hydrotreator plant in 4 h, much lower than the time spent by the team on
implemented in Visual Basic. This methodology was demonstrated on an the analysis (Vaidhyanathan and Venkatasubramanian, 1996).
industrial case study of pilot plant distillation process (Rodríguez et al.,
2012). 2.4. Knowledge gaps / limitations
2.3. Analysis HAZOP is the most studied PHA method and abundance of research
is carried out to improve and re-adapt HAZOP processes to the modern
Since the mid-1980 s, rule-based approach has seen the kickstart of world. Although there has been numerous research over the past decade
automation of HAZOP. (Parmar and Lees, 1987). A little later it evolved on the automation of HAZOP, and many advances have been made in
to using a more advanced rule-based expert system using IF-THEN al this field of work as summarised above, there are still gaps that can be
gorithms and an inference engine to generate the deviations (Heino addressed in this aspect of study.
et al., 1988). This was called the HAZOPEX, an advanced development HAZOP studies are still very much conducted by human expert teams
environment consisting of a Lisp workstation (Symbolics) and a hybrid in the process industry, despite efforts being made to automate the
expert system shell (KEE). process. As a result, the process is subjected to cognitive biases (Baybutt,
Knowledge-based prototypes and expert systems were developed 2016). Groupthink is a phenomenon where a group of people have
subsequently. (Weatherill and Cameron, 1989) adopted the use of common but possibly false beliefs and hence, tend to make decisions the
139
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
same way. Another type of cognitive bias call group polarization refers of demonstrating that automation can be achieved for a very specific
to the tendency for decisions made in a group to be more extreme than industrial process. Other tools have limited functions that allow end-
the initial inclination of its members, which is often seen during con users to build or modify its structures and knowledge-base as they are
ventional HAZOP studies (Baybutt, 2015). Unfortunately, biases are proprietary works from the authors.
subconscious and difficult to detect, and there are no comprehensive The efforts so far carried out on automation concentrates mainly on
theory or practices to mitigate such human thinking. However, being the deviations from steady-state operation of continuous plants. In
aware and understanding its role is important so that the expert team are traditional HAZOP study the operational start up and shut down of a
aware of potentials for poor decision-making during HAZOP practice. plant can be studied, but not with these knowledge-based computer
Even in automation, the biases arise from inputs generated from users emulations.
can form part of the cognitive bias within the errors of the tools unless
machine learning and deep neural networks can be incorporated into 3. Methodology and approach
these programs and tools as a future development.
On the technicality limitations, a certain level of details and maturity In this work, we present the ‘Methodology’ in detail. We envisage a
in the design is needed before a HAZOP, whether conventional or second publication where this methodology would be applied on a case
automated study is carried out. If the design is poor, the large number of study. The goal of this work here is thus to carry out the following:
causes can potentially overload the process (McCoy et al., 1999). This is
also seen in earlier development of automation where the vast amount of 1. Develop a model-based approach using Stateflow software as the tool
data impedes the performance of the computers and taking a very long for simulating process flow identical to how it would be described in
time to derive a HAZOP study output. a P&ID.
The limitations of the computer system in simulating the dynamic 2. Use the model and the capabilities of the software to emulate the
reasoning mechanism and knowledge structures of human makes it running of HAZOP processes and produce an output like a HAZOP
difficult to obtain a fully automated HAZOP by computer (Zhao et al., report.
2009). As in the many studies carried out, the primary aim was not to
replace human involvement in HAZOP study but more of to reduce the The aim of the tool to be developed is to envisage various design and
amount of time taken for HAZOP studies to be carried out by automating process across the industry and to be able to use the knowledge base to
the routine works such as common causes and consequences associated identify causes and consequences for a wide variety of process in the
with the inherent nature of the equipment itself. HAZOP study. While many tools have been developed to perform
It is impossible to have a complete knowledge base that comprises of automated HAZOP as can be seen in the literature, we have explored the
all the known and unknown causes and consequences with increasing possibility of performing the same using existing software tool, which is
complexity and emergence of new technology, of plant process design Stateflow. Stateflow, developed by Mathworks is a control-logic based
and operation. Data acquisition therefore sets the quality tools apart toolbox used to model reactive systems via state machines and flow
from the others. However, if the efforts and time required to input and charts. This sits effectively within a Simulink model. Simulink is
represent the information in is excessive, the value of the tool becomes extensively used in the chemical process industry, and we envisage that
greatly diminished. It is therefore crucial to figure out an approach to developing a HAZOP methodology within the MATLAB ecosystem will
systematically build up a generic knowledge base that could be applied help integrate HAZOP with other developments in the chemical process
to most, if not all process design plants in general, and a specific industry which use MATLAB. A preliminary work was submitted earlier
knowledge base for each unique process design itself. at a conference (Chia and Naraharisetti, 2021).
The outputs generated by computer tend to be excessive which in
conventional HAZOP these are usually filtered out. Handling a huge 3.1. Components in HAZOP automation
number of data output is one of the most significant challenges from
automation of HAZOP. While certain tools can provide users with con To automate HAZOP using computer-aided technology and Stateflow
trol over the output of the data as such that is applied to HAZOPExpert software, the representation of real-life data in a computer language that
(Vaidhyanathan and Venkatasubramanian, 1996), the significant causes could be recognised by the computers and software became an essential
or consequences could still be left out unintentionally. Treatment of the process to be carried out. Conventional HAZOP methodology relies on
data becomes one of the tedious steps to carry out over conventional two main components as inputs; the process plants’ data being analysed
HAZOP study. and the knowledge and expertise of the HAZOP participants. Process
There are also issues on the amount of trust that can be given to plants’ data that are studied in the HAZOP workshop are commonly
automated HAZOP studies. HAZOP is usually carried out by group of P&IDs and PFDs which contains most of the vital design and engineering
experts with considerable experience, responsibility, and authority. For details of the plants. Hence, a digital representation of the plant in the
the team to accept a recommendation for hazard mitigation, it must be software is required before further works can be carried out.
collectively agreed and brainstormed to understand the basis by which The knowledge on the processes, equipment, process variables,
the problem was approached. This cannot be achieved in a computer- causes, consequences, and safeguards can be derived from the experts’
generated HAZOP study. experiences and knowledge. Information acquisition and collection to
To gain acceptance of computer aided HAZOP, the system should be build a library of knowledge is another important component for the
reliable and aims to gain experts trust in their results. The robustness of automation to be able to function and produce meaningful results. The
automated HAZOP processes requires numerous testing and evaluations workflow on the approach to automation of HAZOP is shown in Fig. 1.
against known data to evaluate their accuracy and reliability. The computer-assisted HAZOP automation will then take these two
Most of the current research approaches with the aim to demonstrate components (process plant data and knowledge bases) and with the aid
that HAZOP studies can be automated to a certain extent by producing of algorithms and reasoning methods developed, computes the potential
prototypes specific to a certain area or industry. There is no single hazardous events and the causes as the outcome of process deviations.
software capable of emulating a wider approach due to complexity and These results can then be documented and stored into the digital data
the dynamics of process plants and emergent of new technologies. base for future references, which is one of the advantages that compu
The knowledge-base and tools created are diverse in the coding terised HAZOP automation can offer.
language used and methodology to approaching HAZOP studies. Some
of the coding languages used have already became obsolete and no
further development has been made on them after achieving the purpose
140
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
HAZOP study is a qualitative method of analysing the safety of a 3.2.1. Data preparation for HAZOP inputs
process facility or system. To use Stateflow software to approach the Data processing using complex categorical data (qualitative expres
automation process, the computer and program must be able to read, sions such as more, less, temperature, pressure etc.) are not as effective and
process input data, and regurgitate the required HAZOP outputs. As robust as the current state of technology associated with algorithms and
described above, digitalisation of the two data components becomes a machine learning alone are not intelligent enough to automatically
critical step for the subsequent proposed methodology to work. associate all these raw data to produce meaningful and accurate models
A 4-step design approach was used for using Stateflow to carry out in our HAZOP automation research. The use of numbers was decided to
HAZOP automation. In an overview, the approach started with prepa be the approach in representation of these categorical data and infor
ration of raw data and information belonging to the two components mation. Numeric data are continuous data types representing informa
discussed above (process plant data and knowledge bases) to achieve tion in the form of scalar values. The most commonly used forms of
computer-aided automation. A protocol and data structure were set up numeric data include integer and floats. It is easier to apply data
to translate the textual information into a format that the software was transformation techniques and data processing onto numeric data, such
able to recognise and manipulate. The second step managed the as mathematical operations, grouping, mapping, and other numerical
knowledge base component, where all the information relating the de operations which most of the software are capable of carrying out. The
viations to known industrial causes and consequences were transformed other advantage that numeric data have is that it can also be fed into
into an organised database library. Once the library of information has many types of software and computers because of their wide recognis
been established in the system, the next step would be to set up the ability, hence it is easier to migrate the data from one platform to
digital representation of the other component necessary for the auto another.
mation, the process plants’ data. Using Stateflow’s graphical interface, The initial phase of the work was to derive a data structure using
modelling the process plants’ data was carried out by designing units or numerical values for input into the computer and software system. In a
Stateflow blocks which contained unique decision logics, algorithms, conventional HAZOP, the hazards of the plants are identified by
and necessary reasoning methods to propagate HAZOP outputs by applying a process parameter such as flow, temperature, pressure etc. with
computation. The final step will be to convert these data outputs back a guideword to the node, or to a specific segment of the node such as the
into qualitative expression as the HAZOP worksheet to complete the equipment. In order to emulate this in a computer program, the use of
141
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
hierarchical numbering is adopted for defining the process deviations ensures that enough memory spaces were provided to be tagged to each
associated with the equipment, parameters, and the guide words. qualitative variable that the computer systems could identify. Each layer
The concept of the data structure is derived from data types repre is designed with two-digit encoding except for the third layer, where the
sentation in computer data architecture. A byte is made up of 8 bits, first digit denotes the class identifier and hence it has a three-digit
which individually represent a binary figure of either 0 or 1. A word format. The use of double digits provided more possible combinations
consist of 2 bytes, and a doubleword is 4 bytes and so on. Each byte can for the data structure to assign variables to.
represent a character such as numbers, alphabets or symbols which is The other logic is that it was fundamental to keep the inner layers as
mapped out in standard data codes such as ASCII and Unicode. identical across different HAZOP studies as possible so that a single
In the data structure developed for this research, each of the design of the algorithm can be vastly applied to most of the different
abovementioned categories (equipment, process parameter, and guide cases and minimal modifications would be required to fit the algorithm
word) was assigned to individual data layers as shown in Fig. 3, into another different HAZOP study. The components of the innermost
including an overall layer which is named class. The innermost layer of layer (guidewords) were well established in many HAZOP practices and
the data structure was made up of the guidewords used in HAZOP. There very widely used across all conventional HAZOP studies. Any addition to
are a typical of eleven general guidewords used for HAZOP, so each of these existing eleven guidewords being used are uncommon cases but the
them was represented with a double digit starting from “11–21″. This is data structure has been robustly designed to cater for that with spare
synonymous to how the combination of 8 bits forms a unique byte which memory spaces. In the process parameter layer, the twenty-five compo
can code for a character, which in this case is coded for by combination nents may not be applicable for all industries. For example, process
of two digits. The double digits each act as a memory space representing parameters such as reaction and mixing may only be applicable for
individual guideword. In the second layer of the data structure, the process systems that consist of reactive chemicals or equipment like
process parameters are assigned double digits from “31″ onwards. There reactors and agitators. Across different process systems or HAZOP study,
are almost but not limited to, twenty-five common process parameters the equipment and process parameter layer could differ to cater to the
used to describe processes, such as flow, pressure, temperature, level, vis specific needs. The overall class layer allows an identifier to distinguish
cosity, reaction, mixing etc. In the third layer of the data structure, different sets of data structure better and this can be achieved by
equipment is represented with a three-digit number starting from changing the first number of the equipment from 101 to 201, 301 and so
“101–199″. The entire data structure can be grouped into class, where on.
each class can represent a library of their own equipment based on the The method used to represent a statement describing a process de
different process flows, parts of process plants, or even different in viation such as “Low flow in heat exchanger” using numerical input is by
dustries that the HAZOP study is applied to. By changing the first digit of concatenating the layers of data structure to form a number string,
the equipment data layer, the library can be differentiated. For example, starting from equipment, then process parameters and finally guideword.
the 101–199 series can represent crude oil distillation system consisting Analogous to how 8 bits form a byte in the computer data architecture
of distillation towers, scrubbers, and the 201–299 series can represent a (Nagi, 2020), these layers of the data structure were concatenated to
hydrogen production plant which have different types of equipment form seven-digit numerical strings, ranging from “1013111–9999999″.
such as electrolyser, gas compressors and so on. This class layer was an Considering the above table, a total of, but not limited to, 385
added option to the data structure and could be omitted if it is not (7 ×5×11) combinations of describing equipment process deviations
necessary to distinguish between process systems or facilities. could be derived from a single class.
The allocation of the data structure in this order of arrangement For example, a deviation describing “no flow in storage tank” will be
stemmed from two logics: coded as “1013111″, and a “high temperature in heat exchanger” will be
The layers are arranged by the number of possible components that described numerically by “1023313″. The structure is straightforward
could make up the layer, starting from the lowest to form the inner layer and can be applied across different process plants for HAZOP because
(guidewords), to the highest that forms the outer layer (equipment). This the way to describe deviation in all process plants are similar in HAZOP
studies. The structure formed the foundation for the algorithm
sequencing and programming which is discussed in the next section.
There were numerous advantages for the setup of the data structure
in this manner. Firstly, it allowed adequate memory space in each layer
for scalability. The guideword and process parameter layers can be
adjusted to increase or decrease the amount of memory spaces needed
for extra qualitative representation, and the third layer store data of up
to ninety-nine equipment in a single class, with each class representing a
node, process, or an entire plant facility. The versatility allowed for
different setups to be made to represent a wide variety of industrial
processes.
Another advantage that the data structure offered is that it is simple
and unique. Each discrete variable or expression was identified with a
unique two-digit number which the computer recognised as a qualitative
variable. The format of using layered data structure hierarchy allowed
easy segregation and modification to each individual layer without
affecting the rest. The concept can be easily learnt by users and coded
into the computer systems for the purpose of this research.
142
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
causes can be articulated based on reference to past HAZOP works, (structural failures). Another example of causes in “no flow in pumps”
knowledge, experiences and other reputable sources, while conse could be due to pump fault (mechanical failure) and faulty sensors (in
quences can be deduced by analysing the causes to gauge the likely struments malfunction). This set of knowledge database aimed to collect
outcome from these causes. Causes in general do not differ much among and associate causes as a result of each process deviation that is solely
different process facilities, but the extent of consequences depends on due to the equipment and their accessories, rather than the plant process
the process conditions, process fluids, and the process types taking place. as a whole.
The aim was to build a knowledge base that can include all known The other set of knowledge data was made up of process-specific
causes gathered from the abovementioned sources relating to a certain knowledge which contained information on hazardous causes relating
equipment, process, or industry. As consequences are a function of to the process design, process fluids in the plants, as well as the complex
causes, the cause-consequence relationship can be considered as further interactions between the process unit in the plants. Thermodynamic
works for building and expanding the knowledge base. It is determined properties of the process fluids made up a portion of this database for
that recommendations which is a part of HAZOP study outcome will not propagation of deviations and causes due to the nature of the fluids
be included into the knowledge base and automation process due to its using the algorithm designed. One such example the use of cryogenic
complexity involving economic and technical feasibility. fluids can potentially result in freezing of equipment that could poten
The knowledge base structure is represented by 2 different sets of tially be a cause for process deviations. A framework approach repre
knowledge data. One set of data consisted of the equipment-specific sented by a cause-and effect table contained information on causes that
knowledge containing data on hazardous causes that are inherent in could arise due to interaction between two process units in the plants.
the equipment. For setting up a knowledge base only inherent causes are On the basis of layout and arrangement of the process plants to be
used. That is causes known to the equipment rather than relational studied and the model built in Stateflow, hazardous causes can be
causes because of interaction between two unit-operations are used. For derived from the matrix. Such causes could be due to configurational
example, in heat exchangers, there are well-documented causes of no defects learnt from past experiences from other plants. It could also be
flow (because of tube rupture, tube blockage, etc), or for mechanical faults in an upstream equipment causing hazardous scenarios being
equipment, no flow can be a result of pump faulty, or instrument errors. created in the downstream process units. This framework formed part of
So other than causes that is due to a previous unit ops connected (such as the fault propagation method used in the design of the algorithm for this
no flow in heat exchanger because of a faulty pump upstream), the no research work and set the path for future development into a multi-
flow can also be due to the equipment itself being faulty as a example dimensional matrix to further emulate complex network of in
case to illustrate. Hence, these causes are often independent of the plant teractions between all the equipment in the plants.
arrangement, process fluids, or any interactions directly with other Fig. 4 shows the “Process specific knowledge” and “Equipment spe
processes or equipment, and are purely inherited from the design and cific knowledge”. Process specific knowledge represents both the “pro
characteristics of the equipment themselves. The equipment attributes cess fluid data” and “cause and effect matrix”. Process fluid data relates
are also input into this database for propagation of causes using the to the physical and chemical properties of the fluid. For example,
algorithms. These causes can be due to mechanical failure, structural whether the fluid will freeze or if any precipitates can form due to
failure, instrument malfunctions, operating beyond design limits, or changing operating conditions can be obtained from this information.
other failure modes that were often pointed out in HAZOP studies. Similarly, the equipment specific knowledge also has information
An example of such causes in a “no flow in a heat exchanger” process related to the equipment, that is the physical attributes of the equip
deviation can possibly be due to ruptured tubes, blocked tubes ment, which is called equipment data and the ‘inherent cause table’,
Fig. 4. Schematic representation of the knowledge base components. Sample Cause-effect relationships for process data are given in Table 2.
143
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
144
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
145
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
behavioural path and state transitions given the input conditions b. Deviation of the process unit upstream
resulted from a selected deviation. The state pathways and outputs 2. Determines the starting state of the current process unit.
would then be correlated to the knowledge base to produce relevant 3. Looks for equipment-specific knowledge database due to deviation.
causes as the result. 4. Looks for process-specific knowledge database due to name/type of
process unit.
3.3.2. Algorithm for the HAZOP automation 5. Relays a compatible output to the next block.
Within each individual parameter state, the algorithm contained
decision pathways on how the inputs were to be managed. Each The algorithm would check and assign the states for the process unit
guideword is represented as a discrete state described by numeric digits after receiving the inputs. The decision of the states it entered are given
in accordance with the methods of the data preparation. The dynamics by the inputs, which goes through the algorithm to check for the cor
of the process interactions between the equipment are mapped onto responding transitions to be triggered based on the conditions being
transitions. The transitions linked the source to a destination state met. A diagram showing the state environment within a process
within the Stateflow diagram. The conditions which determine the parameter parent state is shown in Fig. 10. The resultant states could be
occurrence of a change in state is coded within the transitions. The al like the previous block, or it could be derived from a combination of
gorithm flows in the following manner. conditions met and follow the transition pathways to reach a certain
state. The algorithm then checks for actions to be triggered, such as
1. Reads the input signals and determines the following. producing a specific output data and then executes them. These output
a. Name/type of process unit upstream data were then passed on to the next process unit or cross-referenced
146
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
back to the knowledge base to produce the resultant hazardous causes 3.4. Obtaining software outputs and translating back into HAZOP format
outputs.
Consider an example where a heat-exchanger is located downstream The outputs derived from Stateflow algorithm were quantitatively
of a pump. Step 1 would be to read the Pump and Flow parameter represented and required to be translated back into meaningful HAZOP
(104–31–11, referring to Table 1), Step 2 indicates that there is no flow descriptions of the deviations and causes using qualitative expressions. .
(referring to guideword ‘No’ in Table 1). Considering the ‘equipment In Stateflow, the lookup index function block provided a means to
specific knowledge’ in Fig. 4, Step 3 would look for the causes for this connect the knowledge base table to the data outputs from running the
deviation within this equipment, the pump. Step 4 would look for the automated HAZOP simulation. The knowledge base data consisting of
process specific information that related to the pump which may cause tables were loaded into the software Simulink and each data table was
‘no flow’. Finally, in Step 5, the information that there is no flow from represented as a two-dimensional lookup index function block. The ports
the pump is relayed to the downstream equipment which is the heat- u1 and u2 are functions corresponding to the row and column headers of
exchanger. the matrix table respectively.
f (u1 ) = (x1 , x2 , x3 …), where xn = outputs for causes
3.3.3. Fault propagation method
One of the key concepts to achieve in the automation of HAZOP f (u2 ) = (y1 , y2 , y3 …), where yn = outputs for effects
study was to examine all the possible causes happening to the system in
the event of an upset occurring anywhere along the process. The idea of Each set of variables from the f(u1 )and f(u2 ) would result in a final
fault propagation has been applied in many of such automation of output indexed value corresponding to the lookup table. This value is
HAZOP researchers (Parmar & Lees, 1987; Rahman et al., 2009; Waters then mapped onto the final output file “out. V1″ to produce a HAZOP
and Ponton, 1989) with certain levels of success and difficulties. worksheet with 5 columns; hazard no., parameter, guideword, deviation,
The fundamental concept of fault propagation in Stateflow was that causes as shown in Table 3 below.
the process faults and deviations can be relayed down connecting pro
cess unit blocks by use of connecting data outputs and inputs to transfer 3.5. Advantages of HAZOP Automation with Stateflow
the faults downstream. The faults are described by the deviation
guidewords as used in HAZOP and in Stateflow, data structure con The approach of adopting HAZOP automation using Stateflow has
taining this information were encoded into the data representation the following advantages examined in detail below..
format and outputs to relay down to the next connecting equipment as With a computer-based aided approach to perform automation on a
part of the algorithm to look up the cause-and-effect table for process- conventional labour-intensive process, the time-saving factor was ach
specific causes. ieved as part of the objective of carrying out the works. However, the
This was possible in Stateflow because actions could be specified to pre-HAZOP preparations required a significant amount of time and input
trigger upon entering a state or transition in the chart. The action for and formed the most labour-intensive part in order to perform the
fault propagation was to trigger an output from the block to contain the automation works. These preparation works far exceeded the manhours
fault information and pass to the next connecting block which receives required in an actual HAZOP desktop study setting. Despite such tedious
and processes the inputs. The algorithm was designed such that the manhours consumed, it is notable that the amount of time can be
faults were part of the package data to be sent out and analysed by each significantly reduced with the model library and the knowledge base
individual equipment block downstream from where the fault being set up and developed further. This could be seen as the potential
initialised. driving factor to propel towards automation of HAZOP processes using
The alternative development for Stateflow using actual process pa Stateflow. Further, Matlab and Simulink are widely used in the process
rameters could be carried out for better quantification of hazardous industry, including for process control. Thus, we believe that this
scenarios. Actual process operating conditions, operating parameter development would help end users to use the Matlab ecosystem to work
ranges and other equipment related data could be entered into the from plant design, safety studies, process simulation and process control.
database of the process unit block. Deviations above and below these It is possible that P&ID drawn in this ecosystem can be linked to
ranges could be numerically programmed into Stateflow transition StateFlow to aid in automation of HAZOP. .
pathways to produce faults instead of producing data-represented out The use of Stateflow allowed high traceability and reproducibility of
puts that code for the faults. Outputs of the process parameters values the HAZOP process. The outputs produced by Stateflow were generated
could be propagated or escalated across the entire study node. This can on scenario basis and recorded as outputs based on the runs carried out.
be achieved by specifying the transition conditions to represent using The computerised method also allowed the records to be saved and
process parameter values instead of the qualitative representation using extracted when necessary for the HAZOP study. This overcame the
the numerical method in our data structure. challenges of physical HAZOP records that could be easily lost or
One of the drawbacks despite being able to carry out fault propa replaced in a plant facility over time.
gation along the study node was that it did not have backward Users could make adjustments to Stateflow software during the
entire process, such as modifying the existing plant layout, addition/
147
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
Table 2
Cause and Effect matrix of the process-specific knowledge base.
CAUSE Storage Tank
removal of equipment, configurations, parameters and re-run the to the equipment and the interaction with the immediate upstream
simulation to produce multiple HAZOP scenarios and identified causes. equipment. Other aspects of hazardous causes such as operation pro
This reduced the time and efforts required in conventional desktop study cedures error, maintenance aspect of equipment, were not covered in
to re-review the HAZOP report as a result of plant upgrades or modifi this knowledge base and simulation, which are works for further
cations and highly value-add to the automation advantages due to its development in the future.
repeatability. Extensive development of the database was required due to the large
Specifically, to the knowledge base approach, it helped to overcome number of processes and equipment currently in the world. Considerable
one of the problems in HAZOP studies. Inconsistencies that resulted efforts and amount of time will be required for knowledge acquisition
from different HAZOP studies across the industries is due to the differ before the database can be as complete as possible and effectively
ence in participation of the knowledge experts and their experiences. applied to the model. The interactions between different equipment are
The quality of the HAZOP study is very much reliant on the above highly combinatorial and non-exhaustive, partly due to continuous
mentioned factors other than some identified earlier as drawbacks of emergence of new technology in the market. As a result, there is a limit
HAZOP studies. In the knowledge-based approach, a collection of user to the completeness of HAZOP automation that the software can
inputs from expertise and experiences helped to draw commonality achieve.
between different individuals and establish a growing knowledge Since we are in the early stage of development, the methodology
domain over time. This domain can then be utilised to refine the required manual effort to develop the knowledge database, and this is
methods and algorithms to cover automation studies more effectively expected in the development of any new methodology. As more analyses
and reliably. are conducted, the knowledge database is updated each time by adding
The hierarchy and architecture of the knowledge-based system, al new items and making them available for future use. This would be part
gorithms, and Stateflow charts allowed for huge flexibility in the design of agile development and is currently a drawback of the methodology
of the system for automation to take place. In all of these components, and is expected to be an advantage as we do more number of HAZOPs.
the design and structure allow for further expansion of knowledge ma
trix, state diagrams, state charts, and conditional transitions within the
3.7. Further works
software. By grouping deviations and causes directly to equipment uti
lising state hierarchies and data structure, hazards and hazardous causes
The database has only two-dimensional data inputs which are
can be directly identified within the system containing the equipment.
inadequate for the more complex plants. Escalation of hazards could be
The Stateflow objects are highly customisable to different industries,
an effect of multiple components as the underlying root causes, therefore
processes, and operating conditions with a similarity in data structures
continuous enhancement of the knowledge base is essential, to turn it
and algorithm. Users can modify the base case to cater to different
into a multi-dimensional array of information network that an algorithm
design needs for the HAZOP studies being carried out.
is able to manage, process, and extract the relevant hazardous causes
related to a process deviation. The format of building and expanding the
3.6. Limitations of HAZOP automation with Stateflow database can be explored further in future works.
The current automation has not included consequences derived from
One of the major limitations of HAZOP automation with Stateflow the causes as part of the HAZOP study output. A rule-based approach can
was the quality of the data outputs. The causes and deviation outputs be utilised to develop consequential modelling using rules network as
from the software produces outputs for inherent and effected causes due the transition methods to construct visual flows in Stateflow such as ‘IF
148
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
Less More As well as No Less More No Less More Less More No Less More Reverse
101242 101243 101245 102211 102212 102213 102221 102222 102223 102232 102233 103211 103212 103213 103214
217 241 265 289 313 337 361 385 409 433 457 481 505 529 553
218 242 266 290 314 338 362 386 410 434 458 482 506 530 554
219 243 267 291 315 339 363 387 411 435 459 483 507 531 555
220 244 268 292 316 340 364 388 412 436 460 484 508 532 556
221 245 269 293 317 341 365 389 413 437 461 485 509 533 557
222 246 270 294 318 342 366 390 414 438 462 486 510 534 558
223 247 271 295 319 343 367 391 415 439 463 487 511 535 559
224 248 272 296 320 344 368 392 416 440 464 488 512 536 560
225 249 273 297 321 345 369 393 417 441 465 489 513 537 561
226 250 274 298 322 346 370 394 418 442 466 490 514 538 562
227 251 275 299 323 347 371 395 419 443 467 491 515 539 563
228 252 276 300 324 348 372 396 420 444 468 492 516 540 564
229 253 277 301 325 349 373 397 421 445 469 493 517 541 565
230 254 278 302 326 350 374 398 422 446 470 494 518 542 566
231 255 279 303 327 351 375 399 423 447 471 495 519 543 567
232 256 280 304 328 352 376 400 424 448 472 496 520 544 568
233 257 281 305 329 353 377 401 425 449 473 497 521 545 569
234 258 282 306 330 354 378 402 426 450 474 498 522 546 570
235 259 283 307 331 355 379 403 427 451 475 499 523 547 571
236 260 284 308 332 356 380 404 428 452 476 500 524 548 572
237 261 285 309 333 357 381 405 429 453 477 501 525 549 573
238 262 286 310 334 358 382 406 430 454 478 502 526 550 574
239 263 287 311 335 359 383 407 431 455 479 503 527 551 575
240 264 288 312 336 360 384 408 432 456 480 504 528 552 576
cause AND/OR cause…, THEN consequence’, similar to fault tree analysis before sending it to the fuel gas suction drum for temporary storage. The
structures used in safety assessments. gas will then be sent to the gas engine with the required amount for
consumption and power generation. The schematic representation of the
4. Case study – liquefied natural gas (LNG) fuel supply system process is shown in Fig. 13 below.
149
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
150
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
151
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
Table 5
Comparison of Automation of HAZOP with Stateflow and conventional HAZOP workshop.
Categories Automation of HAZOP with Stateflow Conventional HAZOP Workshop
Table 6
Hazardous causes identified in conventional HAZOP.
Hazard Component Parameter Guideword Deviation Cause
No.
3 Storage Tank Flow Low Low flow from Storage Valve position incorrectly opened/closed due to human error (operation)
Tank
7 Storage Tank Flow High High flow from Storage Valve position incorrectly opened/closed due to human error (operation)
Tank
15 Storage Tank Pressure High High pressure in Storage Overfilling of Storage Tank resulting in higher amount of BOG produced
Tank
18 Storage Tank Pressure Low Low pressure in Storage Tank internal cools rapidly due to heat loss to cryogenic fluid.
Tank
19 Storage Tank Pressure Low Low pressure in Storage Overfilling of Storage Tank with cryogenic fluid rapidly
Tank
23 Storage Tank Temperature High High temperature in Loss of lubrication in pump producing heat in tank.
Storage Tank
35 Heat Temperature Low Low temperature in Heat High flow of cryogenic LNG into Heat Exchanger with low outflow
Exchanger Exchanger
37 Heat Temperature High High Temperature in Low/No flow of cryogenic LNG into Heat Exchanger due to human error in operation of
Exchanger Heat Exchanger valves, low/no flow from storage tank etc. (Refer to above Storage Tank deviations)
152
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
covered. A total of three (3) runs were carried out in total for the 5.3. Advantages of HAZOP automation with Stateflow
maximum number of deviations in any of the process parameters as the
combination of deviations have no effect on the outcome of the auto One of the major advantages of HAZOP automation is that users can
mation results at this stage. The HAZOP automation results were sum modify the base case to cater to different design needs for the HAZOP
marised in the Table 4 below. studies being carried out. In Fig. 14 below, an example was shown of
how a state can be expanded to incorporate further algorithm inputs
5.2. Conventional HAZOP study results with other equipment components in further stages of developing the
automation process. In Fig. 15, the algorithms for conditions to transit
The original HAZOP was carried out in a conventional setting. A can be changed to actual process parameters to describe deviations more
comparison was set out to study the effectiveness of HAZOP automation precisely to the operating conditions.
using Stateflow versus the conventional HAZOP study that was carried
out. The number of causes identified by both methods were compared, 6. Conclusion
as well as the accuracy of the automated HAZOP in identifying similar
causes that was recorded from the conventional HAZOP. Table 8 Com Given the enormous amount of effort, manhour, and cost to perform
parison of Automation of HAZOP with Stateflow and conventional HAZOP of considerable reliability, there are incentives to develop
HAZOP workshop.. automation of HAZOP. The automation reduces the time and effort
After filtering the list of outputs from the automated HAZOP, there involved on routine analytical steps and allows more focus to be placed
were a total of forty-six (46) credible hazardous causes identified by the on non-routine aspects such as process-specific hazards causes and
system. The result was close to the number of relevant hazards discussed consequences.
and recorded in the conventional HAZOP workshop. A total count of In this work, we have presented a ‘Methodology’ to use Stateflow for
thirty-eight (38) causes. See Appendix B for details. performing HAZOP. Although we can identify the ‘causes’ of deviations,
The excess causes identified by the automated HAZOP with Stateflow the methodology could further be developed to link causes with conse
compared to conventional HAZOP is due to the way the causes were quences. Further, back propagation is one the leading causes of disasters
expressed in both methods. In the automated HAZOP, each discrete in the chemical process industries and more work is needed to include
cause was identified separately, such as “valve partially open” and “valve the same which potentially can identify more severe consequences and
fully open” while in conventional HAZOP, participants would group make this methodology more meaningful. In this manuscript, we have
them together such as “… due to valve partially/fully open which results in given a simple example where we have shown that Stateflow can be used
high flow to Heat Exchanger”. The reasoning logic of the algorithm and to combine guideword, parameter to identify the cause. We have not
software were not able to form associations of discrete causes within a presented a complete example and the same will be presented as sepa
similar expression. In the conventional HAZOP study carried out, some rate work. In the future, we anticipate that StateFlow can be connected
of the repeated causes were also duplicated with a blanketing statement to P&IDs within the Matlab ecosystem for faster HAZOP.
“Refer to above deviation for causes” which results in the lower count
shown in the table.
From the causes identified with the two different approaches, thirty Declaration of Competing Interest
(30) of them were identified by both the Stateflow approach as well as
the conventional HAZOP study. These causes were the same in both The authors declare that they have no known competing financial
records. Examples of such causes were tank empty, pipe leaking, pipe interests or personal relationships that could have appeared to influence
choked and etc, which were common hazardous causes often identified the work reported in this paper.
1 Flow Low Low flow in Storage Tank Low Flow due to Low Flow
2 Flow High High flow in Storage Tank High Flow due to High Flow
3 Flow No No flow in Storage Tank No Flow due to No Flow
4 Flow Low Low flow in Pump Low level of liquid in tank
5 Flow Low Low flow in Pump Tank leak, tank rupture
6 Flow Low Low flow in Pump Flowmeter faulty
7 Flow High High Flow in Pump Pump mulfunction
8 Flow High High Flow in Pump Flowmeter faulty
(continued on next page)
153
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
(continued )
Hazard No. Parameter Guideword Deviation Cause
1 Storage Tank Flow Low Low flow from Storage Pump malfunction
Tank
(continued on next page)
154
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
(continued )
Hazard Component Parameter Guideword Deviation Cause
No.
2 Storage Tank Flow Low Low flow from Storage Low level of inventory in storage tank
Tank
3 Storage Tank Flow Low Low flow from Storage Valve position incorrectly opened/closed due to human error (operation)
Tank
4 Storage Tank Flow Low Low flow from Storage Valve position incorrect position due to faulty instrument control TIT
Tank
4 Storage Tank Flow Low Low flow from Storage Pipe choked due to residues or condensates
Tank
5 Storage Tank Flow Low Low flow from Storage Pipe ruptured
Tank
6 Storage Tank Flow High High flow from Storage Pump malfunction
Tank
7 Storage Tank Flow High High flow from Storage Valve position incorrectly opened/closed due to human error (operation)
Tank
8 Storage Tank Flow High High flow from Storage Valve position incorrect position due to faulty instrument control TIT
Tank
9 Storage Tank Flow No No flow from Storage Empty storage tank
Tank
10 Storage Tank Flow No No flow from Storage Pump stopped, pump faulty
Tank
11 Storage Tank Flow No No flow from Storage Pipe choked due to resisdues or condensates
Tank
12 Storage Tank Flow No No flow from Storage Pipe ruptured
Tank
13 Storage Tank Flow No No flow from Storage Loss of containment of LNG, tank rupture.
Tank
13 Storage Tank Pressure High High pressure in Storage Excessive BOG produce due to heat ingress, loss of insulation integrity
Tank
14 Storage Tank Pressure High High pressure in Storage Failure of relief valve to open
Tank
15 Storage Tank Pressure High High pressure in Storage Overfilling of Storage Tank resulting in higher amount of BOG produced
Tank
16 Storage Tank Pressure Low Low pressure in Storage Excessive LNG removed from tank rapidly
Tank
17 Storage Tank Pressure Low Low pressure in Storage Pressure vacuum valve faulty
Tank
18 Storage Tank Pressure Low Low pressure in Storage Tank internal cools rapidly due to heat loss
Tank
19 Storage Tank Pressure Low Low pressure in Storage Overfilling of Storage Tank with cryogenic fluid rapidly
Tank
20 Storage Tank Pressure Vacuum Vacuum pressure in Pressure vacuum valve faulty
Storage Tank
21 Storage Tank Temperature Low Low temperature in Excessive boil off gas evaporating resulting in cooling
Storage Tank
22 Storage Tank Temperature Low Low temperature in Rapid introduction of LNG from higher tank temperature
Storage Tank
23 Storage Tank Temperature High High temperature in Loss of lubrication in pump producing heat in tank.
Storage Tank
24 Storage Tank Temperature High High temperature in Loss of insulation integrity of the tank
Storage Tank
25 Heat Flow Low Low flow to Heat Refer to above Low Flow from Storage Tank
Exchanger Exchanger
26 Heat Flow Low Low flow to Heat Heat exchanger inlet tubings blocked
Exchanger Exchanger
27 Heat Flow High High flow to Heat Refer to above High Flow from Storage Tank
Exchanger Exchanger
28 Heat Flow No No flow to Heat Refer to above No Flow from Storage Tank
Exchanger Exchanger
29 Heat Pressure High High Pressure in Heat Excessive pump pressure for fluid service into Heat Exchanger
Exchanger Exchanger
30 Heat Pressure High High Pressure in Heat LNG gas boil off and expansion before entering Heat Exchanger
Exchanger Exchanger
31 Heat Pressure High High Pressure in Heat Blocked outlet of heat exchanger
Exchanger Exchanger
32 Heat Pressure Low Low Pressure in Heat Heat exchanger inlet tube leak/rupture
Exchanger Exchanger
33 Heat Pressure Low Low Pressure in Heat Inadequate flow from pump and storage tank coupled with high demand outflow for fuel
Exchanger Exchanger gas
34 Heat Temperature Low Low temperature in Heat Loss of heating medium utility
Exchanger Exchanger
35 Heat Temperature Low Low temperature in Heat High flow of cryogenic LNG into Heat Exchanger with low outflow
Exchanger Exchanger
36 Heat Temperature Low Low temperature in Heat Temperature sensor faulty leading to control system failure of the valve
Exchanger Exchanger
(continued on next page)
155
M.F. Chia and P.K. Naraharisetti Process Safety and Environmental Protection 179 (2023) 137–156
(continued )
Hazard Component Parameter Guideword Deviation Cause
No.
37 Heat Temperature High High Temperature in Low/No flow of cryogenic LNG into Heat Exchanger due to human error in operation of
Exchanger Heat Exchanger valves, low/no flow from storage tank etc. (Refer to above Storage Tank deviations)
38 Heat Temperature High High Temperature in Temperature sensor faulty leading to control system failure of the valve
Exchanger Heat Exchanger
References McCoy, S.A., et al., 1999. HAZID, A computer aid for hazard identification: 1. The
stophaz package and the hazid code: an overview, the issues and the structure.
Process Saf. Environ. Prot. 77 (6), 317–327.
Baybutt, P., 2015. The treatment of domino effects in process hazard analysis. Process
Nagel, C.J., 1991. Identification of hazards in chemical process systems. Massachusetts
Saf. Prog. 34 (3), 220–227.
Institute of Technology.
Baybutt, P., 2016. Cognitive biases in process hazard analysis. J. Loss Prev. Process Ind.
Nagi, K., 2020. From bits and bytes to big data-an historical overview (Available at).
43, 372–377.
SSRN, 3622921.
Bayne, T., et al. (2014). The Oxford companion to consciousness, OUP Oxford.
Parmar, J.C., Lees, F., 1987. The propagation of faults in process plants: Hazard
Berkeley, E.C. (1962). The Computer Revolution.
identification. Reliab Eng 17 (4), 303–314.
Busby, K., Kazarians, M., 2018. Pitfalls of using the wrong risk matrix In PHA and LOPA.
Rahman, S., et al., 2009. ExpHAZOP+: Knowledge-based expert system to conduct
AIChE Spring Meet. Glob. Congr. Process Saf.
automated HAZOP analysis. J. Loss Prev. Process Ind. 22 (4), 373–380.
Chae, H., et al., 1994. Safety analysis using an expert system in chemical processes.
Rodríguez, M., de la Mata, J.L., 2012. Automating HAZOP studies using D-higraphs.
Korean J. Chem. Eng. 11 (3), 153–161.
Comput. Chem. Eng. 45, 102–113.
Chia, M.F. and P.K. Naraharisetti (2021). Matlab-Stateflow for automated HAZOP. 2021
Rossing, N.K., Lind, M., Jensen, N., Jorgensen, S.B., 2010. A functional HAZOP
60th Annual Conference of the Society of Instrument and Control Engineers of Japan
methodology. Comput. Chem. Eng. 34 (2), 244–253.
(SICE).
Sauk, R., et al., 2015. Application of the graph theory and matrix calculus for optimal
CRAWLEY, F., TYLER, B., 2015. HAZOP: Guide to Best Practice. Elsevier Science.
HAZOP nodes order determination. J. Loss Prev. Process Ind. 35, 377–386.
Paperback ISBN: 97803233946049 7 8 - 0 - 3 2 3 - 3 9 4 6 0 - 4eBook ISBN:
Single, J.I., 2022. Automation of the Hazard and Operability method using ontology-
9780128035801.
based scenario causation models. Ph. D. Thesis Tech. Univers. Kaiserslaut. https://
Cui, L., Zhao, J., Zhang, R., 2010. The integration of HAZOP expert system and piping
doi.org/10.26204/KLUEDO/6741.
and instrumentation diagrams. Process Saf. Environ. Prot. 88 (5), 327–334.
Single, J.I., Schmidt, J., Denecke, J., 2019. State of research on the automation of HAZOP
Cui, L., Zhao, J., Qiu, T., Chen, B., 2008. Layered digraph model for HAZOP analysis of
studies. J. Loss Prev. Process Ind. 62, 103952.
chemical processes. Process Saf. Prog. 27 (4), 293–305.
Srinivasan, R. (1998). PHAzer: An intelligent multiple models-based process hazards
Dunjo, J., Fthenakis, V., Darbra, R., Vilchez, J., Arnaldos, J., 2011. Conducting HAZOPs
analyzer, Purdue University.
in continuous chemical processes: Part I. Criteria, tools, and guidelines for selecting
Srinivasan, R., Venkatasubramanian, V., 1996. Petri net-digraph models for automating
nodes. ISSN 0957-5820 Process Saf Environ Prot 89 (4), 214–223, 10.106/j.
HAZOP analysis of batch process plants. Comput. Chem. Eng. 20, S719–S725.
psep.2011.03.001.
Suokas, J., Heino, P., 1990. Expert systems in safety management. J. Occup. Accid. 12
Dunjó, Jordi, Fthenakis, Vasilis, Vílchez, Juan A., Arnaldos, Josep, 2010. Hazard and
(1–3), 63–78.
operability (HAZOP) analysis. A literature review. J Hazard Mater 173 (1-3), 19–32.
Taylor, J.R., 2017. Automated HAZOP revisited. Process Saf. Environ. Prot. 111,
https://doi.org/10.1016/j.jhazmat.2009.08.076. Epub 2009 Aug 25.
635–651.
Earl, W.B. and C.J. Williamson (1988). Control System Synthesis: A Comparison between
Vaidhyanathan, R., et al., 1996. HAZOPExpert: an expert system for automating HAZOP
PROLOG and an Expert System Shell for Distillation Column Control. Barton, ACT.
analysis. Process Saf. Prog. 15 (2), 80–88.
Freeman, R.A., et al., 1992. Plan HAZOP studies with an expert system. Chem. Eng. Prog.
Vaidhyanathan, R., Venkatasubramanian, V., 1995. Digraph-based models for automated
88, 28–32.
HAZOP analysis. Reliab. Eng. Syst. Saf. 50 (1), 33–49.
Heino, P., et al., 1988. An expert system in process design-analysis of process safety and
Vaidhyanathan, R., Venkatasubramanian, V., 1996. A semi-quantitative reasoning
reliability. Proc. Int. Workshop Artif. Intell. Ind. Appl.
methodology for filtering and ranking HAZOP results in HAZOPExpert. Reliab. Eng.
Ikpe, E., et al., 2012. Cost-benefit analysis for accident prevention in construction
Syst. Saf. 53 (2), 185–203.
projects. J. Constr. Eng. Manag. 138 (8), 991–998.
Vaidhyanathan, R., Venkatasubramanian, V., 1996. Experience with an expert system for
Iyun, O.E. (2012). "Plant-wide diagnosis: Cause-and-effect analysis using process
automated HAZOP analysis. Comput. Chem. Eng. 20, S1589–S1594.
connectivity and directionality Information."
Venkatasubramanian, V., et al., 2000. Intelligent systems for HAZOP analysis of complex
Khan, F.I., 2005. Knowledge-based expert system framework to conduct offshore process
process plants. Comput. Chem. Eng. 24 (9–10), 2291–2302.
HAZOP study. 2005 IEEE Int. Conf. Syst., Man Cybern.
Venkatasubramanian, V., Vaidhyanathan, R., 1994. A knowledge-based framework for
Khan, F.I., Abbasi, S.A., 1997. Mathematical model for HAZOP study time estimation.
automating HAZOP analysis. AIChE J. 40 (3), 496–505.
J. Loss Prev. Process Ind. 10 (4), 249–257.
Waters, A., Ponton, J., 1989. Qualitative simulation and fault propagation in process
Khan, F.I., Abbasi, S.A., 1997. OptHAZOP—an effective and optimum approach for
plants. Chem. Eng. Res. Des. 67, 407–422.
HAZOP study. J. Loss Prev. Process Ind. 10 (3), 191–204.
Wu, J., Lind, M., 2018. Management of system complexity in HAZOP for the oil &gas
Khan, F.I., Abbasi, S.A., 1997. TOPHAZOP: a knowledge-based software tool for
industry. IFAC-Pap. 51 (8), 211–216.
conducting HAZOP in a rapid, efficient yet inexpensive manner. J. Loss Prev. Process
Zhao, C., et al., 2005. PHASuite: an automated HAZOP analysis tool for chemical
Ind. 10 (5), 333–343.
processes: part II: implementation and case study. Process Saf. Environ. Prot. 83 (6),
Khan, F.I., Abbasi, S.A., 2000. Towards automation of HAZOP with a new tool
533–548.
EXPERTOP. Environ. Model. Softw. 15 (1), 67–77.
Zhao, C., et al., 2005. PHASuite: an automated HAZOP analysis tool for chemical
Kletz, T.A., 1997. Hazop—past and future. Reliab. Eng. Syst. Saf. 55 (3), 263–266.
processes: part i: knowledge engineering framework. Process Saf. Environ. Prot. 83
Kletz, T.A. HAZOP & HAZAN: Notes on the identification and assessment of hazards, The
(6), 509–532.
Institution of Chemical Engineers, Hazard workshop modules, Rugby, 1983.
Zhao, J., et al., 2009. Learning HAZOP expert system by case-based reasoning and
https://doi.org/10.1016/S0951-8320(96)00100-7.
ontology. Comput. Chem. Eng. 33 (1), 371–378.
Lawley, H.G., 1974. Operability studies and hazard analysis. Chem. Eng. Prog. 70,
105–116.
156