36
ADVANCED ANALYTICS & EMERGING TECHNOLOGIES ANADARKO PETROLEUM CORPORATION Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe Teixeira De Moraes Occidental Petroleum Corporation

Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

A N A D A R K O P E T R O L E U M C O R P O R A T I O N

Real-Time Hydraulic Fracturing Analysis using Deep Learning

Methodology

Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe Teixeira De Moraes

Occidental Petroleum Corporation

Page 2: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Table of Contents

 Hydraulic Fracturing 101  Real-Time Completions (RTC) Analytics 101  Part 1: Stage Start/End Recognition  Part 2: Ball Pumpdown/Seat Event Recognition  Part 3: In-Stage Slurry Rate Segmentation  Use Cases

Page 3: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Hydraulic Fracturing 101

Stages

Plugs with balls

Sources: Internet

Page 4: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Real-Time Streaming Architecture

Analytics Models deployed here

Source: Cao, Loesel, Paranji, 2018, SPE-189595-MS

Page 5: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Stage Start/End Recognition

Page 6: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Ball Pumpdown and Seat

Plugs with balls

Page 7: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Part 1: Stage Start/End Recognition

Page 8: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Hydraulic Fracturing Stages

•  Start: the fracture fluid start being injected into the wellbore.

•  End: the pump is shut down and the fracture fluid is stop being injected into the wellbore.

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 9: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Selecting the Ground Truth Label (Rule-Based)

The rule we are using is the following: for every time stamp, if the current slurry rate is greater than 0 bpm, the current well head pressure is greater than 300 psi and the previous slurry rate is equal to 0 bpm, this time stamp is labelled as the start of a stage. For every time stamp, if the current slurry rate is equal to 0 bpm, the current well head pressure is greater than 0 psi and the previous slurry rate is greater than 0 bpm, this time stamp is labelled as the start of a stage.

Page 10: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Moving Median Filter

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 11: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Methodology

•  Human does not isolate each data point to determine its property.

•  Human look at the previous and subsequent data, continuous streams of data to determine the properties of each time stamp.

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 12: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Deep Learning Model: Data Preparation

Slurry Rate

Wellhead Pressure

FD of Slurry Rate

SD of Slurry Rate

FD of Wellhead Pressure

SD of Wellhead Pressure

0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0

•  Label time stamps as 0s and 1s: inside or outside a stage;

•  Slice the time series data using a sliding window;

•  Extend the features;

•  Label the sample.

REFERENCE

Sources: xxx

Page 13: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Deep Learning Model: The Model

•  Convolutional layer: extract high-level features

•  Max pool layer: prevent overfitting

•  Dense layer: classification

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 14: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Deep Learning Model: Metric

0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0

0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0

True start

Predicted start

Time-stamp-wise accuracy: !""= Number of time stamps with co556"7 8!968/;<=965 >? 7>7!8 7@=6 A7!=BA 

Flag-wise accuracy:

!""= Number of ">556"7 B56D@"76D ?8!EA/;<=965 >? 7>7!8 ?8!EA 

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 15: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Moving Average

Predicted Yes Predicted No Total Samples Actual Yes TP = 648 FN = 0 648 Actual No FP = 274 TN = 4,911,944 4,912,218

Total Prediction 922 4,911,944 4,912,866

Predicted Yes Predicted No Total Samples Actual Yes TP = 618 FN = 30 648 Actual No FP = 112 TN = 4,912,106 4,912,218

Total Prediction 730 4,912,136 4,912,866

Rule-Based Model

Deep Learning Model

Page 16: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Analysis and Results

Predicted Yes Predicted No Total Samples Actual Yes TP = 648 FN = 0 648 Actual No FP = 105 TN = 4,912,113 4,912,218

Total Prediction 753 4,912,113 4,912,866

Predicted Yes Predicted No Total Samples Actual Yes TP = 639 FN = 9 648 Actual No FP = 66 TN = 4,912,152 4,912,218 Total Prediction 705 4,912,161 4,912,866

Rule-Based Model

Deep Learning Model

Page 17: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Analysis and Results

Tolerance Flag-wise accuracy Accurate flags Total flags 25 seconds 99.7% 646 648 20 seconds 99.3% 644 648 15 seconds 99.0% 642 648 10 seconds 98.5% 639 648 5 seconds 92.3% 598 648 3 seconds 68.1% 441 648

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 18: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Part 2: Ball Pumpdown/Seat Event Recognition

Page 19: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Ball Pumpdown and Seat

Plugs with balls

Page 20: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

First Step: Deep Learning

•  The ball pumpdown/seat event recognition is a two-step strategy.

•  The first step is to tell if there is a ball pumpdown/seat event in a stage using image segmentation technique.

•  The second step is to locate the end of the ball pumpdown/seat event if there is one.

•  The second step can be achieved by a rule-based selection given the information from the image segmentation.

REFERENCE

Page 21: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

First Step: Deep Learning

•  Two-step Strategy •  Tell if there is a ballseat •  Locate the ballseat

•  ‘Z’ pattern in the slurry rate

REFERENCE

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 22: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Data Preparation

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 23: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Model: Pre-trained ResNet + UNet

Sources: xxxx

Page 24: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Segmentation Result

•  For each column from a mask, if the fraction of pixels that are marked as positive exceeds a certain threshold, the corresponding time stamp is considered positive.

•  If there is positive area in the sample after processing by the rule, we say there is a ballseat event in this sample.

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 25: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Predicted Yes Predicted No Total Samples Actual Yes TP = 79 FN = 2 81

Actual No FP = 8 TN = 90 98

Total Prediction 87 92 179

True Positive (TP), False Negative (FN), False Positive (FP), and True Negative (TN) counts are shown.

Confusion Matrix

F1 score: 0.94

Page 26: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

A Second Opinion

•  Include the wellhead pressure into the training samples

•  Use the same mask as the previous model

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 27: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Second Step: Rule-Based

Starting from the midpoint of the positive area (yellow): •  The first derivative of the wellhead pressure at the current time stamp is greater than 20 psi/s. •  The first derivative of the wellhead pressure at the subsequent time stamp is greater than 15 psi/s. •  The first derivative of the wellhead pressure at the second subsequent time stamp is greater than 10 psi/s. •  The first derivative of the slurry rate at the current time stamp is smaller than 0.01 bpm/s.

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 28: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Results

Predicted Yes Predicted No Total Samples

Actual Yes TP = 79 FN = 2 81

Actual No FP = 8 TN = 90 98

Total Prediction

87 92 179

Predicted Yes Predicted No Total Samples

Actual Yes TP = 78 FN = 3 81

Actual No FP = 3 TN = 95 98

Total Prediction

81 98 179

Confusion matrix with one model

Confusion matrix with two models voting

F1 score improves from 0.94 to 0.97

True

Predicted

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 29: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Page 30: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Part 3: In-Stage Slurry Rate Segmentation

Page 31: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

In-Stage Slurry Rate Segmentation

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 32: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

In-Stage Slurry Rate Segmentation

1.  Median Filter 2.  Butterworth Low Pass Filter 3.  Recursive Median Filter

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 33: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

In-Stage Slurry Rate Segmentation

•  Adjacent segments with the same classification are joined into one larger segment.

•  If a constant rate segment is surrounded on both sides by ramp-up segments, then perhaps it should be converted to a ramp-up segment as well

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 34: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Use Case

Page 35: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Use Case

Sources: Shen, Y., Cao, D., Ruddy, K. 2020. SPE-199738-MS

Page 36: Real-Time Hydraulic Fracturing Analysis using Deep …...Real-Time Hydraulic Fracturing Analysis using Deep Learning Methodology Yuchang Shen, Dingzhou Cao, Kate Ruddy and Luis Felipe

ADVANCED ANALYTICS & EMERGING TECHNOLOGIES

Backup slides