Skip to content
Episode 12: Measurement Analytics with Bruce Wallace episode artwork

Feb 27, 2018 33 min

Episode 12: Measurement Analytics with Bruce Wallace

from Pipeliners Podcast Hosted by Pipeliners Podcast

For the first time on the Pipeliners Podcast, host Russel Treat dives into the topic of measurement analytics. To facilitate the discussion of this important topic affecting the future of the pipeline industry, Bruce Wallace of Peak AI Solutions joins Russel to discuss analytics, Big Data, learning algorithms, and more relevant issues. Listeners will learn about the different schools of thought related to learning algorithms, the importance of a measurement data management system, and how artificial intelligence will affect the future of pipelining as new technology is adopted and implemented.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Episode 12: Measurement Analytics with Bruce Wallace

0:00 33:31
of matches

Transcript Auto-generated, may contain errors

Welcome to the Pipe Liners Podcast, episode 12. This week, we have a new subject matter. We're going to talk about measurement and in particular measurement analytics and how big data and predictive analytics are impacting the measurement part of the pipeline business. And for that purpose, I've asked Bruce Wallace with peak AI to join us today.

I've always thought of Bruce as somebody who was on the cutting edge, working on interesting technology and very forward thinking in our business in general. So with that, let me welcome to the Pipe Liners Podcast, Bruce Wallace. Well, Bruce, welcome to the Pipe Liners Podcast. So glad to have you on board.

Very happy to be here, Russell. Thank you. So Bruce, we first started talking about you coming on and I was asking you what you might want to talk about. You said, well, let's talk about measurement analytics.

And I said, OK, let's. So my first question for you is what is measurement analytics? Measurement analytics is usually considered a very boring topic, except for the people that are having to deal with it. The reason that exists is a pretty tight-knit community of people that make sure that measurement data is correct and complete for consumption by downstream accounting services and for in customers reports.

When we talk about measurement analytics, we wouldn't really need that if measurement data never was made to be bad. And when I say bad, I'm talking about say at the meter source, somebody forgot to change an orifice plate. And they entered into a flow computer that they did. Anywhere that a human can touch a point in the metering system, whether it's physical or during programming and configuration, there's a potential for failure.

And it happens more often than people really understand. Yeah, so I would agree with that, right? So I think some of the things that people don't generally understand about measurement is that it's a lot of detail. I mean, there's a lot of things that you need to set in a flow computer to get the calculations to be performed correctly.

And it's easy to get one little thing wrong. And that one little thing wrong, the risk of that is you get numbers that are in error, causes you to have imbalances or lost none accounted for. The other thing about measurement that we like to refer to it as the cash register, that's where the ownership of the cut of the products being transferred between one party and another. And consequently, there's audit exposure.

And when you get these numbers wrong, you create for yourself a lot of grief and agrasion down the road. I think people kind of understand that, but I don't think people really understand how many things you have to get correct in order for the measurement to be correct. Is that a fair statement? Very fair statement.

You can get down to the point of saying, okay, which compressibility method did I enter into my flow computer? And does that compressibility method match what is stated in the contract between my company and the other company? If it's not, and you've had that wrong for a period of years, you may have to go back and make adjustments for a period of years. It can be very costly.

Yeah, exactly. And in my experience, the field technician who's putting in the flow computer and configuring everything is not generally carrying around a copy of the contract. That's generally true. And they're not carrying a copy of the standards that the contract refers to for calculating volumes.

That's also true. That's also true. So again, I guess we've got to come back to you. So kind of briefly, again, what is measurement analytics?

When we talk about measurement analytics, we basically have to have something that's storing. It's aggregating the data coming from all the meters that a company might pull data from and process for revenue accounting purposes, financial purposes, et cetera, and for operations. To store that data and aggregate it and to normalize it, we have to have something that could be called a measurement data management system. In the old days, probably pre-90s, that measurement data management system was a mainframe computer, or something very similar with a very strict and regimented program that was somewhat difficult to change with changing times.

Over the years, we've come to the point where we are using Microsoft SQL Server Oracle some kind of a SQL database in combination with a server or a hosted platform to store all that data. The data comes into the system. It runs through some traps, basically, to throw out exceptions for data that's being validated. Those exceptions have to be reviewed or analyzed.

And if they're material, they have to be edited or acted upon. Once the data is edited, it's complete, and it's ready for downstream processing. It's interesting when I do this, I'm always mindful of somebody who's not listening to this that doesn't know anything about measurement. That's true in all these subjects when it talks about various things that pipelines do.

There's always a certain level of jargon and so forth. So I try to get some of these concepts down to something simple. So I think what I heard you say is I have to have a method to organize and go through all the data and make sure that it all makes sense. Absolutely.

And basically, that's analytics. Well, there's some computer system that's doing all of that, and it's kicking out things that somebody's to look at. That's absolutely right. Cool.

So analytics, I guess, analytics has been around for a long time. Yes. We've been doing that since before UNI. We're in the measurement business, which neither one of us.

Right. Even people looking at charts saying, this is right or this is not right. Yeah, exactly. Looking at paper charts and saying that's right or wrong, just because they know enough to recognize the pattern that's right or wrong.

And now things have moved around, moved from that kind of paper technology to electronic technology. And now we have computers that are looking at that stuff. Where are we headed with analytics? And I think one of the things you mentioned is you want to talk a little bit about predictive analytics, and how that might get applied to measurement.

It's interesting that we talk a little bit about charts. Believe it or not, there still are a significant number of charts, not necessarily on pipeline or high-end midstream systems, but certainly in production systems. To the point of maybe having an in North America and Mexico, close to 800, 900,000 charts changed per month. That actually is one of the things that new technology with predictive analytics and with something called computer vision is attacking right now.

Such that instead of having a machine with a turntable, retrace those chart lines and turn those analog signals into digital signals and eventually into numbers, companies are now going out with smartphones, taking a photo of the chart and within a minute or two, the data is being analyzed by a learning algorithm and is going through all the standard calculations and becoming volumes. It's just that past and with the technologies that we've got, it's everywhere. That's just in that one aspect. But when we talk about predictive analytics in the measurement data management system, we're talking about prescriptive things that can be programmed into the computer to look for scenarios and automatically determine whether an edit needs to be done or not, and actually make the edit as part of the machine's responsibility, not only that, but believe in audit trail.

So can you give me maybe a specific example of something that a machine could find and edit? To me, it's simpler to understand how a machine might find something and I tend to think about something like a meter freeze. With a meter freeze, you're going to see your temperature is going to be below a certain number and your differential is going to be rising, that kind of thing. So that's a pattern that I can visualize in my mind's eye and see.

But what might be an example of how a machine would see a pattern and then actually make a correction? That I have a hard time visualizing. That's a very good example that you just gave. Basically, when you can modify or correct the input variables going into the volume calculation, then everything else falls into place.

But to do this, you have to have what everybody's heard of is big data. Big data is not only the kind of structured data that you see in spreadsheets and database tables. It's also the less the non-structured data associated with communication, such as if an analyst working in one of these systems is required to put an audit trail reason for the edit that was made, the machine can take that contextual information and combine it with its pattern recognition, make the edit and put in a reasonable audit trail comment. But it takes a lot of data.

Interesting. How would you define a lot of data? Can you put a quantity on that? Right now, I can't.

The technology being applied in this area is very new. Basically, you just start where you start and you keep metrics on how well your algorithm is performing, looking at the results. In some cases, you create a learning model, feed the machine the data, have a separate set of data that the machine can't see as a test set, and then score how the machine is learning. Once you get to a certain acceptable percent of success, then you're probably where you can be as far as what that algorithm can learn.

At that point, you've reduced the amount of work that an analyst has to do tremendously. Yeah, I was talking to one of our customers just recently, and this has been, they've got operations up in the northeast, and we've had some really cold weather in late December after Christmas, all of January, most of February, they were just getting hammered with all kinds of meter-freeze problems, just absolutely hammered. I mean, finding them is relatively straightforward. I mean, I say relatively, and if you were watching me on a TV screen, you'd see me doing air quotes right now, I want to say relatively.

Right. The key thing is to keep feeding the machine data more and more data will constantly refine the algorithm. The algorithms themselves are referred to as learning algorithms. So if they do produce a bad result, you can make that change, and the machine will learn from your change to its incorrect result.

Yeah, so this is actually something I've been reading a bunch about, and I'm a bit of a math nerd, and I kind of, I'm weird, I enjoy statistics and all that stuff. So one of the things I know about these learning algorithms are these predictive analytics, is they're real good at looking at a normalized dataset and using history when they've seen something before, seeing it again, seeing something they've never seen before. That gets into different kinds of learning algorithms, and I could go into it, but I understand there's something like five different camps out there that have defined themselves and are somehow working to converge their methodologies and principles. One is a statistical tribe, if you will, using Bayesian statistics, I suppose.

Another one is a connectivity tribe, which looks at how the brain functions and develops algorithms based upon that. Another one is the analogists, such that if you were to consider an example where A and B are different entities, and A and B like two different things, then you find out A likes a third thing, you might be able to make the analogy that B will like that third thing also. And I can't remember all of the different tribes, but they're all working together to overcome some of what you're talking about as far as predicting things that have not been seen. Well, there's certainly a whole lot of value in finding these kind of things sooner and finding them in a way that you can say, well, this looks like a orifice plate miss size, or this looks like a meter freeze, or this looks like a bad chromatograph report.

That in and of itself is super valuable. And not only these things, not only the learning from the algorithms, but there are other things that can be done. What I'm really interested in personally is to develop systems that basically streamline this part of the measurement process. Some of the systems have become so complex in and of themselves that an analyst not only needs to know the measurement process, but it's come to the point where they almost need to have a training course in the system that they're operating.

Yeah, I think that's very well said. We talked earlier about just the level of complexity and getting a meter right. Well, the complexity is only amplified when you get it into the back office and you start trying to put it together with all the other data that needs to be joined up, like lab reports and things of that nature. Right.

Some systems allow you to create physical impossibilities that are totally outside of your contractual realm. And you can rock along with those for a long time and not catch them. What I envision is a system that becomes more minimalist, such that just as you're asking your iPad or your iPod, not your iPod, but your iPhone, what's the closest restaurant? I envision being able to log into your data management system, and the system prompts you upon login and says, what do you want to do?

And from there, you build a meter. I can kind of put my mind's eye on that. There's so many variations. And if you just think about natural gas measurement, I'm going to talk about just natural gas.

Am I, is it produced gas? Is it gathered gas? Is it rich? Is it mean?

Is it wet? Is it dry? All of those things impact, not only how you do the measurement, but what math you apply and what algorithms and standards you apply in order to get your measurement number. Right.

But all those things have got rules. And the rules are your contractual requirements and the standards that you use along with your company's policies. If you can put those rules into the system, you can have the system prompt you and guide you down the correct path instead of making mistakes because you don't have the knowledge and experience. That's a fascinating idea.

One of the companies that I'm involved with Gas Certification Institute has one of the things they do is they provide standard operating procedures. Right. Right. And we have literally thousands of pages that represent standard operating procedures.

So when you say, if you get the rules, to me, that's a bit mind-boggling because I would assume, and maybe you can shed some light on this, but it's not just capturing the rules, but also capturing the ways the rules interrelate. Right. But what we're doing though is we're putting those responsibilities into minds that are associated with bodies that have to carry out different processes and procedures. And they may truly not have the years of experience to even understand why they're doing what they're doing.

And most of those rules, if you can put them into the system once, they're in the system. Whereas you may have to revisit, revisit, revisit, and you will make mistakes as a human making your own interpretations of things that you don't quite understand. No doubt. No doubt.

And like yourself, I've been involved in measurement a long time, and one of the things I'm way more clear about now than I used to be is what I don't know. Me too. Right. Measurement is an interesting thing.

I mean, you might get into a particular organization to be doing a particular kind of measurement and really be all over those details. But you can't necessarily just pick that expertise up and apply it to another organization because the nature of how they operate, the nature of how they contract and do business can materially impact how you do your measurement. So there's just so many variables. I mean, I get what you say conceptally, but to me, that sounds like a huge undertaking.

Right. Cool. So when might you be getting others to look at what you're working on? We already are.

For instance, I mentioned the chart, the computer vision application that's already happening both in the US and in Canada, and we're exploring Mexico right now. Beyond that, on the predictive analytics, we have already created some training models, and we've done some preliminary work. It's just a matter of getting the data in, which just means new customers, and that's picking up all the time. Well, that's awesome.

To me, this is exciting stuff. I find the measurement back office to be challenging in terms of what it is and what it does. I should probably put a little context around that. What I mean by that is, as a guy who's never actually worked in a measurement group, but has been a consultant to many, it's always a fairly steep learning curve to get your mind around what is their particular operating model.

And then once you're there, you can start adding value, but it's not getting that understanding of where's the swim lane that they're working in that is really critical to gain that understanding. I guess if you have tools, getting to that understanding becomes expedited, becomes quicker. That's true. And also, you probably, along with everybody else in the industry, realize that the cycles of boom and bust have not always brought back the talent and knowledge and experience that was lost during each bust.

And because of that, we've got a lack of experience, and we've got a lack of personnel, actually, that are coming in to try to fill these roles. That's one of the things that AI and predictive analytics can help fill gaps with. Well, I hear you. I guess one of my concerns is if you start making the job, again, I'm doing air quotes thing easier, then where do you find the people that really understand things from a bigger picture?

And I guess that has to do with somebody's got to understand the rules and the algorithms and the processes and how that all goes together. That's true. Most of those folks, basically, will depend upon people that actually are involved with standards organizations, people that do have a rich and varied experience in measurement, whether it's measurement in oil and gas or otherwise, but there are parallels in all the measurement worlds. Yeah, without a doubt, it's not just what you and I know is only gas and it's not just oil and gas, it has to get measured where this kind of thing matters.

That's right. That's vast area in petrochemicals and mining and a whole lot of other kinds of things and these issues while different, there's a lot of similarity, although there are important differences. Here's an example. I'm afraid to ask you this, but I will anyway.

When's the last time you balanced your checkbook? Oh my gosh, I've balanced my checkbook at least once a week. Do you really? Yeah.

There are so many people now that don't including myself, because it's just so easy to go online constantly or if you want to, and look at what your balance and look at all your inputs and your outputs. Yeah, yes, and if you do all your banking electronically, that gets easier. Right. Yeah, so and I don't.

And I do. You know, it's interesting. I'm a technology person, but I'm kind of a late adopter of many things because I want to have absolute certainty at work. So I think that comes, I grew up as an engineer first in a measurement in an IT software developer person second.

I get, I won't very high reliability. Right. Right. And that's that because of that, it influences how my willingness to adopt and experiment with new technology.

Right. You know, I think Bruce, it's really a good question, right? Because I think your expertise is probably more in production and gathering than in pipeline. Would that be true?

Most of my experience outside of the vendor world was actually in midstream. Right. So if you talk about pipeline, you know, not not, you know, midstream certainly part of that, but you talk about the big guys that that are doing, you know, the big transmission companies and all of that. These guys are highly risk averse, right?

And for good reason. That's right. That's right. And for the most part, they're running processes that, you know, they need to run very efficiently and very safely.

The best pipeline operators are companies that are generally, there's exceptions, but generally are not in the news very often. But my point being that this risk aversion makes getting some of these new kinds of ideas and these new kinds of concepts, challenging to adopt in some of these bigger organizations. But the environment in pipelines has been changing for probably since the late 90s too, whenever there was the big push for ethane rejection because of everything going topsy tervy in the liquids world, so that you had to really monitor and understand what was going in, you know, as pipeline quality gas from a processing plant perspective. A lot of people were pushing the boundaries and you were ending up having situations like hydrate formation in your instrumentation in other places within what was supposed to be quote unquote pipeline quality gas.

This kind of technology can help using those inputs for composition to determine whether or not you do run the risk of having free zones. Yeah, that I can see very clearly. And you know, this gets into a conversation about what is measurement and what is skated and how measurement and skater are different and how how analytics would work with measurement data versus how analytics might work with skated data. And it's the same but different.

I would assert, right? And I think also that the other thing that we're probably there's probably going to be change coming out of as a result of all this that we cannot anticipate. Right. You know, I remember when you know the EFM were kind of early into the market as I was getting started and I was with a company that had a chart integration that put a DOS computer with a chart integrator so that we could back print a volume right on the back of a chart.

And let me tell you, in 1992, that was really cool state of the art technology. That was cutting edge. Yes, it was. Younger people listening to this are going to get a giggle out of that.

And I think I just gave out on us both how long we've been doing this. Sorry, my apologies. No problems. But my point being that, you know, at that time, there was a FERC, which is the Federal Energy Regulatory Commission did its order 636.

And at that time, all the big pipelines primarily had charts and most of their businesses were monthly in terms of their business process. But when FERC order 636 came out and basically what that did is it before that, the big pipelines would buy the product and then move it through their system and sell it on the other side. And generally, they were price controlled at the sales point. So in the 70s, there was a huge gas shortage in the northeast and they changed the rules and said, well, we're not going to have the transportation companies buy and sell the commodity.

We're going to have a charge for transportation, which all of a sudden everybody needed to know every day how much of my product was in their pipe and where am I putting it in? Where am I taking it out? Right. Gros Vos to electronic measurement.

I don't know where we're headed because I don't know that I can predict that. But I think that this whole analytics thing is going to have just a big an impact. Do you have any ideas on how this might change the measurement part of our business going forward as this technology begins to come out and become more dominant or widely used? I think it's going to impact the trading side before it hits the measurement so much.

When we talk about energy trading and risk management, I think that's where you're going to see a lot of the benefits first. Well, that makes sense. I mean, that's not unlike what they've been doing on Wall Street for years. Right.

So in the guy with the best algorithm and the fastest computer ends up carving out an advantage in the market until all the other algorithms figured out and catch up. And then it becomes just a very tight, very, very tight margin regardless. So one last question I want to ask you and I don't know how this applies to measurement, but I've been asked many times, probably over 30 times in the last year, Russell, what's all the big deal about Internet of Things and big data and predictive analytics? I mean, how is that any different than what we've been doing in SCADA for 30 plus years?

So I want to put that question to you. How would you answer? Over the years, you and I both seen the tendency, the cyclic tendency to go to centralized versus decentralized monitoring and control. I think what we would possibly see with AI is a more centralized situation with a quote unquote cloud being the big aggregator, such that each of the end devices are able to be able to talk to the cloud and to whatever device or system or platform has the algorithms to aggregate and process and act upon those inputs.

I think that's probably one of the things that you'll see. Well, it's an interesting answer, Bruce, because if you were to ask me the same question, I would tell you it's going to force us to be centralized. Yeah, at some point we have to define what those terms mean. What does these analyze?

Yeah. I've been on too many standards bodies. It's terrible. It will impact the way you think.

I grant you that. I really appreciate your coming on board and joining us with all this. Is there anything else that you want to talk about as it relates to measurement analytics and just the whole subjecting thing you think listeners might be interested to know? No, I'm just interested to hear what the community thinks about it all and either going through through you and your your podcasting or through other resources.

I would enjoy hearing feedback. Well, there you go. Podcast listeners, if you want to get in touch with Bruce, what's the best way to get in touch with you if somebody had questions they wanted to reach out to you? I've got access through LinkedIn and I also have an email that somebody can send me their questions, concerns, suggestions, vruc.walac.com.

Great. Well, we'll also make sure that all that's on the show notes page and there'll also be a profile for Bruce on the pipeline or podcast website and you can go there and find his contact information. And I would encourage you if you do have questions about all this, please reach out to him. I think very highly of Bruce is one of the reasons I asked him on and I'm always curious what he's working on because it's always futuristic and very interesting, at least.

Well, thank you, Russell. That's a high compliment coming from you. Thanks for being on the show. We really appreciate it.

Thank you, sir. I hope you enjoyed this week's episode of the pipeline or podcast. I certainly enjoyed the opportunity to talk measurement with Bruce Wallace and certainly learned a lot from the episode. I think Bruce and I have some different thoughts about where the future is headed, but hopefully the listeners will value the differences and learn from that.

Just a reminder before you go, you should register to win our customized pipeline or podcast Yeti Tumblr. Simply visit pipelineerspodcast.com slash win to any yourself in the drawing. If you have ideas, questions or topics that you'd be interested in or would like to see us talk about or if you have in mind, guests that you think would be interesting and engaging and have information that pipelineers would enjoy, then please go to the contact us page at pipelineerspodcast.com or reach out to me directly on LinkedIn. My profile is Russell.

That's r-u-s-s-e-l-just one-l-t-t-r-e-a-t and you can find me on LinkedIn. Thanks again for listening and I'll talk to you next week.

Frequently asked questions

How long is this episode of Pipeliners Podcast?

This episode is 33 minutes long.

When was this Pipeliners Podcast episode published?

This episode was published on February 27, 2018.

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.