SlideShare a Scribd company logo
Process/product optimization 
using design of experiments and 
response surface methodology 
M. Mäkelä 
Sveriges landbruksuniversitet 
Swedish University of Agricultural Sciences 
Department of Forest Biomaterials and Technology 
Division of Biomass Technology and Chemistry 
Umeå, Sweden
DOE and RSM 
You 
DOE RSM 
Design of experiments (DOE) 
 Planning experiments 
→ Maximum information from 
minimized number of experiments 
Response Surface Methodology (RSM) 
 Identifying and fitting an appropriate 
response surface model 
→ Statistics, regression modelling & 
optimization
What to expect? 
 Background and philosophy 
 Theory 
 Nomenclature 
 Practical demonstrations and exercises (Matlab) 
What not? 
 Matrix algebra 
 Detailed equation studies 
 Statistical basics 
 Detailed listing of possible designs
Contents 
Practical course, arranged in 4 individual sessions: 
 Session 1 – Introduction, factorial design, first order models 
 Session 2 – Matlab exercise: factorial design 
 Session 3 – Central composite designs, second order models, ANOVA, 
blocking, qualitative factors 
 Session 4 – Matlab exercise: practical optimization example on given data
Session 1 
Introduction 
 Why experimental design 
Factorial design 
 Design matrix 
 Model equation = coefficients 
 Residual 
 Response contour
If the current location is 
known, a response surface 
provides information on: 
- Where to go 
- How to get there 
- Local maxima/minima 
Response surfaces
Is there a difference? 
vs. ? 
Mäkelä et al., Appl. Energ. 131 (2014) 490.
Research problem 
܂,۾ 
 A and B constant reagents 
 C reaction product (response), to be maximized 
 T and P reaction conditions (continuous factors), can be regulated
Response as a contour plot 
What kind of equation could 
describe C behaviour as a 
function of T and P? 
C = f(T,P)
What else do we want to know? 
 Which factors and interactions are important 
 Positions of local optima (if they exist) 
 Surface and surface function around an 
optimum 
 Direction towards an optimum 
 Statistical significance
How can we do it? 
The expert method
How can we do it? 
The shotgun method
How can we do it? 
The ”Soviet” method 
 xk possibilities with k 
factors on x levels 
 2 factors on 4 levels = 16 
experiments
How can we do it? 
The classical method 
P fixed 
x 
T fixed
How can we do it? 
Factorial design 
 ΔT, ΔP 
 Factor interaction (diagonal)
Why experimental design? 
 Reduce the number of experiments 
→ Cost, time 
 Extract maximal information 
 Understand what happens 
 Predict future behaviour
Challenges 
 Multiple factors on multiple levels 
 6 factors on 3 levels, 36 experiments 
 Reduce number of factors 
 Only 2 levels 
→ Discard factors 
= SCREENING 
1 
2 
3
Factorial design 
T 
3 
P 
N:o T P 
1 80 2 
2 120 2 
3 80 3 
4 120 3 
2 
80 120
Factorial design 
T 
1 
P 
-1 1 
-1 
In coded levels 
N:o T T 
coded 
P P 
coded 
1 80 -1 2 -1 
2 120 1 2 -1 
3 80 -1 3 1 
4 120 1 3 1 
The smallest possible full factorial design!
Factorial design 
45 75 
T 
1 
P 
25 35 
-1 1 
-1 
Design matrix: 
N:o T P C 
1 -1 -1 25 
2 1 -1 35 
3 -1 1 45 
4 1 1 75
Factorial design 
45 75 
T 
1 
P 
25 35 
-1 1 
-1 
Average T effect: 
T = ଻ହାଷହ 
ଶ െ ସହାଶହ 
ଶ ൌ 20 
Average P effect: 
P = ଻ହାସହ 
ଶ െ ଷହାଶହ 
ଶ ൌ 30 
Interaction (TxP) effect: 
TxP = ଻ହାଶହ 
ଶ െ ଷହାସହ 
ଶ ൌ 10
Research problem 
܂,۾,۹ 
 A and B constant reagents 
 C reaction product (response), to be maximized 
 T, P and K reaction conditions (continuous factors) at two different levels 
 Number of experiments 23 = 9 ([levels][factors]) 
How to select proper factor levels?
Research problem 
Empirical model: 
ݕࢉ ൌ ݂ ܂, ۾, ۹ ൅ ߝ 
ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ⋯ ൅ ߚ௞ݔ௞ ൅ ߝ 
In matrix notation: 
ܡ ൌ ܆܊ ൅ ܍ → 
yଵ 
yଶ 
⋮ 
y୬ 
ൌ 
1 ݔଵଵ ݔଶଵ ⋯ ݔଵ௞ 
1 ݔଵଶ ݔଶଶ ⋯ ݔଶ௞ 
1 ⋮ ⋮ ⋱ ⋮ 
1 ݔଵ௡ ݔଶ௡ ⋯ ݔ௡௞ 
b଴ 
bଵ 
⋮ 
b୩ 
൅ 
eଵ 
eଶ 
⋮ 
e୬ 
Measure Choose 
Unknown!
Factorial design 
First step 
 Selection and coding of factor levels 
→ Design matrix 
T = [80, 120] 
P = [2, 3] 
K = [0.5, 1] 
0.5 
3 
1 
P 
2 
80 120 
T 
K
Factorial design 
Factorial design matrix 
Notice symmetry in diffent colums 
 Inner product of two colums is zero 
 E.g. T’P = 0 
This property is called orthogonality 
N:o Order T P K 
1 -1 -1 -1 
2 1 -1 -1 
3 -1 1 -1 
4 1 1 -1 
5 -1 -1 1 
6 1 -1 1 
7 -1 1 1 
8 1 1 1 
Randomize!
Orthogonality 
For a first-order orthogonal design, X’X is a diagonal matrix: 
܆ ൌ 
െ1 െ1 
1 െ1 
െ1 1 
1 1 
, ܆ᇱ ൌ െ1 1 െ1 1 
െ1 െ1 1 1 
2x4 
܆ᇱ܆ ൌ െ1 1 െ1 1 
െ1 െ1 1 1 
4x2 
െ1 െ1 
1 െ1 
െ1 1 
1 1 
2x2 
ൌ 4 0 
0 4 
If two columns are orthogonal, corresponding variables are linearly independent, 
i.e., assessed independent of each other.
Factorial design 
Design matrix: 
N:o T P K Resp. 
(C) 
1 -1 -1 -1 60 
2 1 -1 -1 72 
3 -1 1 -1 54 
4 1 1 -1 68 
5 -1 -1 1 52 
6 1 -1 1 83 
7 -1 1 1 45 
8 1 1 1 80 
-1 
1 
1 
45 80 
54 68 
52 83 
60 72 
-1 
-1 1 
T 
P 
K
Factorial design 
Model equation, main terms: 
ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߝ 
where 
ݕ denotes response 
ݔ௜ factor (T, P or K) 
ߚ௜ coefficient 
ߝ residual 
ߚ଴ mean term (average level) 
N:o T P K Resp. 
(C) 
1 -1 -1 -1 60 
2 1 -1 -1 72 
3 -1 1 -1 54 
4 1 1 -1 68 
5 -1 -1 1 52 
6 1 -1 1 83 
7 -1 1 1 45 
8 1 1 1 80
Factorial design 
Equation = coefficients 
܊ ൌ 
b଴ 
bଵ 
bଶ 
bଷ 
ൌ 
64.2 
11.5 
െ2.5 
0.8 
 bo average value (mean term) 
 Large coefficient → important factor 
 Interactions usually present 
Due to coding, the coefficients are comparable!
Factorial design 
Model equation with interactions: 
ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߚଵଶݔଵݔଶ ൅ ߚଵଷݔଵݔଷ ൅ ߚଶଷݔଶݔଷ ൅ ߚଵଶଷݔଵݔଶݔଷ ൅ ߝ 
N:o T P K TxP TxK PxK TxPxK Resp. (C) 
1 -1 -1 -1 1 60 
2 1 -1 -1 -1 72 
3 -1 1 -1 1 54 
4 1 1 -1 -1 68 
5 -1 -1 1 -1 52 
6 1 -1 1 1 83 
7 -1 1 1 -1 45 
8 1 1 1 1 80
Factorial design 
- + 
T 
+ 
- 
P 
+ 
- 
K 
- + 
TxP 
- + 
TxK 
PxK 
+ 
- 
Main effects and interactions:
Factorial design 
Equation = coefficients 
܊ ൌ 
b଴ 
bଵ 
bଶ 
bଷ 
bଵଶ 
bଵଷ 
bଶଷ 
bଵଶଷ 
ൌ 
64.2 
11.5 
െ2.5 
0.8 
0.8 
5.0 
0 
0.3 
 Large interaction b13 (TxK) 
 Important interaction, main effects cannot be removed 
→ Which coefficients to include?
Factorial design 
An estimate of model error needed 
 Center-points 
 Duplicated experiments 
 Model residual 
܍ ൌ ܡ െ ܆܊ ൌ ܡ െ ࢟ෝ 
ݕ௜ 
݁௜ 
ݕො௜
Factorial design 
Error estimation allows significant testing 
Remove insignificant coefficients 
 Leave main effects 
 Important interaction, main effect 
cannot be removed
Factorial design 
Error estimation allows significant testing 
Remove insignificant coefficients 
 Leave main effects 
 Important interaction, main effect 
cannot be removed 
Recalculate significance upon removal!
Factorial design 
Model residuals 
 Checking model adequacy 
 Finding outliers 
 Normally distributed 
→ Random error 
Several ways to present residuals 
 Possibility for response transformation
Factorial design 
R2 statistic 
 Explained variability of 
measured response 
R2 = 0.9962 
 99.6% explained
Factorial design 
More things to look at 
 Normal distribution of coefficients 
 Residual 
 Standardized residual 
 Residual histogram 
 Residual vs. time 
 ANOVA
Factorial design
Factorial design 
Prediction: 
T = 110 
K = 0.9 
P = 2 (min. level) 
Coded location: 
ܠܕ ൌ 1 0.5 െ1 0.6 0.3 
Predicted response: 
ݕො௠ ൌ 74.5 േ 2.4
Session 1 
Introduction 
 Why experimental design 
Factorial design 
 Design matrix 
 Model equation = coefficients 
 Residual 
 Response contour
Nomenclature 
Factorial design 
Screening 
Design matrix 
Model equation 
Response 
Effect (main/interaction) 
Coefficient 
Significance 
Contour 
Residual
Contents 
Practical course, arranged in 4 individual sessions: 
 Session 1 – Introduction, factorial design, first order models 
 Session 2 – Matlab exercise: factorial design 
 Session 3 – Central composite designs, second order models, ANOVA, 
blocking, qualitative factors 
 Session 4 – Matlab exercise: practical optimization example on given data
Thank you for listening! 
 Please send me an email that you are attending the course 
mikko.makela@slu.se

More Related Content

Similar to S1 - Process product optimization using design experiments and response surface methodolgy

Experimental design
Experimental designExperimental design
Experimental designSandip Patel
 
S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...
CAChemE
 
Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5
Stats Statswork
 
S2 - Process product optimization using design experiments and response surfa...
S2 - Process product optimization using design experiments and response surfa...S2 - Process product optimization using design experiments and response surfa...
S2 - Process product optimization using design experiments and response surfa...
CAChemE
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handoutfatima d
 
CDT 22 slides.pdf
CDT 22 slides.pdfCDT 22 slides.pdf
CDT 22 slides.pdf
Christian Robert
 
Modeling full scale-data(2)
Modeling full scale-data(2)Modeling full scale-data(2)
Modeling full scale-data(2)
John B. Cook, PE, CEO
 
new optimization algorithm for topology optimization
new optimization algorithm for topology optimizationnew optimization algorithm for topology optimization
new optimization algorithm for topology optimization
Seonho Park
 
Optimization techniques
Optimization techniquesOptimization techniques
Optimization techniques
prashik shimpi
 
Respose surface methods
Respose surface methodsRespose surface methods
Respose surface methods
Venkatasami murugesan
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)
Christian Robert
 
Estimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample SetsEstimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample Sets
Förderverein Technische Fakultät
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptx
ssuser01e301
 
Unbiased Bayes for Big Data
Unbiased Bayes for Big DataUnbiased Bayes for Big Data
Unbiased Bayes for Big Data
Christian Robert
 
Statistics
StatisticsStatistics
Statistics
theaimeeremani21
 
Class X Mathematics Study Material
Class X Mathematics Study MaterialClass X Mathematics Study Material
Class X Mathematics Study Material
FellowBuddy.com
 
Analysis of Variance-ANOVA
Analysis of Variance-ANOVAAnalysis of Variance-ANOVA
Analysis of Variance-ANOVA
Rabin BK
 
Lecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.airLecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.air
atutor_te
 

Similar to S1 - Process product optimization using design experiments and response surface methodolgy (20)

Experimental design
Experimental designExperimental design
Experimental design
 
S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...
 
Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5
 
S2 - Process product optimization using design experiments and response surfa...
S2 - Process product optimization using design experiments and response surfa...S2 - Process product optimization using design experiments and response surfa...
S2 - Process product optimization using design experiments and response surfa...
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handout
 
CDT 22 slides.pdf
CDT 22 slides.pdfCDT 22 slides.pdf
CDT 22 slides.pdf
 
Compilation
CompilationCompilation
Compilation
 
Modeling full scale-data(2)
Modeling full scale-data(2)Modeling full scale-data(2)
Modeling full scale-data(2)
 
new optimization algorithm for topology optimization
new optimization algorithm for topology optimizationnew optimization algorithm for topology optimization
new optimization algorithm for topology optimization
 
Optimization techniques
Optimization techniquesOptimization techniques
Optimization techniques
 
DMAIC
DMAICDMAIC
DMAIC
 
Respose surface methods
Respose surface methodsRespose surface methods
Respose surface methods
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)
 
Estimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample SetsEstimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample Sets
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptx
 
Unbiased Bayes for Big Data
Unbiased Bayes for Big DataUnbiased Bayes for Big Data
Unbiased Bayes for Big Data
 
Statistics
StatisticsStatistics
Statistics
 
Class X Mathematics Study Material
Class X Mathematics Study MaterialClass X Mathematics Study Material
Class X Mathematics Study Material
 
Analysis of Variance-ANOVA
Analysis of Variance-ANOVAAnalysis of Variance-ANOVA
Analysis of Variance-ANOVA
 
Lecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.airLecture slides stats1.13.l11.air
Lecture slides stats1.13.l11.air
 

More from CAChemE

Mixed-integer and Disjunctive Programming - Ignacio E. Grossmann
Mixed-integer and Disjunctive Programming - Ignacio E. GrossmannMixed-integer and Disjunctive Programming - Ignacio E. Grossmann
Mixed-integer and Disjunctive Programming - Ignacio E. Grossmann
CAChemE
 
Mixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
Mixed-integer Models for Planning and Scheduling - Ignacio E. GrossmannMixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
Mixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
CAChemE
 
Simulation of Chemical Rectors - Introduction to chemical process simulators ...
Simulation of Chemical Rectors - Introduction to chemical process simulators ...Simulation of Chemical Rectors - Introduction to chemical process simulators ...
Simulation of Chemical Rectors - Introduction to chemical process simulators ...
CAChemE
 
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
CAChemE
 
Optimizacion con Python (Pyomo vs GAMS vs AMPL)
Optimizacion con Python (Pyomo vs GAMS vs AMPL)Optimizacion con Python (Pyomo vs GAMS vs AMPL)
Optimizacion con Python (Pyomo vs GAMS vs AMPL)
CAChemE
 
Simulador de reactores químicos - COCO Simulator - Free
Simulador de reactores químicos - COCO Simulator - FreeSimulador de reactores químicos - COCO Simulator - Free
Simulador de reactores químicos - COCO Simulator - Free
CAChemE
 
S4 - Process/product optimization using design of experiments and response su...
S4 - Process/product optimization using design of experiments and response su...S4 - Process/product optimization using design of experiments and response su...
S4 - Process/product optimization using design of experiments and response su...
CAChemE
 
Python en ciencia e ingenieria: lecciones aprendidas
Python en ciencia e ingenieria: lecciones aprendidasPython en ciencia e ingenieria: lecciones aprendidas
Python en ciencia e ingenieria: lecciones aprendidas
CAChemE
 
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
CAChemE
 
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
CAChemE
 
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
CAChemE
 
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
CAChemE
 
Instalar Python 2.7 y 3 en Windows (Anaconda)
Instalar Python 2.7 y 3 en Windows (Anaconda)Instalar Python 2.7 y 3 en Windows (Anaconda)
Instalar Python 2.7 y 3 en Windows (Anaconda)
CAChemE
 
El uso de Python en la Ingenieria Química - Charla Completa
El uso de Python en la Ingenieria Química - Charla CompletaEl uso de Python en la Ingenieria Química - Charla Completa
El uso de Python en la Ingenieria Química - Charla Completa
CAChemE
 
Reactor de flujo piston con MATLAB Octave
Reactor de flujo piston con MATLAB OctaveReactor de flujo piston con MATLAB Octave
Reactor de flujo piston con MATLAB Octave
CAChemE
 
Reactor flujo piston en MATLAB - Octave - Craqueo termico
Reactor flujo piston en MATLAB - Octave - Craqueo termicoReactor flujo piston en MATLAB - Octave - Craqueo termico
Reactor flujo piston en MATLAB - Octave - Craqueo termico
CAChemE
 
Simulación de reactores químicos con octave
Simulación de reactores químicos con octaveSimulación de reactores químicos con octave
Simulación de reactores químicos con octaveCAChemE
 
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
CAChemE
 
Diseño de reactores químicos con Python - Ingeniería Química - PyConES
Diseño de reactores químicos con Python - Ingeniería Química - PyConESDiseño de reactores químicos con Python - Ingeniería Química - PyConES
Diseño de reactores químicos con Python - Ingeniería Química - PyConES
CAChemE
 
Programación matématica (optimización) con Python - Ingeniería Química - PyConES
Programación matématica (optimización) con Python - Ingeniería Química - PyConESProgramación matématica (optimización) con Python - Ingeniería Química - PyConES
Programación matématica (optimización) con Python - Ingeniería Química - PyConES
CAChemE
 

More from CAChemE (20)

Mixed-integer and Disjunctive Programming - Ignacio E. Grossmann
Mixed-integer and Disjunctive Programming - Ignacio E. GrossmannMixed-integer and Disjunctive Programming - Ignacio E. Grossmann
Mixed-integer and Disjunctive Programming - Ignacio E. Grossmann
 
Mixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
Mixed-integer Models for Planning and Scheduling - Ignacio E. GrossmannMixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
Mixed-integer Models for Planning and Scheduling - Ignacio E. Grossmann
 
Simulation of Chemical Rectors - Introduction to chemical process simulators ...
Simulation of Chemical Rectors - Introduction to chemical process simulators ...Simulation of Chemical Rectors - Introduction to chemical process simulators ...
Simulation of Chemical Rectors - Introduction to chemical process simulators ...
 
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
Introduction to free and open source Chemical Process Simulators - (DWSIM & C...
 
Optimizacion con Python (Pyomo vs GAMS vs AMPL)
Optimizacion con Python (Pyomo vs GAMS vs AMPL)Optimizacion con Python (Pyomo vs GAMS vs AMPL)
Optimizacion con Python (Pyomo vs GAMS vs AMPL)
 
Simulador de reactores químicos - COCO Simulator - Free
Simulador de reactores químicos - COCO Simulator - FreeSimulador de reactores químicos - COCO Simulator - Free
Simulador de reactores químicos - COCO Simulator - Free
 
S4 - Process/product optimization using design of experiments and response su...
S4 - Process/product optimization using design of experiments and response su...S4 - Process/product optimization using design of experiments and response su...
S4 - Process/product optimization using design of experiments and response su...
 
Python en ciencia e ingenieria: lecciones aprendidas
Python en ciencia e ingenieria: lecciones aprendidasPython en ciencia e ingenieria: lecciones aprendidas
Python en ciencia e ingenieria: lecciones aprendidas
 
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
Simulación de columnas de destilación multicomponente con COCO+ChemSep (alter...
 
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
Método McCabe-Thiele colmuna destilación - Curso gratutito de simulación de p...
 
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
Curso inciación a COCO Simulator y ChemSep - Simulación de procesos químicos ...
 
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
Cómo hacer una búsqueda bibliográfica en bases de datos científicas (Scopus y...
 
Instalar Python 2.7 y 3 en Windows (Anaconda)
Instalar Python 2.7 y 3 en Windows (Anaconda)Instalar Python 2.7 y 3 en Windows (Anaconda)
Instalar Python 2.7 y 3 en Windows (Anaconda)
 
El uso de Python en la Ingenieria Química - Charla Completa
El uso de Python en la Ingenieria Química - Charla CompletaEl uso de Python en la Ingenieria Química - Charla Completa
El uso de Python en la Ingenieria Química - Charla Completa
 
Reactor de flujo piston con MATLAB Octave
Reactor de flujo piston con MATLAB OctaveReactor de flujo piston con MATLAB Octave
Reactor de flujo piston con MATLAB Octave
 
Reactor flujo piston en MATLAB - Octave - Craqueo termico
Reactor flujo piston en MATLAB - Octave - Craqueo termicoReactor flujo piston en MATLAB - Octave - Craqueo termico
Reactor flujo piston en MATLAB - Octave - Craqueo termico
 
Simulación de reactores químicos con octave
Simulación de reactores químicos con octaveSimulación de reactores químicos con octave
Simulación de reactores químicos con octave
 
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
Iniciación al modelado de reactores químicos com MATLAB - Octave (intro)
 
Diseño de reactores químicos con Python - Ingeniería Química - PyConES
Diseño de reactores químicos con Python - Ingeniería Química - PyConESDiseño de reactores químicos con Python - Ingeniería Química - PyConES
Diseño de reactores químicos con Python - Ingeniería Química - PyConES
 
Programación matématica (optimización) con Python - Ingeniería Química - PyConES
Programación matématica (optimización) con Python - Ingeniería Química - PyConESProgramación matématica (optimización) con Python - Ingeniería Química - PyConES
Programación matématica (optimización) con Python - Ingeniería Química - PyConES
 

Recently uploaded

ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 

Recently uploaded (20)

ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 

S1 - Process product optimization using design experiments and response surface methodolgy

  • 1. Process/product optimization using design of experiments and response surface methodology M. Mäkelä Sveriges landbruksuniversitet Swedish University of Agricultural Sciences Department of Forest Biomaterials and Technology Division of Biomass Technology and Chemistry Umeå, Sweden
  • 2. DOE and RSM You DOE RSM Design of experiments (DOE)  Planning experiments → Maximum information from minimized number of experiments Response Surface Methodology (RSM)  Identifying and fitting an appropriate response surface model → Statistics, regression modelling & optimization
  • 3. What to expect?  Background and philosophy  Theory  Nomenclature  Practical demonstrations and exercises (Matlab) What not?  Matrix algebra  Detailed equation studies  Statistical basics  Detailed listing of possible designs
  • 4. Contents Practical course, arranged in 4 individual sessions:  Session 1 – Introduction, factorial design, first order models  Session 2 – Matlab exercise: factorial design  Session 3 – Central composite designs, second order models, ANOVA, blocking, qualitative factors  Session 4 – Matlab exercise: practical optimization example on given data
  • 5. Session 1 Introduction  Why experimental design Factorial design  Design matrix  Model equation = coefficients  Residual  Response contour
  • 6. If the current location is known, a response surface provides information on: - Where to go - How to get there - Local maxima/minima Response surfaces
  • 7. Is there a difference? vs. ? Mäkelä et al., Appl. Energ. 131 (2014) 490.
  • 8. Research problem ܂,۾  A and B constant reagents  C reaction product (response), to be maximized  T and P reaction conditions (continuous factors), can be regulated
  • 9. Response as a contour plot What kind of equation could describe C behaviour as a function of T and P? C = f(T,P)
  • 10. What else do we want to know?  Which factors and interactions are important  Positions of local optima (if they exist)  Surface and surface function around an optimum  Direction towards an optimum  Statistical significance
  • 11. How can we do it? The expert method
  • 12. How can we do it? The shotgun method
  • 13. How can we do it? The ”Soviet” method  xk possibilities with k factors on x levels  2 factors on 4 levels = 16 experiments
  • 14. How can we do it? The classical method P fixed x T fixed
  • 15. How can we do it? Factorial design  ΔT, ΔP  Factor interaction (diagonal)
  • 16. Why experimental design?  Reduce the number of experiments → Cost, time  Extract maximal information  Understand what happens  Predict future behaviour
  • 17. Challenges  Multiple factors on multiple levels  6 factors on 3 levels, 36 experiments  Reduce number of factors  Only 2 levels → Discard factors = SCREENING 1 2 3
  • 18. Factorial design T 3 P N:o T P 1 80 2 2 120 2 3 80 3 4 120 3 2 80 120
  • 19. Factorial design T 1 P -1 1 -1 In coded levels N:o T T coded P P coded 1 80 -1 2 -1 2 120 1 2 -1 3 80 -1 3 1 4 120 1 3 1 The smallest possible full factorial design!
  • 20. Factorial design 45 75 T 1 P 25 35 -1 1 -1 Design matrix: N:o T P C 1 -1 -1 25 2 1 -1 35 3 -1 1 45 4 1 1 75
  • 21. Factorial design 45 75 T 1 P 25 35 -1 1 -1 Average T effect: T = ଻ହାଷହ ଶ െ ସହାଶହ ଶ ൌ 20 Average P effect: P = ଻ହାସହ ଶ െ ଷହାଶହ ଶ ൌ 30 Interaction (TxP) effect: TxP = ଻ହାଶହ ଶ െ ଷହାସହ ଶ ൌ 10
  • 22. Research problem ܂,۾,۹  A and B constant reagents  C reaction product (response), to be maximized  T, P and K reaction conditions (continuous factors) at two different levels  Number of experiments 23 = 9 ([levels][factors]) How to select proper factor levels?
  • 23. Research problem Empirical model: ݕࢉ ൌ ݂ ܂, ۾, ۹ ൅ ߝ ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ⋯ ൅ ߚ௞ݔ௞ ൅ ߝ In matrix notation: ܡ ൌ ܆܊ ൅ ܍ → yଵ yଶ ⋮ y୬ ൌ 1 ݔଵଵ ݔଶଵ ⋯ ݔଵ௞ 1 ݔଵଶ ݔଶଶ ⋯ ݔଶ௞ 1 ⋮ ⋮ ⋱ ⋮ 1 ݔଵ௡ ݔଶ௡ ⋯ ݔ௡௞ b଴ bଵ ⋮ b୩ ൅ eଵ eଶ ⋮ e୬ Measure Choose Unknown!
  • 24. Factorial design First step  Selection and coding of factor levels → Design matrix T = [80, 120] P = [2, 3] K = [0.5, 1] 0.5 3 1 P 2 80 120 T K
  • 25. Factorial design Factorial design matrix Notice symmetry in diffent colums  Inner product of two colums is zero  E.g. T’P = 0 This property is called orthogonality N:o Order T P K 1 -1 -1 -1 2 1 -1 -1 3 -1 1 -1 4 1 1 -1 5 -1 -1 1 6 1 -1 1 7 -1 1 1 8 1 1 1 Randomize!
  • 26. Orthogonality For a first-order orthogonal design, X’X is a diagonal matrix: ܆ ൌ െ1 െ1 1 െ1 െ1 1 1 1 , ܆ᇱ ൌ െ1 1 െ1 1 െ1 െ1 1 1 2x4 ܆ᇱ܆ ൌ െ1 1 െ1 1 െ1 െ1 1 1 4x2 െ1 െ1 1 െ1 െ1 1 1 1 2x2 ൌ 4 0 0 4 If two columns are orthogonal, corresponding variables are linearly independent, i.e., assessed independent of each other.
  • 27. Factorial design Design matrix: N:o T P K Resp. (C) 1 -1 -1 -1 60 2 1 -1 -1 72 3 -1 1 -1 54 4 1 1 -1 68 5 -1 -1 1 52 6 1 -1 1 83 7 -1 1 1 45 8 1 1 1 80 -1 1 1 45 80 54 68 52 83 60 72 -1 -1 1 T P K
  • 28. Factorial design Model equation, main terms: ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߝ where ݕ denotes response ݔ௜ factor (T, P or K) ߚ௜ coefficient ߝ residual ߚ଴ mean term (average level) N:o T P K Resp. (C) 1 -1 -1 -1 60 2 1 -1 -1 72 3 -1 1 -1 54 4 1 1 -1 68 5 -1 -1 1 52 6 1 -1 1 83 7 -1 1 1 45 8 1 1 1 80
  • 29. Factorial design Equation = coefficients ܊ ൌ b଴ bଵ bଶ bଷ ൌ 64.2 11.5 െ2.5 0.8  bo average value (mean term)  Large coefficient → important factor  Interactions usually present Due to coding, the coefficients are comparable!
  • 30. Factorial design Model equation with interactions: ݕ ൌ ߚ଴ ൅ ߚଵݔଵ ൅ ߚଶݔଶ ൅ ߚଷݔଷ ൅ ߚଵଶݔଵݔଶ ൅ ߚଵଷݔଵݔଷ ൅ ߚଶଷݔଶݔଷ ൅ ߚଵଶଷݔଵݔଶݔଷ ൅ ߝ N:o T P K TxP TxK PxK TxPxK Resp. (C) 1 -1 -1 -1 1 60 2 1 -1 -1 -1 72 3 -1 1 -1 1 54 4 1 1 -1 -1 68 5 -1 -1 1 -1 52 6 1 -1 1 1 83 7 -1 1 1 -1 45 8 1 1 1 1 80
  • 31. Factorial design - + T + - P + - K - + TxP - + TxK PxK + - Main effects and interactions:
  • 32. Factorial design Equation = coefficients ܊ ൌ b଴ bଵ bଶ bଷ bଵଶ bଵଷ bଶଷ bଵଶଷ ൌ 64.2 11.5 െ2.5 0.8 0.8 5.0 0 0.3  Large interaction b13 (TxK)  Important interaction, main effects cannot be removed → Which coefficients to include?
  • 33. Factorial design An estimate of model error needed  Center-points  Duplicated experiments  Model residual ܍ ൌ ܡ െ ܆܊ ൌ ܡ െ ࢟ෝ ݕ௜ ݁௜ ݕො௜
  • 34. Factorial design Error estimation allows significant testing Remove insignificant coefficients  Leave main effects  Important interaction, main effect cannot be removed
  • 35. Factorial design Error estimation allows significant testing Remove insignificant coefficients  Leave main effects  Important interaction, main effect cannot be removed Recalculate significance upon removal!
  • 36. Factorial design Model residuals  Checking model adequacy  Finding outliers  Normally distributed → Random error Several ways to present residuals  Possibility for response transformation
  • 37. Factorial design R2 statistic  Explained variability of measured response R2 = 0.9962  99.6% explained
  • 38. Factorial design More things to look at  Normal distribution of coefficients  Residual  Standardized residual  Residual histogram  Residual vs. time  ANOVA
  • 40. Factorial design Prediction: T = 110 K = 0.9 P = 2 (min. level) Coded location: ܠܕ ൌ 1 0.5 െ1 0.6 0.3 Predicted response: ݕො௠ ൌ 74.5 േ 2.4
  • 41. Session 1 Introduction  Why experimental design Factorial design  Design matrix  Model equation = coefficients  Residual  Response contour
  • 42. Nomenclature Factorial design Screening Design matrix Model equation Response Effect (main/interaction) Coefficient Significance Contour Residual
  • 43. Contents Practical course, arranged in 4 individual sessions:  Session 1 – Introduction, factorial design, first order models  Session 2 – Matlab exercise: factorial design  Session 3 – Central composite designs, second order models, ANOVA, blocking, qualitative factors  Session 4 – Matlab exercise: practical optimization example on given data
  • 44. Thank you for listening!  Please send me an email that you are attending the course mikko.makela@slu.se