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

Direct link
Template Based XML and Modelica Unparser in OpenModelica
Linköping University, Department of Computer and Information Science. Linköping University, The Institute of Technology.
2012 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

In many areas modeling and simulation plays an important role. Currently, an equation-based object oriented modeling and simulation languages, such as Modelica, are used for multi-domain modeling, and the OpenModelica Compiler (OMC) is Modelica-based platform for modeling, compilation and simulation. In this thesis, we address two issues relevant to OMC. The first issue deals with translation from the internal equation-based model representation in OpenModelica to an Extensible Markup Language (XML) form which can be imported in to the CasADi open source toolkit, in order to enable integrated dynamic modeling and optimization. To achieve this, we have implemented a new template based XML code generator module in OMC based on an XML standard defined in OPENPROD EU project for representation of flattened Modelica model. The second issue deals with transformation of OpenModelica Abstract Syntax Tree (AST) into Modelica text (Unparser). With regard to this issue, we have implemented a new template based Modelica Unparser from OpenModelica AST into Modelica text.

Place, publisher, year, edition, pages
2012. , 141 p.
National Category
Engineering and Technology
URN: urn:nbn:se:liu:diva-81999ISRN: LIU-IDA/LITH-EX-A--12/046--SEOAI: diva2:557431
Subject / course
Master's programme in Computer Science
2012-08-30, Donald Knuth, Linköping, 16:00 (English)
Available from: 2012-10-02 Created: 2012-09-27 Last updated: 2012-10-02Bibliographically approved

Open Access in DiVA

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

Search in DiVA

By author/editor
Mengist, Alachew
By organisation
Department of Computer and Information ScienceThe Institute of Technology
Engineering and Technology

Search outside of DiVA

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

Direct link