원시데이터 수집 시스템
선정목록으로

Possible leakage detection level in transmission pipelines using improved simplified methods

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. P. Ostapkowicz
  2. A. Bratek
DOI
10.17531/ein.2016.3.20
저널
Eksploatacja i Niezawodnosc - Maintenance and Reliability
발행년도
2016
발행기관
Polskie Naukowo-Techniczne Towarzystwo Eksploatacyjne
피인용수
10
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.17531/ein.2016.3.20
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W2468737981

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 67,799자

본문 펼치기
Article citation info: Ostapkowicz P, Bratek A. Possible leakage detection level in transmission pipelines using improved simplified methods. Eksploatacja i Niezawodnosc – Maintenance and Reliability 2016; 18 (3): 469–480, http://dx.doi.org/10.17531/ein.2016.3.20. ### Paweł Ostapkowicz Andrzej Bratek ## Possible leakage detection level in transmission pipelines using improved simplified methods Weryfikacja możliwego poziomu wykrywalności wycieków w zakresie zastosowania zmodyfikowanych uproszczonych metod diagnostycznych* _This paper deals with issues of detecting leaks in liquid transmission pipelines. It presents an overall comparison of three im-_ _proved simplified methods, i.e. correlation analysis of pressure and flow rate, pressure monitoring and volume balance. Besides_ _the well-known solutions, the authors also propose a detection algorithm with a new process variable structure and with two_ _options of a resulting function. These methods do not require a complicated mathematical model and highly specialist measur-_ _ing hardware. Their application and maintenance are easy and low cost. The interest of this paper is to determine the leak-_ _age detection level, when these methods are used for diagnosing single leakages under steady-state operating pipeline’s condi-_ _tions. The assessment, carried out on a laboratory water pipeline, was based on two performance indexes, i.e. a magnitude of_ _a minimal leakage, which can be detected and the response time, i.e. time between the moment of beginning (occurrence) of leak-_ _age and the moment when it has been detected. The obtained results proved a high efficiency of proposed techniques in detection_ _of leaks._ _Keywords_ _: fault detection, pipelines, leak detection methods, leakage detection level._ _Artykuł dotyczy zagadnień diagnozowania wycieków z rurociągów przesyłowych cieczy z wykorzystaniem metod, które bazują na_ _pomiarach wewnętrznych parametrów przepływu (zmiennych procesowych), tj.: strumienia i ciśnienia. Artykuł prezentuje porów-_ _nanie trzech zmodyfikowanych uproszczonych technik, tj.: analizy korelacyjnej sygnałów ciśnienia i przepływu, monitorowania_ _zmian ciśnienia i bilansu strumieni. Oprócz uprzednio znanych rozwiązań autorzy proponują również rozwiązanie algorytmu_ _detekcyjnego o nowej strukturze zmiennych i o dwóch wariantach funkcji wynikowych. Metody nie wymagają zastosowania skom-_ _plikowanych modeli rurociągu, cechuje je niski koszt w sensie wymagań dotyczących urządzeń pomiarowych oraz łatwa realizacja_ _i obsługa. Obszarem zainteresowania niniejszego artykułu jest określenie dla proponowanych metod wskaźników jakościowych,_ _w przypadku diagnozowania pojedynczych wycieków w stanach ustalonych. Taka ocena dotyczy w szczególności ustalenia możli-_ _wego poziomu wykrywalności wycieku, tj. minimalnej wielkości wycieku, który może być wykryty. Innym określanym parametrem_ _jest tzw. czas odpowiedzi, tj. czas od momentu wystąpienia wycieku do jego wykrycia. Podstawę weryfikacji stanowiły badania_ _eksperymentalne przeprowadzone na stanowisku z modelem fizycznym rurociągu. Uzyskane wyniki potwierdziły wysoką skutecz-_ _ność proponowanych technik wykrywania wycieków._ _Słowa kluczowe_ _: wykrywanie uszkodzeń, rurociągi, metody wykrywania wycieków, poziom wykrywalności_ _wycieków._ 1. Introduction Liquid transmission pipelines may suffer from damages, which might result in leakages. Therefore, Leak Detection System (LDS) is an indispensable equipment of a pipeline installation. The main purpose of such system is to detect, locate, as well as determine the magnitude of occurred leak. Most popular LDS are developed with the use of diagnostic methods, which are based on measurements of internal flow parameters, i.e. flow rate, pressure and fluid temperature. In the literature such methods are called _internal (analytical, indirect) methods_ [2, 11, 17]. The implementation of leak diagnosis process is a rather complex issue. The existing internal methods, whose review might be found in the papers [4, 10, 11, 17, 19], on their own are not able to fulfill all mentioned above diagnostic tasks. Their utility is limited to certain, defined operational pipeline’s states and leaks’ characteristics. Thus, elaboration of effective and reliable LDS requires applying of at least several internal methods working concurrently [17]. Taking into account that a LDS should first detect a leak, internal methods, which are responsible for this diagnostic task, acquire particular significance. In practice, one or several methods must be used to increase the reliability of LDS, which is defined as a degree of pipeline’s operators confidence, i.e. absence of false alarms and also system’s ability to detect any kind of occurred leak. The most advanced solutions, aimed at leakage detection, are based on process dynamics models. An example of this method is the _inverse analysis method_ [9, 19] and also so called methods with _auto-_ _matic control approach_ [1, 2, 10, 11, 16, 18]. Without doubt, the main advantage of both groups of methods is the ability to detect leaks in steady states as well as in transition states, resulting from a change in pipeline’s operational conditions such as: an operating point change, valve’s aperture and closure, pump’s start-up or stoppage. However, (*) Tekst artykułu w polskiej wersji językowej dostępny w elektronicznym wydaniu kwartalnika na stronie _www.ein.org.pl_ Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 469 Science and Technology these methods are quite complex and their practical application involves solving many problems, which relate to constructing pipeline’s mathematical model and developing its solutions, precise applying of diagnostic process methodology and appropriate diagnostic means. In case of _inverse analysis methods_, their general idea consists in a comparison of model-generated data with measured data, i.e. minimizing the obtained deviations to enable leak detection and its localization, and depends on proper model fitting. Pipe’s flow dynamic modelling mainly involves applying non-stationary equations of continuity and motion for fluids. In practice, it might be required to perform specific tests, which consist in enforcing transitional states in a shape of pressure impulses, generated by a valve’s closure on the outer point of the pipeline [19]. Such tests significantly simplify pipeline’s dynamics description, include leak’s modelling and facilitate solving systems of equations due to better understanding of boundary conditions. However, in order to perform these tests correctly, it is necessary to control appropriately the valve’s closure process, which is raised in [9]. Closing a valve on an operating pipeline always may be risky. Therefore, it might be required to introduce certain constraints to operating conditions in real-life i.e. decreasing the pressure values and volume of liquid. In methods considered within context of _automatic control_, the mathematical model of liquid flow dynamics is mainly described in the state-space. A common solution is an implementation of state observers, which estimate process variables, for example, the flow rate at pipeline’s inlet and outlet [1, 2, 10, 11] or other parameters to describe the flow e.g. the friction coefficient [2, 10, 11]. By applying a specific leak detection algorithm, it is possible to get the leak diagnosed and an alarm generated. Considering a performance, in both mentioned above groups of methods, it creates strong requirements that measurement systems must meet. This results in high costs of LDS, related to the need of using the appropriate quantity of precise measurement instruments, well synchronized data transmission system and powerful computers. Such LDS should also be operated by high qualified staff. Consequently, instead of these methods, simpler solutions are being used, including: mass balance, pressure/flow monitoring, pressure wave detection and correlation analysis of measured signals. In general, each method considers a single hydraulic phenomenon related to the leak occurrence which is the base to elaborate appropriate algorithms to detect leakages. Such simplified detection algorithms (SLDA), aimed at single leak detection in liquid transmission pipelines, consist the main area of focus of this paper. The important advantages of SLDA are relatively low cost and ease of implementation. Taking into account other features, such as: duration of tests, disruption to normal system operation, complexity of the instrumentation, which according to [3] all together consist the comparison criteria for different leak diagnostic methods, in case of SLDA they also give satisfying results. From practical point of view, it is also worth seeing the SLDA implementation as an element of LDS. In a LDS even a single SLDA could be used, for example, on the basis of the mass or volume balance principle. However, more often a few SLDA are used, which, thanks to a proper synchronization, should verify each other and/or complement each other. This should result in being able to detect leaks not only in the state of steady flow, but also in other operational conditions during low operational transients. SLDA may be a part of more complex leak detection procedures, which use the mathematical models of liquid flow dynamics. The last solutions can be found in papers [1, 2, 10, 11]. In the paper [1] the comparison of the two advanced algorithms can be found. An algorithm configured on the above schema as a SLDA combination, “due to its good performance and good reliability is more appropriated to be implemented in industrial controllers”, than the second one, which is far more computationally sophisticated. Besides mentioned above characteristics, independently from using complex or simplified leak detection techniques, their practical usefulness is decided mainly on their efficiency. This is defined as the ability to detect a given volume of leakage in determined timeframe and with minimal number of false alarms. According to [18], pipeline’s operators are interested in LDS solutions, which would enable leak detection of less than 1% nominal flow intensity. It would be better if such results were achieved both in steady state conditions and transient states. The operators are also interested in the evaluation of the smallest detectable leak, which might be achieved for a determined detection algorithm. SDLA effectiveness depends on many factors, e.g. algorithm’s structure. By the algorithm’s structure we consider the overall elaborated solution of a given diagnostic method. This includes configuration of measurement devices (their number, location), their metrological characteristics (precision), signal sampling, measurement conditions (noise and distortion level) and techniques implemented for data processing and analysing, as well as the selection of the alarm thresholds. In relation to a pipeline, the following factors are significant: topography (e.g. diameter and length), a type of liquid (density, velocity of a pressure wave), flow conditions (flow and pressure rate). Moreover, essential also are the leak parameters, i.e.: its location, size (intensity), the nature of occurrence (rapid leaks or slowly increasing leakages), but also the size of a pipe damage and its development. The analysis of these issues might be found in papers [3, 7]. Unfortunately the effectiveness of commonly used nowadays SLDA is often below the expectations. In this paper we are interested in applying SLDA to diagnose singular liquid transmission pipeline leak in steady states. An example of such SLDA, which uses the negative pressure wave detection method, can be reviewed in [7]. The algorithm processes data obtained from two pressure sensors located at the inlet and outlet of a pipeline. Its performance assessment, which takes into account the smallest detectable leak, was based on carried out simulations, in which mathematical description for the amplitude change of negative pressure wave was used, being supplied by defined pipeline’s parameters. The achieved smallest detectable leak, which amounted to about 1.4% of the nominal mass flow, overpasses however the reference value (i.e. 1%). Another SLDA system, which uses the mass-balanced leak detection method with correlation analysis, is presented in [10]. The algorithm runs on the basis of the mass flow rate measured only at the inlet and the outlet. It was experimentally verified on a gasoline pipeline. The presented results relate to only a single experiment, where the intensity of detected leak is 0.19% of the nominal mass flow rate. It is worth highlighting that the SLDA are discussed or mentioned also in many other papers [5, 12]. Nevertheless, not always these papers encompass and present all information about their particular solutions and their effectiveness relating to the smallest detectable leak, which might considerably impede their potential analysis, modifications and implementation. Considering the existent SLDA, we may notice that the effectiveness of similar solutions, in the sense of their overall methodology, might significantly vary. The authors consider applying an adequate solution structure of SLDA as a way to have SLDA effectiveness improved. Therefore, the main goal of this paper is to present an overall comparison of a few modified SLDA solutions, taking also into account, the evaluation of their effectiveness. The presented set of detection algorithms is characterized by the fact that they combine different process variables i.e. flow and pressure signals, commonly measured at transmission pipelines. Besides the well-known solutions, the authors also propose a detection algorithm with a new variable structure and with two options of a resulting function. All presented SLDA solutions are focused on detection of a single leakage in a liquid transmission pipeline in steady state conditions. 470 Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 Science and Technology It is worth mentioning that the authors focus especially on the leak detection issue. A great deal of attention is paid to the leak detection itself. This task is considered to be the most crucial activity from the LDS standpoint as it is the first, mandatory step to be completed in order to perform the leak position and flow estimation. Nevertheless, the leak localization was also considered in this paper, whereas estimation of a size of leakage was skipped in the presented results. The proposed algorithms were tested in experiments carried out on a laboratory pipeline in a wide range of leak simulations. The basis of the evaluation was established by two primary performance indexes: the _smallest leakage detection level_ and the _detection response_ _time_ . These parameters are directly related to the leak detection issue. While determining a leakage point, a location error was defined as a estimation’s precision parameter. The smallest detectable leak, which were achieved with elaborated algorithms, are lower than the defined reference value. According to the authors, solutions presented in this paper for modified SLDA improved leakage detection techniques (algorithms) - and their results may provide valuable information for pipeline’s operators. This paper is organized as follows: the second chapter presents a description of typical measurement equipment of the transmission pipelines. The third chapter describes hydraulic phenomena related to leak occurrence. In the next section, the basic problems encountered during leak detection are discussed. The detailed description of the proposed algorithms might be found in the fifth chapter. The sixth section presents the laboratory pipeline and experiments’ program overview. The next two chapters present the achieved results in diagnostic of simulated leaks and discuss the aspects of implementation of proposed algorithms in practice. Finally, overview of conclusions and some suggestions for future research are presented. 2. Pipeline measuring equipment Assuming that a tight pipeline operates under stationary conditions, the pressure and flow rate along the pipe have stabilized values with low levels of fluctuations. Event of leak leads to changes of pressure and flow in the pipeline. At the beginning, a pressure drop takes place in the leak point. Afterwards, the pressure drop in the form of a negative wave propagates in both directions of the pipeline with the speed of sound. The profile of pressure wave propagation depends on the location of the leak, its size and the way it increases (which, in turn, depends on the development of damage to the pipeline). In case of sudden leaks (whose flow rate reaches the nominal value in short time after the moment of their occurrence), waves have clearly visible fronts (Fig. 1a). For slowly increasing leakages, where pressure changes have milder character, wave fronts have a smother shape (Fig. 1c). Behind the wave front, the longer the distance is from the leak point, the smaller the pressure drop is in the pipeline. The observed pressure drops depend on the size of leakage, its position, and flow conditions. Medium flow in the pipeline gets stabilized for a while after the occurrence of leakage with a new steady-state operating point. Comparing to the state before leakage, the flow rate in the section between the inlet and the leak point has increased, and the flow rate in the section from the leak point to the outlet has decreased (Fig. 1). The liquid transmission pipelines are usually equipped with flowmeters and pressure transducers, installed at the inlet and outlet. Moreover, additional pressure sensors are often installed at regular intervals along the pipeline. The purpose of these sensors is to reduce the detection response time and improve the accuracy of the leak location. Whereas measuring systems are the basis of SCADA (Supervisory Control and Data Acquisition) systems, which are used in pipelines to monitor and control pumping process, LDS system is usually their additional module. _Fig. 1. Plots of sensor’s signals at the laboratory pipeline with a single leak:_ _p_ 1,..., _p_ 6 _- pressure_ _along the pipeline,_ _qin_ _,_ _qout_ _- flow rate at the inlet and outlet; Clear changes in measure-_ _ment signals’ trends are caused by a large leak simulated at_ _t_ = _tleak_ _. These may be found in_ _case of a sudden leakage: a) pressure, b) flow rate, and a slowly increasing one: c) pressure,_ _d) flow rate._ The diagnostic data information, i.e. the measured pressure and flow rate signals, required by the leakage detection systems, should be continuously provided with defined sampling time _TP_, without significant time delays. Moreover, the measurement systems should be error and noise resistant. However, the above mentioned disturbance issues might appear in case of long range transmission pipelines. According to [20], it is quite common, when only some useful measurement data is available. 3. Description of the leak phenomenon Typical relationship between pressure (measured at the inlet and the outlet, and also at several points along the pipeline) and flow rate signals (measured at the inlet and the outlet) in the liquid transmission pipeline, before and after the occurrence of leak, is shown in Figure 1. 4. Problems faced in leak detection Profile and clarity of changes in measured pressure and flow rate signals (resulting from the course of leak phenomenon and metrological characteristics of measuring devices) essentially determine the leak detection level. Such an exemplary situation is shown in Figure 2. The plots present the pressure and flow rate histograms in an experimental pipeline (which description can be found in section 6) initially operating in steady state conditions. Later the sudden leak of a 0.45% nominal flow rate was simulated at the point close to the middle of the pipe’s length. We might observe that the pressure and flow rate variations are hardly noticeable, which is caused by a considerable level of noise in the signals. We need to comment that pressure and flow rates in Figure 2 are not expressed in the SI units, but in the units that clearly represent flow’s characteristics in the pipeline (pipeline’s operators commonly Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 471 Science and Technology use the non SI units – e.g. m <sup>3</sup> /h as well). These units are also used through the next sections of this paper. b) two pressure signals measured at the inlet and outlet of the pipe line, c) two pressure signals measured at the inlet and outlet, and ad ditionally at several points along the pipeline. _Fig. 2. Plots of measurement data collected on the laboratory pipeline for a_ _small, sudden leakage:_ _pin_ _,_ _pout - pressure at the inlet and outlet,_ _and_ _qin_ _,_ _qout_ _- flow rate at the inlet and outlet respectively. Due to_ _considerable level of noise in the data, it is difficult to notice small_ _changes, provoked by the leakage, in the observed signal trends. The_ _leakage of about 0.45% of the nominal flow rate was simulated close_ _to the middle of the pipe’s length at the time_ _t_ = _tleak_ _._ 5. Theoretical characteristics of compared solutions The proposed modified SLDA solutions are based on using measurement signals mentioned about in the chapter 2. They involve the following methods: –– correlation analysis (labeled “method I”), –– pressure monitoring (labeled “method II”), –– volume balance (labeled “method III”). The presented descriptions of proposed solutions might be a basis of their practical application. The structure of each algorithm, besides their general likeness, is characterized by the application of significant different elements. Their basis is the correlation analysis. Such analysis in consecutive steps of calculations considers data vectors, which are constructed on the basis of the shifting time windows. The calculated variables (i.e. residua) are window’s data instead of the raw measured diagnostic signals. The proposed solutions of algorithms consider two configurations of time windows: with different steps of their shifting defined by the determined volume of signal samples. While building both window configurations, not only the speed of leak detection was considered, but also the need of computing power. The detailed solutions of all algorithms are discussed in the following part of this subchapter. At the beginning, measured diagnostic signals _xn_ (suitably: _qn_ - flow rate signals, _pn_ - pressure signals; where: _n_ = 1,..., _j_ - point number, _j_ - amount of measuring points) being selected for the analysis are transformed into variables ∆ _xn_ . Variables ∆ _xn_ represent deviations (residua) and are calculated as the differences between the signal current values _xnk_ and their reference values _~~x~~_ _nk_, according to (1). The reference values are calculated by applying a low pass recursive filtering such as recursive averaging with fading memory (exponential smoothing), according to the formula (2). ∆ _xnk_ = _xnk_ - _~~x~~_ _nk_ (1) where: _xnk_ - the value of the measured signal in the moment _k_, _~~x~~_ _nk_ - the reference value in the moment _k_, _k_ = ( α⋅ _~~x~~_ _nk_ - 1) + ((1 −α ) ⋅ _xnk_ ) (2) _n_ _n_ _k_ 5.1. Method I _~~x~~_ _nk_ = ( α⋅ _~~x~~_ _nk_ - 1) + ((1 −α ) ⋅ _x_ The proposed technique is based on correlation analysis. In contrast to similar solutions discussed in papers [1, 2, 10, 11], the authors propose to use the correlation analysis not only with regards to flow rate signals, but also to pressure signals [14, 15]. Using pressure signals is aimed at reducing the time required to detect a leak. Considering the pipeline’s dynamics, pressure signals may sooner identify a leakage occurrence, than flow rate signals. This can be clearly noticed if we compare the signals measured at the pipe’s inlet and outlet (see Fig. 1). Taking into account additional pressure sensors mounted along a pipeline, there is a possibility to detect a leak even quicker. The algorithm based on the use of pressure signals may work independently. However, we need to remember that the pressure changes in a pipeline not always are a consequence of the leak occurrence. Similar symptoms of a leak, e.g. characteristic also for the wave propagation, might be observed for other flow conditions caused by valve regulation. It is difficult to differentiate them, what is mentioned by [12]. In order to avoid generating false alarms and increase credibility of a diagnosis, apart from using the algorithm, which is based on pressure signals, the second algorithm, based on flow rate signals, working concurrently may be applied. Taking into account the above assumptions, a few SLDA were elaborated. All of them use the following different configurations of diagnostic signals: a) two flow rate signals measured at the inlet and outlet of the where: _~~x~~_ _nk_ - 1 - the reference value in the moment _k_ - 1 resulting from the applied sampling time _TP_, _xnk_ - the value of the measured signal in the moment _k_, α - filter correction factor 0 < α < 1 . The use of the variables ∆ _xn_ instead of _xn_ allows to avoid the necessary adjustment of relatively large changes of the alarm thresholds, resulting from the inherent fluid dynamics changes, which for example relate to changes of the pipeline operating point. It is quite easy to calculate them considering that the reference values are obtained using the described low pass filtering. According to the practice [10], such approach is efficient with regards to steady states (normal operation). Potentially it might be also applied to some inconsiderable transient states. The used filtering also, to some extent, enables eliminating noise effects and slow drift effects (drifting measurements), what is mentioned about in [10]. For comparison, the algorithm presented in paper [1], which uses the residua defined on the basis of flow rate signals measured at the pipeline’s inlet and outlet, requires far more complex calculations as reference values are estimated using a mathematical model of flow dynamics. Adopting such approach for leak diagnosis in steady states is not required. It is also worth mentioning that the residua are also used in leakage diagnosis methods for pipeline’s networks, especially for water distribution networks [8]. The way of their calculations is different, because these are the differences between the measured values and reference values but the other ones concern the approximated states without leakages. pipeline, 472 Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 Science and Technology Next, the pairs of the variables, defined according to the formula (3), are created. The individual pairs correspond to consecutive meas uring points ∆ _xn_ located along the pipeline, together with the neigh boring point ∆ _xn_ + 1, counting towards the end of the pipeline: _U_ _xs_ = 1,..., _j_ - 1 = {∆ _xn_ = _s_, ∆ _xn_ + 1 = _s_ + 1 } (3) where: _s_ - variable pairs number, _j_ - total amount of measuring points <sup>_z_</sup> _n_ <sup>(analyzed signals</sup> _xn_ ). For individual pairs of the variables _U_ _xs_ cross-correlation functions are determined. There are taken into account here functions with variable delay time, i.e. _cross-correlograms_ (4), additionally estimated. These functions, which are vectors of about 2 _N_ - 1 ele ments, are calculated for _N_ sample long data vectors (time windows) of variables ∆ _xn_ and ∆ _xn_ + 1 . Number of samples _N_ in the window includes period _k_ −τ, _k_ . The shift value τ is determined knowing the dynamics of leak phenomenon (the velocity of the pressure wave propagation in given section of the pipeline, which included analyzed measuring points, is taken into account) and distances between meas uring points which are related to analyzed variables ∆ _xn_ ∆ _xn_ + 1 . <sup>and</sup> In case of flow rate signals, due to more slow character of their changes, the shift value τ should be greater then for pressure signals. Time windows with different moving mode may be used, what is presented in Figure 3. In case of both types of windows, current leak detection assessment, i.e. in moments _k_ and _k_ + 1 relates to the last sample in window: _R_ ∆ _xn_ ∆ _xn_ + 1 ( _m_ ) _s_ = _N_ <u>1</u> _R_ ˆ ∆ _xn_ ∆ _xn_ + 1 ( _m_ - _N_ ) _s_ (4) where: _m_ = 1,2,...,2 _N_ - 1 . _Fig. 3. Schemes of used time windows_ Next, for the obtained functions (4), if flow rate signals are analyzed then average value (5a) is calculated and if pressure signals are analyzed then maximum value (5b) is calculated: where: _Rf_ ˆ _xsk_ - 1 - the reference value in the moment _k_ - 1 resulting from the applied sampling period _TP_, β - filter correction factor 0 < β < 1. In states without leakage values of the individual functions _Rf_ <sup>ˆ</sup> _xs_ are close to zero. If the analysis concerns only two flow rate signals _qn_ ( _in_ ) and _qn_ + 1( _out_ ) ( _s_ = 1 ), as result of the occurrence of the leakage a value of the function _Rf_ <sup>ˆ</sup> _q_ decreases and becomes negative, because of +∆ _qn_ ( _in_ ) and −∆ _qn_ + 1( _out_ ) . A leak alarm is generated, when the func tion _Rf_ <sup>ˆ</sup> _q_ exceeds its alarm threshold _Palq_, according to the condition (7): _Rf_ ˆ _q_ < _Palq_ (7) If the analysis concerns only two pressure signals _pn_ ( _in_ ) and _pn_ + 1( _out_ ) ( _s_ = 1 ), as result of the occurrence of the leakage a value of the function _Rf_ <sup>ˆ</sup> _p_ is increasing and becomes positive, because of −∆ _pn_ ( _in_ ) and −∆ _pn_ + 1( _out_ ) . A leak alarm is generated, when the func tion _Rf_ <sup>ˆ</sup> _p_ exceeds its alarm threshold _Pal_ _p_, according to the condi tion (8): _Rf_ ˆ _p_ - _Pal_ _p_ (8) However, if the analysis concerns larger number of pressure sig nals _pn_ ( _s_ - 1 ), the average value (9) is calculated on the basis of the set of individual calculated variables _Rf_ <sup>ˆ</sup> _ps_ : _s_ = _j_ 1 = _j_ <u>1</u> _s_ = _j_ - 1 _Rf_ ˆ _pall_ = _j_ - 1 _s_ ∑= 1 _Rf_ ˆ <u>1</u> = _j_ - 1 _s_ ∑= 1 _Rf_ ˆ _ps_ (9) <u>1</u> _Rf_ ˆ _pall_ = _j_ - 1 _s_ ∑= 1 _Rf_ ˆ _ps_ 1 _R_ ˆ _qsk_ = 2 _N_ <u>1</u> + 1 _mm_ ==∑ _kk_ +− ττ _R_ ∆ _qn_ ∆ _qn_ + 1 ( _m_ ) _s_ τ τ = _k_ + τ _R_ ˆ _qsk_ = 2 _N_ <u>1</u> + 1 _mm_ ==∑ _kk_ +− ττ _R_ ∆ _qn_ ∆ _qn_ + 1 ( _m_ ) <u>1</u> = 2 _N_ + 1 _m_ =∑ _k_ - τ _R_ ∆ _qn_ ∆ _qn_ + 1 ( _m_ ) _s_ (5a) Next, the condition (10) which defines the possibility of the occurrence of a leakage, is checked: _Rf_ ˆ _pall_ - _Pal_ _pall_ (10) Below there is another algorithm presented, which considers slightly different way of processing the same flow rate variables. In general, it is aimed at improving the leak detection level by resolving some problems we might be faced with, which are discussed in chapter 8. The novelty of the proposed solution consist in using new vari ables _dq_ and _d_ _~~q~~_, calculated according to (11) and (12), instead of a pair of variables _U_ _q_ (3) as residua ∆ _qin_ (1) and ∆ _qout_ (2) (1): _dqk_ = _q_ 1( _in_ ) _k_ - _q_ 2( _out_ ) _k_ (11) _d_ _~~q~~_ _k_ = _~~q~~_ 1( _in_ ) _k_ - _~~q~~_ 2( _out_ ) _k_ (12) + # R ˆ psk = max { R ∆ pn ∆ pn + 1 ( m ) s } (5b) To eliminate disturbances the calculated value _R_ <sup>ˆ</sup> _xsk_ is filtered, by applying a low pass recursive filtering, according to the formula (6): _Rf_ ˆ _xsk_ = (β ⋅ _Rf_ ˆ _xsk_ - 1) + ((1 - β ) ⋅ _R_ ˆ _xsk_ ) (6) Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 473 Science and Technology where: _dqk_ - difference between the flow rate signals measured at the inlet and outlet of a pipeline, _d_ _~~q~~_ _k_ - difference between the refer ence values calculated according to (2). The next calculation’s steps correspond to previous dependencies (4), (5a) and (6), which may be expressed as (13), (14) and (15): _Rdqd_ _~~q~~_ ( _m_ ) = _N_ <u>1</u> _R_ ˆ _dqd_ _~~q~~_ ( _m_ - _N_ ) (13) where: _m_ = 1,2,...,2 _N_ - 1 . _R_ ˆ ' _qk_ = 2 _N_ <u>1</u> + 1 _mm_ ==∑ _kk_ +− ττ _Rdqd_ _~~q~~_ ( _m_ τ τ = _k_ + τ _R_ ˆ ' _qk_ = 2 _N_ <u>1</u> + 1 _mm_ ==∑ _kk_ +− ττ _Rdqd_ _~~q~~_ ( _m_ ) <u>1</u> = 2 _N_ + 1 _m_ =∑ _k_ - τ _Rdqd_ _~~q~~_ ( _m_ ) (14) function, which uses median filtering, the best solution is obtained for time windows showed in Figure 3a. 5.2. Method II and III In practice, the algorithms presented in the previous subchapter, based on the correlative analysis, require determined sampling frequency. The applied sampling should ensure the visibility of signal dynamics (i.e. change trend) related to the leak occurrence, which improves the effectiveness of such analysis. It is also necessary to use wide time windows, with the right shifting (e.g. overlapping windows).The simplified detection algorithms presented in this subchapter don’t require such conditions, in particular in respect to sampling of measured signals. In the first algorithm it is assumed that pressure _pn_ is measured at several points along the pipeline, where _n_ = 1,..., _j_ <sup>(</sup> <sup>_j_</sup> <sup>– the number</sup> of pressure sensors). This algorithm recalls the idea of Pressure Point Analysis [6], which was modified by altering the method’s structure and adopting a new approach towards all the pressure measurements. Instead analyzing a single measurement point, data gathered at all sensors is simultaneously taken into account. Such a solution should ensure the ability to detect a leak, which is no longer significantly dependent on a leak location. The second algorithm is based on the traditional _volume balance_ _approach_ [13], where it is assumed that flow rates _q_ 1( _in_ ), _q_ 2( _out_ ) are measured on the inlet and outlet of a pipe. The proposed solutions of both algorithms are characterized by the use of indicator functions _IF_, which create the basis for alarm generation. The approach adopted in the first index function _IFP_, which recalls in searching for a pressure drop produced by a leak, focuses on the comparison of the pressure over a fixed period of time. At the start, diagnostic parameters _pn_ are being transformed into variables _~~p~~_ _n_ by averaging within a time window of _N_ sample long: _Rf_ ˆ ' _qk_ = (β ⋅ _Rf_ ˆ ' _qk_ - 1) + ((1 - β ) ⋅ _R_ ˆ ' _qk_ ) (15) The proposed algorithm assumes that two functions might be re sponsible for leak detection: a _Rf_ <sup>ˆ</sup> ' _q_ function, obtained on the basis of the relation (15) or the result of its median filtration, i.e. a function _Rf_ ˆ " _q_, which corresponds to the relation (16): _Rf_ ˆ " _qk_ = _med_ [ _Rf_ ˆ ' _qk_ - _i_, _Rf_ ˆ ' _qk_ −+ _i_ 1,... _Rf_ ˆ ' _qk_,... _Rf_ ˆ ' _qk_ + _i_ - 1, _Rf_ ˆ ' _qk_ + _i_ ] (16) where: _N_ _A_ = 2 _i_ + 1 - number of samples. In no leakage situation values of the both functions _Rf_ <sup>ˆ</sup> ' _q_ and _Rf_ ˆ " _q_ are close to zero. A leak alarm is generated, when the particular functions _Rf_ <sup>ˆ</sup> ' _q_ and _Rf_ <sup>ˆ</sup> " _q_ exceed their alarm thresholds _Pal_ ' _q_ and _Pal_ " _q_, according to the conditions (17) and (18): _Rf_ ˆ ' _q_ - _Pal_ ' _q_ (17) _Rf_ ˆ " _q_ - _Pal_ " _q_ (18) Initially we can state that the proposed algorithm might not require any change in alarm thresholds for slow changes in pipeline’s flow conditions. An alternation of alarm thresholds might not be necessary as well in case of a change in pipeline’s operating point. However, it is important to alert such a situation in order to avoid false alarms being generated by the algorithm in transition states. Once the pipeline achieves the new operating point, i.e. new steady state conditions, residua function should be calculated again. If _Rf_ <sup>ˆ</sup> ' _q_ and _Rf_ <sup>ˆ</sup> " _q_ functions are still close to zero, it will mean the lack of leakage. On the contrary, respectively higher values of both functions might indicate a leak occurrence. The implementation of the _Rf_ <sup>ˆ</sup> ' _q_ function may consider two time window options, which are presented in the Figure 3. In case of _Rf_ <sup>ˆ</sup> " _q_ where: _ti_ - a time of the succeeding measurement sample. The next step is to calculate the deviations ~~∆~~ _~~x~~_ _n_ _~~p~~_ _n_ <sup>between</sup> boundary values of the reference window <sup>_T_</sup> _r_ <sup>long (Fig. 4), which is</sup> being moved over the time to follow measurement samples: ~~∆~~ _~~x~~_ _n_ ( _ti_ ) = _~~p~~_ _n_ ( _ti_ ) - _~~p~~_ _n_ ( _ti_ - _Tr_ ) (20) _Fig. 4. Scheme of_ _IFP_ _time windows_ The function _IFP_ is defined as the minimum value of deviations ~~∆~~ _~~x~~_ _n_, according to the formula: _IFP_ ( _ti_ ) = min { ~~∆~~ _~~x~~_ _n_ ( _ti_ ); _n_ = 1,..., _j_ } . (21) <u>1</u> _N_ - 1 ( _ti_ ) = ∑ _pn_ ( _ti_ - _k_ ) 1 - 1 <u>1</u> = _N_ _k_ ∑= 0 _pn_ ( _ti_ - _k_ ), (19) <u>1</u> _~~p~~_ _n_ ( _ti_ ) = _N_ _k_ ∑= 0 _pn_ ( _ti_ - _k_ = 0 474 Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 Science and Technology The second index function _IFQ_ utilizes the principle of mass conservation. This approach, in the simplified form of volume balance without compensation [13], is expressed with the following relationship: _N_ - 1 _N_ - 1 ( _ti_ ) = ∑ _q_ 2( _out_ ) ( _ti_ ) - ∑ _q_ 1( _in_ ) ( _ti_ ) _i_ = 0 _i_ = 0 1 _N_ - 1 _N_ - 1 _N_ - 1 _IFQ_ ( _ti_ ) = ∑ _q_ 2( _out_ ) ( _ti_ ) - ∑ _q_ 1( _in_ ) ( _ti_ _i_ = 0 _i_ = 0 = ∑ _q_ 2( _out_ ) ( _ti_ ) - ∑ _q_ 1( _in_ ) ( _ti_ ) . (22) _i_ = 0 _i_ = 0 Leakage simulations were performed under steady-state conditions of the pipeline. The results of the carried out experiments, which are presented in next chapters, were obtained for the following scenarios: –– the operating point settings of the pipeline: inlet pressure _pin_ ≈ 7.50 bar, outlet pressure _pout_ ≈ 1.35 bar, nominal flow rate _qnom_ ( _in_ = _out_ ) ≈ 140 l/min, temperature of pumped water ranging from 15 °C to 25 °C; –– sudden leakages with the size range between 0.1 and 10.0 % of the nominal flow rate _qnom_ ( _in_ = _out_ ), simulated at the selected points whose distance from the pipeline’s inlet was about 75, 155 and 235 m; –– two experiments were performed for each leakage value. The PC-based data acquisition system was used to acquire pressure and flow sensors’ signals with sampling frequency of _fP_ = 100 Hz. _Table 1. Characteristics of the measurement system_ devices pressure sensors flow rate sensors In non-leakage states functions _IF_ are close to zero. As a result of leakage occurrence, the index function decreases and has negative values. Its drop depends on the size of the leakage. Taking into account the calculation method of both functions _IF_ with data averaging, associated with specified time windows, their width should be enough large to obtain satisfactory calculation precision and limit the measurement errors and noise impact. Once the _P_ threshold limit is reached, the alarm is generated according to the below condition: _IF_ < _P_ . (23) 6. Test stand overview and experimental test scenarios The above presented solutions have been put through experimental tests. They were conducted on the test stand with a physical model of the pipeline (Fig. 5). The medium pumped through the pipeline was water. The pipeline is 380 meters long and is made of polyethylene (PEHD) pipes which are 34 mm in internal and 40 mm in external diameter. It consists of three sections each of which is over one hundred meter long. The sections: 0÷140 m, 140÷280 m and 280÷380 m, are joined with the use of special connectors of the same diameter as the pipeline. The pipeline is equipped with standard measuring devices: two electromagnetic flow meters (located at the inlet and outlet), six pressure transducers (at the inlet and outlet, and also in several points along the pipeline) and two thermometers. Sensors are connected to a PC provided with the 16 bit A/D converter NI PCI 6259. More information about the location and metrological characteristics of the sensors and the measurement system is shown in Table 1. In order to simulate leakages, proportional solenoid valves automatically controlled were used. range 0÷10 [bar] 0÷200 [l/min] accuracy 0.1 % of range 0.2 % of range uncertainty of ±0.012 [bar] ±0.44 [l/min] <u>measurement*</u> _* uncertainty of measurement = sensor + 16-bit converter_ 7. Aspects of using compared solutions during experimental tests 7.1. General assumption Comparison and assessment of three solutions, presented in the chapter 5, was performed based on the basis of practical diagnostic effectiveness for detection of simulated leakages. For each solution the following performance indexes were determined: _leakage detection level_ and _detection response time_ . The principal behind the evaluation was the ability to detect the smallest possible leakage in the shortest possible time, even under unfavorable conditions, i.e. with the substantial level of disturbance affecting the measured signals. In performed experiments the source of false alarms could be found in fluctuations and noises from the pumping (flow) of water through the pipe and measurement transducers. Other additional disturbances were not simulated. When determining leakage detection level for compared methods one should be aware that, among others, it depends on the obtained form of a diagnostic function (respectively: _Rf_ <sup>ˆ</sup> _q_, _Rf_ ˆ ' _q_, _Rf_ <sup>ˆ</sup> " _q_, _Rf_ <sup>ˆ</sup> _p_, _Rf_ ˆ _pall_, _IFP_, _IFQ_ ). The form of diagnostic functions should be characterized by suitably large change of their values in a state with leakage in comparison to a state without leakage. location [m] p1(in)=1 p2=61 p3=141 p4=201 p5=281 p6(out)=341 q1(in)=-6.5 q2(out)=382.2 form of a diagnostic function (respectively: _Rf_ <sup>ˆ</sup> _q_, Moreover, the question of appropriate choice of the alarm thresholds is one of crucial elements for proper operation of each solution. Alarm threshold values ​ had to be chosen in such a way that they ensure the absence of alarms for states without leakage. To meet the accepted criterion, on the one hand, the alarm thresholds values should have had sufficiently large margins to prevent generating accidental _Fig. 5. View of the pipeline_ Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 475 Science and Technology alarms in states without leakage. On the other hand, too large margins would make small leaks impossible to detect. In order to compare the methods, each experiment was analyzed according to the scheme presented in Figure 6. Diagnosing simulated leakages concerns period _Ttest_ . Period _T_ 0 was explored only to determine alarm thresholds. _Fig. 6. Time scenario of experiments, where:_ _T_ 0 _- period for the selection of_ _alarm thresholds margins,_ _Ttest_ _- period for the detection of simulated_ _leakages_ 7.2. Method I The method’s investigation considered different signal configurations, various settings of essential parameters and modes of data processing, i.e.: –– all configurations of diagnostic signals (labeled as “ _q_ ”, “ _p_ ”, “ _pall_ ”) discussed in chapter 5.1; –– calculation of the variables ∆ _xn_ (respectively: ∆ _qn_ - for flow rate signals, ∆ _pn_ - for pressure signals) in a period correspond ing to the sample time _TP_ ; –– two types of time windows shown in Figure 3a and 3b. Stand ard time windows (labeled as “A”) were moved with every single signal sample. No-standard time windows (labeled as “B”) were moved every _N_ / 2 signal samples, where _N_ denotes the number of samples in a window; –– different window lengths for particular configurations of diag nostic signals: _Nq_ = 500, _N_ _p_ = 200, _N_ _pall_ = 50 ; –– finding of _cross-correlogram_ (4) for variables ∆ _xn_ and ∆ _xn_ + 1 in Matlab with the procedure “xcorr( ∆ _xn_, ∆ _xn_ + 1,’biased’)”; –– the following filter parameters: α = 0.995, β = 0.900 . In the proposed algorithm, the _Rf_ <sup>ˆ</sup> ' _q_ and _Rf_ <sup>ˆ</sup> " _q_ functions, based on flow rate signals, are determined on the same set of _Nq_, α, β parameters. The same approach was followed as well during time steps calculation of _dq_ and _d_ _~~q~~_ variables and procedures for cross-correlogram calculations (13) in Matlab program. Whereas the median filtering (16) was achieved by using _N_ _A_ = 3001 data samples. A selection of alarm thresholds _Palq_, _Pal_ ' _q_, _Pal_ " _q_, _Pal_ _p_, _Pal_ _pall_ was based on the statistical analysis of individual functions _Rf_ ˆ _q_, _Rf_ <sup>ˆ</sup> ' _q_, _Rf_ <sup>ˆ</sup> " _q_, _Rf_ <sup>ˆ</sup> _p_, _Rf_ <sup>ˆ</sup> _pall_ in a state without leakage, i.e. in pe riod _T_ 0 shown in Figure 6. Furthermore, a constraint, which assumes selecting thresholds to ensure inexistence of false alarms in period _Ttest_, i.e. before occurrence of leakage, was imposed. The alarm thresholds were set as the average value of the standard deviations calculated for all experiments at different leakage points, according to the following relationship: where: _bq_, _b_ ' _q_, _b_ " _q_, _bp_, _bpall_ - coefficients determined experimentally. 7.3. Method II and III Calculations were performed for both index functions, marked as _IFP_ and _Q_ _P_ _IF_ . _IF_ function considers all available 6 pressure points of an experiment. To average any pressure _pn_, 100 measure ment samples within 1 second window ( _N_ = 100 ) <sup>were used, while</sup> <sup>_T_</sup> _r_ <sup>, time between the comparative data, was set to 10 seconds.</sup> _Q_ _IF_ function takes only supply and delivery flows into consid eration and also is based on 1 second time window ( _N_ = 100 ) . The threshold limits were proposed on the basis of the statistic analysis of index functions in pre-leak period _T_ 0 (Fig. 6). This period defines populations _P_ 0 _Q_ 0 _IF_ and _IF_ of observed values with 1 second interval. On the basis of these populations the threshold limits were made as follows: _P_ = _E_ { _IF_ 0 } <sup>−</sup> _b_ ⋅ _std_ { _IF_ 0 } (25) It should be mentioned, that the same value of coefficient _b_ was established for both functions and every leak experiment. 8. The results The Table 2 shows _detection response times_ of the simulated leakages, obtained for the compared methods. The time is given in seconds and represent the average value of results gained in two experiments. Non-detection of leakage in both experiments is marked with “–“ sign. If only one leakage detection succeeded, then it has been marked with “–/+”. Moreover, the Table 2 presents localization’s results of simulated leakages (in the shape of localization errors), which were gained by using a method based on pressure wave detection method (NPWM) and a gradient method (GM). To have leak point estimated with a NPWM method, a procedure presented in [15] was applied. The first part of this procedure consists of the leak occurrence detection algorithm based on the functions _Rf_ ˆ _p_ or _Rf_ <sup>ˆ</sup> _pall_ already discussed, while the second part is aimed at detecting the transition of pressure waves through each pressure sen sor points <sup>_z_</sup> _n_ <sup>. After detection of a leak occurrence and having given</sup> the times _twav_ ( _zn_ ), determined by the second algorithm, it is possible to locate the leak with the below formula (26): # Palq = − bq ⋅ std { Rf ˆ q Pal ' q = b ' q ⋅ std { Rf ˆ ' Pal " q = b " q ⋅ std { Rf ˆ = − _bq_ ⋅ _Rf_ ˆ _q_ = − _bq_ ⋅ _std_ _Rfq_ # ' q = b ' q ⋅ std { Rf ˆ ' = _b_ ' _q_ ⋅ ' _q_ = _b_ ' _q_ ⋅ _std_ _Rf_ ' _q_ # " q = b " q ⋅ std { Rf ˆ " = _b_ " _q_ ⋅ # { Rf ˆ q } { Rf ˆ ' q } { Rf ˆ " q } { Rf ˆ p } _q_ = _b_ " _q_ ⋅ _std_ _Rf_ " _q_ , (24) # Pal p = bp ⋅ std { Rf ˆ = _bp_ ⋅ ˆ _p_ = _bp_ ⋅ _std_ _Rf_ _p_ # Pal pall = bpall ⋅ std { Rf ˆ = _bpall_ ⋅ # { Rf ˆ pall } ˆ _pall_ = _bpall_ ⋅ _std_ _Rf_ _pall_ _zleak_ = _a_ _pa_ + _<u>k</u>_ _ak_ ⋅+ _l_ _<u>twav</u>_ <u>(</u> _<u>zina</u>_ <u>)</u> _p_ <u>−+</u> _<u>tawavk</u>_ <u>(</u> _<u>z</u>_ _leak_ = _a_ _<u>a</u>_ + _<u>k</u>_ _a_ ⋅+ _l_ _<u>twav</u>_ <u>(</u> _<u>zina</u>_ <u>)</u> <u>−+</u> _<u>tawav</u>_ <u>(</u> _<u>zout</u>_ <u>)</u> _p_ + _ak_ _a_ _p_ + _ak_ (26) 476 Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 Science and Technology where: _a_ _p_ = 1/ _c_ _p_, _ak_ = 1/ _ck_ - coefficients; _c_ _p_, <sup>_c_</sup> _k_ <sup>– average pres-</sup> sure wave velocities along the sections: 0 < _z_ < _zleak_, _zleak_ < _z_ < _l_ ; _l_ - the length of the pipeline, i.e. the distance between the extreme measurement points _zin_ and _zout_ ; _twav_ ( _zin_ ), _twav_ ( _zout_ ) - time when the pressure wave front reaches the points _zin_ = 0, _zout_ = _l_ . In case of GM method, upon detection of a leak, a localization procedure is carried out with the formula (27). For this purpose the pressure measurement data, corresponding to the identified steady state of the pipeline both with and without a leak, are used. These data sets were acquired from four sensors installed on the pipeline, i.e. _p_ 1( _in_ ), _p_ 2 located before a leak point, _p_ 5 behind a leak, and _p_ 6( _out_ ) : _zleak_ = _dglout_ <u>⋅</u> _<u>dg</u>_ - _<u>outdgin</u>_ + _dgdpinout_ <u>−−</u> _<u>dpdgoutin</u>_ (27) leaks becomes greater). The obtained results correspond to the leak detection distribution in relation to its location, which is presented in [7]. In case of using flow rate signals, such relation is not so evident. Moreover, in the method I with different window times, no significant differences were noticed for windows type A and B. Besides, B type time windows located unfavorable with respect to the time period, which includes changes of signals caused by the leakage occurrence, may result in a deterioration of the leakage detection level; - _–_ _detection response time_ of simulated leakages significantly differs in the compared solutions. Observed discrepancies relate to the use of different type of diagnostic signals. The shorter time was obtained in case of pressure signals (the methods I and II) and the longer one for flow rate signals (the methods I and III). This is conditioned by the course of leak phenomenon, with different dynamics of pressure and flow rate change. If more than only two pressure signals, i.e. at the inlet and outlet of the pipeline, are measured, significant improvement of detection response time can be obtained. Comparing the obtained results of the presented algorithm based on flow rate signals, the detection time in the proposed option without median filtering (the _leak_ = _dgl_ <u>⋅</u> _<u>dg</u>_ - _<u>outdg</u>_ + _dgdpin_ <u>−−</u> _<u>dpdgout</u>_ _out_ - _dgin_ _dgout_ - _dgin_ where: _l_ - the length of the pipeline; _dgin_, _dgout_ - average increments of pressure gradients in the section between the beginning of the pipeline and the leak point and in the section between the leak point and the end of the pipeline; _dpin_, _dpout_ - average pressure increments at the inlet and outlet of the pipeline. method I – _Rf_ <sup>ˆ</sup> _q_ ) was slightly longer, than in case of other known Analyzing the results, one can observe that: - _–_ _leakage detection level_ varies in the compared solutions. Depending on the method and the leak point, it was possible to detect leakages, which values were equal to 0.1–1.3 % of the nominal flow rate _qnom_ ( _in_ = _out_ ) . From the type of diagnostic signals perspective, the best results were achieved when complete set of pressure signals was used (the methods I – _Rf_ <sup>ˆ</sup> _pall_ and II – _IFP_ ). Even better detection level was achieved with the proposed algorithm, based on two flow rate signals and data transformation performed with median filtering (the method I – _Rf_ <sup>ˆ</sup> " _q_ ). If we were to compare this algorithm with other solutions, it is worth pointing out that only this one took advantage of median filtering. Such filter lengthens considerably the time needed to detect a leak. On the other hand, median filtering enabled elimination of flow disturbance impacts, which in case of other solutions enforced applying enough wide margins of an alarm threshold. Although wide margins prevented false alarm generation, they resulted in a deterioration of the leak detection level. Quite good results were also obtained when two flow rate signals were used and analyzed with the proposed algorithm without median filtering (the method I – _Rf_ <sup>ˆ</sup> ' _q_ ). Then, slightly worse results were obtained for the solutions based on flow rate signals measured at the inlet and outlet of the pipeline (the methods I – _Rf_ <sup>ˆ</sup> _q_ and III – _IFQ_ ). The least confident and satisfactory results were achieved using only two pressure signals measured at the inlet and outlet of the pipeline (the method I – _Rf_ <sup>ˆ</sup> _p_ ). It has to be underlined here that leakage detection level depends on location of a leak. It is especially noticeable while pressure signals are used. Considering this as a criterion, the best results were achieved for leakages in the middle section of the pipeline. Getting closer to the ends of the pipeline, detection level is getting worse (the size of detectable In Figure 7e we might notice that the previous solutions didn’t ensure a successful leak detection. This is a result of unfavorable shape of _Rf_ <sup>ˆ</sup> _q_ function. However, a leak detection was possible with a use of the proposed solution (Fig. 7g), both in case of _Rf_ <sup>ˆ</sup> ' _q_ and _Rf_ <sup>ˆ</sup> " _q_ func tions, whose shapes are far more satisfactory. In Figure 7b a distortion of flow rate _qin_ is visible. It provokes a noticeable change in _Rf_ <sup>ˆ</sup> _q_ function, which however does not result in solutions (the methods: I – _Rf_ <sup>ˆ</sup> _q_ and III – _IFQ_ ). The longest detection time was observed however in case of the proposed solution with median filtering (the method I – _Rf_ <sup>ˆ</sup> " _q_ <sup>). This is due</sup> to the application of a median filter. Obtaining a filter estimator for a given time involves considering the additional time, which corresponds to the length of the half of a data vector _N_ _A_ . In case of the method I, with variable time windows, the detection response time did not exceed behind values resulting from accepted moving mode of implemented time windows; - _–_ _localization errors_ of simulated leakages were greater for the smallest leakages and they reduced for larger leakages. In both methods, errors were significantly smaller when a gradient technique was used. The precision of leak localization could be improved further by considering other configurations of sensors, i.e. including sensors placed closer to a leak location. In case of the method based on pressure wave detection, leak position errors were greater and for a few leakages it was even not possible to determine the leak point. The reason behind that is related to issues with a detection and identification of pressure wave forehead. It might be worth noticing that experiments considered only simulations of sudden leaks. If there are slowly increasing leakages, results of localization could be even worse. Besides, Figures 7e-h show an example of a comparison of _Rf_ <sup>ˆ</sup> _q_ functions, derived from the known algorithm, with _Rf_ <sup>ˆ</sup> ' _q_ and _Rf_ <sup>ˆ</sup> " _q_ functions calculated with the algorithm proposed in this paper. This comparison is performed for two different leak simulation experiments. In addition, Figures 7a-d captured flow rate signals _qin_ and _qout_ as well as reference variables _~~q~~_ _in_ and _~~q~~_ _out_, on the basis of which the functions _Rf_ <sup>ˆ</sup> _q_, _Rf_ ˆ ' _q_, _Rf_ <sup>ˆ</sup> " _q_ were obtained. tions, whose shapes are far more satisfactory. Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 477 Science and Technology _Table 2. Detection response times and localization errors of simulated leakages obtained in compared solutions_ detection task [s] localization [m] <u>method</u> <u>I</u> <u>II</u> <u>III</u> <u>NPWM</u> <u>GM</u> <u>used signals</u> _<u>qin</u>_, _qout_ _Pin_, _Pout_ _Pall_ _Pall_ _Pin_, _Pout_ _Pall_ simulated leakages diagnostic functions (used windows) diagnostic functions errors [m] [% _qnom_ ] _R f_  _q_ a _R f_  _q_ ′ a _R f_  _q_ ′′ a _R f_  _q_ b _R f_  _p_ a _R f_  _p_ b _R f_  _pall_ a _R f_  _pall_ b _IFp_ _IFQ_ _ER_ = _L_ ˆ - _L_ 0.09 - - - - - - - - - - - 0.29 - 37.34 37.77 - - - –/+ –/+ 0.97 - - 10.0 0.55 - 7.77 19.35 - 1.96 –/+ 0.34 0.49 0.91 4.88 190.7 -12.0 0.84 4.08 5.90 17.89 6.24 0.98 1.49 0.30 0.49 0.61 2.64 0.3 -2.7 1.17 2.98 4.82 19.22 4.99 0.90 0.99 0.27 0.49 0.63 2.77 -4.0 -0.5 1.30 3.05 3.92 18.18 4.99 0.83 0.99 0.25 0.36 0.53 2.28 -5.7 -2.3 1.94 2.73 3.71 17.05 4.99 0.82 0.99 0.26 0.36 0.39 2.00 -0.6 -4.7 0.06 - - - - - - 0.34 –/+ - - - -92.7 0.25 - 14.05 –/+ - - - 0.32 1.12 2.30 - - -3.9 0.45 5.59 6.55 20.57 –/+ –/+ - 0.24 0.61 0.70 –/+ -62.6 1.9 <u>0.78</u> <u>3.46</u> <u>4.68</u> <u>18.94</u> <u>6.24</u> <u>0.74</u> <u>1.99</u> <u>0.20</u> <u>0.49</u> <u>0.68</u> <u>4.12</u> <u>25.7</u> <u>-4.3</u> <u>1.19</u> <u>2.42</u> <u>4.45</u> <u>17.54</u> <u>3.74</u> <u>0.66</u> <u>0.99</u> <u>0.20</u> <u>0.36</u> <u>0.52</u> <u>2.56</u> <u>0.4</u> <u>-0.1</u> <u>1.43</u> <u>2.62</u> <u>4.09</u> <u>18.69</u> <u>4.99</u> <u>0.67</u> <u>0.99</u> <u>0.21</u> <u>0.36</u> <u>0.56</u> <u>2.43</u> <u>-3.7</u> <u>-2.4</u> <u>1.99</u> <u>2.63</u> <u>4.13</u> <u>18.74</u> <u>4.99</u> <u>0.64</u> <u>0.99</u> <u>0.19</u> <u>0.36</u> <u>0.42</u> <u>2.44</u> <u>0.4</u> <u>-0.8</u> 0.17 - - –/+ - - - - - - - - 0.37 - - 17.39 - - - - - - - - -14.9 0.54 –/+ - 21.17 –/+ - - –/+ - 1.20 - 45.4 11.1 0.88 3.67 9.35 19.33 6.24 - - 0.58 0.86 1.84 4.47 -14.9 -3.4 1.28 2.36 5.67 17.05 3.74 0.95 1.99 0.38 0.61 0.91 2.06 -0.4 -3.9 1.41 3.79 6.35 17.98 4.99 0.97 1.99 0.41 0.61 0.91 2.67 -1.6 -4.2 <u>1.86</u> <u>1.97</u> <u>5.13</u> <u>16.45</u> <u>2.49</u> <u>0.94</u> <u>0.99</u> <u>0.34</u> <u>0.49</u> <u>0.73</u> <u>2.00</u> <u>3.3</u> <u>0.2</u> false alarm generation and also does not require any change in alarm threshold margins (Fig. 7f). We might notice as well that function’s impulse _Rf_ <sup>ˆ</sup> _q_, alerting a leak occurrence, does not always take a favorable shape or amplitude’s value. Considering the proposed algorithm, the mentioned above disturbances could provoke a false alarm in case of _Rf_ <sup>ˆ</sup> ' _q_ function (Fig. 7h). In order to avoid it, it was indispensable to enlarge considerably the alarm threshold margin. Such an issue didn’t occur in case of _Rf_ <sup>ˆ</sup> " _q_ function because the disturbance impact was eliminated by applying median filtering. In general, we also could notice that _Rf_ <sup>ˆ</sup> ' _q_ and _Rf_ <sup>ˆ</sup> " _q_ functions have a considerable change in their amplitude as a result of a leak occurrence. It significantly facilitates a leak detection. Summarizing, in comparison to the results of the leakage detection levels mentioned in [5], the obtained results can be assessed as highly satisfactory. However, it should be noticed, that they refer to the model installation. For real pipelines, one should expect slightly worse results using proposed solutions. Due to the greater length of real pipelines, _detection response time_ will be also longer. It should also be noted that the discussed results relate to sudden leakages. In case of diagnosing slow leakages, _leakage detection level_ would be worse and _detection response time_ longer. Moreover, the research was focused on detection of the smallest possible leak, assuming no alarms for non-leak states. An important issue was the course of the analyzed diagnostic functions and alarm thresholds selection. The proposed solution to this problem is quite simple and effective. However, it can be assumed that the use of even more sophisticated solution may create opportunities for further improvement of _leakage detection level_ . 9. Conclusion This paper presents the comparison of several improved (modified) SLDA (simplified leakage detection algorithms). The compared methods were parameterized and considered for different configurations of diagnostic signals. On the basis of the leakage diagnosis results, obtained during simulations of leaks on the laboratory pipeline, the assessment of these solutions has been performed. The obtained results prove that, with the simple leak detection methods, it is possible to detect leakages with highly satisfactory diagnosing efficiency (considered as the ability to detect very small leakages in a short time). The proposed detection algorithm, with two diagnostic functions, improves also a leak detection level. Both diagnostic functions are reliable shape and amplitude indicators. The discussed methods can be used for building leak detection systems (LDS) in parallel to more sophisticated solutions based on transient models of pipeline installations. 478 Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 Science and Technology It was pointed out that the requirement to perform further investigations of simple leak detection methods is crucial to achieve even better leak detection efficiency. Acknowledgement _The research work financed with the means of the Ministry of Sci-_ _ence and Higher Education (Poland) in the years 2010-2015 as the_ _research project_ _Nr N N504 494439._ _Fig. 7. Flow rate signals and diagnostic functions obtained for the experi-_ _ments with simulated sudden single leakages with the size of 0,55%_ _qin_ = _out_ _at the point 75 m (left side) and the size of 0,88%_ _qin_ = _out_ _at_ _the point 235 m (right side), where: a), b), c), d) - flow rate and refer-_ _ence variables, e), f) - functions generated by the previous algorithm,_ _g), h) - functions generated by the newly proposed algorithm; “0”_ _means the beginning of leakage_ References 1. Begovich O, Navarro A, Sanchez E N, Besancon G. Comparison of two detection algorithms for pipeline leaks. Proceedings of 16th IEEE International Conference on Control Applications, 1-3 October 2007. Singapore; 777-782, http://dx.doi.org/10.1109/CCA.2007.4389327 2. Billman L, Isermann R. Leak detection methods for pipelines. Automatica 1987; 23: 381-385, http://dx.doi.org/10.1016/00051098(87)90011-2 3. Brunone B, Ferrante M. Detecting leaks in pressurised pipes by means of transients. Journal of Hydraulic Research 2001; 39(5): 539-547, http://dx.doi.org/10.1080/00221686.2001.9628278 4. Colombo A F, Lee P, Karney B W. A selective literature review of transient-based leak detection methods. Journal of Hydroenvironment Research 2009; 2(4): 212-227, http://dx.doi.org/10.1016/j.jher.2009.02.003 5. da Silva H V, et al. Leak detection in petroleum pipelines using a fuzzy system. Journal of Petroleum Science and Engineering 2005; 49(3): 223-238,. http://dx.doi.org/10.1016/j.petrol.2005.05.004 6. Farmer E. System for monitoring pipelines. US Patent 4,796,466, 1989. 7. Ge Ch, Wang G, Ye H. Analysis of the smallest detectable leakage flow rate of negative pressure wave-based leak detection systems for liquid pipelines. Computers and Chemical Engineering 2008; 32: 1669-1680, http://dx.doi.org/10.1016/j.compchemeng.2007.08.011 8. Gertler J, Romera J, Puig V, Quevedo J. Leak detection and isolation in water distribution networks using principal component analysis and structured residuals. Proceedings of Conference on Control and Fault Tolerant Systems, 6-8 October 2010. France Nice; 191-196, http:// dx.doi.org/10.1109/SYSTOL.2010.5676043 9. Haghighi A, Covas D, Ramos H. Direct backward transient analysis for leak detection in pressurized pipelines: from theory to real application. Journal of Water Supply: Research and Technology – AQUA 2012; 63(3): 189-200, http://dx.doi.org/10.2166/aqua.2012.032 10. Isermann R. Leak detection of pipelines, in.: Fault-Diagnosis Applications: Model-Based Condition Monitoring: Actuators, Drives, Machinery, Plants, Sensors and Fault-tolerant Systems. Berlin: Springer-Verlag, 2011, http://dx.doi.org/10.1007/978-3-642-12767-0_7 11. Kowalczuk Z, Gunawickrama K. Detecting and locating leaks in transmission pipelines, in.: Korbicz K J, Koscielny J M, Kowalczuk Z, Cholewa W (Eds.). Fault Diagnosis: Models, Artificial Intelligence, Applications. Berlin: Springer-Verlag, 2004, http://dx.doi.org/10.1007/9783-642-18615-8_21 12. Li Y, Sun L. Leakage detection and d for long range oil pipeline using negative pressure wave technique. Proceedings of 4th IEEE Conference on Industrial Electronics and Applications, May 25-27 2009. China Xi’an; 3220-3224, http://dx.doi.org/10.1109/ICIEA.2009.5138796 13. Liou C. Pipeline leak detection based on mass balance. Proceedings of the International Conference on Pipeline Infrastructure II, ASCE, 1993. 14. Ostapkowicz P. Improving the efficiency of diagnosing of leaks from liquid transmission pipelines by using the new diagnostic information Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016 479 Science and Technology the signals of weak interactions between objects. Solid State Phenomena 2009; 147-149: 492-497, http://dx.doi.org/10.4028/www.scientific. net/SSP.147-149.492 15. Ostapkowicz P. Leakage detection from liquid transmission pipelines using improved pressure wave technique. Eksploatacja i Niezawodnosc - Maintenance and Reliability 2014; 16(1): 9-16. 16. Siebert H, Isermann R. Leckerkennung und Lokalisierung bei Pipelines durch on-line Korrelation mit einen Prozesrechnes. Regelungstechnik 1977; 25: 69-74, http://dx.doi.org/10.1524/auto.1977.25.112.69 17. Turkowski M, Bratek A, Slowikowski M. Methods and systems of leak detection in long range pipelines. Journal of Automation, Mobile Robotics & Intelligent Systems 2007; 1: 39-46. ISSN 1897-8649 18. Verde C, Molina L, Carrera R. Practical issues of leaks diagnosis in pipelines. Proceedings of 18th IFAC World Congress, 28 August - 2 September 2011. Italy Milano; 12337-12342, http://dx.doi.org/10.3182/20110828-6-IT-1002.01688 19. Wang X J, Simpson A R, Lambert M F, Vítkovsky J P. Leak detection in pipeline systems using hydraulic methods: a review. Proceedings of the Conference on Hydraulics in Civil Engineering, The Institution of Engineers, 23-30 November 2001. Australia Hobart; 391-400. 20. Zhang J. Statistical pipeline leak detection for all operating conditions. Pipeline & Gas Journal 2001; 228(2): 42-45. Paweł Ostapkowicz Faculty of Mechanical Engineering Bialystok University of Technology ul. Wiejska 45C, 15-351 Białystok, Poland Andrzej Bratek Industrial Research Institute for Automation and Measurements Al. Jerozolimskie 202, 02-486 Warsaw, Poland E-mails: p.ostapkowicz@pb.edu.pl, abratek@piap.pl 480 Eksploatacja i Niezawodnosc – Maintenance and Reliability Vol.18, No. 3, 2016

섹션 본문 113문단 · 48,058자

Introduction

2liquid transmission pipelines may suffer from damages, which might result in leakages.therefore, leak detection system (lds) is an indispensable equipment of a pipeline installation.the main purpose of such system is to detect, locate, as well as determine the magnitude of occurred leak.

3Most popular lds are developed with the use of diagnostic methods, which are based on measurements of internal flow parameters, i.e. flow rate, pressure and fluid temperature.in the literature such methods are called internal (analytical, indirect) methods [2,11,17].

4the implementation of leak diagnosis process is a rather complex issue.the existing internal methods, whose review might be found in the papers [4,10,11,17,19], on their own are not able to fulfill all mentioned above diagnostic tasks.their utility is limited to certain, defined operational pipeline's states and leaks' characteristics.thus, elaboration of effective and reliable lds requires applying of at least several internal methods working concurrently [17].

5taking into account that a lds should first detect a leak, internal methods, which are responsible for this diagnostic task, acquire particular significance.in practice, one or several methods must be used to increase the reliability of lds, which is defined as a degree of pipeline's operators confidence, i.e. absence of false alarms and also system's ability to detect any kind of occurred leak.

6the most advanced solutions, aimed at leakage detection, are based on process dynamics models.an example of this method is the inverse analysis method [9,19] and also so called methods with automatic control approach [1,2,10,11,16,18].without doubt, the main advantage of both groups of methods is the ability to detect leaks in steady states as well as in transition states, resulting from a change in pipeline's operational conditions such as: an operating point change, valve's aperture and closure, pump's start-up or stoppage.However, sciENcE aNd tEchNology these methods are quite complex and their practical application involves solving many problems, which relate to constructing pipeline's mathematical model and developing its solutions, precise applying of diagnostic process methodology and appropriate diagnostic means. in case of inverse analysis methods, their general idea consists in a comparison of model-generated data with measured data, i.e. minimizing the obtained deviations to enable leak detection and its localization, and depends on proper model fitting.Pipe's flow dynamic modelling mainly involves applying non-stationary equations of continuity and motion for fluids.in practice, it might be required to perform specific tests, which consist in enforcing transitional states in a shape of pressure impulses, generated by a valve's closure on the outer point of the pipeline [19].Such tests significantly simplify pipeline's dynamics description, include leak's modelling and facilitate solving systems of equations due to better understanding of boundary conditions.However, in order to perform these tests correctly, it is necessary to control appropriately the valve's closure process, which is raised in [9].closing a valve on an operating pipeline always may be risky.therefore, it might be required to introduce certain constraints to operating conditions in real-life i.e. decreasing the pressure values and volume of liquid.

7in methods considered within context of automatic control, the mathematical model of liquid flow dynamics is mainly described in the state-space.a common solution is an implementation of state observers, which estimate process variables, for example, the flow rate at pipeline's inlet and outlet [1,2,10,11] or other parameters to describe the flow e.g. the friction coefficient [2,10,11].by applying a specific leak detection algorithm, it is possible to get the leak diagnosed and an alarm generated.

8considering a performance, in both mentioned above groups of methods, it creates strong requirements that measurement systems must meet.this results in high costs of lds, related to the need of using the appropriate quantity of precise measurement instruments, well synchronized data transmission system and powerful computers.such lds should also be operated by high qualified staff.

9consequently, instead of these methods, simpler solutions are being used, including: mass balance, pressure/flow monitoring, pressure wave detection and correlation analysis of measured signals. in general, each method considers a single hydraulic phenomenon related to the leak occurrence which is the base to elaborate appropriate algorithms to detect leakages.such simplified detection algorithms (slda), aimed at single leak detection in liquid transmission pipelines, consist the main area of focus of this paper.

10the important advantages of slda are relatively low cost and ease of implementation.taking into account other features, such as: duration of tests, disruption to normal system operation, complexity of the instrumentation, which according to [3] all together consist the comparison criteria for different leak diagnostic methods, in case of slda they also give satisfying results.From practical point of view, it is also worth seeing the slda implementation as an element of lds. in a lds even a single slda could be used, for example, on the basis of the mass or volume balance principle.However, more often a few slda are used, which, thanks to a proper synchronization, should verify each other and/or complement each other.this should result in being able to detect leaks not only in the state of steady flow, but also in other operational conditions during low operational transients.slda may be a part of more complex leak detection procedures, which use the mathematical models of liquid flow dynamics.the last solutions can be found in papers [1,2,10,11].in the paper [1] the comparison of the two advanced algorithms can be found.an algorithm configured on the above schema as a slda combination, "due to its good performance and good reliability is more appropriated to be implemented in industrial controllers", than the second one, which is far more computationally sophisticated.besides mentioned above characteristics, independently from using complex or simplified leak detection techniques, their practical usefulness is decided mainly on their efficiency.this is defined as the ability to detect a given volume of leakage in determined timeframe and with minimal number of false alarms.according to [18], pipeline's operators are interested in lds solutions, which would enable leak detection of less than 1% nominal flow intensity.it would be better if such results were achieved both in steady state conditions and transient states.the operators are also interested in the evaluation of the smallest detectable leak, which might be achieved for a determined detection algorithm.

11sdla effectiveness depends on many factors, e.g.algorithm's structure.by the algorithm's structure we consider the overall elaborated solution of a given diagnostic method.this includes configuration of measurement devices (their number, location), their metrological characteristics (precision), signal sampling, measurement conditions (noise and distortion level) and techniques implemented for data processing and analysing, as well as the selection of the alarm thresholds. in relation to a pipeline, the following factors are significant: topography (e.g.diameter and length), a type of liquid (density, velocity of a pressure wave), flow conditions (flow and pressure rate).Moreover, essential also are the leak parameters, i.e.: its location, size (intensity), the nature of occurrence (rapid leaks or slowly increasing leakages), but also the size of a pipe damage and its development.the analysis of these issues might be found in papers [3,7].

12unfortunately the effectiveness of commonly used nowadays slda is often below the expectations.in this paper we are interested in applying slda to diagnose singular liquid transmission pipeline leak in steady states.an example of such slda, which uses the negative pressure wave detection method, can be reviewed in [7]. the algorithm processes data obtained from two pressure sensors located at the inlet and outlet of a pipeline.its performance assessment, which takes into account the smallest detectable leak, was based on carried out simulations, in which mathematical description for the amplitude change of negative pressure wave was used, being supplied by defined pipeline's parameters.the achieved smallest detectable leak, which amounted to about 1.4% of the nominal mass flow, overpasses however the reference value (i.e.1%).another Slda system, which uses the mass-balanced leak detection method with correlation analysis, is presented in [10].the algorithm runs on the basis of the mass flow rate measured only at the inlet and the outlet.it was experimentally verified on a gasoline pipeline.the presented results relate to only a single experiment, where the intensity of detected leak is 0.19% of the nominal mass flow rate.

13it is worth highlighting that the slda are discussed or mentioned also in many other papers [5,12].nevertheless, not always these papers encompass and present all information about their particular solutions and their effectiveness relating to the smallest detectable leak, which might considerably impede their potential analysis, modifications and implementation.

14considering the existent slda, we may notice that the effectiveness of similar solutions, in the sense of their overall methodology, might significantly vary.the authors consider applying an adequate solution structure of slda as a way to have slda effectiveness improved.

15therefore, the main goal of this paper is to present an overall comparison of a few modified slda solutions, taking also into account, the evaluation of their effectiveness.the presented set of detection algorithms is characterized by the fact that they combine different process variables i.e. flow and pressure signals, commonly measured at transmission pipelines.besides the well-known solutions, the authors also propose a detection algorithm with a new variable structure and with two options of a resulting function.all presented slda solutions are focused on detection of a single leakage in a liquid transmission pipeline in steady state conditions.sciENcE aNd tEchNology it is worth mentioning that the authors focus especially on the leak detection issue.a great deal of attention is paid to the leak detection itself.this task is considered to be the most crucial activity from the lds standpoint as it is the first, mandatory step to be completed in order to perform the leak position and flow estimation.nevertheless, the leak localization was also considered in this paper, whereas estimation of a size of leakage was skipped in the presented results.

16the proposed algorithms were tested in experiments carried out on a laboratory pipeline in a wide range of leak simulations.the basis of the evaluation was established by two primary performance indexes: the smallest leakage detection level and the detection response time.these parameters are directly related to the leak detection issue.while determining a leakage point, a location error was defined as a estimation's precision parameter.

17the smallest detectable leak, which were achieved with elaborated algorithms, are lower than the defined reference value.according to the authors, solutions presented in this paper for modified sldaimproved leakage detection techniques (algorithms) -and their results may provide valuable information for pipeline's operators.

18this paper is organized as follows: the second chapter presents a description of typical measurement equipment of the transmission pipelines.the third chapter describes hydraulic phenomena related to leak occurrence. in the next section, the basic problems encountered during leak detection are discussed.the detailed description of the proposed algorithms might be found in the fifth chapter.the sixth section presents the laboratory pipeline and experiments' program overview.the next two chapters present the achieved results in diagnostic of simulated leaks and discuss the aspects of implementation of proposed algorithms in practice.Finally, overview of conclusions and some suggestions for future research are presented.

Pipeline measuring equipment

19the liquid transmission pipelines are usually equipped with flowmeters and pressure transducers, installed at the inlet and outlet.Moreover, additional pressure sensors are often installed at regular intervals along the pipeline.the purpose of these sensors is to reduce the detection response time and improve the accuracy of the leak location.

20whereas measuring systems are the basis of scada (supervisory control and data acquisition) systems, which are used in pipelines to monitor and control pumping process, lds system is usually their additional module.the diagnostic data information, i.e. the measured pressure and flow rate signals, required by the leakage detection systems, should be continuously provided with defined sampling time P T , without significant time delays.Moreover, the measurement systems should be error and noise resistant.However, the above mentioned disturbance issues might appear in case of long range transmission pipelines.according to [20], it is quite common, when only some useful measurement data is available.

Description of the leak phenomenon

21typical relationship between pressure (measured at the inlet and the outlet, and also at several points along the pipeline) and flow rate signals (measured at the inlet and the outlet) in the liquid transmission pipeline, before and after the occurrence of leak, is shown in Figure 1.

22assuming that a tight pipeline operates under stationary conditions, the pressure and flow rate along the pipe have stabilized values with low levels of fluctuations.Event of leak leads to changes of pressure and flow in the pipeline.at the beginning, a pressure drop takes place in the leak point.afterwards, the pressure drop in the form of a negative wave propagates in both directions of the pipeline with the speed of sound.the profile of pressure wave propagation depends on the location of the leak, its size and the way it increases (which, in turn, depends on the development of damage to the pipeline).in case of sudden leaks (whose flow rate reaches the nominal value in short time after the moment of their occurrence), waves have clearly visible fronts (Fig. 1a).For slowly increasing leakages, where pressure changes have milder character, wave fronts have a smother shape (Fig. 1c).behind the wave front, the longer the distance is from the leak point, the smaller the pressure drop is in the pipeline.the observed pressure drops depend on the size of leakage, its position, and flow conditions.

23Medium flow in the pipeline gets stabilized for a while after the occurrence of leakage with a new steady-state operating point.comparing to the state before leakage, the flow rate in the section between the inlet and the leak point has increased, and the flow rate in the section from the leak point to the outlet has decreased (Fig. 1).

Problems faced in leak detection

24Profile and clarity of changes in measured pressure and flow rate signals (resulting from the course of leak phenomenon and metrological characteristics of measuring devices) essentially determine the leak detection level.

25such an exemplary situation is shown in Figure 2. the plots present the pressure and flow rate histograms in an experimental pipeline (which description can be found in section 6) initially operating in steady state conditions.later the sudden leak of a 0.45% nominal flow rate was simulated at the point close to the middle of the pipe's length.we might observe that the pressure and flow rate variations are hardly noticeable, which is caused by a considerable level of noise in the signals.

26we need to comment that pressure and flow rates in Figure 2 are not expressed in the si units, but in the units that clearly represent flow's characteristics in the pipeline (pipeline's operators commonly use the non si units -e.g.m 3 /h as well).these units are also used through the next sections of this paper.

Theoretical characteristics of compared solutions

27the proposed modified slda solutions are based on using measurement signals mentioned about in the chapter 2. they involve the following methods: correlation analysis (labeled "method i"), pressure monitoring (labeled "method ii"), volume balance (labeled "method iii").the presented descriptions of proposed solutions might be a basis of their practical application.

Method I

28the proposed technique is based on correlation analysis.in contrast to similar solutions discussed in papers [1,2,10,11], the authors propose to use the correlation analysis not only with regards to flow rate signals, but also to pressure signals [14,15].using pressure signals is aimed at reducing the time required to detect a leak.considering the pipeline's dynamics, pressure signals may sooner identify a leakage occurrence, than flow rate signals.this can be clearly noticed if we compare the signals measured at the pipe's inlet and outlet (see Fig. 1).taking into account additional pressure sensors mounted along a pipeline, there is a possibility to detect a leak even quicker.

29the algorithm based on the use of pressure signals may work independently.However, we need to remember that the pressure changes in a pipeline not always are a consequence of the leak occurrence.similar symptoms of a leak, e.g.characteristic also for the wave propagation, might be observed for other flow conditions caused by valve regulation.it is difficult to differentiate them, what is mentioned by [12]. in order to avoid generating false alarms and increase credibility of a diagnosis, apart from using the algorithm, which is based on pressure signals, the second algorithm, based on flow rate signals, working concurrently may be applied.

30taking into account the above assumptions, a few slda were elaborated.all of them use the following different configurations of the structure of each algorithm, besides their general likeness, is characterized by the application of significant different elements.their basis is the correlation analysis.such analysis in consecutive steps of calculations considers data vectors, which are constructed on the basis of the shifting time windows.the calculated variables (i.e.residua) are window's data instead of the raw measured diagnostic signals.the proposed solutions of algorithms consider two configurations of time windows: with different steps of their shifting defined by the determined volume of signal samples.while building both window configurations, not only the speed of leak detection was considered, but also the need of computing power.the detailed solutions of all algorithms are discussed in the following part of this subchapter.x , according to (1). the reference values are calculated by applying a low pass recursive filtering such as recursive averaging with fading memory (exponential smoothing), according to the formula (2).

31where: k n x -the value of the measured signal in the moment k , k n x -the reference value in the moment k ,

32where:

33x − -the reference value in the moment 1 k − resulting from the applied sampling time P T , k n x -the value of the measured signal in the moment k , α -filter correction factor 0 1 < < α .

34the use of the variables n x ∆ instead of n x allows to avoid the necessary adjustment of relatively large changes of the alarm thresholds, resulting from the inherent fluid dynamics changes, which for example relate to changes of the pipeline operating point.it is quite easy to calculate them considering that the reference values are obtained using the described low pass filtering.according to the practice [10], such approach is efficient with regards to steady states (normal operation).Potentially it might be also applied to some inconsiderable transient states.the used filtering also, to some extent, enables eliminating noise effects and slow drift effects (drifting measurements), what is mentioned about in [10].For comparison, the algorithm presented in paper [1], which uses the residua defined on the basis of flow rate signals measured at the pipeline's inlet and outlet, requires far more complex calculations as reference values are estimated using a mathematical model of flow dynamics.adopting such approach for leak diagnosis in steady states is not required.it is also worth mentioning that the residua are also used in leakage diagnosis methods for pipeline's networks, especially for water distribution networks [8]. the way of their calculations is different, because these are the differences between the measured values and reference values but the other ones concern the approximated states without leakages. .number of samples N in the window includes period k k −τ , . the shift value τ is determined knowing the dynamics of leak phenomenon (the velocity of the pressure wave propagation in given section of the pipeline, which included analyzed measuring points, is taken into account) and distances between measuring points which are related to analyzed variables n x ∆ and

35. in case of flow rate signals, due to more slow character of their changes, the shift value τ should be greater then for pressure signals.

36time windows with different moving mode may be used, what is presented in Figure 3. in case of both types of windows, current leak detection assessment, i.e. in moments k and 1 k + relates to the last sample in window:

37where:

381, 2,..., 2

39next, for the obtained functions (4), if flow rate signals are analyzed then average value (5a) is calculated and if pressure signals are analyzed then maximum value (5b) is calculated:

40to eliminate disturbances the calculated value ˆk xs R is filtered, by applying a low pass recursive filtering, according to the formula (6):

41)

42where: next, the condition (10) which defines the possibility of the occurrence of a leakage, is checked:

43below there is another algorithm presented, which considers slightly different way of processing the same flow rate variables.in general, it is aimed at improving the leak detection level by resolving some problems we might be faced with, which are discussed in chapter 8.

44the novelty of the proposed solution consist in using new variables dq and dq , calculated according to (11) and ( 12), instead of a pair of variables q U (3) as residua (1): the next calculation's steps correspond to previous dependencies (4), (5a) and ( 6), which may be expressed as ( 13), ( 14) and ( 15):

45where:

461, 2,..., 2

47the proposed algorithm assumes that two functions might be responsible for leak detection: a ˆ'q Rf function, obtained on the basis of the relation (15) or the result of its median filtration, i.e. a function ˆ"q Rf , which corresponds to the relation ( 16):

48where: 2 1

49in no leakage situation values of the both functions ˆ'q Rf and ˆ"q Rf are close to zero. a leak alarm is generated, when the particular functions ˆ'q Rf and ˆ"q Rf exceed their alarm thresholds ' q Pal and " q Pal , according to the conditions ( 17) and ( 18): ˆ' '

50ˆ" "

51initially we can state that the proposed algorithm might not require any change in alarm thresholds for slow changes in pipeline's flow conditions.an alternation of alarm thresholds might not be necessary as well in case of a change in pipeline's operating point.However, it is important to alert such a situation in order to avoid false alarms being generated by the algorithm in transition states.once the pipeline achieves the new operating point, i.e. new steady state conditions, residua function should be calculated again.if ˆ'q Rf and ˆ"q Rf functions are still close to zero, it will mean the lack of leakage.on the contrary, respectively higher values of both functions might indicate a leak occurrence.

52the implementation of the ˆ'q Rf function may consider two time window options, which are presented in the Figure 3. in case of ˆ"q Rf function, which uses median filtering, the best solution is obtained for time windows showed in Figure 3a.

Method II and III

53in practice, the algorithms presented in the previous subchapter, based on the correlative analysis, require determined sampling frequency.the applied sampling should ensure the visibility of signal dynamics (i.e.change trend) related to the leak occurrence, which improves the effectiveness of such analysis.it is also necessary to use wide time windows, with the right shifting (e.g.overlapping windows).thesimplified detection algorithms presented in this subchapter don't require such conditions, in particular in respect to sampling of measured signals.

54in the first algorithm it is assumed that pressure n p is measured at several points along the pipeline, where 1,..., n j = ( j -the number of pressure sensors).this algorithm recalls the idea of Pressure Point analysis [6], which was modified by altering the method's structure and adopting a new approach towards all the pressure measurements.

55instead analyzing a single measurement point, data gathered at all sensors is simultaneously taken into account.such a solution should ensure the ability to detect a leak, which is no longer significantly dependent on a leak location.

56the second algorithm is based on the traditional volume balance approach [13], where it is assumed that flow rates 1( ) in q , 2( ) out q are measured on the inlet and outlet of a pipe.the proposed solutions of both algorithms are characterized by the use of indicator functions IF , which create the basis for alarm generation.

57the approach adopted in the first index function P IF , which recalls in searching for a pressure drop produced by a leak, focuses on the comparison of the pressure over a fixed period of time.

58at the start, diagnostic parameters n p are being transformed into variables n p by averaging within a time window of N sample long:

59where: i t -a time of the succeeding measurement sample.the next step is to calculate the deviations n x ∆ between n p boundary values of the reference window r T long (Fig. 4), which is being moved over the time to follow measurement samples: the second index function Q IF utilizes the principle of mass conservation.this approach, in the simplified form of volume balance without compensation [13], is expressed with the following relationship:

60in non-leakage states functions IF are close to zero.as a result of leakage occurrence, the index function decreases and has negative values.its drop depends on the size of the leakage.taking into account the calculation method of both functions IF with data averaging, associated with specified time windows, their width should be enough large to obtain satisfactory calculation precision and limit the measurement errors and noise impact.once the P threshold limit is reached, the alarm is generated according to the below condition:

61(23)

Test stand overview and experimental test scenarios

62the above presented solutions have been put through experimental tests.they were conducted on the test stand with a physical model of the pipeline (Fig. 5). the medium pumped through the pipeline was water.

63the pipeline is 380 meters long and is made of polyethylene (PEHd) pipes which are 34 mm in internal and 40 mm in external diameter.it consists of three sections each of which is over one hundred meter long.the sections: 0÷140 m, 140÷280 m and 280÷380 m, are joined with the use of special connectors of the same diameter as the pipeline.

64the pipeline is equipped with standard measuring devices: two electromagnetic flow meters (located at the inlet and outlet), six pressure transducers (at the inlet and outlet, and also in several points along the pipeline) and two thermometers.sensors are connected to a Pc provided with the 16 bit a/d converter Ni Pci 6259.More information about the location and metrological characteristics of the sensors and the measurement system is shown in table 1.

65in order to simulate leakages, proportional solenoid valves automatically controlled were used.leakage simulations were performed under steady-state conditions of the pipeline.the results of the carried out experiments, which are presented in next chapters, were obtained for the following scenarios:

66the operating point settings of the pipeline: inlet pressure -

Aspects of using compared solutions during experimental tests 7.1. General assumption

67comparison and assessment of three solutions, presented in the chapter 5, was performed based on the basis of practical diagnostic effectiveness for detection of simulated leakages.

68For each solution the following performance indexes were determined: leakage detection level and detection response time.the principal behind the evaluation was the ability to detect the smallest possible leakage in the shortest possible time, even under unfavorable conditions, i.e. with the substantial level of disturbance affecting the measured signals.

69in performed experiments the source of false alarms could be found in fluctuations and noises from the pumping (flow) of water through the pipe and measurement transducers.other additional disturbances were not simulated.

70when determining leakage detection level for compared methods one should be aware that, among others, it depends on the obtained form of a diagnostic function (respectively: ˆq

71. the form of diagnostic functions should be characterized by suitably large change of their values in a state with leakage in comparison to a state without leakage.

72Moreover, the question of appropriate choice of the alarm thresholds is one of crucial elements for proper operation of each solution.alarm threshold values had to be chosen in such a way that they ensure the absence of alarms for states without leakage.to meet the accepted criterion, on the one hand, the alarm thresholds values should have had sufficiently large margins to prevent generating accidental alarms in states without leakage.on the other hand, too large margins would make small leaks impossible to detect. in order to compare the methods, each experiment was analyzed according to the scheme presented in Figure 6.diagnosing simulated leakages concerns period test T .Period 0 T was explored only to determine alarm thresholds.

Method I

73the method's investigation considered different signal configurations, various settings of essential parameters and modes of data processing, i.e.:

74all configurations of diagnostic signals (labeled as " q ", " p ", " pall ") discussed in chapter 5. in the proposed algorithm, the ˆ'q Rf and ˆ"q Rf functions, based on flow rate signals, are determined on the same set of q N , α , β parameters.the same approach was followed as well during time steps calculation of dq and dq variables and procedures for cross-correlogram calculations (13) in Matlab program.whereas the median filtering ( 16) was achieved by using 3001

75was based on the statistical analysis of individual functions ˆq Rf , ˆ'q Rf , ˆ"q Rf , ˆp Rf , ˆpall Rf in a state without leakage, i.e. in period 0 T shown in Figure 6.Furthermore, a constraint, which assumes selecting thresholds to ensure inexistence of false alarms in period test T , i.e. before occurrence of leakage, was imposed.the alarm thresholds were set as the average value of the standard deviations calculated for all experiments at different leakage points, according to the following relationship:

76" " " ˆq q q q q q q q q p p p where: q b , ' q b , " q b , p b , pall b -coefficients determined experimentally.

Method II and III

77calculations were performed for both index functions, marked the threshold limits were proposed on the basis of the statistic analysis of index functions in pre-leak period 0 T (Fig. 6).this period defines populations it should be mentioned, that the same value of coefficient b was established for both functions and every leak experiment.

The results

78the table 2 shows detection response times of the simulated leakages, obtained for the compared methods.the time is given in seconds and represent the average value of results gained in two experiments.

79non-detection of leakage in both experiments is marked with "-" sign.if only one leakage detection succeeded, then it has been marked with "-/+".

80Moreover, the table 2 presents localization's results of simulated leakages (in the shape of localization errors), which were gained by using a method based on pressure wave detection method (nPwM) and a gradient method (GM).

81to have leak point estimated with a nPwM method, a procedure presented in [15] was applied.the first part of this procedure consists of the leak occurrence detection algorithm based on the functions ˆp Rf or ˆpall Rf already discussed, while the second part is aimed at detecting the transition of pressure waves through each pressure sensor points n z .after detection of a leak occurrence and having given the times ( ) in case of GM method, upon detection of a leak, a localization procedure is carried out with the formula (27).For this purpose the pressure measurement data, corresponding to the identified steady state of the pipeline both with and without a leak, are used.these data sets were acquired from four sensors installed on the pipeline, i.e.

82where: l -the length of the pipeline; in dg , out dg -average increments of pressure gradients in the section between the beginning of the pipeline and the leak point and in the section between the leak point and the end of the pipeline; in dp , out dp -average pressure increments at the inlet and outlet of the pipeline.

83analyzing the results, one can observe that: leakage detection level -varies in the compared solutions.depending on the method and the leak point, it was possible to detect leakages, which values were equal to 0.1-1.3% of the nominal flow rate Rf ). if we were to compare this algorithm with other solutions, it is worth pointing out that only this one took advantage of median filtering.such filter lengthens considerably the time needed to detect a leak.on the other hand, median filtering enabled elimination of flow disturbance impacts, which in case of other solutions enforced applying enough wide margins of an alarm threshold.although wide margins prevented false alarm generation, they resulted in a deterioration of the leak detection level.Quite good results were also obtained when two flow rate signals were used and analyzed with the proposed algorithm without median filtering (the method i -ˆ'q Rf ).then, slightly worse results were obtained for the solutions based on flow rate signals measured at the inlet and outlet of the pipeline (the methods i -ˆq Rf and iii -Q IF ). the least confident and satisfactory results were achieved using only two pressure signals measured at the inlet and outlet of the pipeline (the method i -ˆp Rf ). it has to be underlined here that leakage detection level depends on location of a leak. it is especially noticeable while pressure signals are used.considering this as a criterion, the best results were achieved for leakages in the middle section of the pipeline.Getting closer to the ends of the pipeline, detection level is getting worse (the size of detectable leaks becomes greater).the obtained results correspond to the leak detection distribution in relation to its location, which is presented in [7]. in case of using flow rate signals, such relation is not so evident.Moreover, in the method i with different window times, no significant differences were noticed for windows type a and b. besides, b type time windows located unfavorable with respect to the time period, which includes changes of signals caused by the leakage occurrence, may result in a deterioration of the leakage detection level; detection response time -of simulated leakages significantly differs in the compared solutions.observed discrepancies relate to the use of different type of diagnostic signals.the shorter time was obtained in case of pressure signals (the methods i and ii) and the longer one for flow rate signals (the methods i and iii).this is conditioned by the course of leak phenomenon, with different dynamics of pressure and flow rate change.if more than only two pressure signals, i.e. at the inlet and outlet of the pipeline, are measured, significant improvement of detection response time can be obtained.comparing the obtained results of the presented algorithm based on flow rate signals, the detection time in the proposed option without median filtering (the method i -ˆq Rf ) was slightly longer, than in case of other known solutions (the methods: i -ˆq Rf and iii -Q IF ). the longest detection time was observed however in case of the proposed solution with median filtering (the method i -ˆ"q Rf ). this is due to the application of a median filter.obtaining a filter estimator for a given time involves considering the additional time, which corresponds to the length of the half of a data vector A N .in case of the method i, with variable time windows, the detection response time did not exceed behind values resulting from accepted moving mode of implemented time windows; localization errors -of simulated leakages were greater for the smallest leakages and they reduced for larger leakages.in both methods, errors were significantly smaller when a gradient technique was used.the precision of leak localization could be improved further by considering other configurations of sensors, i.e. including sensors placed closer to a leak location.in case of the method based on pressure wave detection, leak position errors were greater and for a few leakages it was even not possible to determine the leak point.the reason behind that is related to issues with a detection and identification of pressure wave forehead.it might be worth noticing that experiments considered only simulations of sudden leaks.if there are slowly increasing leakages, results of localization could be even worse.

besides, Figures 7e-h show an example of a comparison of ˆq

84Rf functions, derived from the known algorithm, with ˆ'q Rf and ˆ"q Rf functions calculated with the algorithm proposed in this paper.this comparison is performed for two different leak simulation experiments.in addition, Figures 7a-d captured flow rate signals in q and out q as well as reference variables in q and out q , on the basis of which the functions ˆq Rf , ˆ'q Rf , ˆ"q Rf were obtained.

85in Figure 7e we might notice that the previous solutions didn't ensure a successful leak detection.this is a result of unfavorable shape of ˆq Rf function.However, a leak detection was possible with a use of the proposed solution (Fig. 7g), both in case of ˆ'q Rf and ˆ"q Rf functions, whose shapes are far more satisfactory.in Figure 7b a distortion of flow rate in q is visible.it provokes a noticeable change in ˆq Rf function, which however does not result in false alarm generation and also does not require any change in alarm threshold margins (Fig. 7f).we might notice as well that function's impulse ˆq Rf , alerting a leak occurrence, does not always take a favorable shape or amplitude's value.considering the proposed algorithm, the mentioned above disturbances could provoke a false alarm in case of ˆ'q Rf function (Fig. 7h). in order to avoid it, it was indispensable to enlarge considerably the alarm threshold margin.such an issue didn't occur in case of ˆ"q Rf function because the disturbance impact was eliminated by applying median filtering.

86in general, we also could notice that ˆ'q Rf and ˆ"q Rf functions have a considerable change in their amplitude as a result of a leak occurrence. it significantly facilitates a leak detection.

87summarizing, in comparison to the results of the leakage detection levels mentioned in [5], the obtained results can be assessed as highly satisfactory.However, it should be noticed, that they refer to the model installation.For real pipelines, one should expect slightly worse results using proposed solutions.due to the greater length of real pipelines, detection response time will be also longer.

88it should also be noted that the discussed results relate to sudden leakages.in case of diagnosing slow leakages, leakage detection level would be worse and detection response time longer.

89Moreover, the research was focused on detection of the smallest possible leak, assuming no alarms for non-leak states.an important issue was the course of the analyzed diagnostic functions and alarm thresholds selection.the proposed solution to this problem is quite simple and effective.However, it can be assumed that the use of even more sophisticated solution may create opportunities for further improvement of leakage detection level.

Conclusion

90this paper presents the comparison of several improved (modified) slda (simplified leakage detection algorithms).the compared methods were parameterized and considered for different configurations of diagnostic signals.on the basis of the leakage diagnosis results, obtained during simulations of leaks on the laboratory pipeline, the assessment of these solutions has been performed.

91the obtained results prove that, with the simple leak detection methods, it is possible to detect leakages with highly satisfactory diagnosing efficiency (considered as the ability to detect very small leakages in a short time).

92the proposed detection algorithm, with two diagnostic functions, improves also a leak detection level.both diagnostic functions are reliable shape and amplitude indicators.

93the discussed methods can be used for building leak detection systems (lds) in parallel to more sophisticated solutions based on transient models of pipeline installations.

Fig. 1 .

94Fig. 1.Plots of sensor's signals at the laboratory pipeline with a single leak: 1

95diagnostic signals: two flow rate signals measured at the inlet and outlet of the a) pipeline, two pressure signals measured at the inlet and outlet of the pipe-b) line, two pressure signals measured at the inlet and outlet, and ad-c) ditionally at several points along the pipeline.

96at the beginning, measured diagnostic signals n x (suitably: n q -flow rate signals, n p -pressure signals; where: 1,..., n j = -point number, j -amount of measuring points) being selected for the analysis are transformed into variables n x ∆ .Variables n x ∆ represent deviations (residua) and are calculated as the differences between the signal current values k n x and their reference values k n

Fig. 2 .

97Fig. 2. Plots of measurement data collected on the laboratory pipeline for asmall, sudden leakage: in p , out p -pressure at the inlet and outlet, and in q , out q -flow rate at the inlet and outlet respectively.Due to considerable level of noise in the data, it is difficult to notice small changes, provoked by the leakage, in the observed signal trends.The leakage of about 0.45% of the nominal flow rate was simulated close to the middle of the pipe's length at the time leak t t = .

98leakage values of the individual functions ˆxs Rf are close to zero.if the analysis concerns only two flow rate signals , as result of the occurrence of the leakage a value of the function ˆq Rf decreases and becomes negative, because of = ), as result of the occurrence of the leakage a value of the function ˆp Rf is increasing and becomes positive, because of alarm is generated, when the function ˆp Rf exceeds its alarm threshold p Pal , according to the condithe analysis concerns larger number of pressure signals n p ( 1 s > ), the average value (9) is calculated on the basis of the set of individual calculated variables ˆps Rf :

Fig. 3 .

99Fig. 3. Schemes of used time windows

10020) the function P IF is defined as the minimum value of deviations n x ∆ , according to the formula:

Fig. 4 .

101Fig. 4. Scheme of P IF time windows

102the selected points whose distance from the pipeline's inlet was about 75 , 155 and 235 m; two experiments were performed for each leakage value.the Pc-based data acquisition system was used to acquire pressure and flow sensors' signals with sampling frequency of 100 P f = Hz.

Fig. 5 .

103Fig. 5. View of the pipeline

104pressure signals) in a period corresponding to the sample time P T ; two types of time windows shown in Figure3aand 3b.stand-ard time windows (labeled as "a") were moved with every single signal sample.no-standard time windows (labeled as "b")were moved every / 2 N signal samples, where N denotes the number of samples in a window; different window lengths for particular configurations of diag--

IF

105function considers all available 6 pressure points of an experiment.to average any pressure n p , 100 measurement samples within 1 second window ( ) 100 N = were used, while r T , time between the comparative data, was set to 10 seconds.Q IF function takes only supply and delivery flows into consideration and also is based on 1 second time window ( ) 100 N = .

106of observed values with 1 second interval.on the basis of these populations the threshold limits were made as follows:

Fig. 6 .l

107Fig. 6.Time scenario of experiments, where: 0 T -period for the selection of alarm thresholds margins, test T -period for the detection of simulated leakages

108type of diagnostic signals perspective , the best results were achieved when complete set of pressure signals was used (the methods i -ˆpall Rf and ii -P IF ).Even better detection level was achieved with the proposed algorithm, based on two flow rate signals and data transformation performed with median filtering (the method i -ˆ"q

leakage detection level in tranSmiSSion pipelineS uSing improved Simplified methodS weryfikacja możliwego poziomu wykrywalności wycieków w zakreSie zaStoSowania zmodyfikowanych uproSzczonych metod diagnoStycznych*

109This paper deals with issues of detecting leaks in liquid transmission pipelines.It presents an overall comparison of three improved simplified methods, i.e. correlation analysis of pressure and flow rate, pressure monitoring and volume balance.Besides the well-known solutions, the authors also propose a detection algorithm with a new process variable structure and with two options of a resulting function.These methods do not require a complicated mathematical model and highly specialist measur-

110ing hardware.Their application and maintenance are easy and low cost.The interest of this paper is to determine the leakage detection level, when these methods are used for diagnosing single leakages under steady-state operating pipeline's conditions.The assessment, carried out on a laboratory water pipeline, was based on two performance indexes, i.e. a magnitude of a minimal leakage, which can be detected and the response time, i.e. time between the moment of beginning (occurrence) of leakage and the moment when it has been detected.The obtained results proved a high efficiency of proposed techniques in detection of leaks.Keywords: fault detection, pipelines, leak detection methods, leakage detection level.Artykuł dotyczy zagadnień diagnozowania wycieków z rurociągów przesyłowych cieczy z wykorzystaniem metod, które bazują na pomiarach wewnętrznych parametrów przepływu (zmiennych procesowych), tj.: strumienia i ciśnienia.Artykuł prezentuje porównanie trzech zmodyfikowanych uproszczonych technik, tj.: analizy korelacyjnej sygnałów ciśnienia i przepływu, monitorowania zmian ciśnienia i bilansu strumieni.Oprócz uprzednio znanych rozwiązań autorzy proponują również rozwiązanie algorytmu detekcyjnego o nowej strukturze zmiennych i o dwóch wariantach funkcji wynikowych.Metody nie wymagają zastosowania skomplikowanych modeli rurociągu, cechuje je niski koszt w sensie wymagań dotyczących urządzeń pomiarowych oraz łatwa realizacja i obsługa.Obszarem zainteresowania niniejszego artykułu jest określenie dla proponowanych metod wskaźników jakościowych, w przypadku diagnozowania pojedynczych wycieków w stanach ustalonych.Taka ocena dotyczy w szczególności ustalenia możliwego poziomu wykrywalności wycieku, tj.minimalnej wielkości wycieku, który może być wykryty.Innym określanym parametrem jest tzw.czas odpowiedzi, tj.czas od momentu wystąpienia wycieku do jego wykrycia.Podstawę weryfikacji stanowiły badania eksperymentalne przeprowadzone na stanowisku z modelem fizycznym rurociągu.Uzyskane wyniki potwierdziły wysoką skuteczność proponowanych technik wykrywania wycieków.Słowa kluczowe: wykrywanie uszkodzeń, rurociągi, metody wykrywania wycieków, poziom wykrywalności wycieków.

Table 1 .

111Characteristics of the measurement system

112* uncertainty of measurement = sensor + 16-bit converter

Table 2 .

113Detection response times and localization errors of simulated leakages obtained in compared solutions

114f pall  Industrial research Institute for automation and Measurements al. jerozolimskie 202, 02-486 warsaw, Poland e-mails: p.ostapkowicz@pb.edu.pl,abratek@piap.pl

참고문헌 20건

  1. Leakage detection from liquid transmission pipelines using improved pressure wave technique Eksploatacja i Niezawodnosc - Maintenance and Reliability · Polskie Naukowo-Techniczne Towarzystwo Eksploatacyjne · 2014
  2. Leak detection of pipelines Springer eBooks · Springer Nature · 2011 10.1007/978-3-642-12767-0_7
  3. Detecting and Locating Leaks in Transmission Pipelines Springer eBooks · Springer Nature · 2004 10.1007/978-3-642-18615-8_21
  4. Leak detection methods for pipelines Automatica · Elsevier BV · 1987 10.1016/0005-1098(87)90011-2
  5. Improving the Efficiency of Diagnosing of Leaks from Liquid Transmission Pipelines by Using the New Diagnostic Information – The Signals of Weak Interactions between Objects Diffusion and defect data, solid state data. Part B, Solid state phenomena/Solid state phenomena · Scientific.net · 2009 10.4028/www.scientific.net/ssp.147-149.492
  6. Leak detection in petroleum pipelines using a fuzzy system Journal of Petroleum Science and Engineering · Elsevier BV · 2005 10.1016/j.petrol.2005.05.004
  7. Leak detection and isolation in water distribution networks using principal component analysis and structured residuals 2010 10.1109/systol.2010.5676043
  8. Practical Issues of Leaks Diagnosis in Pipelines IFAC Proceedings Volumes · Elsevier BV · 2011 10.3182/20110828-6-it-1002.01688
  9. Direct backward transient analysis for leak detection in pressurized pipelines: from theory to real application Journal of Water Supply Research and Technology—AQUA · UWA Publishing · 2012 10.2166/aqua.2012.032
  10. Detecting leaks in pressurised pipes by means of transients Journal of Hydraulic Research · Taylor & Francis · 2004 10.1080/00221686.2004.9641189
  11. Analysis of the smallest detectable leakage flow rate of negative pressure wave-based leak detection systems for liquid pipelines Computers & Chemical Engineering · Elsevier BV · 2007 10.1016/j.compchemeng.2007.08.011
  12. A selective literature review of transient-based leak detection methods Journal of Hydro-environment Research · Elsevier BV · 2009 10.1016/j.jher.2009.02.003
  13. Comparison of two Detection Algorithms for Pipeline Leaks ˜The œproceedings of the IEEE Conference on Control Applications/˜The œproceedings of the ... IEEE Conference on Control Applications · Institute of Electrical and Electronics Engineers · 2007 10.1109/isic.2007.4359801
  14. Leakage detection and location for long range oil pipeline using negative pressure wave technique 2009 10.1109/iciea.2009.5138796
  15. Leckerkennung und -lokalisierung bei Pipelines durch On-line-Korrelation mit einem Prozeßrechner / Pipeline leak detection and localisation by on-line-correlation with a process computer at - Automatisierungstechnik · R. Oldenbourg Verlag · 1977 10.1524/auto.1977.25.112.69
  16. Pipeline Leak Detection Based on Mass Balance 1993
  17. Detecting leaks in pressurised pipes by means of transients Journal of Hydraulic Research · Taylor & Francis · 2001 10.1080/00221686.2001.9628278
  18. Deleted Work 1955
  19. Fault-Diagnosis Applications: Model-Based Condition Monitoring: Actuators, Drives, Machinery, Plants, Sensors, and Fault-tolerant Systems 2011
  20. Methods and systems of leak detection in long range pipelines Journal of Automation Mobile Robotics & Intelligent Systems · PIAP - Industrial Research Institute for Automation and Measurements · 2007