• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (08): 1540-1545.

• 论文 • Previous Articles     Next Articles

A method for solving semi-physical
simulation declarative models  

XIONG Tao,DING Jianwan,CHEN Liping   

  1. (National CAD Support Software Engineering Research Center,
    Huazhong University of Science and Technology,Wuhan 430074,China)
  • Received:2014-06-27 Revised:2014-10-11 Online:2015-08-25 Published:2015-08-25

Abstract:

We propose a new method for solving semi-physical simulation models using a mixed symbolic and numeric approach. In order to meet the real-time requirement of semi-physical simulations, implicit discretization formulae representing the numerical integration algorithm are inserted into the DAEs symbolically at compile stage. Then nonlinear equations will appear in the augmented equation system and all these nonlinear equations should be solved together at each integration step. In order to meet the fine granularity required for solving the models in real-time, tearing algebraic loop is introduced. After that the dimensions of nonlinear equation blocks can be reduced as the time complexity of calculating nonlinear equations increases exponentially with the growth of dimensions. Finally, an example is given to show that the proposed method is not only easy to implement but also efficient.

Key words: semi-physical simulation;discrete DAEs;tearing algebraic loops;real-time integration