Change search
ReferencesLink to record
Permanent link

Direct link
A Template-Based Java Code Generator for OpenModelica and MetaModelica
Linköping University, Department of Computer and Information Science. Linköping University, The Institute of Technology. (PELAB)
2014 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

The current OpenModelica Complier (OMC) translates Modelica models into executable Ccodethrough several stages. The Code Generator is the final stage of the compiler whichgenerates target C-code from the optimized sorted equations. Recently, the Code Generator inOMC has been rewritten using the OpenModelica text template language. This gives a moreconcise and easier to understand code generator. Modeling and simulation is becomingincreasingly used in several application areas. There is demand for the OpenModelicaComplier (OMC) to generate code in languages like C#, CSharp, XML, JAVA and so on. Inthis thesis work, we implement a Java code generator to translate the internal equation-basedmodels in OpenModelica and its extension MetaModelica into a Java code representation. Tocreate the Java code generator we used the OpenModelica text template language, also calledSusan. This work is an important step on the way to finalize a full version of a Java CodeGenerator for the OpenModelica Complier (OMC).

Place, publisher, year, edition, pages
2014. , 108 p.
Keyword [en]
Java Code Generator, Modelica, OpenModelica, Java Runtime System, OpenModelica Complier
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
URN: urn:nbn:se:liu:diva-110029ISRN: LIU-IDA/LITH-EX-A--14/022—SEOAI: diva2:742308
Subject / course
Master's programme in Computer Science
2014-05-14, Donald Knuth, Linköping, 15:15 (English)
Available from: 2014-09-02 Created: 2014-09-01 Last updated: 2014-09-02Bibliographically approved

Open Access in DiVA

fulltext(2061 kB)111 downloads
File information
File name FULLTEXT01.pdfFile size 2061 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Munisamy, Manokar
By organisation
Department of Computer and Information ScienceThe Institute of Technology
Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 111 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 304 hits
ReferencesLink to record
Permanent link

Direct link