Escolar Documentos
Profissional Documentos
Cultura Documentos
Department of Mathematics
University of the Philippines Diliman
Objectives
Objectives
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Experimental Setup
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Experimental Setup
Some Data
Experimental Setup
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
The Model
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
The Model
Model Formulation
Assumptions:
heat is transferred on one direction, and temperature is
uniform over a cross-section
constant ambient temperature
constant heat flux at one end of the rod (due to the heat
source)
heat loss along the sides of the rod
heat loss at the end away from the heat source
Given parameters: radius r, length `, ambient temperature ua ,
density ρ
Parameters to be estimated: thermal conductivity k, heat
transfer coefficient h, flux Q, specific heat capacity cp
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
The Model
Model Formulation
Assumptions:
heat is transferred on one direction, and temperature is
uniform over a cross-section
constant ambient temperature
constant heat flux at one end of the rod (due to the heat
source)
heat loss along the sides of the rod
heat loss at the end away from the heat source
Given parameters: radius r, length `, ambient temperature ua ,
density ρ
Parameters to be estimated: thermal conductivity k, heat
transfer coefficient h, flux Q, specific heat capacity cp
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
The Model
Model Formulation
Assumptions:
heat is transferred on one direction, and temperature is
uniform over a cross-section
constant ambient temperature
constant heat flux at one end of the rod (due to the heat
source)
heat loss along the sides of the rod
heat loss at the end away from the heat source
Given parameters: radius r, length `, ambient temperature ua ,
density ρ
Parameters to be estimated: thermal conductivity k, heat
transfer coefficient h, flux Q, specific heat capacity cp
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
The Model
The Model
Remarks
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Solution to the Model
Variational Formulation
Multiply PDE in (1) by φ ∈ H 1 (0, `), integrate over (0, `), use
integration by parts, and impose boundary conditions
Z ` Z `
∂u (x, t) k
φ (x) dx = − u0 (x, t) φ0 (x) dx
0 ∂t ρc p 0
Z `
2h h
− u (x, t) φ (x) dx − u (`, t) φ (`)
rρcp 0 ρcp
2hua `
Z
hua Q
+ φ (x) dx + φ (`) + φ (0)
rρcp 0 ρcp ρcp
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Solution to the Model
Variational Formulation
Multiply PDE in (1) by φ ∈ H 1 (0, `), integrate over (0, `), use
integration by parts, and impose boundary conditions
Z ` Z `
∂u (x, t) k
φ (x) dx = − u0 (x, t) φ0 (x) dx
0 ∂t ρc p 0
Z `
2h h
− u (x, t) φ (x) dx − u (`, t) φ (`)
rρcp 0 ρcp
2hua `
Z
hua Q
+ φ (x) dx + φ (`) + φ (0)
rρcp 0 ρcp ρcp
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Solution to the Model
Some Definitions
Some Definitions
To show well-posedness:
show existence, uniqueness and continuous dependence on the
data of the solution to (2)
equivalence of the solution to (1) and (2)
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Solution to the Model
To show well-posedness:
show existence, uniqueness and continuous dependence on the
data of the solution to (2)
equivalence of the solution to (1) and (2)
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Galerkin Method
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Galerkin Method
Galerkin Method
Galerkin Method
Galerkin Method
Galerkin Method
Galerkin Method
- cont -
Galerkin Method
- cont -
Galerkin Method
- cont -
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Parameter Estimation
Parameter Estimation
h iT
Q h cp
Vector of unknown parameters: q = , ,
k k k
Set of data points: {û (xi , tj ) | i = 1, . . . N, j = 1, . . . , N t}
(may contain errors)
un (xi , tj ; q) is the solution of the finite-dimensional problem
(3) using the parameter q and evaluated at xi at time tj
Find:
Nt N
1 XX n
min J (q) = min |u (xi , tj ; q) − û (xi , tj )|2
q∈R3 q∈R3 N · Nt
j=1 i=1
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Parameter Estimation
Parameter Estimation
h iT
Q h cp
Vector of unknown parameters: q = , ,
k k k
Set of data points: {û (xi , tj ) | i = 1, . . . N, j = 1, . . . , N t}
(may contain errors)
un (xi , tj ; q) is the solution of the finite-dimensional problem
(3) using the parameter q and evaluated at xi at time tj
Find:
Nt N
1 XX n
min J (q) = min |u (xi , tj ; q) − û (xi , tj )|2
q∈R3 q∈R3 N · Nt
j=1 i=1
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Parameter Estimation
Parameter Estimation
h iT
Q h cp
Vector of unknown parameters: q = , ,
k k k
Set of data points: {û (xi , tj ) | i = 1, . . . N, j = 1, . . . , N t}
(may contain errors)
un (xi , tj ; q) is the solution of the finite-dimensional problem
(3) using the parameter q and evaluated at xi at time tj
Find:
Nt N
1 XX n
min J (q) = min |u (xi , tj ; q) − û (xi , tj )|2
q∈R3 q∈R3 N · Nt
j=1 i=1
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Model and Parameter Estimation Problem
Parameter Estimation
Parameter Estimation
h iT
Q h cp
Vector of unknown parameters: q = , ,
k k k
Set of data points: {û (xi , tj ) | i = 1, . . . N, j = 1, . . . , N t}
(may contain errors)
un (xi , tj ; q) is the solution of the finite-dimensional problem
(3) using the parameter q and evaluated at xi at time tj
Find:
Nt N
1 XX n
min J (q) = min |u (xi , tj ; q) − û (xi , tj )|2
q∈R3 q∈R3 N · Nt
j=1 i=1
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Optimization Algorithms
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Optimization Algorithms
Least Squares
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Optimization Algorithms
Least Squares
Least Squares
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Optimization Algorithms
Genetic Algorithm
Genetic Algorithm
Overview
Genetic Algorithm
Overview
Genetic Algorithm
Overview
Genetic Algorithm
Processes
Selection
compute the fitness of each individual
form the “roulette”
create the “mating pool”
Recombination
randomly select two individuals from the mating pool
“mating” (to produce population of “offsprings”)
probability of mating is determined by a fixed probability
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Optimization Algorithms
Genetic Algorithm
Genetic Algorithm
Processes
Selection
compute the fitness of each individual
form the “roulette”
create the “mating pool”
Recombination
randomly select two individuals from the mating pool
“mating” (to produce population of “offsprings”)
probability of mating is determined by a fixed probability
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Optimization Algorithms
Genetic Algorithm
Genetic Algorithm
Processes
Mutation
introduce small changes in the parameters of an individual
(“mutate”)
probability of mutation is determined by a fixed probability
the resulting (mutated) pool will make up the initial
population for the “next generation”
Optional Process: Elitism
the fitness of the next generation doesn’t necessarily improve
(because of recombination and mutation)
if the best “parent” has disappeared, introduce it again by
removing 1 arbitrary offspring
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Optimization Algorithms
Genetic Algorithm
Genetic Algorithm
Processes
Mutation
introduce small changes in the parameters of an individual
(“mutate”)
probability of mutation is determined by a fixed probability
the resulting (mutated) pool will make up the initial
population for the “next generation”
Optional Process: Elitism
the fitness of the next generation doesn’t necessarily improve
(because of recombination and mutation)
if the best “parent” has disappeared, introduce it again by
removing 1 arbitrary offspring
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Results
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Results
Results
Error Values
leastsq GA
BC1 BC2 BC1 BC2
Objective Function
copper 0.1645 0.1648 0.1645 0.1648
aluminum 0.0768 0.0762 0.0758 0.0762
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Results
Results
Error Values
leastsq GA
BC1 BC2 BC1 BC2
Objective Function
copper 0.1645 0.1648 0.1645 0.1648
aluminum 0.0768 0.0762 0.0758 0.0762
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Results
Results
- cont -
Optimal Parameters
leastsq GA
BC1 BC2 BC1 BC2
Estimated Q/k
copper 66.1440 66.1372 66.2355 66.2739
aluminum 60.9651 60.9546 60.9729 60.9583
Estimated h/k
copper 0.0312 0.0312 0.0313 0.0313
aluminum 0.0569 0.0569 0.0570 0.0569
Estimated cp /k
copper 1.1840 1.1844 1.1848 1.1864
aluminum 3.8982 3.8986 3.9000 3.8989
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Results
Results
Copper Rod: actual temperature and computed temperature
325
data
TC1
TC2
320 TC3
TC4
TC5
TC6
temperature (K)
315
TC7
310
305
300
0 500 1000 1500 2000 2500 3000
time (s)
Results
Aluminum Rod: actual temperature and computed temperature
322
data
TC1
320 TC2
TC3
318 TC4
TC5
316 TC6
temperature (K)
TC7
314
312
310
308
306
0 1000 2000 3000 4000 5000 6000 7000 8000
time (s)
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Conclusions
Conclusions
Outline
1 Experimental Setup
2 Model and Parameter Estimation Problem
The Model
Solution to the Model
Galerkin Method
Parameter Estimation
3 Optimization Algorithms
Least Squares
Genetic Algorithm
4 Results
5 Conclusions
6 Future Work
Parameter Estimation in a Mathematical Model of a Heat-Conducting Rod
Future Work
Future Work
References
Thank you!