Numerical Optimal Control with DAEs Lecture 8: Direct Collocation
S´ ebastien Gros
AWESCO PhD course
- S. Gros
Optimal Control with DAEs, lecture 8 18th of February, 2016 1 / 24
Numerical Optimal Control with DAEs Lecture 8: Direct Collocation S - - PowerPoint PPT Presentation
Numerical Optimal Control with DAEs Lecture 8: Direct Collocation S ebastien Gros AWESCO PhD course 18 th of February, 2016 S. Gros Optimal Control with DAEs, lecture 8 1 / 24 Survival map of Direct Optimal Control Collocation
Optimal Control with DAEs, lecture 8 18th of February, 2016 1 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 2 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 2 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 3 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 4 / 24
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0.05 0.1 0.15 0.2 0.25 0.3 0.35
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
K
K
polynomials
1 1.2 1.4 1.6 1.8 2
0.5 1 1.5
tk
Optimal Control with DAEs, lecture 8 18th of February, 2016 5 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 6 / 24
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0.05 0.1 0.15 0.2 0.25 0.3 0.35
Optimal Control with DAEs, lecture 8 18th of February, 2016 7 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 7 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 7 / 24
K
polynomials 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 7 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 7 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 8 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 8 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 8 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 8 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 8 / 24
K
polynomials
K
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 8 / 24
K
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
K
i=0 θk,i ˙
i=0 θk,i ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
K
K
K
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 9 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
tk
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 10 / 24
k ) for Legendre and
k
Optimal Control with DAEs, lecture 8 18th of February, 2016 11 / 24
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
K
−1
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
K
−1
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
K
−1
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
K
−1
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
K
−1
−1 ∂c
−1 ∂c
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
K
−1
−1 ∂c
−1 ∂c
∂c ∂θk −1 is
Optimal Control with DAEs, lecture 8 18th of February, 2016 12 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 13 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 14 / 24
w
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 14 / 24
w
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 14 / 24
w
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
Optimal Control with DAEs, lecture 8 18th of February, 2016 14 / 24
. . . . . .
Optimal Control with DAEs, lecture 8 18th of February, 2016 15 / 24
. . . . . .
Optimal Control with DAEs, lecture 8 18th of February, 2016 15 / 24
. . . . . .
Optimal Control with DAEs, lecture 8 18th of February, 2016 15 / 24
. . . . . .
Optimal Control with DAEs, lecture 8 18th of February, 2016 15 / 24
. . . . . .
Optimal Control with DAEs, lecture 8 18th of February, 2016 15 / 24
. . . . . .
Optimal Control with DAEs, lecture 8 18th of February, 2016 15 / 24
. . . . . .
Optimal Control with DAEs, lecture 8 18th of February, 2016 15 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 16 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
K
polynomials
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
K
polynomials
w
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
K
polynomials
w
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
K
polynomials
w
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
K
polynomials
w
j=0 θ0,j ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
K
polynomials
w
j=0 θ0,j ˙
j=0 θk,j ˙
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
K
polynomials
w
j=0 θ0,j ˙
j=0 θk,j ˙
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 17 / 24
u0,...,uN−1 N−1
k
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
K
w N−1
k
j=0 θ0,j ˙
j=0 θk,j ˙
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 0
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 1
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 2
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 3
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 4
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 5
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 6
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 7
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
u0,...,uN−1 N−1
k
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 8
0.0 0.5 1.0 1.5 2.0 −0.5 0.0 0.5 1.0 1.5
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
0.0 0.5 1.0 1.5 2.0 −5 −4 −3 −2 −1 1 2 3
dx dt
0.0 0.5 1.0 1.5 2.0 −6 −4 −2 2
dθ dt
Optimal Control with DAEs, lecture 8 18th of February, 2016 18 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
xk xk+1
f (xk, uk)
tk tk+1 tk,0 tk,1 tk,2 tk,3
θk,0 θk,1 θk,2 θk,3
x (θk, t)
Optimal Control with DAEs, lecture 8 18th of February, 2016 19 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
xk xk+1
f (xk, uk)
tk tk+1 tk,0 tk,1 tk,2 tk,3
θk,0 θk,1 θk,2 θk,3
x (θk, t)
Optimal Control with DAEs, lecture 8 18th of February, 2016 19 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
xk xk+1
f (xk, uk)
tk tk+1 tk,0 tk,1 tk,2 tk,3
θk,0 θk,1 θk,2 θk,3
x (θk, t)
N−1
Optimal Control with DAEs, lecture 8 18th of February, 2016 19 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
xk xk+1
f (xk, uk)
tk tk+1 tk,0 tk,1 tk,2 tk,3
θk,0 θk,1 θk,2 θk,3
x (θk, t)
N−1
Optimal Control with DAEs, lecture 8 18th of February, 2016 19 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
xk xk+1
f (xk, uk)
tk tk+1 tk,0 tk,1 tk,2 tk,3
θk,0 θk,1 θk,2 θk,3
x (θk, t)
N−1
2xTQx + ... can be implemented using:
tk
K
K
TQθk,j
tk
K
TQθk,j
Optimal Control with DAEs, lecture 8 18th of February, 2016 19 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 8
Optimal Control with DAEs, lecture 8 18th of February, 2016 20 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 8
Optimal Control with DAEs, lecture 8 18th of February, 2016 21 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 8
Optimal Control with DAEs, lecture 8 18th of February, 2016 21 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 8
Optimal Control with DAEs, lecture 8 18th of February, 2016 21 / 24
0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85
1 2 3
f (xk, uk)
θk,0 θk,1 θk,2 θk,3
0.0 0.5 1.0 1.5 2.0 −25 −20 −15 −10 −5 5 10 15
u Newton step 8
Optimal Control with DAEs, lecture 8 18th of February, 2016 21 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 22 / 24
Optimal Control with DAEs, lecture 8 18th of February, 2016 23 / 24
wL (w, λ) = ∇2Φ + ∇2 w
w
Optimal Control with DAEs, lecture 8 18th of February, 2016 23 / 24
wL (w, λ) = ∇2Φ + ∇2 w
w
g (w) = θ0,0 − ¯ x0 x (θ0, t1) − θ1,0 F
j=0 θ0,j ˙
P0,j(t0,i ) ... x
F
j=0 θk,j ˙
Pk,j(tk,i ) ...
Optimal Control with DAEs, lecture 8 18th of February, 2016 23 / 24
wL (w, λ) = ∇2Φ + ∇2 w
w
g (w) = θ0,0 − ¯ x0 x (θ0, t1) − θ1,0 F
j=0 θ0,j ˙
P0,j(t0,i ) ... x
F
j=0 θk,j ˙
Pk,j(tk,i ) ...
w
w
T
K
Optimal Control with DAEs, lecture 8 18th of February, 2016 23 / 24
wL (w, λ) = ∇2Φ + ∇2 w
w
g (w) = θ0,0 − ¯ x0 x (θ0, t1) − θ1,0 F
j=0 θ0,j ˙
P0,j(t0,i ) ... x
F
j=0 θk,j ˙
Pk,j(tk,i ) ...
w
w
T
K
w
TF (θk,i, uk)
w
TF (θk,i, uk)
Optimal Control with DAEs, lecture 8 18th of February, 2016 23 / 24
100 200 300 400 500 600 700 800 100 200 300 400 500 600 700 800
Optimal Control with DAEs, lecture 8 18th of February, 2016 24 / 24