advance pipeline design
TRANSCRIPT
-
7/26/2019 Advance Pipeline Design
1/111
Advanced Pipeline DesignLandon Carroll
R. Weston Hudkins
-
7/26/2019 Advance Pipeline Design
2/111
Table of Contents
ABSTRACT ...........................................................................................................................6
Introduction .......................................................................................................................7
Natural Gas Hdraulics ..................................................................................................!
"at#e$atical "odel General Hdraulic %&uation .......................................................'(
%cono$ic Analsis ............................................................................................................')
Conventional Analsis ..................................................................................................')
*+Curve Analsis Co$pared to "at#e$atical Progra$$ing Analsis .............................')
*+Curve Analsis on T,o+Seg$ent Pipeline ...................................................................'-
"at#e$atical "odel Analsis on T,o+Seg$ent Pipeline ...............................................'!
T#e Ne, "at#e$atical Progra$$ing ogic .......................................................................('
Appling t#e "odel ...........................................................................................................(-
Reco$$endations ..............................................................................................................(/
Conclusion .......................................................................................................................(!
Appendi0 A .........................................................................................................................12
A Co$pre#ensive Stud o3 4arious Natural Gas Hdraulic %&uations .........................12
Pipeline Hdraulic 5unda$entals .................................................................................1'
Results .........................................................................................................................1(
Coleroo %&uation ..................................................................................................1(
"odi3ied Coleroo %&uation ....................................................................................1-
A$erican Gas Association 8AGA9 %&uation ................................................................1/
:e$out# %&uation ...................................................................................................)2
Institute o3 Gas Tec#nolog 8IGT9 %&uation ..............................................................)6
Spit;glass %&uation ...................................................................................................)!"ueller %&uation ......................................................................................................-(
5rit;sc#e %&uation ....................................................................................................--
Hdraulic %&uations Analsis Conclusion ....................................................................-7
Appendi0 B .........................................................................................................................-/
*+Curve Analsis on Natural Gas Pipelines ...................................................................-/
-
7/26/2019 Advance Pipeline Design
3/111
Introduction to *+Curves ..............................................................................................-/
-
7/26/2019 Advance Pipeline Design
4/111
Revenue ...................................................................................................................../6
Co$pressor Capacit ................................................................................................../6
Co$pressor "a0i$u$ Capacit .................................................................................../7
Co$pressor Po,er ...................................................................................................../7
"a0i$u$ 5lo,rate ased on De$and ........................................................................./7
Consu$er De$and ....................................................................................................../7
Discrete Pressures ....................................................................................................//
Co$pressor :or .......................................................................................................//
%nerg Balance Restraints on 5lo,rate ................................................................../!
5lo,rates 3ro$ %nerg Balance .............................................................................../!
"at#e$atical "odel ..................................................................................................!2
5i0ed 4alues ....................................................................................................!'
Design
-
7/26/2019 Advance Pipeline Design
5/111
Nonlinear Algeraic "odel ..........................................................................................!7
Net Present Total Annual Cost .................................................................................!7
Net Present 4alue .....................................................................................................!7
Pipe Cost ....................................................................................................................!/
Co$pressor Cost ........................................................................................................!/
Pipeline "aintenance Cost .........................................................................................!!
Co$pressor "aintenance Cost ...................................................................................!!
Revenue .....................................................................................................................!!
Co$pressor Capacit ................................................................................................'22
"a0i$u$ 5lo,rate ased on De$and .......................................................................'22
Consu$er De$and ....................................................................................................'22
Bound>5i0ed 4alues ..................................................................................................'2'5lo,rate Balance ....................................................................................................'2'
5lo,rate Sold .........................................................................................................'2'
"at#e$atical "odel ................................................................................................'2(
Construction Ti$ing .................................................................................................'2(
De$and Restraints on 5lo, Rate ............................................................................'2(
Co$pressor :or .....................................................................................................'21
Co$pressor :or .....................................................................................................'21
Co$pressor Installation Ti$ing ...............................................................................'21
Pressure Relations ..................................................................................................'2)
"a0i$u$ 4elocit Relations ....................................................................................'2)
Agreed A$ount to Purc#ase Relation .....................................................................'2-
Appendi0 % .......................................................................................................................'2-
A Ho,+To Guide 3or Inputting a "odel into t#e Progra$ ............................................'2-
Sets ..........................................................................................................................'2-
Aliases .....................................................................................................................'26
Scalars ....................................................................................................................'26
Para$eters ..............................................................................................................'27
Positive>Binar 4ariales ........................................................................................'2!
De$and .....................................................................................................................'2!
Re3erences .....................................................................................................................'''
-
7/26/2019 Advance Pipeline Design
6/111
ABSTRACT
The material presented in this report is an investigation of conventional natural gas pipeline
optimization. First, a comprehensive study on various natural gas hydraulic equations was
conducted. The results of this study proved that current hydraulic equations produce large amounts
of error when modeling a pipeline. This error is unacceptable due to the high costs associated with
this hot commodity. Furthermore, the conventional economical analysis using J-curves has been
proven to be extremely time consuming if accurate results are desired. Thus, the implementation of
a new methodology of optimization in natural gas pipelines is extremely necessary. This report
expands upon a state-of-the-art discrete mathematical optimizer and applies the tool to a ramified
natural gas pipeline case study.
-
7/26/2019 Advance Pipeline Design
7/111
Introduction
n these times of volatile natural gas prices, it is imperative to minimize all costs associated with
this hot commodity. The demand for natural gas has increased each year due to the increase of
world population and the industrialization of nations such as !hina and ndia. This past year, the
"nited #tates alone consumed approximately $.% to &.% million cubic feet '((scf) of natural gas
every month. *dditionally, approximately + of this consumption comes from gas piped straight
from the well-head source$. These circumstances have caused the increasing natural gas price
trend that the world has experienced in the last few decades.
The price of natural gas that the consumer pays is made up of two components the price of the
actual commodity and the cost of transmitting and distributing the gas. #hoc/ingly, transmission
and distribution is estimated to ma/e up 01 of the consumer2s price of gas as shown in the
following diagram '3*)
Figure 1: Cost of Natural Gas
That means that nearly half of the cost of natural gas comes from transporting the commodity from
the wellhead, to the consumer2s meter. *lso, natural gas has a potential increase in demand due to
it being a clean source of fuel for electricity plants and compressed natural gas automobiles
-
7/26/2019 Advance Pipeline Design
8/111
'4ic/ens). These facts emphasize the importance of designing and operating natural gas pipelines
at their economically optimal levels.
The primary costs associated with the transmission and distribution of natural gas are the initial
capital costs and the costs of operating the pipeline. n theory, a perfectly designed pipeline would
minimize the combination of the annual costs of compression and the initial fixed charges for the
pipeline. The following diagram demonstrates exactly how this could be accomplished for a
extremely simple case '4eters)
Figure 2: Basic Pipeline Optimization
This figure shows that the additional cost of operating the compressor combined with the fixed
charges associated with the pipeline will create the function representing the total cost of the
pipeline. n a simple example, one could easily add the two functions together5 then ta/e the
derivative of the new combined function with respect to diameter. Then set the resultant equal to
zero and solve for the diameter. 6hile that sounds easy for simple systems, it becomes
exponentially impossible to recreate for complex systems. n real, complex pipe networ/s, the
operating costs are made up of many complex functions. 7i/ewise, cost functions for the fixed
capital investment are very complex and also made up of several factors. Thus, the resultant total
cost function may not be a simple curve, and it could be a polynomial function with many local
-
7/26/2019 Advance Pipeline Design
9/111
minimums and one global optimal minimum total cost. 8ne could understand why this problem
could be impossible to complete by hand without using several ris/y assumptions.
Furthermore, the initial capital costs of a pipeline are dominated by the costs of the pipe and
compressor stations. n fact, the pipe and compressors ma/e up +9 of the construction materials
'(enon). Thus, it is essential for pipeline designers to build the pipes and compressors with
precise economic specifications. 7i/ewise, a ma:or cost of operating a pipeline is the cost of fuel
consumed by compressors that are pushing the gas down the pipeline. The wor/ associated with
operating a compressor and the initial cost of pipe are interrelated by the diameter of the pipe.
Therefore, designing a pipe with the appropriate diameter is crucial to the optimization of the
pipeline.
Natural Gas Hydraulics
n order to minimize the annual compression costs associated with a pipeline, the designer must
accurately estimate the pressure drop that will occur throughout the pipe. !onventionally, the
pressure drop has been calculated using numerous correlations derived from the mechanical energy
balance ';ernoulli 3quation) that relates pressure drop to flow rate
'$)
where u is the velocity of the fluid, 4 is the pressure, is the density of the fluid, g is the gravity
constant, d< is the height variation, f is the =arcy friction factor, dx is the change in length of the
pipe, and = is the diameter. The first term in 3quation $ is the /inetic energy '>3) term, the
second term represents the pressure drop of the system, the third term is the potential energy '43)
of the pipe, and the final term is the head loss or friction loss due to the inside walls of the pipe.
#ince natural gas is not an incompressible, ?ewtonian fluid, the assumption of constant density
cannot be applied to the energy balance. Therefore, the integration becomes quite difficult. Thus,
in order to ma/e the integration less complicated, average values of compressibility, temperature,
and pressure are utilized.
-
7/26/2019 Advance Pipeline Design
10/111
!ompared to the frictional forces, the /inetic energy brought to the system by the movement of the
gas molecules is considered negligible and therefore the integration of the >3 goes to zero. ?ext,
the pressure drop term can be integrated between two points of pipe as follows
'&)
where z is the compressibility of the gas, @ is the gas constant, and ( is the molecular weight of
the gas. The aforementioned 43 term is li/ewise integrated
'A)
Finally, the friction loss term is integrated between points $ and &
'0)
where
'%)
where 7 is the length of the pipe, stis the density of the gas at standard conditions, mstis the mass
flowrate of the gas at standard conditions, and * is the cross-sectional area of the pipe.
#ince ! is defined as above, the !&can be defined as
'9)
where Bis the volumetric flowrate of the gas and ( is defined as
')
-
7/26/2019 Advance Pipeline Design
11/111
with d being defined as the gas density relative to air and (airis the molecular weight of air equal
to &1.+9&% ?&+.
The combination of the integrated terms above and solving the equation for flowrate produces the
following equation /nown as the Ceneral Flow 3quation '!oelho)
'1)
This equation, when combined with different definitions of the value of the friction factor,
produces the conventional equations studied in this report. *n in depth investigation of the
following equations, which are all derived from the Ceneral Flow 3quation, was conducted.
$. !olebroo/-6hite
&. (odified !olebroo/-6hite
A. *C*
0. 4anhandle
%. 6eymouth
9. CT
. #pitzglass
1. (ueller
+. Fritzsche
$D. 3tc.
*ccording to the results of an in depth analysis attached in *ppendix *5 the industrial equations
can produce large amounts of error when compared to a process simulator '4roE) analysis with
the same pipe specifications and conditions. The following table shows the results of the equation
study
-
7/26/2019 Advance Pipeline Design
12/111
Table 1: Conventional H!raulic "#uation $nalsis
"#uation Name %ange of "rror
4anhandle A.% $D
!olebroo/ &.0 $D
(odified-!olebroo/ $.D 1.1
*C* D.& $%
6eymouth A+ %+
CT .9 $
#pitzglass 11 $0
(ueller $A &D
Fritzsche 0D %&
The error produced by these equations is due to the assumptions used to derive the equation from
the Ceneral Flow 3quation. *lso, the extremely large amounts of error occurred when the
equations were applied outside their intended pipeline environment. This error could directly
affect theoretical optimal pipeline diameter and cause it to be significantly different from the actual
optimal pipe diameter.
n order to estimate the cost of error per year, the following rates and assumptions wereimplemented. The &DD1 average price of natural gas at the wellhead was approximately G1 per
(scf '3*). *t this rate and incorporating a natural gas pipeline flowing &DD ((scfd, and
considering that 0 of the flowrate is used for compressor fuel. Thus, a $ error correlates to
:ust over G&&D worth of natural gas wasted in fuel costs per year per compressor station. *nother
assumption is that the pipe and compressor are running A%D days a year. This emphasizes the
importance of accuracy when estimating the optimal specifications and wor/ing conditions of a
pipeline. Thus, it is economically unacceptable to implement the current industry standard
pressure drop and flowrate correlations that produce % error at best.
Mathematical Model General Hydraulic Equation
The previous section proved that the conventional equations used to calculate the pressure drop as
a function of the gas flowrate are inadequate. Therefore, a more generic form of the equation was
-
7/26/2019 Advance Pipeline Design
13/111
used in a mathematical model in order to eliminate the error produced by faulty friction
assumptions. To obtain a generic equation, a two parameter equation was created from the Ceneral
Flow 3quation
'+)
where,
'$D)
#quaring both sides of the equation above and rearranging
'$$)
n order to simplify this equation, two parameters are created '* and ;) that equal the following
'$&)
and
'$A)
Finally, the two parameter generic equation that is used in optimization modeling system results in
'$0)
This generic form of the flowrate and pressure drop correlation is utilized in the Ceneral *lgebraic
(odeling #ystem 'C*(#) where it iterates the parameters up to $,DDD,DDD times and is an
interface for solvers to converge into accurate results. The mathematical program uses this
function to determine the diameter of a pipeline, and when combined with the economic functions
-
7/26/2019 Advance Pipeline Design
14/111
of the system, it will converge the model to economically optimal diameters and operating
conditions.
Economic Analysis
Conentional Analysis
The overall goal of pipeline optimization is to minimize the net present total annualized cost
'?4T*!) associated with a pipeline. * conventional method of accomplishing that tas/ is to
perform J-!urve analysis on the pipeline networ/.
-
7/26/2019 Advance Pipeline Design
15/111
compression points consumes only %D ((scfd of the gas, while the rest travels through the second
compressor and pipe segment. ?ext, 4$and 4%are set at 1DD psig, while the pressure at 4A, the
midway consumer, would be optimally chosen between %D, 1DD, and 1%D psig. 8nly three
pressures were evaluated in order to /eep the amount of simulations run for the J-!urve analysis to
a minimum. This set up nicely for the discrete linear model which analyzes a set of pressure
instead of pinpointing the actual optimum pressures in the pipeline.
n this example, both the pipe segments have distinct optimums. #o, the first problem that arose
while performing the J-!urve method was the meticulous process of pic/ing which segment to
analyze first, and then optimizing the other segment. n order to be sure that those segments were
the actual optimum, the other segment had to be optimized first and then each optimization was
compared to each other.
!"Cure Analysis on T&o"Se%ment $i#eline
The J-!urve method of optimization analysis produced the following results for a flowrate of ADD
((scfd
Figure ): 'egment 1 $nalze! at *+, psig
-
7/26/2019 Advance Pipeline Design
16/111
Figure +: 'egment 1 $nalze! at *,, psig
Figure -: 'egment 1 $nalze! at .+, psig
Figures 0, %, and 9 show that, at all three pressures, the $1H ?4# produced the smallest T*! per
(cf. *lso, the results suggest that the %D psig should be the suction pressure at the consumer
point 4A. The optimal point for segment one produces a T*! of D.A&1GE(cf.
-
7/26/2019 Advance Pipeline Design
17/111
#ince the optimal pressure at 4A, starting with segment $, was found to be %D psig5 it now must be
applied to the second segment and optimized in a similar method.
Figure .: 'egment 2 $nalze! at .+, psig
?ow, the two segments must be combined in order to determine the overall T*! for the entire
system. This is shown below in Figure 1
Figure *: Combine! Optimization (it/ 'tarting (it/ 'egment 1
This entire process must now be repeated and the optimization must start with segment & in order
to indicate the actual optimal T*!. The results for the optimization using J-!urves and starting
with the second pipe segment are shown below in Figure +
-
7/26/2019 Advance Pipeline Design
18/111
Figure 0: Combine! Optimization (it/ 'tarting (it/ 'egment 2
Figure + indicates that 4Ashould actually be 1%D psig due to the fact that it produced a smaller
T*! per (cf than 4Aat %D psig which was the value found by starting the optimization with the
first pipe segment. Thus, the overall optimum is shown in the following figure
Figure 1,: Overall Optimum for 2 'egment Pipeline
Therefore, with the complete J-!urve analysis for this simple system, which involved constructing
01 curves and running the process simulator 0A& times, produced the optimal conditions of 4 A
equaling 1%D psig and both segments $ and & to have $1 ?4# pipe. 4roE process simulations
-
7/26/2019 Advance Pipeline Design
19/111
were used to construct the curves instead of the conventional pipeline hydraulic equations in order
to eliminate any error that was discovered in *ppendix *.
t is shown below that this required the construction of 01 J-!urves. t is also seen that the number
of J-!urves required increases exponentially as more pipes are added to the system.
The results of the J-!urve analysis are summarized in the table below.
Table 2: Curve $nalsis
'egment Optimum
Pressure
3Psig4
Optimum
5iameters
36nc/es4
T$C per
7CF
Total $nnual Cost
37illions4
1 %D $1 I $1 G D.9A$ G 99
2 1%D $1 I $1 G D.9$9 G 9%
Overall 1%D $1 I $1 G D.9$9 G 9%
Mathematical Model Analysis on T&o"Se%ment $i#eline
The two-segment pipeline was then input into the mathematical model, and the results could now
be directly compared to the results found using the J-!urve analysis. These results were tabulated
below
-
7/26/2019 Advance Pipeline Design
20/111
Table &: Non8inear 7o!el 9 2 Pipe Net(or
Pipe 1 Pipe 2
Pipe 5iameter 3in4 && &&
Compressor ;or 3/p4 $D,0D D
Pressure 5rop 3psi4 $,1AD $,0+DT$C 7o!el G D.%+9
T$C Curves G D.9$9
The results of this comparison demonstrate the power of using mathematical programming to
optimize a pipeline networ/. nstead of running 0A& simulations and locating the minimums during
the J-!urve, which too/ many hours to perform5 the model too/ a few minutes to input the
specifications of the system and only seconds to optimize. *lso, the non-linear model was able to
analyze a wider range of diameters and pressures which would have increased the amount of
wor/load involved in the J-!urve analysis. Furthermore, the model was able to analyze each
supplier and consumer node and determine whether or not a compressor should go there or not.
Thus, in the optimal solution provided by the model is the two segments having pipe diameter of
&& ?4# and only one compressor instead of the two suggested. The ability to choose exactly how
many compressors, and where they should be located is something that is unique to the model.
The model also saves the user money, since the T*! per (cf is now only GD.%+9 compared to the
T*! found in the J-!urve method of GD.9$9.
n conclusion, the mathematical programming model was proven to be a far superior method of
optimization of pipeline networ/s when compared to the J-!urve analysis method. This method
was proven better because it found a lower T*! value, was able to analyze a wider range of pipe
sizes and compressor locations, and saved the user many hours of valuable time. n fact, if the
pipeline networ/ was a ramified system with many consumers, suppliers and pipeline branches it
would ta/e an unrealistic amount of time to apply the J-!urve method appropriately to the system
as proven in *ppendix ;. Therefore, this comparison has provided evidence that the non-linearmathematical model is a superior method of optimization and research should be continued with
this model.
-
7/26/2019 Advance Pipeline Design
21/111
The Ne& Mathematical $ro%rammin% 'o%ic
#o how does this model wor/ n a nutshell, the linear model generates discrete pressures. The
model then optimizes the entire system based on these discrete pressures. The optimum pipe
diameters, compressor locations, compressor sizes, and compressor installation times are given.The results are then applied to the nonlinear model which does not use discrete pressures. This
model minimizes net present total annual cost to find more precise pipe diameters, compressor
locations, compressor sizes, and compressor installation times.
#ome of the inputs for the mathematical program are shown below. ;ear in mind that none of this
information is information that a designer would not /now going into a pipeline design process.
7o!el
=iameter 8ptions#upplier Temperatures#upplier 4ressures!onsumer =emands 'KEt)=emand ncrease 'Eyr)(inE(ax 8perating 4ressure!ompressor 7ocation 8ptions3levations4ipe !onnections=istances
H!raulics
Cas =ensity!ompressor 3fficiency!ompressibility Factor!ompressibility @atio
-
7/26/2019 Advance Pipeline Design
22/111
Figure 11: "conomic 5ata in 7at/ematical Programming
*t the top, the ob:ective function 'net present total annual cost) is shown. The net present total
annual cost is essentially the summation of total annual cost at every time period multiplied by an
interest-dependent discount factor. 3ach total annual cost is the sum of the pipe cost, compressor
cost, maintenance cost, and operating cost. The pipe cost is the sum of every pipe length times that
diameter2s steel cost, coating cost, transportation cost, installation cost, and quadruple random
length cost. The compressor cost is an angular compressor cost coefficient times the total
compressor capacity, at a given time, plus a linear compressor cost coefficient times the total
number of compressors at that time. The maintenance cost is the sum of the pipeline maintenancecost and the compressor maintenance cost. The pipeline maintenance cost is a user-defined
coefficient times the previous time period2s total annual cost. The compressor maintenance cost is
a user-defined coefficient times the total compressor capacity at that point in time. The operating
cost is essentially a user-defined coefficient times the total wor/ of all compressors at that time
multiplied with the total operating hours in a year.
-
7/26/2019 Advance Pipeline Design
23/111
The compressors wor/s and capacities come from hydraulic equations in both the linear and
nonlinear models. The linear hydraulic calculations are shown below.
Figure 12: 8inear H!raulic Calculations in 7o!el
This loo/s rather confusing. #o let2s wal/ through it starting at the bottom. First, discrete
pressures are generated. These discrete pressures are generated such that they are equally spaced
between the minimum and maximum operating pressures. These discrete pressures are then
plugged into the proposed model equation evaluated earlier. The resulting pressures are then used
to find pressure wor/. These pressure wor/s are then combined with the total demand to
determine a hydraulic maximum for each compressor capacity. These maximum capacities are
input as limits for the actual compressor capacity and actual compressor wor/. The actual
compressor capacity and actual compressor wor/ are then inserted into the economic equations.
The nonlinear calculations are a little simpler and are shown below. They are simpler because they
do not have to deal with the discrete pressures.
-
7/26/2019 Advance Pipeline Design
24/111
Figure 1&: 8inear H!raulic Calculations in 7o!el
4ressures are generated by the model equation discussed earlier. These pressures are then used to
calculate compressor wor/s which are then sent to the economics equations. The compressor
capacities are maximized here not by a maximum capacity but by a large number.
The outputs of the model are shown below.
P/sical
4ipe 7ocations4ipe =iameters=emand at 3ach 4eriodFlowratesnlet and 8utlet 4ressures!ompressor 7ocations!ompressor !apacities
"conomics
?et 4resent Kalue?et 4resent Total *nnual !ostTotal *nnual !ost at 3ach 4eriodFixed !apital nvestment@evenue8perating !ost4ipe !ost
!ompressor !ost(aintenance !ost4enalties
-
7/26/2019 Advance Pipeline Design
25/111
A##lyin% the Modeln order to test the mathematical model, it was applied to the following case study. This case study
is from Cas 4ipeline
-
7/26/2019 Advance Pipeline Design
26/111
t is important to note that this information is not an uncommon collection of /nown data when
entering into a pipeline design process. * natural gas supplier located in Fairfield is to supply
natural gas to four consumers (avis, (ayberry, ;eaumont, and Travis. !onsumer initial
demands, costs, and elevations are /nown. The split point in the schematic is programmed as a
zero-demand consumer, but it is still included because its elevation and location are very important
to the hydraulics of the system.
This model is first applied to the linear model. The linear model finds optimum conditions which
minimize the net present total annual cost at the end of the pro:ect lifetime. The linear model finds
this optimum using a user-defined number of discrete pressures. The optimums found by the linear
model are then applied to the nonlinear model. The nonlinear model does not use discrete
pressures. This allows the nonlinear model to find more precise results as it is able to access the
full range of pressures instead of :ust the discrete ones generated by the linear model. The results
of the programming analysis are shown below.
Table ): NonGrap/ical %esults
Case 'tu! %esults
4ipe $ = 'in.) &&
4ipe & = 'in.) &&
4ipe A = 'in.) &&
4ipe 0 = 'in.) $14ipe % = 'in.) $&
?4T*! 'G) &0A,D9,$DD
4ipe !ost 'G) $1%,&D,DD
#upplier !ompressor !apacity 'hp) &&,+&+.$9
!onsumer$ !ompressor !apacity 'hp) $A,A9%.D+
!onsumer& !ompressor !apacity 'hp) $A,&+A.9
!onsumerA !ompressor !apacity 'hp) 1,0A+.$91
Figure 1+: * >ear "conomic $nalsis for Case 'tu!
-
7/26/2019 Advance Pipeline Design
27/111
Figure 1-: * >ear Consumer 5eman! Functions
t was first observed that the diameters decrease as the pipeline progresses. This ma/es sense
because as flowrate 'demand) decreases, so should the pipe size. (oving on to the economics
graph, a few observations can be made. First, it is clear that most of the investment occurs at the
beginning of the pro:ect. This is because all of the pipes as well as the largest compressor are
installed initially. ?ext, one can essentially see a timeline of compressor installations. Then, a
compressor is installed at A, 9, and years. 3ach pea/ corresponds to a compressor size given in
the table. The height of the pea/s in relation to one another tells the analyzer which compressor is
which. ?ext, it is apparent that the operating cost increases as the total compressor wor/ increases.
The largest :umps can be seen when new compressors are installed. *lso, the total annual cost is
essentially the fixed capital investment plus the operating cost. This is observed graphically by the
-
7/26/2019 Advance Pipeline Design
28/111
T*! line. The second graph shows consumer demand. 8ne can observe that both the seasonal
demand variations as well as the $D annual demand increase with time.
#o this raises the question, N6hy should the J-!urve method not be used to solve this problemH
The fact of the matter is that the J-!urve analysis would ta/e a remar/able amount of time and
labor. This can be seen below.
n order to fully optimize the system to the extent that the linear mathematical program does, itwould require &+A,+A&,1DD simulations. This assumes + simulations per curve, &$ pipe diameter
options, + discrete pressures, % pipes, 0OLAOL&O possible compressor location configurations, and %O
possible orders of optimization. This would ta/e one person wor/ing &0 hours a day and days a
wee/ &9+ years. f this person wor/ed the standard 0D-hour wor/ wee/, it would ta/e $$,9
years. n order to accomplish this design in 9 months, it would require &A,%%& employees. 3ven if
these employees wor/ed for the 8/lahoma minimum wage, this would cost G$%A,D11,DDD. 3ven
still, the results would be inaccurate because the J-!urve method implements discrete pressures.
To obtain a true optimum, it would require an infinite number of discrete pressures.
Recommendations
*lthough much advancement has been made with the research and expansion of the pipeline
optimization model, it is not yet a finished product. The future wor/ on this model will consist of
adding uncertainty to the model. #ince the model uses large amounts of forecasted information, it
is important to add uncertainty to the model to ma/e the results compare more to a real system2sbehavior. Furthermore, many more cost function can be added and updated to the model ma/ing it
a more robust tool. This can be done with ease by wor/ing with an industrial partner that /nows
all the costs associated with a natural gas pipeline. *nother expansion will be adding bursting
pressure calculations to the model in order to determine the appropriate pipe thic/ness that will be
used in the networ/. This will be a very useful function because the thic/ness will not have to be
-
7/26/2019 Advance Pipeline Design
29/111
calculated by hand and it is something that greatly affects the cost of the pipe. Finally, a
combination of the linear and non-linear models will be performed, and in order to streamline the
optimization process thus ma/ing the program more user friendly.
8nce these ad:ustments are made on the model, the potential of this tool is endless. t can be
couple with a C*(# data exchanger 'C=P) file that could tie in a user-interface with the program.
This will ma/e the model easier to use and a better tool for industry. 8ne interface that would be
possible is (icrosoft 3xcel. This would enable unit converters to be tied into the model so that the
user can use whatever units on the pipeline that they prefer. 3ven though the program is not
complete, the results of this report have proven the potential value of this tool, and therefore
continued research is absolutely essential. 8nce these additions are made, this model will be a very
powerful tool.
Conclusion
The natural gas industry is always loo/ing for ways to improve their pipeline efficiencies and to
improve the bottom line. The conventional methods researched and examined in this report have
been proven to produce large amounts of costly error and are also very time consuming. The
hydraulic equations that are being used in the industry are producing error that puts millions of
dollars of natural gas in the hands of uncertainty every year. Furthermore, J-!urve economics are
too time-consuming for complicated ramified networ/s if they are going to be appropriately
applied. Therefore, a need for a better tool to calculate the hydraulics and economics of natural gas
pipelines is absolutely necessary. The mathematical programming model used for pipeline
optimization is this tool. 6ith continued research and expansion of this model, it could become
invaluable to the natural gas industry.
-
7/26/2019 Advance Pipeline Design
30/111
A##endi( A
A Com#rehensie Study of )arious Natural Gas Hydraulic Equations
The following is a list of some correlations that are used in the natural gas industry '(enon)
$. !olebroo/-6hite equation
&. (odified !olebroo/-6hite equation
A. *C* equation
0. 4anhandle
i. * equation
ii. ; equation
%. 6eymouth equation
9. CT equation
. #pitzglass equation
1. (ueller equation
+. Fritzsche equation
n this report, these equations are investigated at different operating conditions. The output is then
compared to the output from 4roE simulations with the same conditions. 4roE produces an
accurate answer for the pressure drop in the pipe. t utilizes the ;eggs, ;rill, and (oody method
which ta/es into account the different horizontal flow regimes including segregated, intermittent,
and distributed. *lso, a Ceneral *lgebraic (odeling #ystem 'C*(#) program was investigated
under the same conditions as the correlation above. This investigation was conducted in order to
determine the amount of error involved while using these correlations and the mathematical
programming model when compared to a 4roE simulation. The results of this study will indicate
how accurate these equations are compared to 4roE simulation and compared to the mathematical
programming model.
-
7/26/2019 Advance Pipeline Design
31/111
$i#eline Hydraulic *undamentals
For fluids flowing in a pipeline between two points '* and ;), the energy balance is sub:ect to the
following equation /nown as the ;ernoulli2s equation&
'*$)
where
Q* R 3levation at point *
Q; R elevation at point ;
4* R pressure at point *
4; R pressure at point ;
K* R velocity at point *
K; R velocity at point ;
g R gravity constant
S R gravity times the density of the fluid
-
7/26/2019 Advance Pipeline Design
32/111
4$R upstream pressure, psia
4&R downstream pressure, psia
C R gas gravity 'air R $.DD)
TfR average gas flowing temperature,o@
7 R pipe segment length, mi
Q R gas compressibility factor at the flowing temperature, dimensionless
= R pipe inside diameter, in
This equation is for steady state isothermal flow for a gas in a pipe. t is the basic equations that
many of the following equations are derived from. 8ften the equation uses a specific transmission
factor 'F)
'*A)
where f is the =arcy friction factor.
t can also be defined by
'*0)
where ffis the Fanning friction factor. Karious versions of the transmission factor are used in
Ceneral Flow 3quation to produce many of the equations examined in this report.
Results
Colebroo+ Equation
The !olebroo/ 3quation, also /nown as the !olebroo/-6hite 3quation, introduces the following
transmission factor into the Ceneral Flow 3quation&
'*%)
The assumption of turbulent flow in a smooth pipe reduces the above equation to&
'*9)
-
7/26/2019 Advance Pipeline Design
33/111
This was plugged into the Ceneral Flow 3quation to obtain the values for the pressure drop at
various flow rates. The graph below was for a pipeline that does not experience a change in
elevation.
Figure $1: Pressure 5rop Comparison Colebroo ? Pro=66
The values obtained using the !olebroo/ 3quation were compared to 4roE in order to determine
how accurate the expression can compute the pressure at various flow rates.
Figure $2: "rror $nalsis Colebroo ? Pro=66
The result shows that the !olebroo/ 3quation has fairly accurate results for lower flowrates
'$%D-&%D ((#!F=)5 however, larger error exists above a &%D ((#!F= flow rate.
-
7/26/2019 Advance Pipeline Design
34/111
?ext, an elevation change of D.$% /m was applied to the equation in order to determine how much
elevation can affect the accuracy of the equation.
Figure $&: Pressure 5rop (it/ "levation C/ange Colebroo ? Pro=66
This equation was then compared to 4roE simulations in order to determine the accuracy of the
equations with pressure drop being ta/en into account.
Figure $): "rror $nalsis (it/ "levation Colebroo ? Pro=66
-
7/26/2019 Advance Pipeline Design
35/111
This indicates that the elevation change produced a similar amount of error.
-
7/26/2019 Advance Pipeline Design
36/111
Figure $-: "rror $nalsis Colebroo ? Pro=66
The (odified !olebroo/ 3quation has very low error for flowrates less than &%D ((#!F=5
however, the amount of error becomes quite significant for flowrates above that point.
*gain, an elevation change of D.$% /m was applied to the equation in order to determine howmuch elevation can affect the accuracy of the equation.
Figure $.: Pressure 5rop Comparison (it/ "levation 7o!ifie! Colebroo ? Pro=66
-
7/26/2019 Advance Pipeline Design
37/111
This equation was also compared to 4roE simulations in order to determine the accuracy of the
equations with pressure drop being ta/en into account.
Figure $*: "rror $nalsis (it/ "levation 9 7o!ifie! Colebroo ? Pro=66
This equation has a much larger '%-$D) amount of error when compared to a pipe with no
elevation change.
-
7/26/2019 Advance Pipeline Design
38/111
American Gas Association ,AGA- Equation
#imilar to the !olebroo/ 3quation, the *C* 3quation uses a slightly modified transmission factor
in order to obtain a value for the pressure drop using the Ceneral Flow 3quation. The transmission
value for the *C* equation is the following&
'*1)
This equation is also /nown as the Kon >arman equation for rough pipe flow. f turbulent flow is
assumed, then the equation reduces to&
'*+)
where =fis the pipe drag factor. * table of =ffor various pipe materials are used in order to
determine the appropriate value depending on the circumstances. *n assumption of bare steel pipe
with extremely low bend produced the values for the pressure drop in the graph below.
Figure $0: Pressure 5rop Comparison $G$ ? Pro=66
The values obtained using the *C* 3quation were again compared to 4roE in order to determine
how accurate the expression can compute the pressure at various flow rates.
Figure $1,: "rror $nalsis $G$ ? Pro=66
-
7/26/2019 Advance Pipeline Design
39/111
This indicates that the *C* 3quation produces significant error at high flowrates and large pipe
diameters.
*gain, an elevation change of D.$% /m was applied to the equation in order to determine how
much elevation can affect the accuracy of the equation.
Figure $11: Pressure 5rop Comparison (it/ "levation $G$ ? Pro=66
-
7/26/2019 Advance Pipeline Design
40/111
The values obtained using the *C* 3quation with a D.$% /m elevation change were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
Figure $12: "rror $nalsis (it/ "levation 9 $G$ ? Pro=66
This graph shows that at smaller diameter pipes, this equation remains accurate for the various
flow rates.
-
7/26/2019 Advance Pipeline Design
41/111
Just as in previous equations, the values obtained using the 6eymouth 3quation were compared to
4roE in order to determine how accurate the expression can compute the pressure at various
flowrates.
Figure $1): "rror $nalsis ;emout/ ? Pro=66
This equation is the first equation to show an extreme amount of error. For all diameters entered,
the percent error was around %D-9D compared to the 4roE data for all the various flow rates.
-
7/26/2019 Advance Pipeline Design
42/111
The error tends to increase with flowrates which suggest that the 6eymouth 3quation is only valid
for extremely high flowrates and pressures.
For consistency, an elevation change of D.$% /m was applied to the equation in order to determine
how much elevation can affect the accuracy of the equation.
Figure $1+: Pressure 5rop Comparison (it/ "levation ;emout/ ? Pro=66
The values obtained using the 6eymouth 3quation, with a D.$% /m elevation change, were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
Figure $1-: "rror $nalsis (it/ "levation 9 ;emout/ ? Pro=66
-
7/26/2019 Advance Pipeline Design
43/111
This graph is similar to amount of error produced with the 6eymouth 3quation without anelevation change. *lthough, the ma:or difference is that for a larger diameter pipe, the error was
&D less the $%D ((#!F= flow rate.
Pan/an!le "#uation
The 4anhandle * 3quation incorporates the gas properties associated with natural gas into the
general energy balance equation. t has an efficiency factor for the @eynolds number within a
range of % to $$ million. The roughness of the pipe is not directly inputted into the equation5
however, the efficiency factor is built into the equation to ta/e into account inefficiencies caused
by the roughness of the pipe. This equation introduces the following transmission factor into the
Ceneral Flow 3quation&
'*$&)
The transmission factor is equal to two divided by the square root of the friction factor. This
reduces the equation to the 4anhandle * equation for "#!# units is&
'*$A)
where the variables are defined the same as in previous equations.
-
7/26/2019 Advance Pipeline Design
44/111
The 4anhandle ; 3quation is a slight modification of the original equation which allows the
equation to be accurate for a larger @eynolds number range of about 0 to 0D million. t integrates a
slightly different transmission factor into the Ceneral Flow 3quation&
'*$0)
The result of this transmission factor is the 4anhandle ; equation&
'*$%)
where the variables are defined the same as in equation *.
The following chart is the analytical result for pressure drop versus flowrate of natural gas.
Figure $1.: Pressure 5rop Comparison Pan/an!le ? Pro=66
The values obtained using the 4anhandle 3quations were compared to 4roE in order to determine
how accurate the expression can compute the pressure at various flow rates.
Figure $1*: "rror $nalsis Pan/an!le ? Pro=66
-
7/26/2019 Advance Pipeline Design
45/111
The chart above shows that the 4anhandle equation has an error range from %-$D. The
4anhandle 3quation has a higher degree of accuracy for higher flowrates and smaller pipe
diameter. The analytical method that was used in this report allowed the program to use the
appropriate version of the equation, * or ;, depending on the size of the @eynolds number. This
method of fusing the two equations together reduced the error for the higher flowrates which
require a transmission factor used for the 4anhandle ; equation.
For consistency, an elevation change of D.$% /m was applied to the 4anhandle equation in order to
determine how much elevation can affect the accuracy of the equation.
Figure $10: Pressure 5rop Comparison (it/ "levation Pan/an!le ? Pro=66
-
7/26/2019 Advance Pipeline Design
46/111
The values obtained using the 4anhandle 3quations with a D.$% /m elevation change were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
Figure $2,: "rror $nalsis (it/ "levation 9Pan/an!le ? Pro=66
The 4anhandle 3quation actually produced a more accurate answer when incorporating an
elevation change. n fact, there was approximately & less error for the $%D ((#!F= flow rate.
This implies that the 4anhandle 3quation is better suited for systems that have elevation changes.
Institute of Gas Technolo%y ,IGT- Equation
This equation is similar to the 4anhandle and 6eymouth equation although slightly different
constants are used. The CT 3quation is the following&
'*$9)
This equation, li/e the others, was implemented to determine a pressure drop in a pipe segment
under various flow rates.Figure $21: Pressure 5rop Comparison 6GT ? Pro=66
-
7/26/2019 Advance Pipeline Design
47/111
The values obtained using the CT 3quation were compared to 4roE in order to determine how
accurate the expression can compute the pressure at various flow rates.
Figure $22: "rror $nalsis 6GT ? Pro=66
-
7/26/2019 Advance Pipeline Design
48/111
The CT equation produced a significant amount of error under the conditions set in the analytical
calculation. *n error trend that can be deducted from the graph above is that error decreases with
increasing flow rate. This insinuates that the CT 3quation could be more accurate for higher
flowrates and pressures of natural gas.
*s done in previous equations, an elevation change of D.$% /m was applied to the 4anhandle
equation in order to determine how much elevation can affect the accuracy of the equation.
Figure $2&: Pressure 5rop Comparison (it/ "levation 6GT ? Pro=66
-
7/26/2019 Advance Pipeline Design
49/111
The values obtained using the CT 3quation, with a D.$% /m elevation change, were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
Figure $2): "rror $nalsis (it/ "levation 96GT ? Pro=66
The error remains significant when the elevation change is affecting the system. !onversely, an
error trend that is noticeable in this graph is that the CT equation produced more accurate results
for larger diameter pipe. This trend only appears for the CT 3quation with an elevation change.
S#it/%lass Equation
There are two forms of the #pitzglass 3quation one for low pressures 'less than or equal to $ pisg)
and one for pressures higher than $ psig. The low pressure equation is the following&
'*$)
The higher pressure equation is similar with slightly different constants&
'*$1)
-
7/26/2019 Advance Pipeline Design
50/111
The #pitzglass 3quation was implemented to determine a pressure drop in a pipe segment under
various flowrates in a similar fashion as the other equations.
Figure $2+: Pressure 5rop Comparison 9 'pitzglass ? Pro=66
The values obtained using the #pitzglass 3quation were compared to 4roE in order to determine
how accurate the expression can compute the pressure at various flow rates.
Figure $2-: "rror $nalsis 'pitzglass ? Pro=66
-
7/26/2019 Advance Pipeline Design
51/111
The #pitzglass equation had an extremely large amount of error ranging from about +D-$%D.
There is however some noticeable trends that can be construed from this graph. t shows that the
amount of error decrease in flowrates increase, and when pipe diameters increase. This could mean
that the equation might eventually be an accurate equation for high flow ratesEhigh pressure
pipelines.
For consistency, an elevation change of D.$% /m was applied to the equation in order to determine
how much elevation can affect the accuracy of the equation.
Figure $2.: Pressure 5rop Comparison (it/ "levation 'pitzglass ? Pro=66
The values obtained using the #pitzglass 3quation, with a D.$% /m elevation change, were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
-
7/26/2019 Advance Pipeline Design
52/111
Figure $2*: "rror $nalsis (it/ "levation 9 'pitzglass ? Pro=66
The error was less than the error created when no elevation was employed but was still extremelyhigh ranging from +D-$AD. *lso, the elevation change produced the same trends mentioned in
the graph with no elevation factor.
Mueller Equation
The (ueller 3quation is another variation of the Ceneral Flow 3quation that has the following
form&
'*$+)
The (ueller 3quation was implemented to determine a pressure drop in a pipe segment under
various flowrates in a similar fashion as the other equations.
-
7/26/2019 Advance Pipeline Design
53/111
Figure $20: Pressure 5rop Comparison 9 7ueller ? Pro=66
The values obtained using the (ueller 3quation were also compared to 4roE in order to determine
how accurate the expression can compute the pressure at various flow rates.
Figure $&,: "rror $nalsis 7ueller ? Pro=66
The (ueller 3quation had a large amount of error '$A-$1) under the conditions analyzed. *
couple of trends that are shown in the graph above is that the (ueller 3quation is more accurate
-
7/26/2019 Advance Pipeline Design
54/111
for smaller diameter pipe and for lower flow rates. This means that the equation could be accurate
for systems with lower flow rates.
The values obtained using the (ueller 3quation with a D.$% /m elevation change were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
Figure $&1: Pressure 5rop Comparison (it/ "levation 7ueller ? Pro=66
The values obtained using the (ueller 3quation with a D.$% /m elevation change were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
Figure $&2: "rror $nalsis (it/ "levation 9 7ueller ? Pro=66
-
7/26/2019 Advance Pipeline Design
55/111
The elevation change significantly affected the error produced with the (ueller 3quation. ?ow it
is shown to have an error range of around $%-&D. This proves that the (ueller 3quation becomes
less accurate for systems with large elevation changes.
*rit/sche EquationThe last formula that is a variation of the Ceneral Flow 3quation that was examined was the
Fritzsche 3quation. t has the following form&
'*&D)
This equation was applied to similar conditions as the other equations were to produce the
following graph.
Figure $&&: Pressure 5rop Comparison 9 Fritzsc/e ? Pro=66
The values obtained using the Fritzsche 3quation were also compared to 4roE in order to
determine how accurate the expression can compute the pressure at various flow rates.
-
7/26/2019 Advance Pipeline Design
56/111
Figure $&): "rror $nalsis Fritzsc/e ? Pro=66
The Fritzsche 3quation was another equation that produced a large amount of error for the set
conditions. This error ranged from about 0%-%D. * noticeable trend in this data shows that the
error decreases with an increasing flow rate. This suggests that the Fritzche 3quation will become
more accurate for systems with large flowrates and high pressures.
For consistency, an elevation change of D.$% /m was applied to the equation in order to determine
how much elevation can affect the accuracy of the equation.
Figure $&+: Pressure 5rop Comparison (it/ "levation Fritzsc/e ? Pro=66
-
7/26/2019 Advance Pipeline Design
57/111
The values obtained using the Fritzsche 3quation with a D.$% /m elevation change were again
compared to 4roE in order to determine how accurate the expression can compute the pressure at
various flow rates.
Figure &-: "rror $nalsis (it/ "levation 9 Fritzsc/e ? Pro=66
The amount of error did not change that much for the Fritzsche 3quation applied to a system with
an elevation change. t has slightly less amount of error with a range from 0D-01. *lso, the
larger diameter pipe gave more accurate pressure drop values. This only occurred when the
elevation was applied to the equation.
Hydraulic Equations Analysis Conclusion
n summation, it is clear that pipeline design is at the very least a tric/y and somewhat frustrating
tas/ to underta/e. t would appear that industry combats this by settling on a method and Nbiting
the bulletH on the error in cost analysis. ndustry has come to accept an unnecessary margin of
error that can theoretically be minimized if not eliminated altogether. 4resented here is a small
collection of the most popular correlations available to industry. f other equations not evaluated
here have similar errors to these, then the industry is truly without a reliable tool to optimize an
infinitely diverse and dynamic mar/et.
-
7/26/2019 Advance Pipeline Design
58/111
A##endi( B
!"Cure Analysis on Natural Gas $i#elines
Introduction to !"Cures*ccording to natural gas pipeline literature, J-curves are a useful tool in the preliminary stages of
pipeline design '(enon). J-curves, in relation to the ?atural Cas ndustry, provide an economic
analysis for pipelines as a function of pipeline diameter and natural gas flow rate. 6hile J-curves
may be particle to optimize extremely simple pipeline systems 'i.e. one or two pipes in series with
one supplier and one consumer and minimal possibilities for compressor locations5 the in depth
analysis of J-curves in this report proves that this tas/ becomes exponentially more difficult for
complex, ramified pipeline networ/s. *lso, by implementing J-curves for optimization an analyzerintroduces several ris/y assumptions about the networ/. Thus, the purpose of this report is to
introduce J-!urves, and apply these optimizing tools to simple pipeline networ/s. n doing so, the
reader will obtain a better understanding of if and when J-curve optimization can be used in the
natural gas industry.
0erie& of !"Cure Analysis
* J-curve, for natural gas pipeline purposes, is most simplistically a graph illustrating the cost of a
defined size pipeline at varying flow rates. Craphing multiple diameters on the same graph allows
the analyzer to select the lowest cost at a given demand flow rate. These curves are named J-
curves due to the fact that they visually appear similar to a section on the lower half of the letter
NJH. Figure ;$ below is an example of a J-curve.
-
7/26/2019 Advance Pipeline Design
59/111
Figure B1: "@ample of a curve
n this analysis, several assumptions are made there is no volume buildup within the pipe, the
facilities are designed to meet the design volume, the time value of money is neglected, and
inflation is ignored. 8perating costs, maintenance costs, fuel costs, depreciation, taxes, and return
on investment are all assumed constant. These assumptions are unacceptable if the pipeline
designer wants to perform a thorough investigation of the economics of a pipeline.
Furthermore, the J-curve procedure is quite simple. First, the pipe size, maximum operatingpressure, pipeline length, and compression ratio are fixed. !alculations are then completed for
varying flow rates. 6hen the correct pipeline hydraulic simulation software is available, the
results are obtained using simulation techniques rather than other means of calculation. *t this
point, an economical analysis is performed which yields the total annual cost for the varying flow
rates. 6hen this total annual cost is plotted against flow rate, the resulting graph is a J-curve. ;y
repeating these steps, multiple J-curves are created. The lowest of these curves relative to one
another near the flowrate range of interest is the economic optimum. 8ften, this procedure is
repeated while varying operating pressure in order to obtain an optimum pressure at a desired
flowrate and pipe size. *lso, if there are multiple sections of a ramified pipeline, the order of
pipeline segments affects the results for the overall optimized specifications. Thus, all possible
orders in which the sections are analyzed must be produced to find the true optimal design in a
-
7/26/2019 Advance Pipeline Design
60/111
complex system. Therefore, this procedure can become quite troublesome for a designing a
complex pipeline networ/.
S#rin% 1223 Analysis
=uring the spring of &DD1, !hase 6aite and >risty ;ooth along with graduate student =ebora
!ampos de Faria too/ an in-depth loo/ at J-curves and their shortcomings ';aga:ewicz).
The study paid special attention to the J-curve method2s lac/ of compensation for compressor
efficiency and selection. 8n a J-curve, each point is considered to be a unique compressor5 that is,
the cost of the compressor is only for a compressor sized at that particular flow rate. *s the
demand flowrate varies, the cost of the compressor does ?8T vary according to the J-curve. This
is shown below in Figure ;&.
Figure B2: "ffects of Flo(rate Aariations on Cost
t is observed that a decrease in flowrate increases the total annual cost while increasing the
flowrate decreases the annual cost. 8n the other hand, operating the compressor over the design
parameters can harm the equipment.
-
7/26/2019 Advance Pipeline Design
61/111
The study also loo/ed at the effects of compressor efficiency on the reliability of J-curves.
Kariation in compressor efficiency can drastically affect the total annual cost. This is illustrated by
Figure ;A below.
Figure B&: "ffects of Compressor "fficienc on Cost
t is observed that a decrease in the design flowrate increases the cost of the pro:ect. This throws
into question how a designer is to select the best parameters for the compressor.
There are many other disadvantages to the J-curve method. (ost importantly, this analysis only
wor/s for very simple systems. This is highly unrealistic. t is assumed the complex systems are
optimized with this system by evaluating each individual pipe segment separately. This is
extremely time consuming, and not all that reliable in the end. *lso, as the systems become more
complex, the J-curve analysis becomes exponentially more time-consuming and inaccurate. t is
possible that J-curves can cross. This leaves the analyzer in a predicament.
(any other disadvantages and shortcomings exist. Just to name a few the method does not
account for volume variations, load factors, the time value of money, etc.
-
7/26/2019 Advance Pipeline Design
62/111
A##endi( C
'inear Model E(#ansion and Reision
=uring a meeting with 6illbros, nc., on Friday, February &Dth, &DD1, 6illbros engineers made
various suggestions regarding how to ma/e the mathematical model more industry-friendly and
industry-useful. 8ne of their immediate concerns was the lac/ of diameter options. They also
mentioned that pipe coating costs, material transportation costs, and an option for quadruple
random length :oints costs were not included in the model. 8ther expansions have also been
analyzed such as installation cost, pipe maintenance cost, and compressor maintenance cost.
4iameter E(#ansion
The previous capstone group wor/ing on this pro:ect evaluated four diameters $9, $1, &D, and &0
in. 6illbros claims that these are actually rather small diameters compared to those used in most
of their industrial applications. #o an expansion of this range is necessary. 3ven pipe diameters
from &-0& in. are evaluated.
6illbros next mentioned that pricing and sizing is usually only available for industry-standard pipe
sizes and schedules, so evaluating each and every even pipe size within the given range requires
generating some wall thic/ness and cost data. 6illbros has confirmed that pipe can be made to
meet buyer specifications at only the price of the steel 'no fee) given that the pipe is greater than
one mile long.
*lso, new values of * and ; for the mathematical model must be generated because these values
are dependent upon diameter.
Analysis
The first tas/ is to collect diameter data for the pipe sizes at hand. For most, the sizes are readily
available. 8nly schedule 0D pipe is evaluated. For non-standard pipe sizes, a &nd order
polynomial regression analysis is performed to predict the wall thic/nesses not published. Table
!$ gives industry standard pipe sizes.
-
7/26/2019 Advance Pipeline Design
63/111
Table C1: 'tan!ar! 'c/e!ule ), Pipe 'izes
-
7/26/2019 Advance Pipeline Design
64/111
04 ,in5-I4 ,in5-
1'./)6
61.761
7-.7(
3
7.67/
82!.61-
81''.-!)
86'1.-61
87'-.-
83'7.)1/
12'!.)27
16(1.1'1
911'.1'(
-
7/26/2019 Advance Pipeline Design
65/111
These values were plotted in order predict the pipe parameters not published. * &nd order
polynomial regression of standard pipe sizes gives a sufficient @&value. Figure !$ below shows
the regression.
Figure C1: %egression of 6n!ustr'tan!ar! 'c/e!ule ), Pipe 'izes
These equations are then used to predict pipe size parameters for non-standard pipe sizes. Table
!& below shows the results. Kalues with asteris/s are those predicted by the regression.
Table C2: 'c/e!ule ), 'tan!ar! Pipe 'izes
-
7/26/2019 Advance Pipeline Design
66/111
04 ,in5-I4 ,in5-
(
'./)6
)
1.761
6
-.7(2
/
7.67/
'2
!.61-
'(
''.-!)
')
'1.-61
'6
'-.-22
'/
'7.)1/
(2
'!.)27
:111859;2
()
(1.1'1
-
7/26/2019 Advance Pipeline Design
67/111
?ow that the pipe parameters are /nown, prices can be determined. The pipe price is provided by
8mega #teel through a spreadsheet provided to last year2s capstone group. The pipe price for
=ecember &DD1 is determined to be %$A GEton for hot rolled steel coil '#teelonthe?et).
The spreadsheet only gives prices for DD-$&DD GEton, so an extrapolation technique is used to find
the price at %$A GEton. Table !A below is an example for the $9 in. 8= pipe.
Table C&: Pricing for 1- in O5 Pipe
-
7/26/2019 Advance Pipeline Design
68/111
04 ,in5-5>22/-2
1-.('2
''6.'!
)
!22
17.(/'
'(1.2(
!
,.t.8in.9
!-2
1!.1-1
'(!./6
1
25>22
-
7/26/2019 Advance Pipeline Design
69/111
* regression analysis is then performed 'GEton vs. /GE/m). Figure !& below shows the regression.
Figure C2: Price %egression for 1- in O5 Pipe
The regression equation is then used to find the /GE/m at the selected steel price of %$A GEton. The
results for all pipe sizes are shown below in Table !0.
Table C): Price for 'c/e!ule ), Pipe
-
7/26/2019 Advance Pipeline Design
70/111
04 ,in5-+
-
7/26/2019 Advance Pipeline Design
71/111
Finally, the new values for * and ; are generated. This is done using a linear regression in 3xcel.
flowrate is changed while length and elevation change are held constant. * graph of vs.
gives * as the slope and as the intercept. The graph for 8= $9 in. is shown below in
Figure !A.
Figure C&: %egression for O5 1- in
The inputs and the resulting * and ; values are shown below in Table !%.
Table C+: 1- in O5 $ ? B Aalues
I4 ,in5- ? ,Mcmd- ',+m- * $8 ,+$a- $1 ,+$a- $81"$11 / slo#e interce#t A B
'-.-2
2
')'-./)
(1
'!1.'(
'1
)1(.7'
)-
--/!.-!
)
6(7(./!
(
/'2-6'
1
2.'
-
6.''/%+
2-
+6.6'(%
@2'
6.''/%+
2-
).)2/%
@2(
'-.-2
2
'--7.)(
66
-(1.-/
)-
--!2.-)
-
61!1.2/
'
!6'7(!
'
'-.-2
2
'/)2.-!
-
71'.(/
7-
--/!.7/ 66--.6!
-
'12-(6
))
'-.-2 '!/(.'7 /)/.'( --!'.'' 67!!.66 ')!7)/
-
7/26/2019 Advance Pipeline Design
72/111
2 !1 2) 7 - )!
'-.-2
2
((6-.1)
77
''27.7
)!
--/!.!/ 7'2).1)
)
'!((1/
11
'-.-2
2
()26.!1
(
'(-2.-
)-
--!).21
)
7(6!.(1
!
('-)/6
()
'-.-2
2
(-)/.-'
6(
')2'.!
!-
-62'.!(
/
7))(.()
!
()22-)
7)
'-.-2
2
(/1'.6/
)7
'712./
-/
-6'-.)7
6
7/22.17
7
(!1'(1
2(
This is then repeated for each diameter. The results are shown below in Table !9.
Table C-: $ ? B Aalues for $ll Pipe 5iameters
04 ,in5- A B
1 ).221%+2- 7.611%@2(
6 ).'(-%+2- (.(1-%@2(
7 ).!/)%+2- 1./-!%@2(
3 -.2!6%+2- (./1'%@2(
82 -.722%+2- -.7-7%@2(
81 -.7))%+2- 1.7!-%@2(
86 6.2/6%+2- 6.1'1%@2(
87 6.''/%+2- ).)2/%@2(83 6.1-2%+2- )./'7%@2(
12 6.1/1%+2- ).221%@2(
11 6.67/%+2- -./11%@2(
16 6.6!1%+2- ).717%@2(
17 6.7('%+2- ).'-'%@2(
13 6.7-/%+2- 1./6-%@2(
-
7/26/2019 Advance Pipeline Design
73/111
92 6./2'%+2- 1.7')%@2(
91 6./)!%+2- 1.61!%@2(
96 6./!7%+2- 1.-!7%@2(
97 6.!)1%+2- 1.-/(%@2(
93 6.!!2%+2- 1.-7-%@2(
62 7.21)%+2- 1.-7)%@2(61 7.271%+2- 1.-7-%@2(
Im#lementation
?ow that the prices have been determined, these values can be implemented into the mathematical
programming model. The first step is to expand the diameter NsetH. The change is shown below.
Before
After
The next step is to update the pipeline inner diameter and pipeline cost NparametersH. This is
shown below.
Before
-
7/26/2019 Advance Pipeline Design
74/111
After
7astly, the new * and ; values are inserted. This change is shown below.
Before After
-
7/26/2019 Advance Pipeline Design
75/111
Cost E(#ansion
$roblem
4revious economic analysis of the mathematical program has shown that many aspects of pipeline
design economics are not contained within the model. 6illbros has confirmed this and expanded
the list of missing parameters. 4revious analysis has shown that the model does not contain
corrections for installation cost, pipe maintenance cost, and compressor maintenance cost while6illbros has suggested the need for corrections for coating cost, transportation cost, and quadruple
random length :oint cost.
-
7/26/2019 Advance Pipeline Design
76/111
Analysis
Installation Cost
4ipeline installation cost data is given in (enon for various standard pipe sizes. The data provided
is shown below in Table !.
Table C.: 6nstallation Costs
Pipe 5iameter
3in4
$verage Cost
3
-
7/26/2019 Advance Pipeline Design
77/111
"sing the various regression equations, installation costs for non-standard pipe sizes can be
calculated. These values are shown below in Table !1.
Table C*: 6nstallation Cost for $ll Pipe 'izes
Pipe 5iameter3in4
$verage Cost3
-
7/26/2019 Advance Pipeline Design
78/111
n order to use this value for other diameters, the ratio of diameters is used. This equation is
shown below.
'!$)
Thus, the coating cost for both standard and non-standard pipe sizes is calculated. The resulting
values are shown below in Table !$D.
Table C0: Coating Cost
04,in5- +
-
7/26/2019 Advance Pipeline Design
79/111
Table C1,: Transportation Cost for $ll Pipe 'izes
04,in5- +
-
7/26/2019 Advance Pipeline Design
80/111
This new parameter must then be implemented into the economics of the program. This is shown
below.
*s can be seen, the pipe installation cost is simply added to the cost of the pipe by multiplying the
cost in /GE/m by the length in /m of a given section of pipe.
$i#eline Maintenance Cost
;ecause the pipeline maintenance cost is a set value, it has been implemented as a NscalarH such
that it is easily changed to suit the user2s purpose. This is shown below.
t is not uncommon for pipeline maintenance cost to be included in the operating cost. Thus, a
comment has been added telling the user to set the value to zero if the cost of maintenance is
included in the operating cost. ?ext, this value must be added into the economics. * new
-
7/26/2019 Advance Pipeline Design
81/111
equation is constructed which gives the pipeline maintenance cost as a fraction of the previous time
period2s total annual cost.
Com#ressor Maintenance Cost
!ompressor maintenance cost is implemented in much the same manner as pipeline maintenance
cost. t is implemented as a NscalarH, again, so that it can be easily changed. This is shown below.
*s mentioned before, it is not uncommon for compressor maintenance to be included in operating
cost. f this is the case, the scalar value should be set to zero. This is directed by the comment.?ext, this value is added into the economics. This is done so by adding the factor into the
operating cost equation. From this perspective, it can be seen that a value of NDH negates the effect
of compressor maintenance cost.
*s can be seen, the compressor maintenance cost is simply the sum of the total wor/ being
performed by all of the compressors at any given time in hp multiplied by the compressormaintenance cost multiplier which is in /GEhp.
The pipeline and compressor maintenance costs are then combined into one maintenance term.
This term can then be added to the other economic equations which involve cost.
Coatin% Cost
The coating cost values are implemented as a NparameterH. This is shown below.
-
7/26/2019 Advance Pipeline Design
82/111
This new parameter must then be implemented into the economics of the program. This is shown
below.
*s can be seen, the coating cost is simply added to the cost of the pipe by multiplying the coating
cost in /GE/m by the length in /m of a given section of pipe.
Trans#ortation Cost
The transportation cost values are implemented as a NparameterH. This is shown below.
-
7/26/2019 Advance Pipeline Design
83/111
This new parameter must then be implemented into the economics of the program. This is shown
below.
*s can be seen, the transportation cost is simply added to the cost of the pipe by multiplying the
transportation cost in /GE/m by the length in /m of a given section of pipe.
?uadru#le Random 'en%th !oint Cost
Buadruple random length :oint cost is implemented in much the same manner as pipeline
maintenance cost. t is implemented as a NscalarH, again, so that it can be easily changed. This is
shown below.
*s shown, the option is present such that the method of adding quadruple random length :oints can
be toggled on and off by using a cost value or NDH.
?ext, this value is added into the economics. This is done so by adding the factor into the pipe
cost equation. From this perspective, it can be seen that a value of NDH negates the effect of
quadruple random length :oint cost on the pipe cost.
*s can be seen, the compressor maintenance cost is simply added to the operating cost of the pipe
by multiplying the compressor maintenance cost in /GEhp by the horsepower of a given compressor
in hp.
Model E(#ansion Conclusion
4rior to this study, the mathematical linear pipeline optimization model lac/ed the ability to handle
these parameters. The mathematical linear model for advanced pipeline design is now capable of
handling more diverse pipeline diameters and contains many more economic options.
-
7/26/2019 Advance Pipeline Design
84/111
A##endi( 4
'inear Al%ebraic Model
Net $resent Total Annual Cost
?4T*! R net present total annual cost
4ipe't) R pipe cost!omp't) R compressor cost4maint't) R pipeline maintenance cost!maint't) R compressor maintenance costcost't) R instrumentation cost3val R number of years in one period8rd't) R gives the order of t 't$R$, t&R&, tARA, U)!ard'y) R number of years
Net $resent )alue
?4K R net present value@ev't) R revenue8per't) R operating cost
$i#e Cost
# R supplier
-
7/26/2019 Advance Pipeline Design
85/111
! R consumer7ength 's,c,ca)R pipe length= R diameterV='s,c,ca,d,t) R pipe installation at time t#teel'd) R steel cost per length
!oating'd) R coating cost per lengthTrans'd) R transportation cost per lengthnstall'd) R installation cost per lengthBrl R quadruple random length :oints cost per length
Com#ressor Cost
#compc's,t) R cost of compressors at suppliers!compc'c,t) R cost of compressors at consumers!ca R angular compressor cost coefficient!cl R linear compressor cost coefficient!aps's,t) R capacity of a compressor at a supplier!apc'c,t) R capacity of a compressor at a consumerV!#'s,t) R supplier compressor installation binaryV!!'c,t) R consumer compressor installation binary
$i#eline Maintenance Cost
4m R pipeline maintenance coefficient 'T*!)
-
7/26/2019 Advance Pipeline Design
86/111
Com#ressor Maintenance Cost
(c R compressor maintenance coefficient 'GEhpLhr)6's,t) R compressor wor/ at a supplier
6!'c,t) R compressor wor/ at a consumer
Reenue
=ays R W of operating days in a yearB!'c,t) R flowrate sold to consumer c
!price'c) R consumer priceB#!'s,t) R supplier flowrate#price's) R supplier price8per't) R operating cost4enal't) R penalty cost
Com#ressor Ca#acity
!aps's,t) R supplier capacity!apc'c,t) R consumer capacity(caps's,t) R maximum supplier capacity(capc'c,t) R maximum consumer capacity
-
7/26/2019 Advance Pipeline Design
87/111
Com#ressor Ma(imum Ca#acity
46's,p) R supplier compressor power46!'p,pa) R consumer compressor power";'t) R maximum flowrate at any time
Com#ressor $o&er
>'p) R average natural gas compression ratio#T's) R supplier temperatureTamb R ambient temperature4'p) R pressure#4's) R supplier pressureQ'p) R average compressibility factor3ff R compressor efficiency
Ma(imum *lo&rate based on 4emand
=emt'c,t) R consumer demand as a function of time
Consumer 4emand
-
7/26/2019 Advance Pipeline Design
88/111
=em'c) R initial consumer demand=emrate'c) R annual consumer demand increase
4iscrete $ressures
4min R minimum operating pressure4max R maximum operating pressure8rd'p) R gives the order of p 'p$R$, p&R$, pARA,U)!ard'p) R number of discrete pressures
Com#ressor .or+
6's,t) R wor/ at a supplier compressor6!'c,t) R wor/ at a consumer compressorB#!'s,c,t) R flowrate between a supplier and a consumerB!!'c,ca,t) R flowrate between a consumer and a consumerP#4's,t,p) R binary existence of a supply pressureP!!'c,t,p,pa) R binary existence of a pipe between two consumers
-
7/26/2019 Advance Pipeline Design
89/111
Ener%y Balance Restraints on *lo&rate
P!!'c,t,p,pa) R binary existence of a pipe between two consumersP#!'s,t,p,pa) R binary existence of a pipe between a consumer and a supplier
FB!!'c,ca,d,p,pa) R flowrate between two consumers based upon the energy balanceFB#!'s,c,d,p,pa) R flowrate between a consumer and supplier based upon the energy balance
*lo&rates from Ener%y Balance
=4=Qc'c,ca,d,p,pa) R parameter with delta 4 and delta Q terms for the energy balance relating toconsumers=4=Qs's,c,d,p,pa) R parameter with delta 4 and delta Q terms for the energy balance relating tosuppliers= R pipe inner diameter
-
7/26/2019 Advance Pipeline Design
90/111
Mathematical Model
*!'d,c,ca) R constant from simulated data;!'d,c,ca) R constant from simulated data*#'d,s,c) R constant from simulated data;#'d,s,c) R constant from simulated dataQ!'c) R consumer elevationQ#'s) R supplier elevation
0#eratin% Cost
8h R operating hours8c R operating cost as a function of compressor power and operating time
$enalty Cost
=ays R W of operating days in a year*mount R suggested agreed amount to buy#pen 's) R supplier penalty for not delivering the agreed upon amount!pen'c) R consumer penalty for not buying the agreed upon amount
-
7/26/2019 Advance Pipeline Design
91/111
*lo&rate Sold
The second equation can be used to :ustify not meeting the demand and except penalties if it ismore economically preferred.
Su%%ested Amount to Buy
4ensity
=en'p) R density*lpha R angular coefficient of density equation4'p) R discrete pressure
Ma(imum *lo&rate based on $i#e Si/e
FBKmax'd,p) R maximum flowrate from the maximum velocity3! R erosion parameter4i R X='d) R pipe inner diameter=en'p) R density
Bound=*i(ed )alues
There is no flow from a consumer to itself.
There is no pipe from a consumer to itself.
-
7/26/2019 Advance Pipeline Design
92/111
!ompressors are not installed when pYpa.
4esi%n 0#tion Equations
The number of pipes initially must be less than the desired number of pipes.
?o additions are made after the first period.
f a compressor is to be installed, it must be installed within the first time period.
There are no compressors installed after the first time period.
*lo&rate Balance
B!#'s,c,t) R flow between supplier and consumerB!!'c,c,t) R flow between consumersB!'c,t) R flow sold
-
7/26/2019 Advance Pipeline Design
93/111
0#eratin% Condition Relations
The number of pipes at all discrete pressures must be less than the actual number of pipes at anytime.
Construction Timin%
The number of pipes at a specific location at any time cannot be greater than the number of pipesat that location as indicated by the binary input of the model.
4emand Restraints on *lo& Rate
The actual flowrate through any pipe and at any time cannot exceed the total demand flowrate atthat time. *lso, flow cannot exist if the pipe has not been installed yet.
Com#ressor 0#eratin% Condition Relations
The number of compressors installed must be greater than or equal to the number of locationswhich require wor/. *lso, wor/ cannot exist if a compressor has not been installed yet.
-
7/26/2019 Advance Pipeline Design
94/111
.or+ E(istence Relations
4!in'c,t,p) R existence of a pressure into a consumer compressor4!out'c,t,pa) R existence of a pressure out of a consumer compressorPV!!'c,t) R not defined in the program
The wor/ at a consumer must be greater than the power at any discrete pressure times the totalflowrate of the system.
Com#ressor Installation Timin%
The number of compressors at a location at any time must be less than or equal to the number ofcompressors allowed at that location by the user.
Su##lier $ressure Relations
The existence of an outlet pressure from a supplier compressor can only exist if there is a pipe
connecting the supplier to a consumer.
The existence of an outlet pressure from a supplier compressor must exist if there is a pipeconnecting the supplier to a consumer.
-
7/26/2019 Advance Pipeline Design
95/111
The total number of outlet pressures from all supplier compressors at each discrete pressure mustbe less than or equal to the total number of pipes connecting suppliers to compressors.
Com#ressor Inlet $ressure Relations
f an inlet pressure to a consumer compressor exists, then there will be wor/ required at thatconsumer.
f a