Professional Documents
Culture Documents
B. S. Murty
Department of Civil Engineering
I.I.T. MADRAS
I.I.T. MADRAS
• Monitoring
The biggest problem with the safe operation of the oil and natural
gas pipelines is development of rupture leaks.
[4]
Node without demand
4 5
Delivery node
Given
Pipe Characteristics
Source Pressure {function of time)
Demands {function of time}
Gas Composition {function of time}
Determine
∂M 2 ∂p
+ (A /c ) = 0
∂x ∂t
∂p 1 ∂M
+ ( g sinθ ) p / c + λc M M /(2 DA p) +
2 2 2
=0
∂x A ∂t
(Specify Temporal
Pressure Variation at Source
& Demand Variation)
FD Methods:
Time consuming !
Too much CPU time !!! (2 hours for a 1000 s run of one
simulation, DT = 1 s)
Pipeline
M1 & P1 M2 & P2
1 2
N ⎡ T
−( N −i )* s
T
− s ⎤
∆p2 ( N *Ts ) = ∑ ⎢k1 * e T
*(1 − e )* ∆p1 (i *Ts )⎥ +
T
i =1 ⎣ ⎦
N ⎡ T
−( N −i )* s
T
− s ⎤
∑i =1 ⎣
⎢−k2 * e
T
*(1 − e )* ∆M 2 (i *Ts )⎥ −
T
⎦
⎡ −k2 *T2 − s ⎡ N
T
− ( N −i )* s ⎤
T
k2T2 ⎤
⎢ *(1 − e ) ⎢∑ ∆M 2 (i *Ts )* e
T T
⎥+ * ∆M 2 ( N *Ts )⎥
⎢⎣ T ⎣ i=1 ⎦ T ⎥⎦
(11)
N ⎡ − ( N − i )* TTs T
− s ⎤
∆ M 1 ( N * Ts ) = ∑ ⎢ e * (1 − e ) * ∆ M 2 (i * Ts ) ⎥ +
T
i =1 ⎣ ⎦
⎡ T1 T
− s ⎡ N T
− ( N − i )* s ⎤⎤
⎢ - * (1 − e T ) * ⎢ ∑ ∆ p1 (i * Ts ) * e T
⎥⎥
⎢⎣ T ⎣ i =1 ⎦ ⎥⎦
T
+ 1 * ∆ p1 ( N * Ts )
T
(12)
k1 = eΨ
λL ⎛ 1 2⎞ ⎛ ⎞
⎜ ⎟
k2 = eΨ / 2 1 ⎜ λL u
2
u ⎜1 + Ψ ⎟ D 1 ⎟
DA ⎝ 24 ⎠ T2 = +
λ u 6 ⎜ Dc2 Ψ 2 ⎟
⎜ 1+ ⎟
⎝ 24 ⎠
Ψ/2 λL2 u ⎛ 1 1 2⎞
T =e 2 ⎜
1 − Ψ + Ψ ⎟
2 Dc ⎝ 6 24 ⎠
λL u u gL sin θ
Ψ = 2
− 2
Ψ/2 AL ⎛ 1 2⎞ 2D c c
T1 = e 2 ⎜
1+ Ψ ⎟
c ⎝ 24 ⎠
Combine above Eqs.(11) and (12) for all the pipe elements with
Ax + Bu = 0 (13)
Minimize ( y − x ) T Q −1 ( y − x )
Subject to Ax + Bu = 0
Ax + Bu = c
where x, u
and
A, B
state estimation
EWRE Division, Indian Institute of Technology Madras, Chennai- 36.
RESULTS AND DISCUSSION
[4]
Node without demand
4 5
Delivery node
1.4
1.3
Demand (MMSCMD)
1.2
1.1
1
0.9
0.8
0.7
0.6
0 1000 2000 3000 4000 5000 6000
Time (sec)
59.4
59.3
59.2
Pressure (kg/cm )
2
59.1
59
58.9
58.8
0 1000 2000 3000 4000 5000 6000
Time (sec)
Bench mark model Proposed model (dt = 1 sec) Proposed model (dt = 15 sec)
1.675
Mass flow rate (MMSCMD)
1.575
1.475
1.375
1.275
1.175
0 1000 2000 3000 4000 5000 6000
Time (sec)
Estimated mass flowrate without redundancy Estimated mass flowrate with redundancy
True mass flow rate
0.51
Demand (MMSCMD)
0.505
0.5
0.495
0.49
0.485
0 1000 2000 3000 4000 5000 6000
Time (sec)
P1 0.01000 0.00492
F1 0.05489 0.000106
P2 0.02480 0.01868
F2 0.004563 0.000188
P3 0.02521 0.01837
P4 0.02394 0.01709
F4 0.001087 0.000123
P5 0.02393 0.01703
D5 0.00313 0.001
P6 0.02444 0.01752
P7 0.02365 0.01682
P8 0.02116 0.01462
0.65
0.6
0.55
0.5
0.45
0.4
0.35
0.3
0 1000 2000 3000 4000 5000 6000
Time (sec)
Branch i P2,M2
P1,M1
xi L - xi 2
1
xi L - xi
Unknown demand DL
M in ( y − m )T Q −1 ( y − m )
m ,u
S u b je c te d to
Am + Bu = c
Experimental setup
EWRE Division, Indian Institute of Technology Madras, Chennai- 36.
RESULTS AND DISCUSSION - LEAK
DETECTION USING LAB EXPERIMENTS
Validation of proposed leak detection methodology using laboratory
experimental data
Flow rate Time of Leak (sec) Leak Location Leak Magnitude Pipeline
(SLPM) from inlet end (m) (SLPM) configuration
Actual Estimated Actual Estimated Actual Estimated
150 200 206.3 49.68 45.94 6.0 6.34 Series
200 200 203.6 74.68 75.05 9.0 9.72 Series
250 200 201.5 99.68 100.42 12.0 12.13 Series
250 200 204.4 24.68 30.92 6.0 7.38 Series
150 200 227.2 49.68 56.9 6.0 4.83 Network
200 200 203.8 74.68 75.06 9.0 10.05 Network
250 200 203.5 99.68 103.04 12.0 13.02 Network
250 200 206.9 24.68 26.71 6.0 7.65 Network
Objective
(
~ ˆ
φ = Min Y − Y )
T
∑ −1
(
~ ˆ
Y −Y )
Constraints
– Continuity (flow balance) equation at each node
– Loop equations that relate the pressure drop variables
– Correlation for energy losses due to friction (Hazen- Williams
correlation is used here)
Network Details
Pipes = 71
Nodes = 46
Source Node = 1
Demand node = 45
1 - 1 All 45 nodes No
2 - 1 All 45 nodes Yes
3 1 to 12 1 All 45 nodes Yes
4 1 to 12 1, 35 to 46 All 45 nodes Yes
1-5, 56 120 60
For cases 8,9,10 and 11– noise added 1% of the true value
Control objective
Manipulated variables -
∑ ∑ (d )
Nd P 2
Objective min f = sp
i ,k + j − dˆi , k + j − dˆ k
pmm
u k ...u k + M −1
i = 1 j =1
d k = dk − dˆk
ˆ pmm
ˆ = dˆ k | k − 1 − dˆ k | k
Inferential Scheme pm m
dk
Constraints
0 < U < 1 for continuous valves
for P time periods
Loop constraints
Minimum pressure specifications
Valve settings
Process
Control Algorithm
(WDN)
State
Disturbance estimated, Estimator
States estimated
Case studies
Case Water
available in
reservoir
1 Sufficient
2 Insufficient
0.0035 0.007
0.003 0.006
D em an d , m 3 /s
D e m a n d , m 3 /s
0.0025 0.005
0.002 0.004
0.0015 0.003
0.001 0.002
0.0005 0.001
0 0
0 2 4 6 8 10 12 14 16 18 20 22 24 0 2 4 6 8 10 12 14 16 18 20 22 24
Time, hr Time, hr
0.012 0.025
0.01 0.02
D em an d , m 3 /s
D e m a n d , m 3 /s
0.008
0.015
0.006
0.01
0.004
0.002 0.005
0 0
0 2 4 6 8 10 12 14 16 18 20 22 24 0 2 4 6 8 10 12 14 16 18 20 22 24
Time, hr Time, hr
Demand Outflow (M=1,P=1) Outflow (M=1,P=5) Demand Outflow (M=1,P=1) Outflow (M=1,P=5)
Demand at nodes are not met since sufficient water is not available
0.0035 0.007
0.003 0.006
D e m a n d , m 3 /s
0.0025
D e m a n d , m 3 /s
0.005
0.002 0.004
0.0015 0.003
0.001
0.002
0.0005
0.001
0
0
0 2 4 6 8 10 12 14 16 18 20 22 24
0 2 4 6 8 10 12 14 16 18 20 22 24
Time, hr
Time, hr
Demand With disturbance correction
Demand With disturbance correction
Without disturbance correction Without disturbance correction