Documente Academic
Documente Profesional
Documente Cultură
UDK 681.518.3
IFAC IA 5.3.1;2.8.1
Original scientific paper
The paper deals with the simplification of pipeline models. A nonlinear distributed parameters model is line-
arised and its transfer function given. The pipeline is represented as a two-port system. Two causal representations
– the hybrid ones which are used in practice – are studied further. They involve three different transcendent trans-
fer functions which are then approximated by rational transfer functions using a Taylor series expansion. The de-
rived models are valid for low frequencies and are used to discuss how to obtain better approximation. They
equalise the high frequency gain of the transcendent and rational transfer functions and employ a Padé approxi-
mation. Due to the approximation of the high frequency gain, the derived models are only valid for a class of
models – namely – well damped pipelines. The derived models which describe the pipeline as a lumped parame-
ter system were verified on a real pipeline using experiment data.
Key words: modelling, model approximation, distributed-parameter system, lumped-parameter system, pipelines
Nonlinear equations (2, 1) are linearised and writ- 3. Impedance representation: Inputs Q0 , QL , outputs
ten in a form using notations common in the analy- P0 , PL:
sis of electrical transmission lines. Also, the gravity
L 1 O
LM P OP = MM Z cothc nL h −ZK
effect is neglected – included into the working
point. The corresponding system of linear partial 0
K p
c h PP LMQ OP (11)
sinh nL p L
differential equations is
N P Q MM− Z sinh 1nL
L K −ZK coth c nL h P N Q Q
p
PQ 0
¶q ¶p N c h p
L + Rq = − (3)
¶t ¶x 4. Admittance representation: Inputs P0 , PL , outputs
¶p ¶q Q0 , QL:
C =− (4)
¶t ¶x
L 1 − 1 ⋅ 1 O
where L = 1 , R = 2
λ( q ) q −
( q is the flow at the wor-
LM Q OP = MM Z cothc nL h Z sinhc nL h PP LM P OP (12)
0 K
p
K p 0
A A ρD NQ Q MM Z1 ⋅ sinh 1nL − Z1 cothc nL h PP N P Q
L p L
a
ty), resistance and capacitance per unit length, res- It should be noted that the forms 1 to 4 repre-
pectively. sent causal models, whilst Equations (5, 6) repre-
sent a noncausal model with inputs P0, Q0 and out-
The next step in the derivation of a simple mo- puts PL, QL. This completes the derivation of the
del of the pipeline is the analytical solution of linear transfer functions of the linearised pipeline. The re-
quations (3, 4). The Laplace transformation of them sulting transfer functions are transcendent. In the
yields the linear non-causal model next section, their approximations by rational trans-
fer functions will be given.
af af c h af c h
PL s = Z K Q0 s sinh nL p + P0 s cosh nL p (5)
3 LINEAR PIPELINE MODEL WITH LUMPED
Q a sf = Q a s f cosh c nL h − 1 P a s f sinh a nLpf
L 0 p 0 (6) PARAMETERS
Z K
In this section, the rational transfer functions of
where Lp is the length of the pipeline and
the pipeline will be derived. There are seven diffe-
n= a Ls + Rf ⋅ Cs rent transcendent transfer functions in the four pi-
(7)
peline forms of the previous section:
Z K = Ls + R = Ls + R .
(8) 1 , 1 tanh nL ,
c h c h
Z K tanh nL p ,
n Cs p
c h
cosh nL p ZK
Finally, the linearised model of the pipeline can Zk coth c nL h , ZK ⋅ 1 ,
p
be written in one of the following four forms which
differ from each other with respect to the model in-
c h
sinh nL p
1 ⋅ coth nL 1 ⋅ 1
puts (independent quantities) and outputs (depen-
dent quantities) ZK p c h and c h
Z K sinh nL p
.
1. Hybrid representation: Inputs Q0 , PL , outputs QL , First, simple models will be derived. These models
P0 : are only valid for low frequencies. On the basis of
a discussion of simple models, better models, which
LM 1
c h OP
Z K tanh nL p approximate the transcendent transfer functions in
LM OP M
P0
=
cosh nL p c h P LM P OP L
(9)
a broad frequency range, will be derived in subsec-
− 1 tanh nL p tion 4.
N Q MM
QL
ZK
c h coshc1nL h PP NQ Q 0
N Q p
3.1 Models for low frequencies
2. Hybrid representation: Inputs QL , P0 , outputs Q0 , Simple models are obtained by expanding the
PL: transcendent transfer function into a Taylor series.
They are as follows: at the other end of the pipeline are kept constant)
1 the shock wave originating at one end of the pipe-
1. Hybrid representation: = line returns after reflection at the other end of the
c h
cosh nL p
pipeline with the opposite phase. The half-period of
Reverse pressure gain at upstream dead end: the oscillations is consequently equal to the time
P0 needed by the shock wave to travel along the pipe-
PL Q0 = 0 line and back. This gives the radial eigen-frequency
Flow gain at downstream reservoir: ω0 = 2p = p ⋅ 1 (16)
QL 4 LC L p 2 LC L p
PL = 0
Q0
which is only 10 % different from ω′0 . The static gain
Pressure gain at downstream dead end: of the treated transfer function is 1, meaning that the
PL step change of the flow at one end of the pipeline
QL = 0 results in the same steady state change of the flow
P0
at the other end (if the pressure at the first end re-
Reverse flow gain at upstream reservoir :
mains unchanged). Similarly, the step change of the
Q0 pressure at one end results in the same steady state
P0 = 0
QL change of the pressure at the other end (if the stea-
dy state flow remains unchanged).
1 = 1 ≈ 1
c h
cosh nL p cosh ea f
Ls + R ⋅ Cs L p j 2. Hybrid representation:
ZK
d i
tanh nL p =
1 tanh nL = Cs ⋅ tanh
ZK
c h
p
Ls + R e a Ls + RfCs L j ≈
p
60 6
FH 120
IK
1 C L p 5 RLs 4 + 1 C 2 Lp 3 L + 1 C 3 Lp 5 R 2 s 3 + 1 L3 RC 2 s 2 + L Cs
6 p p
≈ . (18 )
24 12
FH 24 p 2 p
IK
1 L2 C 2 Lp 4 s 4 + 1 RLC 2 Lp 4 s 3 + 1 L2 LC + 1 L4 R 2 C 2 s 2 + 1 L2 RCs + 1
2 p
For R→0 this transfer function has two complex Negative output impedance at upstream
conjugate zeros at the radial frequency PL
dead end: − Q0 = 0
6 ⋅ 1 QL
ω= (19)
LC L p
Ls + R coth
which is close to the twice eigen-frequency of the
Z K coth nL p = c h Cs e a Ls + RfCs L j ≈ p
Ls + R ⋅ tanh
e a Ls + RfCs L j ≈
Z K tanh nL p = c h Cs p
1 RL Lp C s + F 1 L Lp C + 1 R LLp C I s + 1 L RLCs + F L L + 1 L R CI s + L Cs
2 5 2 4 2 3 2 5 2 3 3 2 3 2
≈
40 H6 40 K 3 H 6 K .
p p p p
(21)
1 L C Lp s + 1 RLC Lp s + F 1 L LC + 1 L R C I s + 1 L RCs + 1
2 2 4 4 2 4 3 2 4 2 2 2 2
24 12 H2 24 K 2 p p p
ω= 6 ⋅ 1 (22)
LC L p 5. Impedance representation: Z K 1 =
which is close to the twice eigen-frequency of the
sinh nL p c h
pipeline with hybrid boundary conditions. Negative reverse transimpedance at upstream
P0
dead end: − Q0 = 0
4. Impedance representation: Z K coth nL p = c h QL
Input impedance at downstream dead end: Negative transimpedance at downstream
P0 PL
dead end: − QL = 0
QL = 0 Q0
Q0
1 coth nL = Cs coth
e a Ls + RfCs L j ª
ZK p c h Ls + R p
1 L C Lp s + 1 RLC Lp s + F 1 L LC + 1 L R C I s + 1 L RCs + 1
2 2 4 4 2 4 3 2 4 2 2 2 2
ª
24 12 H2 24 K 2 .
p p p
(28)
1 RL Lp C s + F 1 L Lp C + 1 R LLp C I s + 1 L RLCs + F L L + 1 L R CI s + L R
2 5 2 4 2 3 2 5 2 3 3 2 3 2
40 H6 40 K 3 H 6 K p p p p
1 = Cs ◊ 1 ª
Z K sinh nL p c h Ls + R sinh
e a Ls + Rf Cs L j p
ª 1 . (31)
40 6
FH
40 3 6 p
IK
1 RL2 Lp 5 C 2 s 4 + 1 L2 Lp 3 C + 1 R 2 LLp 5 C 2 s 3 + 1 L3 RLCs 2 + L L + 1 L3 R 2 C s + L R
P p p
FH IK
the same end remains constant. It has a static gain The eigen frequency ω0 (Equation 16) determi-
1 which corresponds to the static change of the nes the coefficient
Lp R
flow due to changing pressure. For R ª 0 this trans- a2 = 12 = 42 L2p LC . (36)
fer function has a pole at the origin of the s plane, ω0 p
i.e. the integral character. The remaining dynamics
of the transfer function is a second order system The high frequency gain is determined by
with the eigen-frequency and damping as in the
previous case. 1
a f
lim G0 jω = lim (37)
ωÆ∞ ωÆ∞
cosh e a Ljω + Rf Cjω L j p
4 MODELS FOR WELL-DAMPED PIPELINES
which does not exist. However,
In this section, the pipeline will be presented as
a second order lumped parameter system in the C RL p
± e ( Ljω + R ) C j ω L p j ± ◊
form lim e =e L 2 (38)
ωÆ∞
2
b2 s + b1 s + b0 - sTd
af
G s =
a2 s 2 + a1 s + a0
e (32) does exist and in the case
C ◊ RL p >> 1
where Td is the dead time. The transcendent trans- (39)
L 2
fer functions will be approximated by a rational
transfer function with dead time however only for a the high frequency gain (37) can be approxima-
class of pipelines, as shown later. The procedure of ted by
the approximation is as follows: as the simple mo- C ◊ RL p
b2 -
dels are valid for low frequencies, their static gain is
exact and will be applied to the derived models.
lim G s =
ωÆ∞
af a2
ª 2e L 2 (40)
Also, the eigen-frequency as discussed in the earlier yielding
subsection (Equation 16) will be used. Next, the high
C ◊ RL p
frequency gain will be approximated from transcen- -
dent function and known dead time will be applied. b2 = 82 LCL2p e L 2 . (41)
p
In this way, four coefficients of the transfer func-
tion (32) are determined. The remaining two are The condition (39) can also be written as
obtained using a Padé approximation of the trans-
cendent transfer function. Since the high frequency ζ >> 1 ,
2
gain approximation is valid only under certain con-
ditions, the derived models are only valid for one so the derived models are valid for well damped
class of pipelines. The derived models are as fol- pipelines only.
lows The remaining coefficients b1 and a1 are de-
termined using a Padé approximation of (33) i.e.
1. Hybrid representation: Reverse pressure gain at up- by comparing the corresponding terms of the
stream dead end, Flow gain at downstream reser- following two series expansions:
voir, Pressure gain at downstream dead end and
Reverse flow gain at upstream reservoir a2 s 2 + a1 s + 1
=
1 1 b2 s 2 + b1 s + 1
af
G0 s =
c h =
c h
cosh nL p e - sTd
e - sTd . (33)
cosh nL p a f b
= 1 + a1 - b1 s + a2 - b2 - b a1 - b1 s 2 +K a fg (42)
Since this transfer function connects quantities at and
different ends of the pipeline, the dead time for
- LCs L p
(33) is known – it is the time needed for the
shock wave to travel along the pipeline.
cosh e b Ls + Rg Cs L j e = p
F1
= 1 + G L RC - L LC J s +
2 I
Td = LC L p . (34) H2 p
K p
F
+ G L LC +
2 1 1
L R C - L RC 4 2 2 3 IJ
LC s 2 + K
The static gain of (33) is 1, so the coefficients H p
24 2
p p
K
a0 = 1 The result is (taking into account Equations 36
(35)
b0 = 1 and 41)
F - C◊
RL p
- 24 p2 L - p2 L2p R 2 C + 12 p2 L p R LC
I
GH
L p C 96 L - 192 Le L 2
JK
b1 = (43)
d
12 p2 L p RC - 2 LC i
F - C◊
RL p
+ 5p2 L2p R 2 C - 12 p2 L p R LC
I
GH
L p C 96 L - 192 Le L 2
JK
a1 = . (44)
d
12 p2 L p RC - 2 LC i
2. Hybrid representation: Negative output admittance Cs tanh
at upstream dead end and Input admittance at Ls + R e a Ls + Rf Cs L j = p
The remaining coefficients b1 and a1 are deter- The resulting transfer function has an integral
mined by the same procedure as in the two pre- character. Since the models are valid for well
vious cases. A comparison of damped pipelines only, a second order transfer
function is sufficient and the eigen-frequency of
b2 s 2 + b1 s + b0 the pipeline with impedance boundary condi-
= tions which is close to the twice eigen-frequency
a2 s 2 + a1 s + 1
of the pipeline with hybrid boundary conditions
a f b a
= b0 + b1 - b0 a1 s + b2 - b0 a2 + - b1 + b0 a1 a1 s 2 + K f g can not be recognised.
(61)
and
Cs e a Ls + RfCs L j = L R + FH L L - 13 L R CIK s +
Ls + R tanh
p p p
3
p
2
yields
b1 =
d
L p 288 L2p R 2 LC + p2 L4p R 4 C 2 - 288 L p RL LC - 72 p2 L2 i (63)
24 p 2
d L2p R 2 C - 3 L i
and
a1 =
d
L p 96 L p RLC - 96 L LC - 16 p2 L p RLC + 3p2 L3p R 3 C 2 i. (64)
8p 2
d L2p R 2 C - 3 L i
The dead time of the treated transfer function is Since this transfer function connects change of
zero, since it connects a change of the pressure the pressure at one end of the pipeline if the
at one end of the pipeline if the flow changes at flow changes at the other end of the pipeline,
the same end, so the dead time for (68) is known – it is the time
Td = 0 (66) needed for the shock wave to travel along the
pipeline.
Transfer function (65) is the inverse of the
transfer function (45) so the coefficients are: Td = LC L p . (69)
af
G0 s = 1 = 1 e - sTd .
and is the product of transfer functions (65) and c h
Z K sinh nL p c h
Z K sinh nL p e - sTd
(33). The dead time is a part of the transfer
function (33). The denominator of the Padé ap- (74)
proximation of this transfer function cancels out Since this transfer function connects change of
the numerator of the Padé approximation of the the flow at one end of the pipeline if the pres-
transfer function (65), so the coefficients of the sure changes at the other end of the pipeline,
resulting transfer functions are: the dead time for (74) is known – it is the time
a0 = 0
a1 = L p ◊ C
a2 = 42 L2p C LC
p
b0 = 1
F RL p
I (71)
- C◊ 2 2
L C G 96 L - 192 Le
p
L 2 - 24p L - p L2p R 2 C + 12 p2 L p R LC J
b1 =
H K
d
12 p2 L p RC - 2 LC i
C RL p
b2 = 8 LCL2 e - L ◊ 2
2 p
p
6. Admittance representation: Input admittance at needed for the shock wave to travel along the
downstream reservoir and output admittance at pipeline.
upstream reservoir Td = LC L p . (75)
G0 s = 1 coth nL p
af c h (72) If the pipeline is approximated with the second
ZK
order system, what is sufficient for well damped
The dead time of the treated transfer function is pipelines, the known eigen-frequency can not be
zero, since it connects a change of the flow at used. A determination of all coefficients of the
one end of the pipeline if the pressure changes second order transfer function by the Padé ap-
at the same end, so proximation results in a unsolvable system of
equations. So again the procedure will be used
Td = 0 (73)
which supposes that the dynamics of all hybrid
Transfer function (72) is the inverse of the trans- representations of the pipeline is the same.
fer function (55) so the coefficients are: Equation (74) can be written as:
a0 = L p R
a1 =
d
L p 288 L2p R 2 LC + p2 L4p R 4 C 2 - 288 L p RL LC - 72 p2 L2 i
24p 2
d L2p R 2 C - 3 L i
a2 = 42 L2p L LC
p
b0 = 1
b1 =
d
L p 96 L p RLC - 96 L LC - 16p2 L p RLC + 3p2 L3p R 3 C 2 i
8p 2
d L2p R 2 C - 3 L i
b2 = 12 = 42 L2p LC .
ω0 p
a0 = L p R
a1 =
d
L p 288 L2p R 2 LC + p2 L4p R 4 C 2 - 288 L p RL LC - 72 p2 L2 i
24p 2
d i
L2p R 2 C - 3 L
a2 = 42 L2p L LC
p
b0 = 1 (77)
F - C◊
RL p
- 24p2 L - p2 L2p R 2 C + 12 p2 L p R LC
I
GH
L p C 96 L - 192 Le L 2
JK
b1 =
d
12 p2 L p RC - 2 LC i
- C ◊ RL p
b2 = 82 LCL2p e L 2 .
p
Fig. 3 The simulated (solid line) and the measured (dashed line)
flows at the beginning of the pipeline
6 CONCLUSION
In both figures an acceptable coincidence can be
observed. The error between the outputs of the Three transcendent transfer functions which are
model and the real plant is caused by nonlineari- parts of the linear model of the pipeline as a distri-
ties due to high excitation and, of course, by the buted parameter system are approximated by ratio-
approximation of the pipeline using a lumped pa- nal transfer functions with time delay. The approxi-
rameter model. The »noise« in the simulated sig- mations were verified on a real pipeline by using
nals (especially in Figure 2) is due to the decon- real experiment data. The approximations are only
volution of the model input signal (flow at the valid for one class of models – well damped pipe-
beginning of the pipeline) which increased the lines. Simple models for pipelines which are able to
measurement noise. oscillate are being investigated.
2. Hybrid representation: Inputs QL , P0 , outputs Q0 ,
PL REFERENCES
[1] L. Billmann, Methoden zur Lecküberwachung und Regelung
In Figure 3 the comparison of the simulated and von Gasfernleitungen. TH Darmstadt, 1985.
measured flows at the beginning of the pipeline [2] H. Siebert, Untersuchung verschiedener Methoden zur Leck-
is shown. überwachung bei Pipelines. TH Darmstadt, 1981.
Acceptable coincidence can again be observed. [3] G. Geiger, Application of a Model-Based Method for Leak
Detection and Localization. GMA-Kongress Meß- und Auto-
The verification of the fourth model (output matisierungstechnik 18./19. Juni 1988, VDI Berichte Nr.
pressure as the function of the output flow and 1397, 1998.
input pressure) failed. The reason for that failu- [4] V. L. Streeter, E. B. Wylie, Fluid Transients. McGraw-Hill,
re is as follows: according to Equation (10) the New York, 1978.
resulting output pressure is the difference of two [5] C. V. Rao, K. Eswaran, On the Analysis of Pressure Transi-
terms (pressure changes due to the change of ents in Pipelines Carrying Compressible Fluids. Int. J. Pres.
the output flow and input pressure, respectively). Ves. and Piping, 56:107–129, 1993.
Modeliranje cjevovoda kao sustava s usredoto~enim parametrima. U ~lanku se opisuje postupak pojednostav-
ljenja matemati~kih modela cjevovoda. Lineariziran je nelinearni matemati~ki model s raspodijeljenim parametrima
iz ~ega je dobivena prijenosna funkcija. Cjevovod je prikazan kao dvoulazni sustav. Analizirana su dva me|usobno
povezana prikaza triju razli~itih transcedentnih prijenosnih funkcija koje se potom nadomje{taju racionalnim pri-
jenosnim funkcijama uporabom Taylorovog razvoja u red. Izvedeni modeli valjani su za niske frekvencije i koriste
se kako bi se do{lo do boljih aproksimacija. Uspore|uje se visokofrekvencijsko poja~anje transcedentnih i racional-
nih prijenosnih funkcija. Zbog aproksimacije visokofrekvencijskog poja~anja izvedeni su modeli valjani samo za
dobro prigu{ene cjevovode. Izvedeni modeli, koji opisuju cjevovod kao sustav s usredoto~enim parametrima, pro-
vjereni su na realnom cjevovodu.
Klju~ne rije~i: modeliranje, aproksimacija modela, sustav s raspodijeljenim parametrima, sustav s usredoto~enim
parametrima, cjevovod
AUTHORS’ ADDRESSES:
Drago Matko,
Faculty of Electrical Engineering
University of Ljubljana
Tr`a{ka 25, 1000 Ljubljana Slovenia
e-mail: drago.matko@@fe.uni-lj.si
Gerhard Geiger, Thomas Werner
Fachhochschule Gelsenkirchen, Germany
@fh-gelsenkirchen.de
e-mail: gerhard.geiger@
thomas.werner@@fh-gelsenkirchen.de
Received: 2001-07-12