Efficient index reduction algorithm for large scale systems of differential algebraic equations

https://doi.org/10.1016/j.amc.2015.11.091Get rights and content

Abstract

In many mathematical models of physical phenomenons and engineering fields, such as electrical circuits or mechanical multibody systems, which generate the differential algebraic equations (DAEs) systems naturally. In general, the feature of DAEs is a sparse large scale system of fully nonlinear and high index. To make use of its sparsity, this paper provides a simple and efficient algorithm for index reduction of large scale DAEs system. We exploit the shortest augmenting path algorithm for finding maximum value transversal (MVT) as well as block triangular forms (BTFs). We also present the extended signature matrix method with the block fixed point iteration and its complexity results. Furthermore, a range of nontrivial problems are demonstrated by our algorithm.

Introduction

The problem of differential algebraic equations (DAEs) system solving is fundamental in modeling many equation-based models of physical phenomenons and engineering fields, such as electric circuits [30], [31], mechanical systems [28], spacecraft dynamics [24], chemical engineering [34], and many other areas. Generally, DAEs may be produced very large scale system of fully nonlinear and higher index in practice. However, most of the algorithms treat the low index case or consider solutions of linear systems [14], [19], [21], [32]. The index is a notion used in the theory of DAEs for measuring the distance from a DAE to its related ordinary differential equation (ODE). It is well known that it is direct numerical computations difficult to solve a high index DAE. In particular, it may only solve some special classes of DAEs by the direct numerical solution [10], [16], [17].

Index reduction techniques can be used to remedy the drawback of direct numerical computation [3]. Pantelides’ method [21] gives a systematic way to reduce high index systems of DAEs to lower index one, by selectively adding differentiated forms of the equations already present in the system. In [9], Ding et al. developed the weighted bipartite algorithm based on the minimally structurally singular subset, which is similar to the Pantelides’ method. However, the algorithms can succeed yet not correctly in some instances [29]. Campbell’s derivative array [4] needs to be computationally expensive especially for computing the singular value decomposition of the Jacobian of the derivative array equations using nonlinear singular least squares methods. Signature matrix method (also called Σ-method) [23] is based on solving an assignment problem, which can be formulated as an integer linear programming problem. In [23], Pryce proved that Σ-method is equivalent to the famous method of Pantelides’ algorithm, and in particular computes the same structural index. However, the nice feature of Σ-method is a simple and straightforward method for analyzing the structure of DAEs of any order, not just first order.

In particular, large scale and high index DAEs with fully nonlinear systems are now routine that such models are built using interactive design systems based on the Modelica language [7], [12]. In addition, the sparsity pattern of DAEs can arise in most actual applications [20], [23], [26]. In [11], Frenkel et al. gave a survey on appropriate matching algorithms based on the augmenting paths and push-relabel algorithm by translating Modelica models for large scale systems of DAEs. More recently, Wu et al. [35] generalized the Σ-method to the square and t-dominated partial differential equations (PDEs) systems. Pryce et al. [25] generalized the Σ-method for constructing a block triangular form (BTF) of the DAEs and exploiting to solve it efficiently in a block-wise manner. In [33], Tang et al. proposed the block fixed-point iteration with parameter method for DAEs based on its block upper triangular structure. However, the essential task is to solve the linear assignment problem for finding a maximum value transversal (MVT), which is a large part of the cost for index reduction of DAEs solving. Cao mentioned only in their work using Cao’s Matlab implementation [8] of the shortest augmenting path algorithm of Jonker and Volgenant in [13]. We focus on solving in the large scale and high index cases in order to provide the shortest augmenting path algorithm for finding an MVT and an extended signature matrix method. The problem is also closely related to computing the block triangular form of a sparse matrix and linear assignment problems over integer.

Our approach is based on signature matrix method and modified Dijkstra’s shortest path method. Our fundamental tool is the block triangularization of a sparse matrix; we exploit recent advances in linear assignment problem solving, which is equivalent to finding a maximum weight perfect matching in a bipartite graph of signature matrix in Σ-method, and we adapt the block fixed-point iteration with parameter for the canonical offsets techniques. Moreover, we give the new complexity analysis of our extended signature matrix method, which is superior to the latest results in Ref. [33]. Currently, we are working on the theoretical foundation and implementation of these methods on Maple platform. Another direction for future work is to exploit the fact that our algorithms are expressed in OpenModelica solvers.

The rest of this paper is organized as follows. The next section introduces our purpose and the shortest augmenting paths based algorithms, and presents an improved algorithm for the block triangularization for DAEs system. Section 3 describes the extended signature matrix method for the index reduction of large scale DAEs system and gives its complexity results. The following section shows our algorithm for an actual industrial example and some experimental results. The final section makes conclusions.

Section snippets

Purpose

We consider an input DAEs system in n dependent variables xj=xj(t) with t a scalar independent variable, of the general form fi(t,thexjandderivativesofthem)=0,1i,jn.The fi are assumed suitably smooth, and the derivatives of xj are arbitrary order. In general, signature matrix method is an effective preprocessing algorithm for the small and middle scale DAEs system. First, it needs to form the n × n signature matrix Σ=(σij) of the DAEs, where σij={highestorderofderivativetowhichthevariablexjapp

An extended Σ-method

We generalize the signature matrix method to the large scale DAEs system with block fixed point iteration. The basic idea mainly includes the preprocess of the original system with the block triangularization, by adopting the shortest augmenting path algorithm for finding maximum value transversal and solution of dual problem with block fixed point iteration. Without loss of generality, we assume that the DAEs system be structurally well-posed, that is, there exists a transversal. The major

Experimental results

An efficient actual implementation of our algorithm is in Maple. The following examples run in the platform of Window and AMD Athlon(tm) II X4-645 CPU 3.10 GHz, 4.00 GB RAM. First, we present an industrial application to illustrate our algorithm for the Five-axis Linkage CNC (Computer Numerical Control) Machine YHV6025 models, see Fig. 5.

There are 2446 differential and algebraic equations in the original physical system based on the Modelica language tool. We can get 245 differential and

Conclusion

In this paper, we propose an effective method to compute the large scale DAEs system in practice. We generalize the Σ-method with BTFs and combine with the block fixed point iteration for the general reducible DAEs systems. In particular, we exploit the shortest augmenting path algorithm for finding maximum value transversal, which can reduce the cost of computation. However, we apply the Σ-method as a basic tool, which relies heavily on square and sparsity structure. Thus it may be confronted

Acknowledgment

This research was partly supported by China 973 Project NKBRPC-2011CB302402, the National Natural Science Foundation of China (nos. 61402537, 91118001), the Youth Innovation Promotion Association CAS (2012335), the China Postdoctoral Science Foundation funded project (no. 2012M521692), and the Open Project of Chongqing Key Laboratory of Automated Reasoning and Cognition (no. CARC2014004).

References (35)

  • M.L. Balinski

    Signature methods for the assignment problem

    Oper. Res.

    (1985)
  • K.E. Brenan et al.

    Numerical Solution of Initial-Value Problems in Differential-Algebraic Equations

    (1996)
  • S.L. Campbell

    Least squares completions for nonlinear differential algebraic equations

    Numer. Math.

    (1993)
  • S.L. Campbell

    High-index differential algebraic equations

    Mech. Struct. Mach.

    (1995)
  • I. Cameron et al.

    Product and Process Modelling: A Case Study Approach

    (2011)
  • Y. Cao, LAPJV, a Matlab implementation of the Jonker–Volgenant algorithm for solving LAPs., 2013, Available at...
  • J.W. Ding et al.

    Index analysis of discontinuous differential-algebraic models for performance simulation

    J. Comput. Aided Des. Comput. Graph.

    (2008)
  • Cited by (7)

    • Efficient connection processing in equation–based object–oriented models

      2022, Applied Mathematics and Computation
      Citation Excerpt :

      Moreover, even if the problem is solved in a reasonable amount of time, the resulting system of equations can be so large that it is intractable by the subsequent stages of the compilation process. Fortunately, large models often contain several repetitive connections that are the result of using for statements and this is a fact that can be exploited to reduce the computational cost of the different compilation stages [1,3–5,7,15–17,19]. However, the possibility of exploiting the presence of repetitive or regular structures at each stage requires that the previous stages had kept a compact representation.

    • Index reduction of differential algebraic equations by differential Dixon resultant

      2018, Applied Mathematics and Computation
      Citation Excerpt :

      Recently, Wu et al. [32] generalized the Σ-method for DAEs to partial differential algebraic equations with constraints (PDAEs). After that, Qin et al. [24] generalized the Σ-method for large sacle system of DAEs. But the Σ-method relies heavily.

    • Analysis of Initialization Variables Selection in Multi-Domain Modeling

      2019, Xitong Fangzhen Xuebao / Journal of System Simulation
    View all citing articles on Scopus
    View full text