01363nas a2200145 4500008004100000245004100041210004100082260003100123520089400154100002001048700001801068700002501086700002301111856008301134 2008 eng d00aUsing SPARK as a solver for Modelica0 aUsing SPARK as a solver for Modelica aBerkeley, CA, USAc08/20083 a
Modelica is an object-oriented acausal modeling language that is well positioned to become a de-facto standard for expressing models of complex physical systems. To simulate a model expressed in Modelica, it needs to be translated into executable code. For generating run-time efficient code, such a translation needs to employ algebraic formula manipulations. As the SPARK solver has been shown to be competitive for generating such code but currently cannot be used with the Modelica language, we report in this paper how SPARK's symbolic and numerical algorithms can be implemented in OpenModelica, an open-source implementation of a Modelica modeling and simulation environment. We also report benchmark results that show that for our air flow network simulation benchmark, the SPARK solver is competitive with Dymola, which is believed to provide the best solver for Modelica.
1 aWetter, Michael1 aHaves, Philip1 aMoshier, Michael, A.1 aSowell, Edward, F. uhttp://www.ibpsa.us/simbuild2008/technical_sessions/SB08-DOC-TS03-1-Wetter.pdf