parameterization and order reduction of geological models …...2012/12/08  · sgems realizations...

29
Parameterization and Order Reduction of Geological Models for History Matching Hai Xuan Vo CME-334

Upload: others

Post on 13-Aug-2021

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Parameterization and Order Reduction of Geological Models

for History Matching

Hai Xuan Vo

CME-334

Page 2: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Outline

� Research motivation

� Karhunen-Loève (K-L) Expansion or Principal Component

Analysis (PCA)

� Limitations of existing methods

� Optimization-based PCA (O-PCA)

� Application of O-PCA to history matching using AD-GPRS

� Conclusions and future work

2

Page 3: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

History Matching Problem

���� � � � ��� ���� ��� ����

���� �����������������

� � ��, ��, … . , ��#$

� Idea is to find a geological model �such that prediction matches production and honors prior information about

geological model (regularization)

3

Page 4: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Challenges in History Matching

� Real models can have millions of gridblocks

� Updating permeabilities for all blocks independently is

expensive and may not maintain geology

� Useful to have algorithms that represent reservoir model as

� % and maintain geology

� Now write history matching problem as:

���% � � � ��� ���� �%� ����

���

4

� % implicitly honors regularization

Page 5: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Types of Geological Systems

� Goal is to determine parameterization � % forsuch systems

(Caers, 2011)

Delta

s

Meandering rivers

Tidal and bars

Carbonate reefs

5

Page 6: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Previous Work

� KPCA: Sarma et al. (2008), Ma and Zabaras (2011): perform

PCA in high-dimensional feature space

� KPCA can generate more “channelized” realizations but

� Pre-image problem is strongly nonlinear, nonconvex

� Resulting histograms may not honor geology

� PCA: Oliver (1996), Sarma et al. (2006)

� Linear representation: � � )% � �*

6

Page 7: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Constructing PCA Representation (1)

� Run Gaussian or training-image based geostatistical

algorithms (SGeMS, GSLIB) to create a set of N realizations

SGeMS realizations

10 20 30 40 50 60

10

20

30

40

50

60

10 20 30 40 50 60

10

20

30

40

50

60

10 20 30 40 50 60

10

20

30

40

50

60

10 20 30 40 50 60

10

20

30

40

50

60

Training image

50 100 150 200 250

50

100

150

200

250

7

Page 8: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Constructing PCA Representation (2)

� Construct:

� Conceptually, define covariance matrix as:

� Eigen-decomposition of + to give: (in

practice use SVD of X)

� K-L (PCA) representation

+ � �� ,,$

-.-$�C�C�C�C

���0 � -�.��/�% � �*

� )� % � �* (r << N)

, � ��, ��, … . , ��

� �

���0 � )� % ��*8

Page 9: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Application of PCA: Gaussian Fields (1)

?

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

SGeMS realizations ���0 � )� % � �*PCA realizations:

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

9

Page 10: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Application of PCA: Gaussian Fields (2)

?

SGeMS realization ���0 � )� % � �*PCA realization:

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

5 10 15 20 25 30 35 40 45

5

10

15

20

25

30

35

40

45

-3 -2 -1 0 1 2 30

50

100

150

200

250

300

value

Count

-4 -3 -2 -1 0 1 2 3 40

50

100

150

200

250

300

value

Count

10

Page 11: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Application of PCA: non-Gaussian Fields

� Direct use of PCA leads to inconsistency for non-Gaussian

models

10 20 30 40 50 60

10

20

30

40

50

60

SGeMS realization

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

200

400

600

800

1000

1200

1400

1600

1800

2000

value

Count

PCA realization

10 20 30 40 50 60

10

20

30

40

50

60

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

1.2

-1 -0.5 0 0.5 1 1.50

50

100

150

200

250

300

350

400

450

value

Count

11

Page 12: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Modified PCA Procedure

� PCA is simple and linear but gives Gaussian-looking

models and histograms

� Goal: modify PCA procedure to better represent complex

geology

50 100 150 200 250

50

100

150

200

250

50 100 150 200 250

50

100

150

200

250

12

Page 13: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Optimization-based PCA (O-PCA)

� Standard PCA: ���0 � -�.��/�% � �*

� Apply regularization + bound constraints :

���0 � 234567�

-�8��/�% � �* � �

� � 9�$�� ��

���0 � 234567�

-�8��/�% � �* � �

�� Formulate PCA as an optimization problem:

13

� Separable quadratic optimization problem (convex, unique,

analytical solution for ���0 and )!�/%

� ∈ ;�, �<

Page 14: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

O-PCA Characteristics

� Define . Now minimize:

= � � � � �� � 9�$�� ��}}}} ;;;;��1��1��1��1 9�����$zzzz 2{2{2{2{� 9/�}� � DE7FG27G

�� ∈ ;�, �<�� Term depending on �:

� � � ��� 9�����H� 2�2�2�2��H 9/���H�

H���H ∈ ;�, �<

� Separable quadratic optimization problem (convex, unique,

analytical solution for ���0 and )!

� � -�8��/�% � �*

14

�/%

Page 15: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

O-PCA Realization

value

10 20 30 40 50 60

10

20

30

40

50

60

SGeMS

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

200

400

600

800

1000

1200

1400

1600

1800

2000

Count

Standard PCA

10 20 30 40 50 60

10

20

30

40

50

60

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

1.2

-1 -0.5 0 0.5 1 1.50

50

100

150

200

250

300

350

400

450

value

Count

O-PCA

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

200

400

600

800

1000

1200

1400

1600

1800

value

Count

10 20 30 40 50 60

10

20

30

40

50

60 0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

15

Page 16: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

16

O-PCA for a non-Stationary Model

Training image(Honarkhah and Caers, 2011)

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

SGEMS realizations

Page 17: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

17

O-PCA Results for a non-Stationary Model (1)

� 40,000 gridblock SGeMS realizations

� Represented using only 70 components of vector %

One realization Another realization

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Page 18: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

18

O-PCA Results for a non-Stationary Model (2)

SGeMS

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.5

1

1.5

2

2.5

3x 10

4

value

Count

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180-0.5

0

0.5

1

1.5

Standard PCA

-1 -0.5 0 0.5 1 1.5 20

1000

2000

3000

4000

5000

6000

7000

value

Count

O-PCA

20 40 60 80 100 120 140 160 180

20

40

60

80

100

120

140

160

180

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.5

1

1.5

2

2.5x 10

4

value

Count

Page 19: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Honoring Hard Data with O-PCA

� Hard data is honored by O-PCA

19

11

Hard Data

10 20 30 40 50 60

10

20

30

40

50

60

11

1

10

1

1

1

11 1

0

0

1

1

1

10 20 30 40 50 60

10

20

30

40

50

60

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

1 1

1

1

0 1

11

11 1

0

0

1

1

1

10 20 30 40 50 60

10

20

30

40

50

60

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

1

11

10

1

1 1

11 1

0

0

1

1

1

O-PCA

Page 20: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

O-PCA Analytical Gradient

� Need for history matching

� Construct using:

� O-PCA gives analytically:

�/%

I��I%H

������ ��� I��I�H

J� � ��� � K� �9�� J��� � �����9 ��

�/%

J�, K� = Lagrange multipliers

�% � �

���

�% from O-PCA

from simulator

� � � ∗ �MN � ∗ �

20

Page 21: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Differentiability of O-PCA Representation

%� � %� � ∆%

10 20 30 40 50 60

10

20

30

40

50

60 0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

%� � %� � �∆%

10 20 30 40 50 60

10

20

30

40

50

60 0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

10 20 30 40 50 60

10

20

30

40

50

60 0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

%P � %� � P∆%

10 20 30 40 50 60

10

20

30

40

50

60 0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

%Q � %� � Q∆%

10 20 30 40 50 60

10

20

30

40

50

60 0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Current realization

21

Page 22: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Application of O-PCA to a HM Problem� Black-oil formulation with AD-GPRS

� Nx = 60, NY = 60; l = 30 components

� 4 water injectors at 1,000 m3/d

� 12 producers, BHP control at 150 bar

� ksand = 2,000 md, kmud = 20 md

� Using injection pressures and

production rates for history matching

� SGeMS realizations conditioned to hard

data at wells

� Using off-the-shelf LBFGS optimizer

(not tuned)

SGeMS realization

Hard data

22

Hard data

10 20 30 40 50 60

10

20

30

40

50

60

Producer

Injector

Page 23: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Results of O-PCA History Matching

Producer

Injector

INJ-1PROD-1 PROD-3

PROD-4 PROD-6

PROD-7

PROD-5

INJ-1

INJ-2

PROD-1 PROD-3

PROD-4 PROD-6

PROD-7 PROD-2

PROD-5

23

10 20 30 40 50 60

10

20

30

40

50

60

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

INJ-1

INJ-2

INJ-3

INJ-4

PROD-1

PROD

-2

PROD-3

PROD-4

PROD-5

PROD-6

PROD-7

PROD-8

PROD-9

PROD-10

PROD-11

PROD-12

Initial guess

10 20 30 40 50 60

10

20

30

40

50

60

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

History matched

10 20 30 40 50 60

10

20

30

40

50

60

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

True model

0 10 20 30 40 50 60 70 80 9010

4

105

106

107

108

Iteration

Obje

ctive F

unction

Iteration

Obje

ctive F

unction

10

510

610

710

410

8

Page 24: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Results of O-PCA History MatchingInjection BHP’s

24

0 500 1000 1500155

160

165

170

175

180

185

190

days

True

Initial Guess

History Matched

Initial

True

HM

Days

BH

P, bar

INJ-2 INJ-4

0 500 1000 1500155

160

165

170

175

180

185

190

195

days

True

Initial Guess

History Matched

Days

BH

P, bar

Initial

HM

True

Page 25: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Results of O-PCA History MatchingWater Rates

25

0 500 1000 15000

100

200

300

400

500

600

700

800

days

Water Rate, PROD-12

True

Initial Guess

History Matched

Days

PROD-12 PROD-3

Initial

True

HM

Days

Wate

r R

ate

, m

3/d

0 500 1000 15000

100

200

300

400

500

600

700

days

True

Initial Guess

History Matched

Wate

r R

ate

, m

3/d

Days

Initial

True

HM

Page 26: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Results of O-PCA History MatchingOil Rates

26

PROD-11 PROD-2

0 500 1000 15000

100

200

300

400

500

600

days

True

Initial Guess

History Matched

Initial

TrueHM

Days

Oil

Rate

, m

3/d

0 500 1000 150050

100

150

200

250

300

350

400

450

days

True

Initial Guess

History Matched

Initial

True

HM

Days

Oil

Rate

, m

3/d

Page 27: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Results of O-PCA History MatchingField Rates

27

Water Oil

0 500 1000 15000

500

1000

1500

2000

2500

3000

days

True

Initial Guess

History Matched

Days

Fie

ld W

ate

r R

ate

, m

3/d

Initial

True

HM

0 500 1000 15001000

1500

2000

2500

3000

3500

4000

4500

5000

days

True

Initial Guess

History Matched

Initial

TrueHM

Days

Fie

ld O

il R

ate

, m

3/d

Page 28: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

HM Results for Another Initial Guess

Producer

Injector

INJ-1PROD-1 PROD-3

PROD-4

PROD-7

PROD-5

INJ-1

INJ-2

PROD-1 PROD-3

PROD-4 PROD-6PROD-5

INJ-2

PROD-1 PROD-3

PROD-4 PROD-6

PROD-7 PROD-2

PROD-5

28

10 20 30 40 50 60

10

20

30

40

50

60

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

INJ-1

INJ-2

INJ-3

INJ-4

PROD-1

PROD

-2

PROD-3

PROD-4

PROD-5

PROD-6

PROD-7

PROD-8

PROD-9

PROD-10

PROD-11

PROD-12

True model

0 500 1000 15000

500

1000

1500

2000

2500

3000

days

True

Initial Guess

History Matched

Days

Fie

ld W

ate

r R

ate

, m

3/d

Initial

True

HM

0 500 1000 15001000

1500

2000

2500

3000

3500

4000

4500

days

Field Oil Production Rate

True

Initial Guess

History Matched

Initial

True

HM

Days

Fie

ld O

il R

ate

, m

3/d

10 20 30 40 50 60

10

20

30

40

50

60

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

History matched

Page 29: Parameterization and Order Reduction of Geological Models …...2012/12/08  · SGeMS realizations conditioned to hard data at wells Using off-the-shelf LBFGS optimizer (not tuned)

Conclusions

� Introduced optimization-based PCA (O-PCA) to address

limitations of standard PCA

� O-PCA representation honors hard data and is

continuously differentiable

� O-PCA provides realistic realizations and can be solved

analytically

� Results from history matching show O-PCA capabilities

29