33
1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering Dept of Chemical Engineering University College London Collaborating Company : Pharmacia

1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

Embed Size (px)

Citation preview

Page 1: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

1

Handling Uncertainty in the Development and Design of Chemical Processes

David Bogle,David Johnson and

Sujan Balendra

Centre for Process Systems EngineeringDept of Chemical Engineering

University College London

Collaborating Company : Pharmacia

Page 2: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

2

Summary

• Objectives

• Process Development

• Methodology

• A Multiphase reactor

• Complete Manufacturing Processes

• Conclusions

Page 3: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

3

Objectives

• Process development

• Integrated model-based approach

• Impact of uncertainty

• Management of uncertainty

Page 4: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

4

• Chemical and clinical trials

• Simultaneous scale-up and production

• Resources and Divisions

• Difficulty in implementing changes

Process development issues

Process deve lopment

Sca le up Sca le upSca le up

Make chemical product

Page 5: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

5

Process development issues

Reaction

Isolations

Fina l purifica tionSubs tra te

Large uncertainty Non-reproducible Inadequate data for

proces s deve lopment

• Sequence of batch operations

• Complex fundamental mechanisms

• Multiphase

Page 6: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

6

Generic model-based approach

Develop models Identify da ta Improve mode ls

Process deve lopment

Sca le up Sca le upSca le up

Why? • Efficient process development

• Structure/document process knowledge

• Improve understanding and process potential

• Identify important areas where knowledge is lacking

• Future application to validation (FDA)?

Page 7: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

7

Uncertainty

• Incomplete process knowledge

lack of suitable data

not having rigorous models

Phys ical propertiesTrans fer

ThermodynamicsKine tic s

Impact Management

Page 8: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

8

Dealing with Uncertainty in Process Development

• Utilise the available information

• What can be done?

manipulate available decisions

improve the model - reduce uncertainty

alternative process/route

Page 9: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

9

Methodology

Systematic model development

Improve model

Get data

Process models Uncertainty

characterisation Feedback

Stochastic system

Risk Analysis: Uncertainty Analysis quantify uncertainty

Sensitivity Analysis identify contributors

Optimal input uncertainty reductions identify reduction to meet

desired output performance uncertainty limits

Implement Get new data

Page 10: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

10

Input effect Uncertainty characterisation : normal, uniform

Define uncertainty space :

Correlation structures :

Sampling : Hammersley

Output effect Uncertainty analysis :

constraint violation

Sensitivity indicators : linear, non-linear

Risk analysis approach

V

, ,2

Page 11: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

11

Optimisation approach

max , , , , , , max , , , , , ,, , , ,u t

s mu t

s m ms s

E Q x x y u J Q x x y u d

Not based on extreme scenarios

Dynamic and non-linear behaviour

Computa tiona l is sues

• Optimisation objectives : key UA criteria

• Off-line decisions : scenario independent control variables

s.t. deterministic constraints stochastic (binary) constraints

Page 12: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

12

Methodology

(5) Initial conditions Operating policy

(8) Validation of the stochastic system and the

relevant deterministic process model(s)

(regarding Steps 1 to 6)

(1b) Assume parameter uncertainties

Perturbation Analysis

(1a) Estimate characteristics of model parameter uncertainties

(3) Sampling procedure

(4) Solve stochastic model (6) Solve deterministic model of complete process

(2) Define the stochastic system with significant uncertain inputs

(7) Convergence test

Uncertainty Analysis over complete

process sequence

Data

collection

Performance criteria distribution parameters

(9) Sensitivity Analysis

(10) Optimal reduction in key parameter uncertainties for

desired output uncertainty limits

Key contributors to predicted output uncertainties

Compare distributions to independent data

Data drivers

Required source reductions to meet target levels

Development of individual process models

Page 13: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

13

Uncertainty Analysis

• Estimate characteristics based on local

linearisation and approx. confidence region

• Hammersley sampling procedure

• Solve stochastic model to give expected

values of statistics for output variables

• Continue sampling until mean and variance

are unchanging (<1%)

Page 14: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

14

Validation and Sensitivity Analysis

• Estimate ranking priority of inputs contributing

to uncertainty

• Use

• Correlation coefficients – linear measures of input

contribution

• Standardised regression coefficient – fraction of

output variability explained by input variability not

due to any of the other inputs

Page 15: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

15

Optimal reduction in uncertainty

decision variables – fractions of original values of parameters which characterise spread of uncertainties

Max st + dt

Subject todeterministic modeluncertainty space characterisation

stochastic inequality constraintFW(F) < a FW (F)’

(width between 5% and 95% fractiles)

Page 16: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

16

Case study : Bromopropyl amination(Sano et al. 1999)

• Semi-batch reactor with constant addition

• First order parallel-series reaction

• First order dissolution kinetics

• Isothermal

aqueous Bsolid A

methanol solvent

A + B C main

A + C D sub

B

A

addition T

Page 17: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

17

Uncertainty analysis : nominal optimisation

• Uncertainty : kinetic parameters 10 %

dissolution parameters 10 %

feed purity 1.5 %

temperature control 1 %

Nomina l Mean Fractile diffe rence Exp. Viola tion

97.1 Yie ld C (%) 94.3 81 - 99 -

6.8 Fina l time (h) 9.4 2 - 27 3.5 (8h)

1.4 Yie ld D (%) 2.8 0.3 - 9.1 1.4 (2%)

Page 18: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

18

CF plot : Yield C - nominal solution

Page 19: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

19

CF plot : Final time - nominal solution

Page 20: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

20

Optimal isothermal conditions

Criteria Nominal optimal operation

Uncertain optimal operation

Scenarios 456 418

Mean-variance {YC} 0 0.234

[E{YC} (%), Var{YC}] [94.35, 50.4] [94.30, 26.9]

E{YD} (%) 2.75 2.77

E{tf} (hr) 9.34 2.35

FW{YC} (%) 18.73 15.92

FW{YD} (%) 8.83 7.55

FW{tf} (hr) 24.97 5.17

[Prpass{YD 2.0}, Prpass{tf 8.0}] [0.59, 0.59] [0.53, 0.98]

[Eviol{YD 2.0}, Eviol{tf 8.0}] [1.39, 4.49] [1.25, 0.05]

Decisions

tadd (hr) 1.79 1.12

Tiso (K) 296.8 312.4

Page 21: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

21

Robust optimisation

Key uncertainties

main and sub-reaction kinetic parameters : Eamain, Easub

Objective function : max,

min minT

robust

no al

robust

no aladdition

12

2

Nominal Robus t

Tiso (K) 297 312

addition (h) 1.8 1.1

Page 22: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

22

CF plot : Yield C - robust solution

Page 23: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

23

CF plot : Final time - nominal solution

Page 24: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

24

CF plot : Final time - robust solution

Page 25: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

25

CF plot : Yield D - robust solution

Yield D - not improved with robust optimisation

insensitive to available controls

Page 26: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

26

Critical uncertainty reduction on Yield D criteria

Page 27: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

27

Recap

• What information has been obtained?

quantified effect of model uncertainty and system variability

a priori robust control solution

whether further model development may be useful and where

sensitivity of key risk criteria- range of sources- potential reduction in the critical source

• Information may be available before pilot plant run

Page 28: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

28

Why is this information useful?

• Formal recognition of the problem of uncertainty

• Opportunity to improve the potential of the process

• Aims to reduce the pilot plant laboratory iteration

• Purpose of modelling, and the limitations

Page 29: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

29

Process development methodology

Systematic model development

Improve modelGet dataProcess models

Uncertaintycharacterisation

Feedback

Optimal input uncertainty reductions identify key reduction requirements to meet desired output performance uncertainty limits

Risk Analysis:Uncertainty Analysis quantify uncertainty

Sensitivity Analysis identify contributors

Stochastic system

Flowsheet optimisation

Process modelsImportant uncertainty

space

Optimisation under uncertainty

Stochastic optimisation problems:

Optimal output performance prediction identify operating policy

Optimal control error tolerance identify maximum control uncertainty within performance constraints

Importance of potential knowledge estimate Value of Perfect

Information

Comparison betweenflowsheet alternatives

ImplementGet new data

Optimise process

Page 30: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

30

Typical Pharmaceutical Plant

Reaction

1 stage

Dilution | Quench | Phase separation

Solvent exchange

7 stages

3 stages4 stages

Purification | Isolation

API

Crystals

PP Data

PP Data

PP Data PP Data

Page 31: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

31

Process design systems are typically modular and data comes as error bounds around a data

point – use interval methods

Input

N stream

Cost

P -Input Parameters

r-Residuals

MODULE

Output

M stream

Real values

Gradient values

Interval Bounds

Real values

Gradient values

Interval Bounds

But how conservative?

Page 32: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

32

Conclusions

• Process development

• Methodology for quantifying and minimising uncertainty

• Uncertainty analysis and identification of potential

uncertainty reduction

• Case study of semi batch reactor

• Contrast of stochastic and interval approaches

Page 33: 1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David Johnson and Sujan Balendra Centre for Process Systems Engineering

33

Acknowledgements

EPSRC, Pharmacia, Aspentech