Pipe Spool Fabrication Sequencing by Automated Planning
Pipe Spool Fabrication Sequencing by Automated Planning
Pipe Spool Fabrication Sequencing by Automated Planning
1. PhD candidate, Civil and Envir. Engrg. Department, 1-047 Markin/CNRL Natural
Resources Engineering Facility, Univ. of Alberta, Edmonton, AB, T6G 2W2; PH
(780) 492-8093; [email protected]
Natural Resources Engineering Facility, Univ. of Alberta, Edmonton, AB, T6G 2W2;
PH (780) 492-1321; FAX (780) 492-0249; [email protected]
ABSTRACT
INTRODUCTION
Timely supply of pipe spools to module yard and installation site is the key to
the success of whole project. However, studies showed that pipe spool fabrication
shops are faced with various interruptions (e.g. out-of-sequence deliveries, change
orders) and often not operating at an optimal productivity (Howell and Ballard 1996,
Tommelein 1998, and Wang et al. 2009). Another major challenge faced with
fabrication shops is that most of pipe spools are unique (Wyss 2009). Pipe spools can
be unique in material, configuration, type of joints and many other properties. As
such, pipe spools cannot be entirely or partially fabricated in advance, which means
fabrication shops are unable to use on-hand inventory to buffer against variability
Downloaded from ascelibrary.org by New York University on 08/01/15. Copyright ASCE. For personal use only; all rights reserved.
Unique design and configuration means these pipe spools need to be custom
built. More specifically, the fabrication process usually varies from one pipe spool to
another. Since most fabrication operations (e.g. cutting, fitting and welding) involved
are similar, the variation mainly lies in the sequence of these operations. The
fabrication sequence determines steps that pipe spools go through from raw materials
to the final product. In reality, pipe spool fabrication sequence is determined by shop
foremen in heuristic manner. Given the enormous number of pipe spools involved in
an industrial project and the fast-tracking nature of the project, it is quite challenging
for human planners to come up with fabrication sequence with both efficiency and
quality. It is not a surprise to find that fabrication sequence for the same pipe spool
varies with human planners, because there is no standard way of sequencing in the
industry. Moreover, a pipe spool can be fabricated in several alternative sequences.
However, it is rare for these alternative sequences to get compared and evaluated.
Pipe spools are fabricated from a number of raw pipes and pipe fittings (e.g.
elbows, flanges, tees, etc.) in fabrication shops. Raw pipes are cut to the required
sizes and moved with pipe fittings to a fitting table, where some of the components
are fitted together (i.e. temporarily connected). The resulting sub-assembly (part of
the final pipe spool) continues with welding operations (i.e. permanent connected)
before it comes back to the fitting table and gets fitted with other spool components.
Spool fitting and welding can be grouped into two types: (1) roll fitting and welding
and; (2) position fitting and welding. Roll fitting and welding means the main pipe
can be turned by a rolling machine and the fitter or the welder does not have to
change his or her position to perform the operation, whereas position fitting and
Downloaded from ascelibrary.org by New York University on 08/01/15. Copyright ASCE. For personal use only; all rights reserved.
welding occur when one or more branches of the main pipe exceed the clearance limit
(see figure 1). In such case, the fitter or the welder has to move around the main pipe
run to accomplish fitting or welding. As a result, position fitting and welding usually
takes more time to finish than roll fitting and welding. To minimize number of
position fitting and welding is one of the goals of pipe spool fabrication sequencing.
The fabrication sequence defines the process of how a pipe spool will be
fabricated gradually from raw materials (e.g. pipes and fittings), to intermediate spool
components, and eventually to the final product. As mentioned before, a pipe spool,
in many cases, can be fabricated through a number of alternative sequences. Figure 2
shows an example of a pipe spool with relatively simple configuration. It shows that
the pipe spool can at least be fabricated by two different sequences from the same raw
materials. Fabrication sequence1 requires three operations to produce the final
product while sequence2 only needs two. Moreover, handling is needed between
these operations, which further deteriorate the shop performance. In reality, sequence
is determined by shop foremen in very heuristic manner and these alternative
sequences seldom have a chance to be compared and evaluated. As a result,
opportunities of productivity improvement slip away. The spool fabrication sequence
problem was identified when several industry professionals were interviewed. The
roo
ot cause is atttributed to th
he fact that currently
c theere is no stanndard, structuured way to
idenntify sequennce for pipe spools in th he industry, and no acaademic reseaarch on this
speecific topic has
h yet been found.
2 Pipe
1 + 2 + 3 = 7 5 + 6 = 8 7 + 8 + 4
Final Produ
uct
3 Elbow
Fabrication Seequence 2
4 Flange
5 Pipe
3 + 4 + 5 + 6 1 + 2 + 7
6 Plate
= 7
Figure 2 Alternative
A pipe
p spool fab
brication seqquences (adaapted from H
Hu and
Moh hamed 2011))
SIM
MULATION
N EXPERIM
MENT
AUTOMATED PLANNING
Planning problems studied in AI usually involve: (1) a dynamic system where objects
of interest are interacting, (2) finite system states, (3) a set of actions that can change
the system state, (4) an initial state and a goal state of the system, and, sometimes, (5)
an evaluation criteria. Pipe spool fabrication sequencing problem is a good candidate
for using AI planning. Pipe spool fabrication can be considered as the dynamic system,
where focus is placed on objects of interest such as welds, raw pipes and piping
fittings or sub-assemblies (part of the final pipe spool). Fitting and welding are
actions available to change the state of raw materials or in-progress assemblies. The
initial state of the pipe spool starts with a group of raw materials and the goal state is
the final product. The output is a sequence of fitting and welding operations which
assemble all raw materials to the final product. Evaluation criteria could be the least
number of handlings or the least number of position fitting and welding.
more realistic configuration. Each experiment includes two steps: (1) using PDDL
language to model a pipe spool system (e.g. Domain file) and a specific case of pipe
spool (e.g. Problem file), and (2) using each of these AI planners to generate the
fabrication sequence. The following are the brief description of each experiment.
Experiments
Experiment1 Experiment2
t2 Experiiment3
Step1: ROOLL-X-P1-
P22-1
LP
PG Unsolvable Unsolvablee (P1 P2 W1 W3 W2 C)
LP
PRPG Unsolvable Unsolvablee Unsollvable
Step1: RO
OLL-FITTINGG-X P1 P7 W1
Sttep1:
Step2: RO
OLL-FITTINGG-Y P1 P2 W2
ROOLL-FITTING
G
Step3: RO
OLL-FITTINGG-Y P1 P8 W3 Step1: ROOLL-X-P1-
P1
1 P2 W1
Meetric-FF Step4: RO
OLL-FITTINGG-Z P1 P3 W4 P22-4
Sttep2:
Step5: RO
OLL-FITTINGG-Z P1 P6 W5 (P1 P2 W1 W1 W1 C)
ROOLL-FITTING
G
Step6: RO
OLL-FITTINGG-Z P1 P4 W6
P1
1 P3 W2
Step7: RO
OLL-FITTINGG-Z P1 P5 W7
combination of conditional effects and numerical calculations. One of the ways to get
around this is to break down the conditional effect by moving the condition part to the
preconditions of the whole action and keep effect in the effect part of the action
formulation. This requires making actions more specific and enumerating all possible
situations with respect to which weld belong to which assembly parts. In PDDL or
Lisp language, this is called a “grounding” process. After converting the conditional
effect, LPG planner is now able to return a solution which shows in Table1. Metric-
FF seems to be able to do the same but a closer check finds that it returns an illogical
solution. The challenge regarding the grounding process is that the number of actions
Downloaded from ascelibrary.org by New York University on 08/01/15. Copyright ASCE. For personal use only; all rights reserved.
in domain file will grow exponentially with the number of welds in the pipe spool. If
a pipe spool has N welds, then 2N-1 actions need to be explicitly formulated in domain
file (e.g. a pipe spool with 13 welds requires 4096 actions defined). For extremely
complicated pipe spools, it could be computationally prohibitive to find a solution.
CONCLUSION
This study represents an in-progress research which explores the feasibility of
use of AI planning technique to solve pipe spool fabrication sequencing problems.
The use of PDDL as standard AI planning language seems to capture all necessary
logic of the domain. The challenge however lies in finding a suitable domain-
independent planner that is capable of processing pipe spool fabrication logic and
performing numeric calculations and assignments as specified in a PDDL domain file.
Experiments with three most commonly used AI planners—LPG, LPRPG and
Metric-FF shows that each planner has its own limits and that LPG seems to be a
promising planning algorithm. To use LPG planner, a grounding process is required,
which poses a challenge to sequence complex pipe spools. Future work include
developing a program that can automatically perform the grounding process (i.e.
generate actions without any conditional effect) and experimenting with LPG for
complex pipe spools to test its planning efficiency. Future research will also
investigate the applicability of domain-specific planners and dynamic programming
approaches to generate optimized fabrication sequences.
REFERENCE
Aalami, F., Kunz, J., and Fischer, M. (1998). “Model-based sequencing mechanisms
used to automate activity sequencing.” Working Paper No. 50, CIFE, Stanford Univ.,
Stanford, Calif.
Cherneff, J., Logcher, R., and Sriram, D. (1991). "Integrating CAD with
Construction-Schedule Generation." J. Computing in Civ. Engrg., ASCE, 5(1), 64-84.
Coles, A.I., Fox, M., Long, D. and Smith, A.J. (2008). "A Hybrid Relaxed Planning
Graph-LP Heuristic for Numeric Planning Domains." Proc., Eighteenth Int. Conf. on
Automated Planning and Scheduling (ICAPS 08), Sydney, Australia, September.
Darwiche, A., Levitt, R., and Hayes-Roth, B. (1988). "OARPLAN: Generating
Project Plans by Reasoning about Objects, Actions and Resources." AI EDAM, 2(3),
169-181.
Echeverry, D., Ibbs, C. W., and Kim, S. (1991). “Sequencing knowledge for
construction scheduling.” J. Constr. Engrg. and Mgmt., ASCE, 117(1), 118–130.
Gerevini, A. and Serina, I. (2002). "LPG: a Planner based on Local Search for
Planning Graphs." Proc., Sixth Int. Conf. on Artificial Intelligence Planning and
Scheduling (AIPS'02), AAAI Press, Toulouse, France.
Ghallab, M., Nau, D., and Traverso, P. (2004). Automated Planning: Theory and
Practice, Elsevier Inc. San Francisco.
Downloaded from ascelibrary.org by New York University on 08/01/15. Copyright ASCE. For personal use only; all rights reserved.