Differential-algebraic system of equations explained

In mathematics, a differential-algebraic system of equations (DAE) is a system of equations that either contains differential equations and algebraic equations, or is equivalent to such a system.

The set of the solutions of such a system is a differential algebraic variety, and corresponds to an ideal in a differential algebra of differential polynomials.

In the univariate case, a DAE in the variable t can be written as a single equation of the form

F(x,

x,t)=0,

where

x(t)

is a vector of unknown functions and the overdot denotes the time derivative, i.e.,
x

=

dx
dt
.
\partial
F(x,
x,t)
\partial
x
is a singular matrix for a DAE system.[1] This distinction between ODEs and DAEs is made because DAEs have different characteristics and are generally more difficult to solve.[2]

In practical terms, the distinction between DAEs and ODEs is often that the solution of a DAE system depends on the derivatives of the input signal and not just the signal itself as in the case of ODEs;[3] this issue is commonly encountered in nonlinear systems with hysteresis,[4] such as the Schmitt trigger.[5]

This difference is more clearly visible if the system may be rewritten so that instead of x we consider a pair

(x,y)

of vectors of dependent variables and the DAE has the form
\begin{align}x(t)&=f(x(t),y(t),t),\\0&=g(x(t),y(t),t).\end{align}

where

x(t)\in\Rn

,

y(t)\in\Rm

,

f:\Rn+m+1\to\Rn

and

g:\Rn+m+1\to\Rm.

A DAE system of this form is called semi-explicit. Every solution of the second half g of the equation defines a unique direction for x via the first half f of the equations, while the direction for y is arbitrary. But not every point (x,y,t) is a solution of g. The variables in x and the first half f of the equations get the attribute differential. The components of y and the second half g of the equations are called the algebraic variables or equations of the system. [The term ''algebraic'' in the context of DAEs only means ''free of derivatives'' and is not related to (abstract) algebra.]

The solution of a DAE consists of two parts, first the search for consistent initial values and second the computation of a trajectory. To find consistent initial values it is often necessary to consider the derivatives of some of the component functions of the DAE. The highest order of a derivative that is necessary for this process is called the differentiation index. The equations derived in computing the index and consistent initial values may also be of use in the computation of the trajectory. A semi-explicit DAE system can be converted to an implicit one by decreasing the differentiation index by one, and vice versa.[6]

Other forms of DAEs

The distinction of DAEs to ODEs becomes apparent if some of the dependent variables occur without their derivatives. The vector of dependent variables may then be written as pair

(x,y)

and the system of differential equations of the DAE appears in the form
F\left(x,

x,y,t\right)=0

where

x

, a vector in

\Rn

, are dependent variables for which derivatives are present (differential variables),

y

, a vector in

\Rm

, are dependent variables for which no derivatives are present (algebraic variables),

t

, a scalar (usually time) is an independent variable.

F

is a vector of

n+m

functions that involve subsets of these

n+m+1

variables and

n

derivatives.

As a whole, the set of DAEs is a function

F:\R(2n+m+1)\to\R(n+m).

Initial conditions must be a solution of the system of equations of the form

F\left(x(t

0),x(t0),y(t0),t0\right)=0.

Examples

The behaviour of a pendulum of length L with center in (0,0) in Cartesian coordinates (x,y) is described by the Euler–Lagrange equations

\begin{align}
x&=u,&
y&=v,\\ u&
x,&
v&

y-g,\\ x2+y2&=L2, \end{align}

where

λ

is a Lagrange multiplier. The momentum variables u and v should be constrained by the law of conservation of energy and their direction should point along the circle. Neither condition is explicit in those equations. Differentiation of the last equation leads to
\begin{align} &&
xx+yy&=0\\ &&

ux+vy&=0, \end{align}

restricting the direction of motion to the tangent of the circle. The next derivative of this equation implies
\begin{align} &&
ux+
vy+u
x+vy&=0,\\ &&

λ(x2+y2)-gy+u2+v2&=0,\\ &&L2λ-gy+u2+v2&=0, \end{align}

and the derivative of that last identity simplifies to
2λ-3gv=0
L
which implies the conservation of energy since after integration the constant
2λ=12(u
2+v
E=\tfrac32gy-\tfrac12L

2)+gy

is the sum of kinetic and potential energy.

To obtain unique derivative values for all dependent variables the last equation was three times differentiated. This gives a differentiation index of 3, which is typical for constrained mechanical systems.

If initial values

(x0,u0)

and a sign for y are given, the other variables are determined via

y=\pm\sqrt{L2-x2}

, and if

y\ne0

then

v=-ux/y

and

λ=(gy-u2-v2)/L2

. To proceed to the next point it is sufficient to get the derivatives of x and u, that is, the system to solve is now
\begin{align}
x&=u,\\ u&

x,\\[0.3em] 0&=x2+y2-L2,\\ 0&=ux+vy,\\ 0&=u2-gy+v2+L. \end{align}

This is a semi-explicit DAE of index 1. Another set of similar equations may be obtained starting from

(y0,v0)

and a sign for x.

DAEs also naturally occur in the modelling of circuits with non-linear devices. Modified nodal analysis employing DAEs is used for example in the ubiquitous SPICE family of numeric circuit simulators.[7] Similarly, Fraunhofer's Analog Insydes Mathematica package can be used to derive DAEs from a netlist and then simplify or even solve the equations symbolically in some cases.[8] [9] It is worth noting that the index of a DAE (of a circuit) can be made arbitrarily high by cascading/coupling via capacitors operational amplifiers with positive feedback.

Semi-explicit DAE of index 1

DAE of the form

\begin{align}x&=f(x,y,t),\\0&=g(x,y,t).\end{align}
are called semi-explicit. The index-1 property requires that g is solvable for y. In other words, the differentiation index is 1 if by differentiation of the algebraic equations for t an implicit ODE system results,
\begin{align} x&=f(x,y,t)\\ 0&=\partial

xg(x,y,t)

x+\partial

yg(x,y,t)

y+\partial

tg(x,y,t), \end{align}

which is solvable for
(
x,y)
if

\det\left(\partialyg(x,y,t)\right)\ne0.

Every sufficiently smooth DAE is almost everywhere reducible to this semi-explicit index-1 form.

Numerical treatment of DAE and applications

Two major problems in solving DAEs are index reduction and consistent initial conditions. Most numerical solvers require ordinary differential equations and algebraic equations of the form

\begin{align}dx
dt

&=f\left(x,y,t\right),\\0&=g\left(x,y,t\right).\end{align}

It is a non-trivial task to convert arbitrary DAE systems into ODEs for solution by pure ODE solvers. Techniques which can be employed include Pantelides algorithm and dummy derivative index reduction method. Alternatively, a direct solution of high-index DAEs with inconsistent initial conditions is also possible. This solution approach involves a transformation of the derivative elements through orthogonal collocation on finite elements or direct transcription into algebraic expressions. This allows DAEs of any index to be solved without rearrangement in the open equation form

\begin{align}0&=f\left(dx
dt

,x,y,t\right),\\0&=g\left(x,y,t\right).\end{align}

Once the model has been converted to algebraic equation form, it is solvable by large-scale nonlinear programming solvers (see APMonitor).

Tractability

Several measures of DAEs tractability in terms of numerical methods have developed, such as differentiation index, perturbation index, tractability index, geometric index, and the Kronecker index.[10] [11]

Structural analysis for DAEs

We use the

\Sigma

-method to analyze a DAE. We construct for the DAE a signature matrix

\Sigma=(\sigmai,j)

, where each row corresponds to each equation

fi

and each column corresponds to each variable

xj

. The entry in position

(i,j)

is

\sigmai,j

, which denotes the highest order of derivative to which

xj

occurs in

fi

, or

-infty

if

xj

does not occur in

fi

.

For the pendulum DAE above, the variables are

(x1,x2,x3,x4,x5)=(x,y,u,v,λ)

. The corresponding signature matrix is

\Sigma= \begin{bmatrix} 1&-&0\bullet&-&-\\ -&1\bullet&-&0&-\\ 0&-&1&-&0\bullet\\ -&0&-&1\bullet&0\\ 0\bullet&0&-&-&- \end{bmatrix}

See also

Further reading

Books

  • Book: Hairer. E.. Wanner. G.. Solving Ordinary Differential Equations II: Stiff and Differential-Algebraic Problems. Springer-Verlag. Berlin. 2nd revised. 1996.
  • Book: Uri M.. Ascher. Linda R.. Petzold. Linda Petzold. Computer Methods for Ordinary Differential equations and Differential-Algebraic equations. SIAM. Philadelphia. 1998. 978-0-89871-412-8.
  • Book: Differential-algebraic equations: analysis and numerical solution. Peter. Kunkel. Volker Ludwig. Mehrmann. Volker Mehrmann. European Mathematical Society. Zürich, Switzerland. 2006. 978-3-03719-017-3.
  • Book: Kazuo Murota. Matrices and Matroids for Systems Analysis. 2009. Springer Science & Business Media. 978-3-642-03994-2. (Covers the structural approach to computing the DAE index.)
  • Book: Matthias Gerdts. Optimal Control of ODEs and DAEs. 2012. Walter de Gruyter. 978-3-11-024999-6.
  • Book: René. Lamour. Roswitha. März . Roswitha März. Caren. Tischendorf. Differential-Algebraic equations: a Projector based analysis. Springer. Heidelberg. 2013. 978-3-642-27554-8.

Various papers

External links

  • http://www.scholarpedia.org/article/Differential-algebraic_equations

Notes and References

  1. Book: Uri M. Ascher. Linda R. Petzold. Linda Petzold. Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations. 1998. SIAM. 978-1-61197-139-2. 12.
  2. Book: Achim Ilchmann. Timo Reis. Surveys in Differential-Algebraic Equations II. 2014. Springer. 978-3-319-11050-9. 104–105.
  3. Book: Renate Merker . Wolfgang Schwarz. System Design Automation: Fundamentals, Principles, Methods, Examples. limited . 2001. Springer Science & Business Media. 978-0-7923-7313-1. 221.
  4. Book: K. E. Brenan. S. L. Campbell. L. R. Petzold. Linda Petzold. Numerical Solution of Initial-value Problems in Differential-algebraic Equations. 1996. SIAM. 978-1-61197-122-4. 173–177.
  5. Book: 10.1016/S1570-8659(04)13006-8. Modelling and Discretization of Circuit Problems. Numerical Methods in Electromagnetics. 13. 523. Handbook of Numerical Analysis. 2005. Günther . M. . Feldmann . U. . Ter Maten . J. . 978-0-444-51375-5., pp. 529-531
  6. Ascher and Petzold, p. 234
  7. Book: Achim Ilchmann . Timo Reis. Surveys in Differential-Algebraic Equations I. 2013. Springer Science & Business Media. 978-3-642-34928-7. Ricardo Riaza. DAEs in Circuit Modelling: A Survey.
  8. Book: 10.1007/978-1-4020-6149-3_4. Improving Efficiency and Robustness of Analog Behavioral Models. Advances in Design and Specification Languages for Embedded Systems. 53. 2007. Platte . D. . Jing . S. . Sommer . R. . Barke . E. . 978-1-4020-6147-9.
  9. Book: 10.1007/978-3-642-23568-9_17. Fast and Robust Symbolic Model Order Reduction with Analog Insydes. Computer Algebra in Scientific Computing. 6885. 215. Lecture Notes in Computer Science. 2011. Hauser . M. . Salzig . C. . Dreyer . A. . 978-3-642-23567-2.
  10. Book: Ricardo Riaza. Differential-algebraic Systems: Analytical Aspects and Circuit Applications. limited. 2008. World Scientific. 978-981-279-181-8. 5–8.
  11. Takamatsu . Mizuyo . Iwata . Satoru . Index characterization of differential-algebraic equations in hybrid analysis for circuit simulation . . 2008 . 38 . 4 . 419–440 . 10.1002/cta.577 . 3875504 . 9 November 2022 . en . dead . https://web.archive.org/web/20141216161815/http://www.ise.chuo-u.ac.jp/ise-labs/takamatsu-lab/takamatsu/metr/METR08-10.pdf . 16 December 2014.