identification of parameters in large-scale physical model ... · • black box model structures...

51
1 Delft Center for Systems and Control Identification of parameters in large-scale physical model structures Motivated by an example from reservoir engineering Paul M.J. Van den Hof co-authors: Jorn Van Doren, Jan Dirk Jansen, Sippe Douma Okko Bosgra Tsinghua University, Beijing, China, 19 October 2009

Upload: others

Post on 31-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

1Delft Center for Systems and Control

Identification of parameters in large-scale physical model structures

Motivated by an example from reservoir engineeringPaul M.J. Van den Hof

co-authors: Jorn Van Doren, Jan Dirk Jansen, Sippe Douma Okko BosgraTsinghua University, Beijing, China, 19 October 2009

Page 2: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

2Delft Center for Systems and Control

Delft University of Technology

Oldest and largest of 3 Technical Universities in the Netherlands:Delft – Eindhoven - Twente

Founded in 1842 as an engineering school

Now: 5000 employees, of which 2700 scientists, 15,000 students, distributed over 8 engineering faculties:

• Civil Engin., Earth Sciences• Industrial Design• Techn. Policy Making and Manag• Architecture

• Electrical, Math, Comp. Science• Aerospace Engineering• Applied Sciences• Mechanical, Maritime, Mat. Eng.

Page 3: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

3Delft Center for Systems and Control

Delft

Page 5: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

5Delft Center for Systems and Control

Delft Center for

Systems and Control

University wide center and department within Mechanical Engineering

• 16 scientific (tenured) staff• 40 PhD students• 15 Postdocs• 40 MSc students / year

• BSc programs ME, EE, AP, • MSC programs ME, EE, AP• 3TU MSc Systems and Control• PhD programme DISC

Page 6: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

6Delft Center for Systems and Control

Fundamentals:•Modelling, control and optimization of complex, non-linear and hybrid systems•Signal analysis, signal processing and data-based modelling (identification for control)

Mechatronics and Microsystems:

• Automotive systems • Microfactory• AFM nano-positioning• Smart optics systems • Electron microscopes• Robotics

Traffic and Transportation:

•Discrete event and hybrid systems•Distributed multi-agent systems•Optimal adaptive traffic control•Advanced driver assistance systems

Sustainable Industrial Processes:

• Increase of scale in process operation• More flexibility in operation• Economic optimization under operating constraints• Process intensification• Towards model-based process management• hydrocarbon reservoir optimization; crystallization

Page 7: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

7Delft Center for Systems and Control

Identification of parameters in large-scale physical model structures

Motivated by an example from reservoir engineeringPaul M.J. Van den Hof

co-authors: Jorn Van Doren, Jan Dirk Jansen, Sippe Douma Okko BosgraTsinghua University, Beijing, China, 19 October 2009

Page 8: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

8Delft Center for Systems and Control

Contents

• Motivation:• physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example • Discussion

Page 9: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

9Delft Center for Systems and Control

Motivation: physical structures versus black box

• Black box model structures (transfer function, state-space etc.) are well suited for identification of linear systems.

• For nonlinear systems there are multiple approaches possible, and a choice for an efficient model structure will be highly case- dependent (neural nets, Wiener/Hammerstein, polynomials, Volterra kernels….)

• Typical issue in model structure selection: strive towards as few parameters as possible/necessary.

Rough definition: Model structure

Rough definition: Model structure

Page 10: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

10Delft Center for Systems and Control

Motivation: physical structures versus black box

• Which mechanisms can induce a limited number of parameters?

• Sheer luck : guess a model structure that needs only a few parameters to approximate the system well.

• Prior information : use information on the structure / dynamics of the underlying system

• A model structure / parametrization parametrizes a set of models that should reflect the prior uncertainty that we have about our system to be identified.

If that prior info is: “any nonlinear system” the identification task becomes huge!

Page 11: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

11Delft Center for Systems and Control

Motivation: physical structures versus black box

• Physical model structures can help us to

• Come up with model structures with limited number of parameters.

• Extrapolate the model dynamics to (nonlinear) regimes that are not necessarily captured in the data.

Rather than linearizing a model around an operating point, estimate the parameters in a (reliable) nonlinear model witha predefined (physics-motivated) structure.

• Physical model structures raise the problem of identifiability: can all unknown parameters be estimated uniquely?

Page 12: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

12Delft Center for Systems and Control

Motivation: an example from oil reservoir engineering

• Involves the injection of water through the use of injection wells• Goal is to displace oil by water• Production is terminated when (too much) water is being produced

Water flooding

Page 13: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

13Delft Center for Systems and Control

oil-water front fingering by-passed oil water breakthrough

time

Motivation: an example from oil reservoir engineering

Oil production from a reservoir can last for periods of 15-25 years.

Page 14: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

14Delft Center for Systems and Control

Mass balance:

Momentum (Darcy’s law): Variables:

0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.00.0

0.5

1.0

Water saturation Sw [-]

Rel

ativ

e pe

rmea

bilit

y [-

]

krw(Sw)

kro(Sw)

Motivation: an example from oil reservoir engineering

After discretization in space (grid blocks):a nonlinear ODE results, withseparate permeability parameters in each grid block typically

nonlinearity

Page 15: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

15Delft Center for Systems and Control

Example permeability structure of a toy-reservoir:

• 2 horizontal smart wells• 45 inj. & prod. segments

-13.5

-13

-12.5

-12

-11.5

-11

permeability field

10 20 30 40

5

10

15

20

25

30

35

40

45

10log(k) [m2]

(Roald Brouwer et al, 2004)

Top view

• 2 higher permeability streaks

• Dynamics is dependent on position of water-oil front (nonlinearity)

• Typical non-linear batch process with extremely many (unknown) parameters.

inject

produce

Page 16: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

16Delft Center for Systems and Control

Contents

• Motivation: • physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example • Discussion

Page 17: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

17Delft Center for Systems and Control

Identifiability• Consider nonlinear model structure

with being a prediction of

• Locally identifiable in for given and if in neighbourhood of :

[Grewal and Glover 1976]

• Global properties are generally hard to analyze

• Structural identifiability in similar way on the basis of transfer functions (rather than output), for the linear(ized) dynamics case.

[Bellman and Åström (1970)]

Page 18: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

18Delft Center for Systems and Control

Identifiability

• Notion of identifiability is instrumental in analyzing model structure properties

• It determines whether it is feasible at all to relate unique values to the physical parameter variables, on the basis of measured data

Page 19: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

19Delft Center for Systems and Control

Testing local identifiability

in identification

• Local identifiability test in : Hessian > 0

• In Prediction Error framework, identification criterion

• Hessian given by

• With quadratic approximation of cost function around :Hessian given by

Page 20: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

20Delft Center for Systems and Control

• SVD can be used to reparameterize the model structure through

Testing local identifiability

in identification

• Rank test on Hessian through SVD

• If then lack of local identifiability

in order to achieve local identifiability in

• Columns of are basis functions of the identifiable parameter space

Page 21: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

21Delft Center for Systems and Control

No lack of identifiability, but possibly very poor variance properties

Testing local identifiability

in identification

• What if but contains (many) small singular values ?

• Identifiability mostly considered in a yes/no setting: qualitative rather than quantitative [Bellman and Åström (1970), Grewal and Glover (1976)]

• Approach: quantitative analysis of appropriate parameter space, maintaining physical parameter interpretation

Page 22: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

22Delft Center for Systems and Control

Contents

• Motivation: • physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example • Discussion

Page 23: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

23Delft Center for Systems and Control

Model structure approximation

• How to reduce the model structure in terms of its parameter space? (different from “classical” model reduction, in which the model dynamics of a single model is reduced)

• Objective: obtain a physical parametrization (model structure) in which the parameters can be reliably estimated from data.

Page 24: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

24Delft Center for Systems and Control

Approximating the identifiable parameter space

Asymptotic variance analysis:

with = Fisher Information Matrix.

• Sample estimate of parameter variance, on the basis of :

Page 25: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

25Delft Center for Systems and Control

• Discarding singular values that are small, reduces the variance of the resulting parameter estimate

• Particularly important in situations of (very) large numbers of small s.v.’s

Approximating the identifiable parameter space

• Model structure approximation (local)

• Quantified notion of identifiability – related to parameter variance

Page 26: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

26Delft Center for Systems and Control

• Interpretation: Remove the parameter directions that are poorly identifiable (have large variance)

Approximating the identifiable parameter space

θ(1)

θ(2)

• This is different from removing the (separate) parameters for which the value 0 lies within the confidence bound [Hjalmarsson, 2005]

Page 27: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

27Delft Center for Systems and Control

Contents

• Motivation: • physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example • Discussion

Page 28: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

28Delft Center for Systems and Control

Effect of parameter scaling/units

• In physical model structures there is a freedom of choice in parameter units (cm,km …..)

• Choice of units (scaling) should not influence the choice for approximation of the model structure!

Page 29: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

29Delft Center for Systems and Control

Toy example

Second order system:

Second order FIR model:

Fisher information matrix:

unit variance white noise input;

No indications for reducing model structure

Page 30: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

30Delft Center for Systems and Control

Toy example (cnt’d)

Second order system:

However, if we reparametrize:

Fisher information matrix:

Strong indication for removing the parameter

Page 31: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

31Delft Center for Systems and Control

Effect of parameter scaling/units

• Scaling-dependence of the results is very undesirable!

• The yes/no question on identiability:

is not influenced by a scaling of parameter values:

• However for , scaling will influence the numerical values of and therefore also the choice of the identifiable parameter space

What are the observed mechanisms here?

Page 32: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

32Delft Center for Systems and Control

Effect of parameter scaling/units

• The Fisher matrix considers an absolute parameter variance measure

While a parameter variance of 1 has different consequences for a nominal parameter of or

• The remedy here is: defining a measure for the relative variance

Page 33: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

33Delft Center for Systems and Control

Effect of parameter scaling/units

• Motivates analysis of scaled Hessian

• Essential information in

• Model structure approximated: parameters identifiable and physically interpretable!

• Possible remedy: use relative parameter variance rather than absolute variance as a measure for model structure approximation

Page 34: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

34Delft Center for Systems and Control

Consequence for toy example

Second order system:

Second order FIR model:

Scaled Fisher information matrix:

Indication for reducing model structure by one parameter

and this result is invariant for scaling of any of the parameters.

Page 35: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

35Delft Center for Systems and Control

Contents

• Motivation: • physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example • Discussion

Page 36: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

36Delft Center for Systems and Control

Relation with controllability and observability

• Does (local) identifiability relate to properties of observability and controllability?

• Without loss of generality:

Substitution of the two equations delivers:

Page 37: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

37Delft Center for Systems and Control

Relation with controllability and observability

With abuse of notation:

Page 38: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

38Delft Center for Systems and Control

Relation with controllability and observability

Effect of current state and input, related to controllability

Sensitivity of system matrices with respect to parameter perturbations

Effect of state perturbation on output, related to observability

Page 39: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

39Delft Center for Systems and Control

Contents

• Motivation: • physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example • Discussion

Page 40: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

40Delft Center for Systems and Control

A Bayesian approach

• Model output approximated with first-order Taylor expansion. Hessian is

• Often applied method for dealing with overdetermination in parameter space:

• Incorporate prior knowledge term (regularization) in cost function

where is the prior parameter vector (with covariance ).

• “Always” identifiable, since full rank by construction!!

Page 41: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

41Delft Center for Systems and Control

A Bayesian approach

• Unique parameter estimates usually result, but

• Bayesian methods seem not to suffer from identifiability problems…….

• In the parameter subspace that is poorly identifiable, estimated parameters will be heavily dominated by the prior information.

Implications

• This includes all (extended) Kalman filter type algorithms. Where parameters are recursively estimated by augmenting the states

• Analysis of can show identifiable directions (locally)

Page 42: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

42Delft Center for Systems and Control

Contents

• Motivation: • physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example • Discussion

Page 43: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

43Delft Center for Systems and Control

Structural identifiability

• The matrix to be quantitatively analyzed becomes:

• The analysis presented so far, can similarly be given for local structural identifiability (in stead of local identifiability).

• Rather than the system output (which is input dependent) we then consider the transfer function:

• Structurally identifiable in if full rank, where

Page 44: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

44Delft Center for Systems and Control

Structural identifiability

• For linear(ized) models, a closed-form expression exists for

on the basis of:

[Van Doren et al., IFAC World Congress 2008]

Page 45: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

45Delft Center for Systems and Control

Contents

• Motivation: • physical structures versus black box• an example from reservoir engineering

• Identifiability• Model structure approximation• Parameter scaling• Particular connections:

• Observability and controllability• Bayesian estimation• Structural identifiability

• Simple reservoir example• Discussion

Page 46: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

46Delft Center for Systems and Control

Simple reservoir exampleSingle phase example

21 x 21 grid block permeabilities5 wells; 3 permeability strokes

(top view)

Page 47: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

47Delft Center for Systems and Control

Simple reservoir example

First 12 singular vectors; structural identifiability case

Singular vectors can be projected on the grid:

Page 48: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

48Delft Center for Systems and Control

Simple reservoir exampleUsing the reduced parameter space –iteratively-in identification:

exact field initial estimate(local point)

final estimate

Observation:Only grid block permeabilites around well (in high permeable area)are identifiable.

Page 49: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

49Delft Center for Systems and Control

Simple reservoir example

• Same observation holds true for the case of oil/water (2-phase flow) -- (results under progress)

• Grid block properties far away from wells are poorly identifiable

• There are indications that they might not be very important for the optimal control strategy……

Page 50: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

50Delft Center for Systems and Control

Discussion

• Estimating physical parameters in large-scale models is highly relevant

• Notion of identifiability quantified• Model structure approximated to achieve identifiability, while

retaining interpretation of physical parameters• Analysis can only be done locally linearized• Established relation with

• Controllability and observability properties• Bayesian estimation

• Illustrating example (ungoing work) in reservoir engineering

Page 51: Identification of parameters in large-scale physical model ... · • Black box model structures (transfer function, state-space etc.) are well suited for identification of linear

51Delft Center for Systems and Control

Consortia: VALUE (Shell, TU Delft, MIT), ISAPP (Shell, TNO, TU Delft)

Jan Dirk JansenDept. of Geotechnology TUD and Shell Intern. Exploration and Production

Okko Bosgra, DCSC, TUD

Jorn Van Doren, PhD student

Sippe Douma, Shell, and former PhD student

Cooperative project, together with: