Risk Based Gas Mapping Workflow
Risk Based Gas Mapping Workflow
INSIGHT NUMERICS, LLC | 697 HIGH STREET, UNIT 469, WESTWOOD, MA 02090, USA
Introduction
This document provides information and guidance on the steps needed to perform a Risk-Based
Gas Mapping (RBGM) assessment using the in:Flux CFD software, developed by Insight Numerics,
LLC.
The first page lists the sequence of steps to undertake with latter pages going into more detail for
each. Hyperlinks are provided throughout the document linking to the Online Help Guide –
https://help.insightnumerics.com/
If you have any questions, please email us at [email protected]
Contents
Introduction ......................................................................................................................................2
Planning and Preparation ...................................................................................................................4
Input Data Checklist .................................................................................................................................. 4
Geometry Setup and Simplification .......................................................................................................... 4
Scenario Selection ..................................................................................................................................... 4
Leak Locations and Frequency Data ..................................................................................................... 4
Equipment Grouping ............................................................................................................................. 4
Determining the Hole Size .................................................................................................................... 5
Leak Directions ...................................................................................................................................... 5
Environmental Data / Wind Rose.......................................................................................................... 6
Total Simulation Count ......................................................................................................................... 6
Project Setup .....................................................................................................................................6
Gas Composition Definition ...................................................................................................................... 6
Leak Definition .......................................................................................................................................... 6
Wind Rose Definition ................................................................................................................................ 7
Simulation Summary Review .................................................................................................................... 7
Risk Data Set and Monitor Region Definition ........................................................................................... 8
Project Calculation .............................................................................................................................8
Create Distributed Solver Files and run with ifx:Solve.............................................................................. 8
Updating the main in:Flux project ............................................................................................................ 8
Post-Processing..................................................................................................................................8
Apply Consequence Values ....................................................................................................................... 8
Risk Contour Definition ............................................................................................................................. 9
Gas Detector Optimization .................................................................................................................9
Plausible Gas Detector Location Definition .............................................................................................. 9
Perform Gas Detector Optimization ....................................................................................................... 10
Improve Optimization Results ................................................................................................................ 10
Export Final Results ................................................................................................................................. 10
Planning and Preparation
Input Data Checklist
Much of the time spent in the initial phase of a RBGM project is locating, and generating, the input
data. Below is a list of items to gather prior to starting the project:
• 3D CAD Model (DGN or Navisworks files preferred)
• QRA or FERA document, if available, or other data categorizing the hazards associated with the
modules/regions for analysis
• Parts List with inventory and leak frequencies
Scenario Selection
It is impractical to run every combination of leak location, direction, hole size and wind condition.
An important part of the project is narrowing down the number of cases to reduce the total
computation time of the project.
Equipment Grouping
It is often useful to group equipment that are close together. The modeled leaks are then
representative of all leaks from the equipment in the group. The total leak frequency from the
group can be summed from the individual components.
Note that the release frequency can vary by two or three orders of magnitude depending on type
of equipment. Modeling leaks from equipment with very low leak frequency will make little
difference to the results of a risk-based analysis and can be ignored in certain circumstances.
Leak Directions
Once the leak locations and hole sizes have been determined, the leaks should be added to the
project. This involves adding specific leak sources to each equipment item.
It is very important that the sum of all the individual leak frequencies should equal the total leak
frequency of the equipment item. For example, if the leak frequency of a flange is 1 x 10-3 and four
directions are modeled, then the individual leak frequency is 2.5 x 10-4.
Note that leak frequencies can be modified after the project is completed without needing to rerun
the CFD simulations. Errors in defining the leak frequency can be corrected easily.
It is standard to consider four leak directions for each location, but more can be added as
necessary.
Environmental Data / Wind Rose
Environmental data should be available from the QRA or other data source. It is common to group
the data into 8 or 12 wind directions, and 2 or 3 wind speeds.
Project Setup
Gas Composition Definition
Single- and multi-component gas compositions should be defined for each inventory first, so that
they can be used when defining leaks.
Leak Definition
The Risk Manager's leak frequencies tab can be used to define leaks individually or groups at a
time. Properties of the leak (e.g. location, direction, hole size, composition, frequency, etc) are
displayed in tabulated form for ease of editing.
Leaks commonly occur on valves or flanges. It is typical to define a set of four leaks around these
objects as shown below, although more leaks can be defined.
The Properties editor at the bottom of the Risk Manager window can be used to edit the properties
of leaks in bulk or make copies of sets of leaks. The Copy feature is a very powerful function as all
the leaks in the project can be selected and then duplicated with different properties. Alternatively,
the copy function may be used with the position option in the properties editor to duplicate sets of
leaks to nearby or similar flanges or equipment pieces.
Frequency values can be entered in the Risk Manager for each leak individually or divided across a
set of leaks using the Cumulative Frequency option. Time should be taken here to accurately define
each leak location and direction.
Project Calculation
Create Distributed Solver Files and run with ifx:Solve
Rather than have all simulations calculated on one machine, solver files and the ifx:Solve software
can be used to distribute the computation of the project to other machines to be run in parallel.
This greatly reduces computation time as the computational effort may be distributed over a
network of physical or virtual analysis machines. Determine the available computation power you
have before deciding on the number of solver files to create.
It is useful to run one dispersion simulation to monitor the resources it requires for a specific
machine. Depending on the project and machine, the solve time may be CPU-limited or memory-
limited. Based on this first simulation, it should be clear how many solver files can be run on each
machine.
Both in:Flux and ifx:Solve are built in the .Net Framework and will utilizes all cores of the machine
for most tasks. However, Windows will manage how much of the processing power is used so it will
vary for each machine based on what is going on “under the hood”. As the license key for ifx:Solve
is an unlimited seat type (different from the main in:Flux software license) it allows for an unlimited
number of instances to be open and running at the same time.
Post-Processing
Apply Consequence Values
With the solver files updated, gas cloud volumes for each case will have been calculated. Check the
Gas Cloud Analysis window to ensure the data is present before opening the Risk Manager to the
Simulation Summary tab. Here you can choose the consequence method deemed most appropriate
for your project. As an example, one option would be setting the Method to By Volume (LFL-
UFL) and the Scaling to Cube Root (Normalized), although several other methods and scaling exist.
Risk Contour Definition
Risk Contours show exceedance values of the variable chosen when defining the risk data set.
These risk contours can show results based on three methods: scenario, frequency or risk. For
RBGM the third option should be used, as this utilizes the consequence values assigned earlier.
As a point of reference, the unmitigated risk contour of the region prior to performing the
optimization can be generated, an example is shown below. Once defined many of these
properties, such as the height can be changed so that you can review the unmitigated risk at
different elevations within the Risk Data Set.
After the optimization is performed a new Risk Data Set can be created with all the detected
scenarios removed so that a comparison can be made showing mitigated risk vs unmitigated risk.
An example image is provided at the end of this document.
Three options are available to select as the Optimization Algorithm for in:Flux and are described
here:
Greedy Algorithm – this algorithm looks for a defined monitor which will be most effective at
reducing the risk. It then adds that monitor to the layout and removes the cases which were
detected before continuing and looking for the next monitor which will have the next most
effective reduction in risk. The process is continued until the coverage target is met or it cannot
improve the layout any further.
Optimal Layout – this algorithm provides the mathematically optimal location for point
detectors; this does not consider if that location is sensible for installation or not.
None – Evaluate Layout – this option only provides the resulting coverage for the layout
chosen via the monitor dropdown options at the defined alarm levels. in:Flux will provide the
risk reduction (if Risk is set as the Target Basis) for the layout. This is different than optimizing
as all of the monitors chosen will be used in the layout rather than in:Flux only selecting the
minimal number needed for the coverage targets.