Skip to content
Episode 69: Instrumentation Issues in Leak Detection Systems episode artwork

Apr 1, 2019 30 min

Episode 69: Instrumentation Issues in Leak Detection Systems

from Pipeliners Podcast Hosted by Pipeliners Podcast

In the fourth of a series of episodes, Pipeliners Podcast host Russel Treat welcomes Dan Sensel, Jason Dalton, and Kyle Miller from Marathon Pipe Line to discuss the ongoing maintenance and monitoring of leak detection systems. The discussion focuses on specific pipeline situations involving instrumentation, leak detection, optimizing alarms, pressure and metering considerations, the accuracy of measurement equipment, batched products, and more topics. Listen for real-world applications that you can apply to your operation and role to support leak detection, safety, and risk mitigation.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Episode 69: Instrumentation Issues in Leak Detection Systems

0:00 30:12
of matches

Transcript Auto-generated, may contain errors

Welcome to the Pike Liners Podcast, episode 69, sponsored by InterSYS Corporation, providers of Poems, the pipeline operations excellence management system, compliance and operation software for the Pike Line Control Center. Find out more about Poems at intersyscorp.com. We are giving away a customized Yeti Tumwur to one listener each episode. This week, our winner is Anthony Fisher with Barry Petroleum.

Congratulations, Anthony. Your Yeti is on its way. To learn how you can win this signature prize back, stick around to the end of the episode. This week, we welcome back Dan, Kyle and Jason from Marathon Pipeline to talk about issues with instrumentation and the impact on leak detection.

Well, Marathon Trio, welcome back to the Pipelineers Podcast. Haruso, glad to be back, buddy. Just so listeners know, we've had a little, it's took a little bit longer than planned because we had some technical difficulties, which we're all fairly confident we have worked out now. I guess we'll know here in about 30 minutes whether they're all worked out.

So Kyle, Dan, and Jason, I asked you guys on this week, we'll talk about metering and instrumentation and how that impacts leak detection. So maybe I'll tee this up by saying, I think when people are implementing leak detection programs, one of the things that occurs is they often fail to consider what's necessary for the ongoing care and feeding, if you will, of a leak detection system. So what's your experience with the challenge of getting the instrumentation where it needs to be in order to support doing a good job with leak detection? That's always a challenge, especially if you're trying to retrofit a system or if you're taking on new ownership of a system, new operation, trying to get that system up to snuff with what your leak detection requirements are, different companies are using different technologies and that can lead to gaps when we take something over.

We have a fairly robust leak detection adequacy process that reviews the pipelines, what we review all pipelines every five years, but new pipelines are reviewed immediately to determine what is the appropriate leak detection method. And then we look at what instrumentation do we have and what may be needed to get it to an adequate level of leak detection. So reviewing pressure transmitters and meters and all of those things are part of that process. So what would go into making the decision about what leak detection approach is best suited to a particular pipeline?

The way that we do it is we feed the data from our imp risk assessment into kind of an algorithm we've got. And we sat back a couple years ago, many years ago and tied specifically detection systems to the operational risk of the system and the complexity of the system. So if you've got a system that's really short, one mile, two mile, like a spur line feeding a tank farm, you're obviously a real time transient model is not going to work on it. You just don't have the length, it's overkill, it's overly complex.

Whereas if you've got interstate line, high diameter, high flow rate with multiple batch products, a line balance system might not be a good fit for that just because there's better data and you've got a significant risk just due to the size of the line. The risk and the complexity of the two things that we truly look at. But that makes that makes perfect sense. When you're looking at something that's new to your organization of maybe a system you've acquired and you're evaluating the instrumentation, what are the kinds of things you're looking for with regards to what's installed?

First pass we take the look at is the measurements equipment. So your lead detection system, most of it is dependent on how accurate your measurements equipment is. So if we take a line over, they've got four of us meters or they've got unprovable ultrasonics, we'll take a hard look at we need to upgrade that. We're kind of old school and we stick by terminators and pd meters and we have a lot of fixed provers.

So one of the first things that we typically do when we take a system over is consider a measurements upgrade. The other thing we take a look at is where all the pressures install. The pressure instrumentation is a lot easier for us because it's, it's, he's multiple processes, you get more telemetry and you get more data on what's really going on in the pipeline based on how many pressure transmitters you've got installed. So we'll throw a lot of those at a system.

We take it over usually. Well and pressure is easier to retrofit than metering. Absolutely right. It's interesting to me.

I'm kind of surprised that you guys use a lot of turbine type meters for your lead detection. At least in my experience, that's a bit old school. Is there a reason you don't move towards ultrasonics? Well our measurements group tends to use turbine meters for our costy transfer meters and many of our lines.

We're taking advantage of the costy transfer meter, which is the turbine meter, group, and turbine meter. In instances where we have to install an integrity meter or a meter that's sole purpose is for leak detection. In those cases, we will go with an ultrasonic to cut that cost and to get that different technology in there. Yeah, that's actually, I mean people that are familiar with leak detection are kind of familiar with this, but there's a there's a distinction between those meters used for custody transfer and those meters used solely for leak detection.

I think with the ones used solely for leak detection, one of the issues is I want to minimize pressure loss across the meter where in custody transfer, the issue is I want the most accurate and consistent and reproducible measurement possible. Yeah. And then of course, one of the challenges having two different kinds of metering technology can cause some that that by itself can cause some some issues. Yeah, and of course, if you're using a real time transient model or any model that is an internal monitoring of the pipeline based on pressures and flow rates, your leak detection limits are going to be dependent upon the accuracy and the error of your metering.

So it's important to make sure that you understand the limitations of your system before you establish what thresholds you're going to use, because that can lead to erroneous false, you know, extra false alarms. If you set the thresholds too low and you know, if you set the thresholds at 1% and your metering is only good to 1%, you're going to be driving yourself crazy trying to figure out what's going on. Yeah, exactly. That's exactly right.

And you have to look at the other thing you have to look at is what is the accuracy of the meter taking in consideration, not just the primary element, you know, the meter itself, but all the things you're doing around O&M for the meter because all that impacts accuracy as well. So for those meters that are not custody transfer, what kind of practices are you putting in place to calibrate and prove those kind of meters? For us, we have very few, what I would call integrity meters. Other operators, typically we'll put a meter every segment, so between pump stations.

We go away from that and we just use the custody transfer at the receipt and delivery ends. One of the reasons that Dan mentioned, every measurement device has some error, and in our real-time models those errors stack up and influence the level of leak detection that we can put on the line. So in the rare cases where we do have a UT meter or some other technology, typically those are balanced against the custody transfer model or custody transfer meter somewhere, and we'll continue to watch that meter and see if they start to get out of balance. So in a way, we're kind of proving the less accurate meter that's downstream with a more accurate meter upstream.

Yeah, it's more of a reference meter kind of proving. Right. So my custody transfer, I'm proving to a legitimate prover, and my, you call it your IMP, I guess your integrity meters, which are there purely for leak detection, those are proved against an upstream meter that's or a downstream meter that's custody transfer. Or in some cases, we'll have proving connections at those meters and we'll use a portable prover to prove them on some PM cycle.

Yeah, so if there's a significant change to facility piping, or we put a new meter in or we don't even make this on it, we'll bring in a temporary prover on a trailer, or that. Yeah, well that'll make sense. That'll make sense. And as Dietzen mentioned about, where we tend to go to just inlet, you know, receipt and delivery meters instead of having station flow meters, part of that is our systems are significantly batched and shipping both heavy and lights and various different types of product.

And the air that gets generated by having those various products going across an intermediate meter can really impact your leak detection performance. And you end up in a situation where when you do have a deviation on one of those station meters, you're spending a lot of time trying to figure out what's it due to rather than responding to the alarm as if it's a leak, you know, if there's less confidence in those meters due to all the variability going across them. Yeah, that's a I think that's worthy of unpacking a little bit because that's a bit counter into it. If you know, you would think that in leak detection, more metering would be better.

So you guys, is that unique to the situation of batching a lot of different density products, or is that you think you would see the same kind of thing if you're shipping more of a consistent product like a crude oil? I think it's unique to a batch system. So for example, if you've got a lot of those midpoint meters that are out on individual segments, if you don't have the ability to prove them, then as the product quality for the product grades changes, they go across that meter. If you can't prove it, you're going to have to reduce your measurement precision a little bit.

And you know, if you've got a long line, let's say you've got 10 segments and you stack all those errors on top of each other, as you're also trying to track batches through the line, it can significantly impede the lowest achievable threshold that you can get without generating a lot of false positives. Right. Yeah, that makes sense because each different density product is going to have a little bit different meter factor. Yep.

Right. And that little bit of difference could be enough to impact the sensitivity the model and start throwing false alarms. So for example, even past that, we are starting to move a lot of blended crews. And the blended crews have the impact of their not homogeneous.

And that means that the density of that great crude oil is not consistent all the way through the batch or the modulus isn't consistent all the way through the batch. So you can prove the meters on both ends of the line at the beginning of your delivery. And 10 minutes later, you have a completely different line fill. And then, you know, Pearl modeling the fluids not changed.

So there shouldn't be a reason to prove. But when you prove you find out your API gravity changed by two or three. Yeah. And it's, you know, a small change, but enough to make a difference from a leak.

Right. Just a point. And our longest lines, we may have 20, 30, 40 different batches. And from the leak detection, let's say the user level, you know, we train ourselves to, you know, to recognize what a batch change looks like.

So if we get a leak alarm, one of the first things we look at is, as there's been a batch change, we think the meter factors off. And to Dan's point, we don't want to waste a lot of time fighting with things like that, rather than treating it like it's an actual leak. Yeah. I'm actually, you know, this is one of those things where I'm thinking about this in the complexity that it just supports my kind of innate belief that everything's easy until you know enough about that is for sure.

So if you can't use additional kind of throughput meters because of the nature of your operation, are you augmenting your leak detection with pressure or density or that type of thing? Yeah, we'll definitely pressure, you know, we go through and look at all the elevation profiles and lines and determine where pressure transmitters are needed. And then the system we use, you know, not only do we bring in the RTTM model, but also one of the first steps in analyzing a leak alarm would be the trend pressures on the system and look for deviations or for pressure decay in any place that would be unexpected. So it takes a lot of analysis to figure out what pressure should actually be doing on a line when you have multiple batches in the line, multiple changes in configuration and things like that going on.

So we try to bring as much data as we possibly can to the analysts view so that they can make the right decision. Yeah, and I get at least in my experience, there's a lot of what I call local knowledge. I mean, I need to know the individual systems and how those individual systems behave in order to do that analysis. Right.

And we have lines that maybe have long sections that are a little bit shallower average and therefore are more susceptible to swings due to daily ambient temperature. Right. You know, once again, from a user level, the temperature is a bigger offender to us than a meter factor. And during certain seasons of the year, like right now you may have a 10 or 15 degree or 20 or 30 degree of temperature swing during the course of the day.

And on a shallow line, that's going to make a big difference. And the model may not adjust in time. And we have to go in there and make those tweaks based on experience. Yeah.

So the other thing I wanted to talk about around this, this idea about instrumentation, which we're kind of getting into some operational considerations. I want to talk more about the O&M of the instruments themselves. So if I'm relying on, I think what we've done, you know, and so far, at least it's kind of illustrate just how sensitive these models can be to changes in calibration or fluids or temperatures or that type of thing. So, you know, obviously to the extent I can get a better job of maintaining my instruments, the better my leak detection system is going to run.

So in addition to just my normal O&M and calibration, are you doing things where you're going through any kind of periodic check or review to see if you can find things that look like the instruments aren't behaving as they should be? Yes. And we're kind of around about way. And the reason is, is with the complexity of a real-time model, you're going to start to see really quick if you've got something acting up.

And if you've got a transmitter that's not spanned correctly, and there's been times that Dan will come over and, hey, we've got a legal arm on such and such system, and every other transmitter on this line looks fine. We've got a transmitter that's reporting the pressure that's 5 psi lower than what all the calculations say it should and what it was reporting yesterday. And we'll have the area go out and re-spam the transmitter. So, I think the is a positive for us with the amount of data we're bringing in that we can find out of something's kind of going off the rails really quickly.

As far as the rest of the calibration, a lot of the good things about a CPM-based leak detection. So, if you're looking at like a line balance or a compensate line balance, most of that equipment is DOT covered, which means that once a year not to span 15 months between checks, that instrumentation has to be DOT inspected, to make sure that it reports the correct values. Yeah, just part of our leak detection process here is maintaining a database of all of the instrumentation that we are using in any way associated with our leak detection models. And then per 1130, 8-gallon 130, those are added to PMs within our maintenance system and calibrated for schedule.

Yeah, that's kind of getting gassed to what the question I was asking because I think to do a good job of leak detection impacts the O&M. Your needs are going to impact the procedures that the guys looking at the safety, the pressure related safety transmitters and the custody transfer metering, there's going to be things in their procedures that they're doing that provide for cross checks and feedback to the leak detection group. And I think for somebody who's not put in a CPM system before, it's easy to overlook that reality. I think a good strategy would be to have a minimum amount of leak detection specific equipment.

So I think in our CPM system, I can't think of a single transmitter or meter or device that was installed solely for the leak detection system. And what I mean by that is we put this system in after these lines have been installed for many, many, many years. So we were able to piggyback our needs on the needs of other processes. So our measurements equipment comes from frankly the cash register or the company.

So when we need the meters to be accurate, there are other departments that also need them. And our pressure transmitters are used for the pressure control initiatives and also measurement, if you have to evacuate accurate pressures going through your meter runs. So the easiest way to make sure that your equipment is as update to possible is to use it in as many ways as possible. Yeah, that's right.

The more people that are relying on it, the more likely you are to do a good job of keeping that equipment. That's a really, I've never thought about it that way, but that's an excellent point. And the transmitters also help us with pump efficiency testing, testing, whether control valves are being worn out, looking at surge relief events to see how the valves are acting. As we mentioned, pressure transmitters are typically a pretty easy sell.

Yeah, yeah, and they're not, you know, with the way things are going in terms of the cost of the transmitters and the cost of the communication, they just keep getting less and less expensive. So they get, you know, it's almost to the point that the things you have to do to modify the pipe to mount them are more costly than the other parts of the package. Yeah. So if you were, if you were advising a small liquid pipeline operator that is, you know, thinking they need to get a CPM in place, how would you tell them to approach this around all their instruments?

I think we've kind of covered that about using the instruments you have, but what else might you advise somebody who's getting started putting a program in? I would review the accuracy of those instruments and look at something like API 1149, which is going to tell you what kind of air you can expect in your leak detection. And to do that analysis and understand based on the instruments you have today, what kind of benefit is your leak detection system going to give you? If your leak detection system based on the errors that you have is only going to tell you if you have a 10% flow leak, then you may need to look at investing in additional instrumentation if that doesn't meet your risk management goals.

So it's important to understand, like I said, those limitations that are imposed by your hardware out in the field before you even get to your software side. Yeah, I think my advice would be to keep in mind what you're trying to do here. You are trying to minimize the consequences of a loss of containment as much as possible. And if you do, like Dan said, and with your current equipment, the best you're going to get is a 10% leak rate, but you can take that money and patrol the line on a daily basis.

The better option is to go away from a CPM system and to patrol the line more accurately. You got to balance the amount of money that you have available or resources that you have available versus the end goal. Sometimes it's not the fanciest of what you can get. You can use all tried and true methods, as long as you reduce the consequences of the leak.

Yeah, again, I think that's very well said. And I think the other point we've made is that every operation is different, depending on the nature of the pipe, the nature of the product and where it's located. So yeah, I mean, there's a lot of, like everything else, there's a lot of factors to consider. I think one of the things that's challenging on the metering side is that you have this issue about accuracy, but you also have an issue around bias.

So what I mean by that is every metering type has its own innate accuracy, but it also it also tends to have its bias. So what I mean by that is if I've got a meter and it's a 1% meter, well, it's going to tend to measure either a little bit higher, a little bit low of the actual if you were doing something in a lab. So when you combine meters of different types, you have to be careful about how you're managing that uncertainty or that error across different meter types. So if you've got a system in its got orifice meters and turbine meters and ultrasonic meters and Coriolis meters all combined, that in itself could be problematic just because of the different meter types.

Have you ever seen anything like that in a system that you guys are acquiring and taking over? So that's one of the ways that you're going to count for that is through API 11 and 49. API 11 and 49 has got a lot of calculations on it. And you can stack up the accuracy of different pieces of equipment and help to generate your overall threshold.

So if you've got a pd meter that's good, 0.002%, and you've got a term of meter that's good, 0.015%, all of those factors can go into calculating your overall detection threshold. That's the way that we deal with it. We've got a lot of systems where we've got one type of measurement from a one end and a different type on the other end. And it all gets rounded up into our final calculation for our detection threshold.

Gotcha. But as far as bias, I think sometimes I can come down to just system familiarity as well, where there are some systems where we'll know that it tends to run a little with a positive week rate or a negative week rate. And that becomes kind of the norm. And over time, we'll look to balance that out, work with our measurements department to try to get that to be as accurate as possible, as centered as possible, so that we get the full advantage of all of our threshold.

Right. Well, and I think being a guy who grew up in measurement, I think the other thing that's important to understand is that getting the accuracy of your measurement is not just about your meter, it's also all the things you do to manage that meter side, how often is it calibrated, how is it calibrated, what's the accuracy of the equipment you're using, calibration, all of those kinds of things will impact. And when you say work with your measurement department, that that's the kind of thing you're talking about is what can they do either through the equipment itself or through the way they're calibrating and operating and maintaining that equipment to improve the overall station accuracy to dial things in better. Because what's certainly true is to the extent the instrumentation becomes more accurate and to the extent you get that data more often, your lead detection system is going to be able to operate more effectively.

Right. I mean, it's like Dan said earlier, you really, you have to go in with your goals. And from then on out, you're going to get what you pay for. In our world with thousands of miles of pipe with hundreds of different products matched, I think people would be, you know, people who aren't in this industry and don't do this, this line of work would be surprised that a meter on one end and a meter on the other wouldn't be good enough.

But you really have to think about this as energy. Right. There's a certain amount of going into the pipe. And some of that's coming out and some of this being, you know, being lost, you lost through the environment, there's so much heat transfer that goes into this.

And that's what the pressure transmitters and that's what the time station is all about. Yeah. And when we talk about energy being lost, we're not talking about product coming out of the pipe, we're talking about the energy we introduced to move the product, right, is lost as the product is moved. So the pumping energy that we apply is not the velocity we get at the end of a long segment.

Right. It's a 200 mile heat transfer problem. Right. Percy, Richard.

Yeah, exactly. Exactly. So guys, this has been great. as always, I appreciate it.

Thanks for coming back. And I'm sure we're going to have a lot more things we need to talk about as we go forward with all this. But as always, I really appreciate you all participating on the podcast. Always a pleasure, buddy.

Nice to talk to you, Russell. I hope you enjoyed this week's episode of the Pipeliners Podcast and our conversation with Kyle Dan and Jason. Just a reminder, before you go, you should register to win our customized Pipeliners podcast Yeti Tumblr. Simply visit Pipelinerspodcast.com slash win to enter yourself in the drawing.

If you would like to support this podcast, please leave a review on Apple Podcast, Google Play or whatever smart device podcast app you happen to use. You can find instructions at Pipelinerspodcast.com. Last, if you have ideas, questions or topics you'd be interested in, please let us know on the contact us page at Pipeliners podcast.com or reach out to me on LinkedIn. Thanks for listening.

I'll talk to you next week.

Frequently asked questions

How long is this episode of Pipeliners Podcast?

This episode is 30 minutes long.

When was this Pipeliners Podcast episode published?

This episode was published on April 1, 2019.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Pipeliners Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.