Научная статья на тему 'ON ONE APPROACH TO NON-DESTRUCTIVE CONTROL OVER THE STATE OF PIPELINE SYSTEMS'

ON ONE APPROACH TO NON-DESTRUCTIVE CONTROL OVER THE STATE OF PIPELINE SYSTEMS Текст научной статьи по специальности «Физика»

CC BY
40
10
i Надоели баннеры? Вы всегда можете отключить рекламу.
Область наук
Ключевые слова
In the process of long-term operation of pipeline systems for the transport of hydrocarbons (oil / gas) and other liquids / leaks occur in some of its sections over time. An important role of timely detection of leaks is occupied by methods of indestructible control over the state of pipeline systems that do not require the production of any technical actions. Non-destructive testing methods are based / as a rule / on mathematical methods and modern computer technologies. In this paper / using the example of the problem of determining the locations of fluid leaks / an approach is proposed based on solving an inverse problem with respect to a system of differential equations with partial derivatives that describes the process of fluid flow.

Аннотация научной статьи по физике, автор научной работы — Reshad Ismibayli, Yegana Ashrafova

In the process of long-term operation of pipeline systems for the transport of hydrocarbons (oil, gas) and other liquids, leaks occur in some of its sections over time. An important role of timely detection of leaks is occupied by methods of indestructible control over the state of pipeline systems that do not require the production of any technical actions. Non-destructive testing methods are based, as a rule, on mathematical methods and modern computer technologies. In this paper, using the example of the problem of determining the locations of fluid leaks, an approach is proposed based on solving an inverse problem with respect to a system of differential equations with partial derivatives that describes the process of fluid flow.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «ON ONE APPROACH TO NON-DESTRUCTIVE CONTROL OVER THE STATE OF PIPELINE SYSTEMS»

Reshad Ismibayli, Yegana Ashrafova RT&A, Special Issue № 4 (70) ON ONE APPROACH TO NON-DESTRUCTIVE..._Volume 17, November 2022

ON ONE APPROACH TO NON-DESTRUCTIVE

CONTROL OVER THE STATE OF PIPELINE SYSTEMS

1 2 Reshad Ismibayli, Yegana Ashrafova

Azerbaijan University of Architecture and Construction

2

Baku State University, Azerbaijan

reshadismibayli@gmail.com ashrafova.yegana@gmail.com

Abstract

In the process of long-term operation of pipeline systems for the transport of hydrocarbons (oil, gas) and other liquids, leaks occur in some of its sections over time. An important role of timely detection of leaks is occupied by methods of indestructible control over the state of pipeline systems that do not require the production of any technical actions. Non-destructive testing methods are based, as a rule, on mathematical methods and modern computer technologies. In this paper, using the example of the problem of determining the locations of fluid leaks, an approach is proposed based on solving an inverse problem with respect to a system of differential equations with partial derivatives that describes the process of fluid flow.

Keywords: oil-gas pipelines, non-destructive control methods, leaks, environmental risks, inverse problem.

I. Introduction

In the process of long-term operation of pipeline systems for the transport of hydrocarbons (oil, gas) and other liquids, leaks occur in some of its sections over time. Leaks occur due to pipeline breaks, which can have different causes and sizes.

The emerging leaks lead to great risks, which have both environmental consequences, but also causing great economic damage to mining and transport organizations.

Known and used are various methods of timely detection of leaks of raw materials. An important role is occupied by methods of indestructible control over the state of pipeline systems that do not require the production of any technical actions. In particular, in the case of underground pipeline networks, such methods do not require, for example, any earthworks.

Non-destructive testing methods are based, as a rule, on mathematical methods and modern computer technologies. In this paper, using the example of the problem of determining the locations of fluid leaks, an approach is proposed based on solving an inverse problem with respect to a system of differential equations with partial derivatives that describes the process of fluid flow.

An inverse problem for a pipeline network of complex loopback structure is solved numerically. The problem is to determine the locations and amounts of leaks from unsteady f low characteristics measured at some pipeline points. The features of the problem include impulse functions involved in a system of hyperbolic differential equations, the absence of classical initial conditions, and boundary conditions specified as nonseparated relations between the states at the endpoints of adjacent pipeline segments. The problem is reduced to a parametric optimal control problem without initial conditions,

but with nonseparated boundary conditions. The latter problem is solved by applying first-order optimization methods [1]. Results of numerical experiments are presented.

This paper differs from many other studies [2] in which leak locations and amounts were determined either in a steady f low regime in a pipeline of complex structure or in a transient f low regime in a pipeline consisting of a single linear segment. In this study, we numerically solve an inverse problem [3] of determining leak locations and amounts in an unsteady f low in a pipeline network of complex (loopback) structure. The problem is described by a system made up of numerous subsystems of two hyperbolic partial differential equations with impulse actions specified at possible leakage points on pipeline network segments.

Another feature of the problem is the assumption that, due to the long duration of the process under study, exact information on its initial state is not available at the time of monitoring and that the states of the process (which is distributed in space) cannot be quickly measured at all points. Instead, there is information on a variety of possible initial states of the process and some state (regime) characteristics are measured at certain pipeline points starting at this time. One more feature of the problem is that its boundary conditions are specified as nonseparated relations (determined by physical laws) between the states at the endpoints of adjacent pipeline segments.

II. Problem statement

To simplify presentation of numerical schemes and to be specific, let us consider the pipe network, containing 8 segments as shown in figure 1. Numbers in brackets identify the nodes (or junctions). The set of nodes we denote by I : I = {k1,...,kN j; where kt,i = 1,N are the nodes; N = |l| is the numbers of nodes in the network. Two numbers in parentheses identify two-index

numbers of segments. The flow in these segments goes from the first index to the second (for example, the flow in the segment (1,2) is obviously from the node 1 to node 2.

Let J: J = {(ki, k]): kt, k] e I j is the set of segments and M = | J| is it's quantity; lkk ,

dkk , k, kj e I is a length and diameter of the segment (ki, k}) respectively; 1k is the set of

nodes connected with node k by segments where flow goes into the node, I— is the set of nodes

connected with node k by segments where flow goes out of the node; Ik = U Ik is the set of

total nodes connected with node k and N = \h\,Nk+ = |,= |lt |, N = + .

Beside of inflows and outflows in the segments of the network there can be external inflows (sources) and outflows (sinks) with the rate qt (!) at some nodes i e / of the network. Positive

and negative values of qi (!) indicate the existence of external inflow or outflow at the node I. However, in general case, assuming that the case qi (/) = 0 for the sources is admissible one can

consider all nodes of the network as the nodes with external inflows or outflows. Let If ^ I denote the set of nodes i e /, where i is such that the set // U consists of only one segment. It means that the node i is a node of external inflow or outflow for the whole pipe network (for example If = {1,4,5,8} in fig.1). Let N^ = |/f | is the number of such nodes, it is obviously that

Ny < N ; Imt is the set of nodes not belonging to If, so Nto = Iint , i.e., Iint = I / If, Nto = N — Ny. In actual conditions, the pumping stations are placed, the measuring equipment is installed and the quantitative accounting is conducted at the nodes from the set I f .

Fig.1: The scheme of pipe network with 8 nodes

We assume that at some instants of time t > t0 at some points e (0, l), of any (ks) -th

section of the pipeline network, fluid leakage with the flow rates (t) began. Using the

generalized Dirac function 5(x), we can describe the motion of the liquid by the following linearized system of differential equations for unsteady flow of dripping liquid with constant density p in a linear pipe (k, s) of length and diameter dfa of oil pipeline network can be written in the following form [4-8]:

dP\X, p t) + 2aksP Qks (x, t), x E (0, Iks),

dx Sks dt sks

aP" (x,') = ✓ P + c' Pf (t),(x _4s ), , E (0, T],

s e I+k , k E I.

dt Sks dx Sk

(1)

here c is the sound velocity in the fluid; Sks is the area of an internal cross-section of the segment (k, s); aks is the coefficient of dissipation (we may consider that the kinematic coefficient of

viscosity V is independent of pressure and the condition 2aks = = Const is quite accurate

(dks )2

for a laminar flow). QVl (x, t), Pk ,k] (x, t) are the flow rate and pressure of flow, respectively, at

the time instance t in the point x e (0, lk''kj ) of the segment (k ,kj) of the pipe network.

Pk (t), Qk (t) are the pressure and flow rate at the node k e I, respectively.

The conditions of Kirchhoff's first law (total flow into the node must be equal to total flow out of the node) are satisfied at the nodes of the network at t e [0, T]:

£ Ofc (/fc, 0 - S Oks (0,0 = qk (0, k El. (2)

s^ k

Also, the following conditions of flow continuity for the nodes of the net (the equality of the values of pressures on all adjacent ends of the segments of the network) hold:

Pk (t) = Pk'k (lk'k, t) = Pkkj (0, t) , kt e I\, kj e Ik , k e I, (3)

where qk(t) is the external inflow (qk(t) > 0) or outflow (q (I) < 0) for the node k , Pk(t) is the value of the pressure in the node k . We must note that they have significant specific features, consisting in the fact that the conditions (2) and (3) are non-separated (nonlocal) boundary conditions unlike classical cases of boundary conditions for partial differential equations.

The total number of conditions for all nodes from If is Ny. So, the total number of

conditions in (2) and (3) is [Ny + Nto ] + [(2M - N) " Nt ] = 2M. As it was noted above the

number of conditions in (2) is N, but in view of the condition of material balance (^ qk (7) = 0)

keI

for the whole pipeline network, we conclude that the number of linearly independent conditions is N — 1. So, it is necessary to add any one independent condition. As a rule the value of pressure at one of the nodes s e If is given for this purpose, in place of the flow rate qs (t) :

Ps(t) = Ps(t). (4)

In the case of unknown points of leakages and their rates , qJ°SS (t) •„ ,, , ,

ks ks we will assume that at

the ends of the pipeline sections a constant and rather long observation on pressure is made, i.e., the values of Pmes (tX n e Ifp or QZes (t) , M e 1f are known It is quite natural to suppose that the sought leak spots do not coincide with the points of observation of regimes. In more general case, for every node from = U Ip , it is necessary to give the values of pressure ( ci / '

denotes the set of such nodes) or the values of flow rate (the set If ^ If) and if must not be an empty: If ^ 0 . So, we will add the following conditions to the condition (3):

\Pn (t) = Pns (0, t) = P^s (t), s e i:, if I— = 0, n ^ f [pn (t)=Psn (isn, t)=p:ss (t), s e i—, ifi:=0, e p, Qm (t) = Qm (0, t) = Q1 (t), s e rm, ecnuIm = 0 (t) = Qsm (lsm, t) = Qmes (t), s e Im, ecnuim=0

When the spots of oil leakages from a pipeline and the rates of these leakages are known %ks, qkJ°ss (t), (k, s) e J, it is sufficient to use one of the boundary-value conditions (5) or (6) to calculate the regime of liquid motion in the pipeline from (1) on the time interval [t0, T]. One of them we will use in the functional, the form which will be given below.

The problem consists in the detection of the points of leakage % = ,(k, s) e J} and

corresponding losses of raw material ql°ss (t) = {ql°ss (t), (ks) e J} at t e [t0, T] with the use of

the given mathematical model and obtained information.

It is important to note that if process (1) is rather long, then, due to the presence of friction typical of any real physical system, the influence of the initial state of the pipeline on the regimes of oil motion in it becomes weaker with time. Therefore, when the process is observed for a long time, i.e., within a large time interval [t0, T], the influence of the initial regime of oil flow in a

pipeline (at t = t0) on the current state of the process decreases, and there exists such T (t < T) that at t > T the regime of oil motion experiences only the influence of the boundary-value conditions on the time interval [t0, T], where the quantity T is determined by the parameters of

the process and the characteristics of the pipeline [9]. Thus, we arrive at the problem without initial conditions.

m e Ifa, (6)

III. Approach to the solution of the problem

In order to solve the problem posed, we will consider the functional that determines the derivation of regimes of oil flow at the given points of the oil pipeline section from those predicted:

3(£ ql°ss) = J ql°ss; 7) + q)]^ (y)dy ^ min, (7)

d

Reshad Ismibayli, Yegana Ashrafova RT&A, Special Issue № 4 (70) ON ONE APPROACH TO NON-DESTRUCTIVE._Volume 17, November 2022

2 ¡[Qm(t^,q(tlr)-QZs(t)fdt,

m<d( t

2

*(£ q)=^il\q(t)-*ll lZ[,,t ]

where 0"'(!',q(l), /),m e - is the solution of the problem (l)-(5) at the given values of (£, qloss (t)), [t, T ] is the time interval of monitoring the process whose regimes already do not depend on the initial conditions; q e R'", , s2 - are the regularization parameters. Since the initial conditions at time t0 do not influence the process in the interval [t, T ], exact knowledge of the initial value of t is not of primary importance.

Proceeding from the meaning of the problem considered, technological conditions, and technical requirements, we will assume that are restrictions on the identified functions and parameters:

0 <%ks < lks, q < qloss (t) < q, t e[^, T],

where q, q are the given quantities.

As is seen, as to the determination of the points and rates of leakages the posed problem is the problem of parametric optimal control of an object described by a hyperbolic system. For its solution we use numerical methods (projections of the conjugated gradient) based on iteration procedures of first order optimization. To carry out this procedure, we obtain formulas for the gradient of functional (7). If as a result of the solution of posed problem we obtain that qloss (t) <s, t e [t, T], this will mean that in this section of the pipeline network there is no leakage of raw material.

IV. Results of numerical experiments

We consider the following specially constructed test problem for oil pipeline network consisting of 5 nodes, as shown in figure 2. Here N = 6, M = 5, If = {1,3,4,6}, N, = 4, Nint = 2.

There are no external inflows and outflows inside the network. We assume that in the course of 30 min we observe the process (mode of operation of pumping plants at the ends of the sections) of oil transportation with the kinematic viscosity v = 1.5 -10 4 (m2/ s) and density

p = 920(kg / m3) (2a = 0.017 for case being considered; the sound velocity in oil is 1200 ( m / s)) in the sections of pipeline of diameter 530 (mm), of the lengths of the segments:

l(1'2) = 100 (km),l(5,2) = 30 (km),l(3,2) = 70 (km),l(5,4) = 100 (km),l(5,6) = 60 (km) .

-O

(5,4)

O-

(5,6)

o-

[4] [5] [6]

Fig.2: The scheme of oil pipeline network with 5 nodes

Let there was regime in the pipes at initial time instance t = 0 with the following values of pressure and flow rate in the pipes:

P1,2(x) = 23 00000-5.8955% (Pa), P5'2(x) = 1745669-1.17393% (Pa),

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

P3,2 (x) = 1827844-1.677043% (Pa), P54 (x) = 1827844-2.35786% (Pa), P5,6 (x) = 1827844-0.94415%

(Pa).

Q12 (x) = 300 (m31 hour), Q 52 (x) = 200 (m3/h°ur), Q32 (x) = 100 (m3/ hour),

Q5,4(x) = 120 (m3/hour), Q5,6 (x) = 80 (m3/h°ur), Let the oil flow rate at the ends of this pipeline section be defined by the functions:

Po(t) = 2000000+300000 ¿r00003' (pa), P3 (t) = 1900000-72156 ¿r0 0004' = (pa), Pi (0 = 1800000-66571 e-°-0007i ( pa), Pf (t) = 1600000+86372 e'omo2t ( Pa).

On the assumption that the point of leakage is located at the point % = 30 (km) of the first section of pipeline network and the rate of leakage is determined by the function qi°ss (t) = 50 — 10e 0 0003t (m3/h), we solved the boundary-value problem (1)-(5) numerically and determined the numerical values of pressure at the ends of the section Pn (t), n e If. Thereafter,

with the aid of the probe of uniformly distributed random numbers these values were changed within 2% (to simulate the error of measurements) and used as the observed regimes of the process. The point and rate of leakage %, q'°ss (t) "forgotten" in this case.

To determine %, q'°ss (t), we used the method of the projection of conjugate gradients. The numerical solution of the boundary-value problem (1)-(5) was made using the scheme of the sweep method introduced in [10], on the grids with the steps hx = 10m and ht = 100 (sec)

Table 1 presents the obtained results of the minimization of functional (7) for different initial values of the identified parameters (%, ql°ss (t))0, as well as the required number of iterations (one-dimensional minimizations) of the method of projection of conjugate gradients. Here are the results of solving the problem under the conditions that the observed values of the flow rate at the ends of the network have measurement errors.

For this experiment, to generate observations for the inverse problem, by using a random number generator we add noises 'HXiQ" (t,) to the values

Qm (ti) = Qm (ti;%, q), ti = iht, m e ~qf, i = 1,..., Nt obtained by solving the direct problem, where - random variable, uniformly distributed on a segment [-1,1], i = 1,..., Nt, ij takes

values equal to 0.0, 0.005 and 0.01, which corresponds to the noise level when measuring flow

~ f

rates in vertices I f respectively in 0% (without noise), 0.5% and 1% from the measured value.

We use the following designations in table 1: % (1,2) - obtained leak location value, 30 -initial value of the functional, ~ - the resulting optimal value of the functional, Niter - the number of iterations (one-dimensional minimizations) required by the conjugate gradient

projection method, S^(1'2) = -£(12) |/b(U). Sq(u) = max | q (u)*(t) - ~(u)(t)|/| q (u)(t)|

fc[to.T ]

- relative error values, respectively, at the location of leakage and its volume.

As can be seen from Table 1, an increase in the accuracy of measurements most significantly

affects the accuracy of determining the volume of leaks, but in general, the order of error of the

obtained values of the identified parameters is the same as the order of measurement error.

Table 1: The results of numerical experiments

\ 2) bo 60 20 90 10 45,685

q 012)(t) 90 -ioe-00003' 20-lOe^0003' 30 -lOe-00003' 66 + 20e-00003' 66 + 20e-0 0003'

76.104 16.704 11.664 42.48 57.636

5 5.7340"7 1.2640-7 3.1940-6 1.8540-6 7.4340-7

0% £(U) 30.003 29.998 30.008 29.994 29.998

N ' iter 6 5 16 14 8

0.00009 0.00006 0.0003 0.0002 0.00006

Sq(12) 0.0003 0. 0006 0.0003 0.0002 0.0003

5o 76.352 16.837 11.683 42.148 57.732

0.5% 5 0.023 0.014 0.024 0.017 0.020

£(U) 29.841 30.332 30.068 29.654 29.796

N 1 v iter 6 5 14 12 7

S£d.2) -0.005 0.011 0.002 -0.011 -0.006

Sq(12) 0.043 0.030 0.049 0.041 0.042

5o 77.119 16.924 11.832 43.744 57.413

5 0.067 0.071 0.073 0.062 0.065

1% (~(1.2) 28.527 29.392 29.923 30.597 29.839

N ' iter 6 5 14 12 7

S£d.2) -0.049 -0.020 -0.002 0.020 -0.005

Sq(12) 0.109 0.092 0.107 0.094 0.093

Figure 3 shows the graphs of the exact leak function and the resulting loss functions when solving problem assuming the presence of a leakage.

40,1 40,08 40,06 40,04 40,02 40 39,98 39,96

0 5 10 15 20 25 30 35 -q_loss----1 ..............2 -3----4 -----5

Fig.3: The exact and experimental time dependences of raw material leakage.

V. Conclusion

We propose a numerical solution to an inverse problem in the hydraulic network of complex loopback structure in the paper. The problem consists in determining the places and volume of leakage in the presence at some points of the pipeline the results of additional observations on non-stationary regimes of fluid flow. We reduce the stated problem to the parametric optimal control problem with unknown initial and non-separated boundary conditions, and use numerical methods of first-order optimization to solve the problem. The results of numerical experiments are given.

References

[1] Evtushenko Yu. G., Methods for Solving Optimization Problems and Their Applications in Optimization Systems ("Nauka", Moscow, 1982) [in Russian].

[2] Oyedeko K.F.K. Balogun H.A Modeling and Simulation of a Leak Detection for Oil and Gas Pipelines via Transient Model: A Case Study of the Niger Delta. (2015). Journal of Energy Technologies and Policy. 5:1. https://iiste.org/Journals/index.php/JETP/article/view/19389/19532

[3] Samarskii A.A. and Vabishchevich P.N., Numerical Methods for Solving Inverse Problems in Mathematical Physics (LKI, Moscow, 2009) [in Russian].

[4] Charnyi I.A., Unsteady Flows of Real Fluids in Pipelines (Nedra, Moscow, 1975) [in Russian].

[5] Chaudhry H.M. Applied Hydraulic Transients. Van Nostrand Reinhold, New York ,1988.

[6] Aida-zade K.R. and Ashrafova E. R. Localization of the points of leakage in an oil main pipeline under non-stationary conditions. (2012). J. of Eng. Phys. and Therm. 85:5:1148-1156. https://doi.org/10.1007/s10891-012-0757-z

[7] Aida-zade, K.R., Ashrafova, E.R. Numerical Leak Detection in a Pipeline Network of Complex Structure with Unsteady Flow. (2017). Comput. Math. and Math. Phys. 57:1919-1934. https://doi.org/10.1134/S0965542517120041

* / ¿a -j^gr ---------

^K'/f - ■.__

n/s 1

1 1

[8] Wichowski R. Hydraulic Transients Analysis in Pipe Networks by the Method of Characteristics (MOC). (2006). Archives of Hydro-Engineering and Environmental Mechanics. 53:3:267291.

https://www.infona.pl/resource/bwmeta1.element.baztech-article-BAT3-0039-0044/tab/summary

[9] Ashrafova E.R. Numerical investigation of the duration of the effect exerted by initial regimes on the process of liquid motion in a pipeline. (2015). J. of Eng. Physics and Therm. 88:5:1-9. https://doi.org/10.1007/s10891-015-1305-4

[10] Aida-zade K.R. Ashrafova Y.R. Solving systems of differential equations of block structure with nonseparated boundary conditions. (2015). J.of Applied and Industrial Mathem. 9:1:110. DOI: 10.1134/S1990478915010019

i Надоели баннеры? Вы всегда можете отключить рекламу.