Konferensartikel

Selection of Variables in Initialization of Modelica Models

Masoud Najafi
INRIA-Rocquencourt, Domaine de Voluceau, France

Ladda ner artikel

Ingår i: Proceedings of the 2nd International Workshop on Equation-Based Object-Oriented Languages and Tools

Linköping Electronic Conference Proceedings 29:12, s. 111-119

Visa mer +

Publicerad: 2008-07-02

ISBN: 978-91-7519-823-1

ISSN: 1650-3686 (tryckt), 1650-3740 (online)

Abstract

In Scicos; a graphical user interface (GUI) has been developed for the initialization of Modelica models. The GUI allows the user to fix/relax variables and parameters of the model as well as change their initial/guess values. The output of the initialization GUI is a pure algebraic system of equations which is solved by a numerical solver. Once the algebraic equations solved; the initial values of the variables are used for the simulation of the Modelica model. When the number of variables of the model is relatively small; the user can identify the variables that can be fixed and can provide the guess values of the variables. But; this task is not straightforward as the number of variables increases. In this paper; we present the way the incidence matrix associated with the equations of the system can be exploited to help the user to select variables to be fixed and to set guess values of the variables during the initialization phase.

Nyckelord

Modelica; initialization; coupling algorithm; numerical solver; Scicos

Referenser

[1] K. E. Brenan; S. L. Campbell; and L. R. Petzold. Numerical solution of initial-value problems in differential-algebraic equations. SIAM pubs.; Philadelphia; 1996.

[2] P.N. Brown; A. C. Hindmarsh; and L. R. Petzold. Consistent initial condition calculation for differential-algebraic systems. SIAM Journal on Scientific Computing; 19(5):1495– 1512; 1998.

[3] S. L. Campbell; J-Ph. Chancelier; and R. Nikoukhah. Modeling and simulation Scilab/Scicos. Springer Verlag; 2005.

[4] J. P. Chancelier; F. Delebecque; C. Gomez; M. Goursat; R. Nikoukhah; and S. Steer. An introduction to Scilab. Springer Verlag; Le Chesnay; France; 2002.

[5] Thomas H. Cormen; Charles E. Leiserson; Ronald L. Rivest; and Clifford Stein. Introduction to Algorithms. MIT Press and McGraw-Hill; 2nd edition; 2001.

[6] Timothy A. Davis. Direct Methods for Sparse Linear Systems (Fundamentals of Algorithms 2). Society for Industrial and Applied Mathematics; Philadelphia; PA; USA; 2006.

[7] P. Fritzson. Principles of Object-Oriented Modeling and Simulation with Modelica 2.1. Wiley-IEEE Press; 2004.

[8] A. C. Hindmarsh; P. N. Brown; K. E. Grant; S. L. Lee; R. Serban; D. E. Shumaker; and C. S.Woodward. Sundials: Suite of nonlinear and differential/algebraic equation solvers. ACM Transactions on Mathematical Softwar 31(3); pages 363–396; 2005.

[9] A.C. Hindmarsh. The pvode and ida algorithms. LLNL technical report UCRL-ID-141558; 2000.

[10] M. Najafi and R. Nikoukhah. Initialization of modelica models in scicos. Conference Modelica 2008; Bielefeld; Germany.; 2008.

[11] Ronald L. Rivest and Charles E. Leiserson. Introduction to Algorithms. McGraw-Hill; Inc.; New York; NY; USA; 1990.

[12] D. D. Sleator and R. E. Tarjan. A data structure for dynamic trees. In STOC ’81: Proceedings of the thirteenth annual ACM symposium on Theory of computing; pages 114–122; New York; NY; USA; 1981. ACM.

Citeringar i Crossref