Differential algebraic equation
   HOME

TheInfoList



OR:

In
electrical engineering Electrical engineering is an engineering discipline concerned with the study, design, and application of equipment, devices, and systems which use electricity, electronics, and electromagnetism. It emerged as an identifiable occupation in the l ...
, a differential-algebraic system of equations (DAEs) is a
system of equations In mathematics, a set of simultaneous equations, also known as a system of equations or an equation system, is a finite set of equations for which common solutions are sought. An equation system is usually classified in the same manner as single ...
that either contains
differential equation In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, ...
s and
algebraic equation In mathematics, an algebraic equation or polynomial equation is an equation of the form :P = 0 where ''P'' is a polynomial with coefficients in some field, often the field of the rational numbers. For many authors, the term ''algebraic equation'' ...
s, or is equivalent to such a system. In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
these are examples of ``differential algebraic varieties'' and correspond to ideals in differential polynomial rings (see the article on
differential algebra In mathematics, differential rings, differential fields, and differential algebras are rings, fields, and algebras equipped with finitely many derivations, which are unary functions that are linear and satisfy the Leibniz product rule. A n ...
for the algebraic setup. We can write these
differential equation In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, ...
s for a dependent vector of variables ''x'' in one independent variable ''t'', as ::F(\dot x(t),\, x(t),\,t)=0 When considering these symbols as functions of a real variable (as is the case in applications in electrical engineering or control theory) we look at x: ,bto\R^n as a vector of dependent variables x(t)=(x_1(t),\dots,x_n(t)) and the system has as many equations, which we consider as functions F=(F_1,\dots,F_n):\R^\to\R^n. They are distinct from
ordinary differential equation In mathematics, an ordinary differential equation (ODE) is a differential equation whose unknown(s) consists of one (or more) function(s) of one variable and involves the derivatives of those functions. The term ''ordinary'' is used in contrast ...
(ODE) in that a DAE is not completely solvable for the derivatives of all components of the function ''x'' because these may not all appear (i.e. some equations are algebraic); technically the distinction between an implicit ODE system
hat may be rendered explicit A hat is a head covering which is worn for various reasons, including protection against weather conditions, ceremonial reasons such as university graduation, religious reasons, safety, or as a fashion accessory. Hats which incorporate mecha ...
and a DAE system is that the
Jacobian matrix In vector calculus, the Jacobian matrix (, ) of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. When this matrix is square, that is, when the function takes the same number of variable ...
\frac is a
singular matrix In linear algebra, an -by- square matrix is called invertible (also nonsingular or nondegenerate), if there exists an -by- square matrix such that :\mathbf = \mathbf = \mathbf_n \ where denotes the -by- identity matrix and the multiplicati ...
for a DAE system. This distinction between ODEs and DAEs is made because DAEs have different characteristics and are generally more difficult to solve. 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; this issue is commonly encountered in
nonlinear system In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many othe ...
s with
hysteresis Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past. Plots of a single component of ...
, such as the
Schmitt trigger In electronics, a Schmitt trigger is a comparator circuit with hysteresis implemented by applying positive feedback to the noninverting input of a comparator or differential amplifier. It is an active circuit which converts an analog input ...
. 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\dot x(t)&=f(x(t),y(t),t),\\0&=g(x(t),y(t),t).\end :where x(t)\in\R^n, y(t)\in\R^m, f:\R^\to\R^n and g:\R^\to\R^m. 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. he 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.


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(\dot x, x, y, t\right) = 0 where * x, a vector in \R^n, are dependent variables for which derivatives are present (''differential variables''), * y, a vector in \R^m, 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^ \to \R^. Initial conditions must be a solution of the system of equations of the form :: F\left(\dot x(t_0),\, x(t_0), y(t_0), t_0 \right) = 0.


Examples

The behaviour of a
pendulum A pendulum is a weight suspended from a pivot so that it can swing freely. When a pendulum is displaced sideways from its resting, equilibrium position, it is subject to a restoring force due to gravity that will accelerate it back toward th ...
of length ''L'' with center in (0,0) in Cartesian coordinates (''x'',''y'') is described by the
Euler–Lagrange equation In the calculus of variations and classical mechanics, the Euler–Lagrange equations are a system of second-order ordinary differential equations whose solutions are stationary points of the given action functional. The equations were discovered ...
s ::\begin \dot x&=u,&\dot y&=v,\\ \dot u&=\lambda x,&\dot v&=\lambda y-g,\\ x^2+y^2&=L^2, \end where \lambda is a
Lagrange multiplier In mathematical optimization, the method of Lagrange multipliers is a strategy for finding the local maxima and minima of a function subject to equality constraints (i.e., subject to the condition that one or more equations have to be satisfied e ...
. 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 &&\dot x\,x+\dot y\,y&=0\\ \Rightarrow&& u\,x+v\,y&=0, \end restricting the direction of motion to the tangent of the circle. The next derivative of this equation implies ::\begin &&\dot u\,x+\dot v\,y+u\,\dot x+v\,\dot y&=0,\\ \Rightarrow&& \lambda(x^2+y^2)-gy+u^2+v^2&=0,\\ \Rightarrow&& L^2\,\lambda-gy+u^2+v^2&=0, \end and the derivative of that last identity simplifies to L^2\dot\lambda-3gv=0 which implicitly implies the conservation of energy since after integration the constant E=\tfrac32gy-\tfrac12L^2\lambda=\frac12(u^2+v^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 (x_0,u_0) and a sign for ''y'' are given, the other variables are determined via y=\pm\sqrt, and if y\ne0 then v=-ux/y and \lambda=(gy-u^2-v^2)/L^2. 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 \dot x&=u,\\ \dot u&=\lambda x,\\ .3em0&=x^2+y^2-L^2,\\ 0&=ux+vy,\\ 0&=u^2-gy+v^2+L^2\,\lambda. \end This is a semi-explicit DAE of index 1. Another set of similar equations may be obtained starting from (y_0,v_0) and a sign for ''x''. DAEs also naturally occur in the modelling of circuits with non-linear devices.
Modified nodal analysis In electrical engineering, modified nodal analysis or MNA is an extension of nodal analysis which not only determines the circuit's node voltages (as in classical nodal analysis), but also ''some'' branch currents. Modified nodal analysis was devel ...
employing DAEs is used for example in the ubiquitous
SPICE A spice is a seed, fruit, root, bark, or other plant substance primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of plants used for flavoring or as a garnish. Spices a ...
family of numeric circuit simulators. Similarly, Fraunhofer's Analog Insydes
Mathematica Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimiza ...
package can be used to derive DAEs from a
netlist In electronic design, a netlist is a description of the connectivity of an electronic circuit. In its simplest form, a netlist consists of a list of the electronic components in a circuit and a list of the nodes they are connected to. A network ...
and then simplify or even solve the equations symbolically in some cases. 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 An operational amplifier (often op amp or opamp) is a DC-coupled high-gain electronic voltage amplifier with a differential input and, usually, a single-ended output. In this configuration, an op amp produces an output potential (relative to c ...
with
positive feedback Positive feedback (exacerbating feedback, self-reinforcing feedback) is a process that occurs in a feedback loop which exacerbates the effects of a small disturbance. That is, the effects of a perturbation on a system include an increase in th ...
.


Semi-explicit DAE of index 1

DAE of the form ::\begin\dot x&=f(x,y,t),\\0&=g(x,y,t).\end 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 \dot x&=f(x,y,t)\\ 0&=\partial_x g(x,y,t)\dot x+\partial_y g(x,y,t)\dot y+\partial_t g(x,y,t), \end which is solvable for (\dot x,\,\dot y) if \det\left(\partial_y g(x,y,t)\right)\ne 0. 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 In mathematics, an ordinary differential equation (ODE) is a differential equation whose unknown(s) consists of one (or more) function(s) of one variable and involves the derivatives of those functions. The term ''ordinary'' is used in contrast ...
and
algebraic equations In mathematics, an algebraic equation or polynomial equation is an equation of the form :P = 0 where ''P'' is a polynomial with coefficients in some field, often the field of the rational numbers. For many authors, the term ''algebraic equation'' ...
of the form ::\begin\frac&=f\left(x,y,t\right),\\0&=g\left(x,y,t\right).\end 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 Pantelides algorithm in mathematics is a systematic method for reducing high-index systems of differential-algebraic equations to lower index. This is accomplished by selectively adding differentiated forms of the equations already present in the ...
'' and ''
dummy derivative index reduction method Dummy may refer to: Dolls * Mannequin, a model of the human body * Dummy (ventriloquism) * Crash test dummy People * Dummy (nickname), any of several people with the nickname * Dummy, the Witch of Sible Hedingham (c. 1788–1863), one of the la ...
''. 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 ::\begin0&=f\left(\frac,x,y,t\right),\\0&=g\left(x,y,t\right).\end Once the model has been converted to algebraic equation form, it is solvable by large-scale nonlinear programming solvers (see
APMonitor Advanced process monitor (APMonitor) is a modeling language for differential algebraic ( DAE) equations. It is a free web-service or local server for solving representations of physical systems in the form of implicit DAE models. APMonitor is s ...
).


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


Structural analysis for DAEs

We use the \Sigma-method to analyze a DAE. We construct for the DAE a signature matrix \Sigma=(\sigma_), where each row corresponds to each equation f_i and each column corresponds to each variable x_j. The entry in position (i,j) is \sigma_, which denotes the highest order of derivative to which x_j occurs in f_i, or -\infty if x_j does not occur in f_i. For the pendulum DAE above, the variables are (x_1,x_2,x_3,x_4,x_5)=(x,y,u,v,\lambda). The corresponding signature matrix is :\Sigma = \begin 1 & - & 0^\bullet & - & - \\ - & 1^\bullet & - & 0 & - \\ 0 & - & 1 & - & 0^\bullet \\ - & 0 & - & 1^\bullet & 0 \\ 0^\bullet & 0 & - & - & - \end


See also

*
Algebraic differential equation In mathematics, an algebraic differential equation is a differential equation that can be expressed by means of differential algebra. There are several such notions, according to the concept of differential algebra used. The intention is to i ...
, a different concept despite the similar name *
Delay differential equation In mathematics, delay differential equations (DDEs) are a type of differential equation in which the derivative of the unknown function at a certain time is given in terms of the values of the function at previous times. DDEs are also called time ...
* Partial differential algebraic equation *
Modelica Modelica is an object-oriented, declarative, multi-domain modeling language for component-oriented modeling of complex systems, e.g., systems containing mechanical, electrical, electronic, hydraulic, thermal, control, electric power or process- ...
Language


References


Further reading


Books

* * * * (Covers the structural approach to computing the DAE index.) * *


Various papers

* * * * * * * *


External links

* http://www.scholarpedia.org/article/Differential-algebraic_equations {{Differential equations topics Differential equations Numerical analysis Differential calculus