Top Banner
1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center for Systems and Control
29

1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

Dec 18, 2015

Download

Documents

Veronica Jones
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

1

Finding good models for model-based control and

optimization

Paul Van den HofOkko Bosgra

Delft Center for Systems and Control

17 July 2007

Delft Center for Systems and Control

Page 2: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

2

Delft Center for Systems and Control

The goal

Develop tools for supporting economically optimal operation and development of reservoirs on the basis of

• plant models of dynamical behaviour, and

• observations / measurements of relevant phenomena (pressures, temperatures, flows, production data, seismics)

Manipulated variables include:• Valve / production settings (continuous)• Well locations and investments (discrete)

Main point

Page 3: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

3

Delft Center for Systems and Control

Contents

• Setting and basic ingredients of the problem

• Three relevant modelling issues:

• Estimation of physical parameters

• Models for filtering/control/optimization

• Handling model uncertainty

• Conclusions

Page 4: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

4

Delft Center for Systems and Control

Closed-loop Reservoir Management

reservoir

disturbances

valvesettings

actualflow rates,seismics...

management,storage,

transport

economicperformancecriteria

optimization

reservoirmodel

reservoirmodel

gain

+-

update

stateestimation

Page 5: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

5

Delft Center for Systems and Control

Two roles of reservoir models

• Reservoir model used for two distinct tasks: state estimation and prediction.

past

Estimation

present future

Predictionreservoir

disturbances

valvesettings

actualflow rates,seismics...

management,storage,

transport

economicperformancecriteria

optimization

reservoirmodel

reservoirmodel

gain

+-

update

disturbance + stateestimation

Page 6: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

6

Delft Center for Systems and Control

The basic ingredients

• Optimal economic operation

Balancing short term production targets and long-termreservoir conditions

requires accurate models of both phenomena(including quantifying their uncertainty)

and performance criteria with constraint handling

Page 7: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

7

Delft Center for Systems and Control

The basic ingredients

• Dynamic models

Starting from reservoir models:• Uncertain (continuous as well as discrete),

large scale, nonlinear and hard to validate• Saturations are important states that

determine long term reservoir conditions (model predictions)

• State estimation and parameter estimation (permeabilities) have their own role

Page 8: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

8

Delft Center for Systems and Control

The basic ingredients

• Optimization

Gradient-based optimization over inputs, in shrinking horizon implementationStarting from:

initial state pdfinitial parameter pdf

adjoint-based optimization

Point of attention: constraint handling (inputs/states)

Page 9: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

9

Delft Center for Systems and Control

Hierachy of decision levels

scheduling

plant optimization

advanced control

basic control process

market

sec

min

hrs

day field

well and reservoir

production system

base control layer

hrs/day

wks

yrs

sec

RTO

MPC

PID

Process control Reservoir optimization

Page 10: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

10

Delft Center for Systems and Control

Points of attention in modelling

• How to find the right physics?

• Goal oriented modelling

• Handling model uncertainty

Page 11: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

11

Delft Center for Systems and Control

Parameter and state estimation in data reconciliation

Model-based state estimation:

past data

initial state

state update

saturations, pressurese.g. permeabilities

Page 12: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

12

Delft Center for Systems and Control

Parameter and state estimation in data reconciliation

If parameters are unknown, they can be estimated byincorporating them into the state vector:

past data

initial state/parameter

state/parameter update

Can everything that you do not know be estimated?

Page 13: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

13

Delft Center for Systems and Control

In case of large-scale parameter vector:

• Singular covariance matrix (data not sufficiently informative) • Parameters are updated only in directions where data contains information

Result: data-based estimation; result and reliability iscrucially dependent on initial state/model

Page 14: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

14

Delft Center for Systems and Control

Parameter estimation in identification

G0(q)+++u yv

H0(q)

e

G(q,)+-

H(q,)-1

(t)

presumed datagenerating system

predictor model

Parameter estimation by applying LS/ML criterion to (linearized) model prediction errors

e.g. areparameters that describepermeabilities

Page 15: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

15

Delft Center for Systems and Control

Starting from (linearized) state space form:

the model dynamics is represented in its i/o transfer function form:

with the shift operator:

Page 16: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

16

Delft Center for Systems and Control

Principle problem of physical model structures

Different might lead to the same dynamic models

This points to a lack of structural identifiability

There does not exist experimental data that can solve this!

Solutions:• Apply regularization (additional penalty term on criterion) to enforce a unique solution (does not guarantee a sensible solution for )• Find (identifiable) parametrization of reduced dimension

Page 17: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

17

Delft Center for Systems and Control

Structural identifiability

A model structure is locally (i/o) identifiable at if for anytwo parameters in the neighbourhood of it holds that

At a particular point the identifiable subspace of can be computed! This leads to a map

with

See presentation Jorn van Doren (wednesday)

Page 18: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

18

Delft Center for Systems and Control

Observations• Local estimate is required for analyzing identifiability. This “relates” to the initial estimate in data-assimilation.

• Besides identifiability, finding low-dimensional parametrizatons for the permeability field is a challenge!(rather than “identify everything from data”)

• Measure of weight for the relevance of particular directions can be adjusted.

• Once the parametrization is chosen, input/experiment design can help in identifying the most relevant directions.

Page 19: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

19

Delft Center for Systems and Control

Points of attention in modelling

• How to find the right physics?

• Goal oriented modelling

• Handling model uncertainty

Page 20: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

20

Delft Center for Systems and Control

Goal oriented modellingWell addressed in literature: “identification for control”

Identify reduced order model from i/o data to optimize the closed-loop transfer:

controller process+

-

outputreferenceinput

disturbance

Feedback control systemIdentification

processoutputinput

disturbance

Feedback control systemFeedback control system

Page 21: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

21

Delft Center for Systems and Control

Some general rules for feedback control:• For tracking / disturbance rejection problems:

• low-frequent model behaviour usually dominated by (integrating) controller• best models are obtained from closed-loop experiments (similar to intended application)

controller process+

-

outputreferenceinput

disturbance

Feedback control systemIdentification

processoutputinput

disturbance

Feedback control systemFeedback control system

Page 22: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

22

Delft Center for Systems and Control

Identification for filtering / optimization

1. Find the model that leads to the best possible state estimate of the relevant states (saturations, pressures)

2. Find the model that leads to the best possible future production prediction

Question: are these relevant and feasible problems?

Problems might include: generation of experimental data

Page 23: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

23

Delft Center for Systems and Control

Steps from data to prediction

productiondata

to be optimized

• Shows dual role of model: state estimation and long term prediction

Typical for the reservoir-situation:• current data only shows (linearized) dynamics of current reservoir situation (oil/water-front)• future scenario’s require physical model (permeabilities)

prior knowledge+

Page 24: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

24

Delft Center for Systems and Control

Steps from data to prediction

Relevant phenomena for assessing the dominant subspaces of the state space

[See presentation of Maarten Zandvliet, Wednesday]

productiondata

to be optimized

observability controllability

prior knowledge+

Page 25: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

25

Delft Center for Systems and Control

Points of attention in modelling

• How to find the right physics?

• Goal oriented modelling

• Handling model uncertainty

Page 26: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

26

Delft Center for Systems and Control

Handling model uncertainty

productiondata

to be optimizedprior knowledge+

+uncertainty

+uncertainty

+uncertainty

Sources:• Different geological scenarios• Model deficiencies• ……….

Page 27: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

27

Delft Center for Systems and Control

First results (Gijs van Essen en Maarten Zandvliet)

Robust performance (open-loop strategy) based on100 realizations/scenario’s

Page 28: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

28

Delft Center for Systems and Control

Challenge for next step: “learn” the most/less likely scenario’sduring closed-loop operation

Page 29: 1 Finding good models for model-based control and optimization Paul Van den Hof Okko Bosgra Delft Center for Systems and Control 17 July 2007 Delft Center.

29

Delft Center for Systems and Control

Conclusions

• Basic methods and tools have been set, but there remain important and challenging questions, as e.g.:

• Complexity reduction of the physical models: limit attention to the esssentials

• Structurally incorporate the role of uncertainties in modelling and optimization

• Major steps to be made to discrete-type optimization/decisions: e.g. well drilling

• Take account of all time scales (constraint handling)