Full Content is available to subscribers

Subscribe/Learn More  >

Optimization of Averaging Window Length and Alarming Hold Time in Volume Balance RTTM Leak Detection to Minimize False Alarms and Spill Volume

[+] Author Affiliations
Shawn Learn, Ehsan Shahidi

TransCanada, Calgary, AB, Canada

Paper No. IPC2018-78791, pp. V003T04A029; 5 pages
  • 2018 12th International Pipeline Conference
  • Volume 3: Operations, Monitoring, and Maintenance; Materials and Joining
  • Calgary, Alberta, Canada, September 24–28, 2018
  • Conference Sponsors: Pipeline Division
  • ISBN: 978-0-7918-5188-3
  • Copyright © 2018 by ASME


Reliability and sensitivity are two main performance metrics of leak detection systems as defined by API 1130 [1]. Proper thresholding scheme is one of the primary factors in having a sensitive and reliable leak detection system with timely detection. In RTTM leak detection, if not dealt with properly, severe pipeline pressure transients can degrade the performance of the leak detection system. One of the common basic methods of reducing the effect of pressure transients is using moving averaging windows; having looser thresholds on the shorter averaging windows, while maintaining tighter thresholds on the longer ones. The thresholds are typically set to meet the API 1149 [2] curve for the pipeline. While the post-processing of filtered data and alarm assessment has been explored via different methods such as sequential probability ratio test, to the authors’ knowledge, there is currently no systematic way of selecting the averaging windows to minimize false alarms prior to the post-processing of the average-filtered data. Moreover, to be able to maintain tight thresholds, especially in shorter averaging windows, one of the common methods is to apply dynamic thresholds, i.e. temporarily expanding thresholds when transients occur. While effective in some scenarios, the main disadvantage of this method is that the imbalance caused by a transient may not clear until the entire averaging window period is passed. This causes either extended periods of degraded performance, or more false positives. This paper utilizes an alarming hold time (also referred to as alarm persistence [3]) to remedy this problem where the averaging window length is reduced while maintaining detection time and sensitivity. To find the optimal set of threshold values, hold times, and averaging window lengths, a Particle Swarm Optimization (PSO) is performed. The ‘fitness function’ of the optimization algorithm is designed to minimize total spill volume for leak scenarios and have minimum false alarms for no-leak scenarios. The former is achieved via setting the objective function to the spill volume and the latter is enforced via applying constraints to the optimization algorithm. For no-leak scenarios, the historical operational data of a pipeline system is used. For leak scenarios, the historical data is modified by introducing a bias in the inlet volume of the section to simulate a leak. The result of the PSO provides a set of alarming parameters, threshold value, averaging window length, alarm hold time, and clearing threshold that provide the minimum false alarm rate and spill volume for different detectability ranges. The optimization method proposed in this paper can be applied to any mass or volume balance-based leak detection system that utilizes moving averaging windows. However, the leak detection parameters found with this method depend on the pipeline system.

Copyright © 2018 by ASME
Topics: Optimization , Leakage



Interactive Graphics


Country-Specific Mortality and Growth Failure in Infancy and Yound Children and Association With Material Stature

Use interactive graphics and maps to view and sort country-specific infant and early dhildhood mortality and growth failure data and their association with maternal

Citing articles are presented as examples only. In non-demo SCM6 implementation, integration with CrossRef’s "Cited By" API will populate this tab (http://www.crossref.org/citedby.html).

Some tools below are only available to our subscribers or users with an online account.

Related Content

Customize your page view by dragging and repositioning the boxes below.

Related eBook Content
Topic Collections

Sorry! You do not have access to this content. For assistance or to subscribe, please contact us:

  • TELEPHONE: 1-800-843-2763 (Toll-free in the USA)
  • EMAIL: asmedigitalcollection@asme.org
Sign In