32
1 Oilfield Data Science and Machine Learning/AI DAVID PEACH PRODUCTION ENGINEER APRIL 13 TH , 2018

Oilfield Data Science and Machine Learning/AI - … · Examples in Action –Machine Learning –ESP Power 23 Calculate power requirements for future ESP wells, along with monitoring

Embed Size (px)

Citation preview

1

Oilfield Data Science and Machine Learning/AI

DAVID PEACH – PRODUCTION ENGINEER

APRIL 13TH, 2018

Why do we care about BIG DATA

The importance of data in today’s world

• What is big data?

• How can we use it?

• When do we use it?

• Problems/limitations?

2

Big data can be a massive advantage in the oil and gas business,

but can also be detrimental if not implemented properly.

Data Science

• What is data science?

• Who can do it?

• How do we properly

implement it into oilfield

applications?

3

Start with the Basics - Excel

4

Start with the Basics - Excel

5

Manipulate, filter, and check data

Start with the Basics - Excel

6

11/21/2017 12/11/2017 12/31/2017 1/20/2018 2/9/2018 3/1/2018 3/21/2018 4/10/2018

0

50

100

150

200

250

0

500

1000

1500

2000

2500

3000

11/21/2017 12/11/2017 12/31/2017 1/20/2018 2/9/2018 3/1/2018 3/21/2018 4/10/2018

Chart

Pump Intake Pressure Frequency Motor Temperature

One Step Further – Data Analytics

7

Data Analytics/Machine Learning - Options

• Excel

• Spotfire

• Microsoft Power BI

• Tableau

• Looker

• Domo

• Azure

• Orange

• ……etc

8

Data Analytics - Options

Can’t we just do all of this in Excel?

a) Yes

b) No

c) Depends on how much spare time you have

d) Your boss likes it

e) All of the above

9

Data Analytics – Why We Need more than Excel

Specific data analytics software is designed to:

• Handle large datasets

• Share reports and ideas

• Be more flexible

• Overcome file size limitations

• Provide dashboard capabilities

• Enable better visualizations

• Easier manipulation of data

• ….the list goes on

10

Data Analytics – Here’s what we can do

• Easily pull data from multiple sources

• Databases, programs, Excel sheets, cloud server, and more

• Assemble this data set in an easy to view and manipulate format

• Run non-destructive calculations and statistical analysis in either new

columns or in individual visualizations

• Present live data and dashboards to piers

11

23 Data sources in one project!

Machine Learning/AI

12

Let computing power and advanced algorithms do the work for youSu

per

vise

dU

nsu

pervised

Machine Learning

• The basic outline

• Determine desired outcome of project

• Analyze and select appropriate data

• Manipulate and clean data as much as possible

• Load data into machine learning program/service

• Further manipulate and clean data within program

• Select appropriate inputs from data and select an algorithm that matches your data and project goals

• Split data

• Some data will be used to train the model, some will be used to validate and score the model

• Run the model, view results

• Load new data into trained model, run, and view predicted results

13

Machine Learning – One Step Further

Automate the process!

• Feed live data through database or cloud service as input

• Data will then run through trained model

• Predictions can then be filtered to a web service or back to equipment

to make changes on the fly

• Those results are then fed back into the model, further training it with

the new data

14

Machine Learning – Things to Consider

Not everything is what it seems

• Data is dirty and poorly formatted no matter the source

• The same algorithm won’t work every time

• Be mindful of small datasets

• Know that these predictions do get better with more data and training,

but they are still just predictions

• Not every set of “big data” has an application in machine learning

15

Artificial Intelligence

Use what we know about data science and machine learning to make AI do the

work for us!

16

Artificial Intelligence – In the Oilfield

• Many current applications already in place

• Plunger lift

• Gas lift/GAPL

• Nearly unlimited potential future applications

• ESP control

• Facility control

• Monitoring and safety

17

Big Data and Artificial Intelligence – How Big is it?

18

Examples in Action – Data Science - Production

Multiple data sources in one view

• 23 total – includes 4 Excel sheets and 19 connections to internal databases

• All connections linked together enabling single page analysis

• Internal calculations possible across data sources

19

Examples in Action – Data Science - Project Tracking

20

Examples in Action – Data Science – Failure Tracking

Failure tracking made simple. All automated from internal system. R code to build tables.

21

Data Science – What has it done for SM?

• Streamline workflows

• Eliminate manual tasks

• Eliminate many unnecessary spreadsheets

• Allow non-power users to easily consume data

• Powerful statistical analysis made easy

• Saves time in day to day work = SAVE MONEY

22

Examples in Action – Machine Learning – ESP Power

23

Calculate power requirements for future ESP wells, along with monitoring

costs on currently producing wells.

• Load in production data and ESP drive data.

• Calculate $/BOE and $/BTF per well.

• Run historical data through machine learning process to build a base

model (training model).

• Load in type cure data for new wells. Use trained model to predict

future power requirements and costs.

• Take predicted values back into data analytics tool to view and

consume.

Examples in Action – Machine Learning – ESP Power

24

Examples in Action – Machine Learning – ESP Power

25

Examples in Action – Machine Learning – ESP Power

26

kW kWhr Up Hours Total Fluid GOR GLR BOE WC (%) kW Predicted

87 2087 24 280 1207 484 135 1 87

88 2102 24 265 1479 491 110 1 88

76 1815 24 300 1422 535 140 1 76

155 0 0 0 1 1 0 155

26 618 24 438 1065 442 214 1 26

Predicted values from experiment

• Can output to web service or Excel.

• Now load back into main analytics project.

• We now have values for future ESP wells

Examples in Action – Machine Learning – ESP Power

27

Why use this over other methods?

• We can apply to each individual well

• Power requirement based on a wide range of variables

• No “one size fits all” approach

• Process is fast and relatively easy

• Can be implemented immediately with confidence

Artificial Intelligence

SM Energy South Texas (Eagle Ford)

• Currently utilizing machine learning and AI to control plunger lifted wells

• Project began with monitoring well performance based on plunger

arrivals and departures

• A model was trained and continues to be updated constantly as new

data comes in

• This trained model then tells the plunger when to drop based on

predicted parameters

• Wells are treated individually and automatically controlled on an

individual bases

• Production has improved on plunger lift wells using this method

28

Artificial Intelligence - Upcoming

Similar to the plunger lift AI, there are some exciting projects currently in the

development phase at SM.

**Note: The following is currently in development so data cannot be displayed

or shared.

29

Artificial Intelligence - Upcoming

Basic premise of project:

• Well and equipment data is gathered

• Data run through machine learning algorithm to build base model

• New data continues to update and improve base model with live data

• Trained model then predicts optimal equipment settings

• These settings are implemented immediately to improve well

performance

• This project could drastically impact SM well performance, and

potentially be a game changer for a large array of oilfield applications.

30

What I hope you got from this presentation

• A basic understanding of big data, data analytics, machine learning,

and artificial intelligence

• How important it is to us as engineers and scientists and why we

should care

• How important it is to the oilfield currently, with more and more focus in

the future

• The shift from traditional methods to big data

• How much fun it can be!

31

Questions?

32