SlideShare a Scribd company logo
1 of 44
Download to read offline
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

What's hot

General Factor Factorial Design
General Factor Factorial DesignGeneral Factor Factorial Design
General Factor Factorial Design
Noraziah Ismail
 

What's hot (20)

Design of experiments-Box behnken design
Design of experiments-Box behnken designDesign of experiments-Box behnken design
Design of experiments-Box behnken design
 
Fractional Factorial Designs
Fractional Factorial DesignsFractional Factorial Designs
Fractional Factorial Designs
 
introduction to design of experiments
introduction to design of experimentsintroduction to design of experiments
introduction to design of experiments
 
Optimization techniques
Optimization techniquesOptimization techniques
Optimization techniques
 
Fractional factorial design tutorial
Fractional factorial design tutorialFractional factorial design tutorial
Fractional factorial design tutorial
 
Factorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial designFactorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial design
 
Design of experiment
Design of experimentDesign of experiment
Design of experiment
 
design of experiments.ppt
design of experiments.pptdesign of experiments.ppt
design of experiments.ppt
 
Design of experiments
Design of experimentsDesign of experiments
Design of experiments
 
Design of Experiment
Design of ExperimentDesign of Experiment
Design of Experiment
 
Design of Experiments (Pharma)
Design of Experiments (Pharma)Design of Experiments (Pharma)
Design of Experiments (Pharma)
 
Central Composite Design
Central Composite DesignCentral Composite Design
Central Composite Design
 
RESPONSE SURFACE METHODOLOGY.pptx
RESPONSE SURFACE METHODOLOGY.pptxRESPONSE SURFACE METHODOLOGY.pptx
RESPONSE SURFACE METHODOLOGY.pptx
 
factorial design
factorial designfactorial design
factorial design
 
Optimization techniques in formulation Development Response surface methodol...
Optimization techniques in formulation Development  Response surface methodol...Optimization techniques in formulation Development  Response surface methodol...
Optimization techniques in formulation Development Response surface methodol...
 
Response surface design
Response surface designResponse surface design
Response surface design
 
Response surface methodology.pptx
Response surface methodology.pptxResponse surface methodology.pptx
Response surface methodology.pptx
 
Design of experiments
Design of experiments Design of experiments
Design of experiments
 
Design of Experiments
Design of ExperimentsDesign of Experiments
Design of Experiments
 
General Factor Factorial Design
General Factor Factorial DesignGeneral Factor Factorial Design
General Factor Factorial Design
 

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

Experimental design
Experimental designExperimental design
Experimental design
Sandip 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
 
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
fatima d
 

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

How to use statistica for rsm study
How to use statistica for rsm studyHow to use statistica for rsm study
How to use statistica for rsm study
 
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
 
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

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

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 

Recently uploaded (20)

Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 

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