liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
Bidirectional External Function Interface Between Modelica/MetaModelica and Java
Linköping University, Department of Computer and Information Science.
2009 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

A complete Java interface to OpenModelica has been created, supporting both standard Modelica and the metamodeling extensions in MetaModelica. It is bidirectional, and capable of passing both standard Modelica data types, as well as abstract syntax trees and list structures to and from Java and process them in either Java or the OpenModelica Compiler.It currently uses the existing CORBA interface as well as JNI for standard Modelica. It is also capable of automatically generating the Java classes corresponding to MetaModelica code.This interface opens up increased possibilities for tool integration between OpenModelica and Java-based tools, since for example models or model fragments can be extracted from OpenModelica, processed in a Java tool, and put back into the main model representation in OpenModelica.

A first version text generation template language for MetaModelica is also presented. The goal for such a language is the ability to create a more concise and readablecode when translating an abstract syntax tree (AST) to text.

Place, publisher, year, edition, pages
2009. , 141 p.
Keyword [en]
Java, OpenModelica, MetaModelica, external function, abstract syntax, template language
National Category
Computer Science
URN: urn:nbn:se:liu:diva-20386ISRN: LIU-IDA/LITH-EX-A--09/041--SEOAI: diva2:234177
2009-08-19, Donald Knuth, Linköpings Universitet, Linköping, 15:15 (English)
Available from: 2009-09-07 Created: 2009-09-06 Last updated: 2009-09-07Bibliographically approved

Open Access in DiVA

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

Search in DiVA

By author/editor
Sjölund, Martin
By organisation
Department of Computer and Information Science
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 1501 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: 443 hits
ReferencesLink to record
Permanent link

Direct link