1 Handling Uncertainty in the Development and Design of Chemical Processes David Bogle, David...

Preview:

Citation preview

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

2

Summary

• Objectives

• Process Development

• Methodology

• A Multiphase reactor

• Complete Manufacturing Processes

• Conclusions

3

Objectives

• Process development

• Integrated model-based approach

• Impact of uncertainty

• Management of uncertainty

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

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

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)?

7

Uncertainty

• Incomplete process knowledge

lack of suitable data

not having rigorous models

Phys ical propertiesTrans fer

ThermodynamicsKine tic s

Impact Management

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

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

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

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

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

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%)

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

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)

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

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%)

18

CF plot : Yield C - nominal solution

19

CF plot : Final time - nominal solution

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

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

22

CF plot : Yield C - robust solution

23

CF plot : Final time - nominal solution

24

CF plot : Final time - robust solution

25

CF plot : Yield D - robust solution

Yield D - not improved with robust optimisation

insensitive to available controls

26

Critical uncertainty reduction on Yield D criteria

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

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

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

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

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?

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

33

Acknowledgements

EPSRC, Pharmacia, Aspentech

Recommended