Extensions to Modelica for efficient code generation and separate compilation

Ramine Nikoukhah
INRIA-Rocquencourt, France

Ladda ner artikel

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

Linköping Electronic Conference Proceedings 24:5, s. 49–59

Visa mer +

Publicerad: 2007-07-18

ISBN: 978-91-7519-822-4

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


In the current Modelica specification; the only admitted external entities are memory-less functions. We propose an extension to allow parts of the model containing internal states; conditioning and discrete dynamics; to be definable as external functions. This opens the door to separate compilation of Modelica code. For this purpose; we introduce the language construct switchwhen and the type Event. These extensions are directly inspired by the Scicos formalism.


Inga nyckelord är tillgängliga


1 Modelica Association; “Modelica - A Unified Object-Oriented Language for Physical Systems Modeling. Language Specification; version 2.2”; 2005; available from www.modelica.org/.

2 Ramine Nikoukhah; “Hybrid dynamics in Modelica: Should all events be considered synchronous”; in Proc. EOOLT Workshop at ECOOP’07; Berlin; 2007.

3 Peter Fritzson - “Principles of Object-Oriented Modeling and Simulation with Modelica

2.1”; Wiley-IEEE Press; 2003.

4 Stephen L. Campbell; Jean-Philippe Chancelier and Ramine Nikoukhah; “Modeling and Simulation in Scilab/Scicos”; Springer; 2005.

5 http://www.rntl.org/projet/resume2005/simpa2.htm

Citeringar i Crossref