Modeling_Simulation_Lecture6
Modeling_Simulation_Lecture6
Ali M. Sahlodin
Department of Chemical Engineering
AmirKabir University of Technology
1397 S.H
Pantelides’structural analysis
Index reduction using dummy derivatives
1
10/12/2019
t )) = 0
f(t , x(t ), x(
2
10/12/2019
x2 f3
However, specifying y1 (0), we cannot obtain a unique solution for y1 (0)
because y 2 (0) is not known from the DAE.
This equation was hidden in the DAE and was only revealed after
differentiation of (II).
Copyright © Ali M. Sahlodin, Dept. of Chemical Engineering, AmirKabir Univ. of Tech. 6
3
10/12/2019
F, C1
dC2
I) (t ) C1 (t ) C2 (t )
dt
II) C2 (t ) (t )
No degrees of freedom!
4
10/12/2019
F, C1
Class exercise
dC2
I) (t ) C1 (t ) C2 (t )
dt
II) C1 (t ) (t ) F, C2
5
10/12/2019
The new Eq. (III) did not introduce any new variables. So, it was a
hidden constraint and reduced DOF by 1.
6
10/12/2019
Semi-explicit index 1
Example I) x1 x1 x2
II) 0 x1 2 x2 a(t )
By observation, x1(0) can be specified.
Verify by differentiating (II):
I) x1 x1 x2
III) 0 x1 2 x2 a (t )
The new Equation (III) introduces a new variable x2 . So, still one DOF
exists.
Equation (III) did not reveal a hidden constraint.
7
10/12/2019
F, C1
dC2
I) (t ) C1 (t ) C2 (t )
Mixing tank revisited dt
II) C2 (t ) (t )
As the solver reduces h to get better accuracy, α(t1) does not approach β.
Initial
conditions for DAEs must satisfy both
DAEs and their hidden constraints.
Hidden constraints can exist for implicit
index-1 and higher index DAEs.
Inconsistent initial conditions can lead to
convergence problems or solver failure.