基于Modelica语言建立的仿真模型可以映射为一个微分代数方程系统。求解微分代数方程系统需要为其设定初始值。简要介绍了Modelica语言,讨论了Modelica模型初始条件的设定方式,给出了隐含约束的获取方法,以及初始条件的相容性判定方法争相容初始值求解策略。给出实例表明了方法的有效性。
Simulation model described by the Modelica language can be translated into a system of differential algebraic equations. It is necessary to provide some initial conditions before solving a DAE system. The Modelica language was briefly introduced, the way for specifying initial conditions for Modelica models was discussed, a method for obtaining the underlying constraints of a DAE system was proposed, the criterion for determining whether the initial conditions were consistent or not was given, and the strategy for solving the initialization equation system was proposed. The result achieved by applying the discussed method on an oscillator model was illustrated.