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

Direct link
Simulation of Modelica Models on the CUDA Architecture
Linköping University, Department of Computer and Information Science.
2009 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Simulations are very important for many reasons, and finding ways of accelerating simulations are therefore interesting. In this thesis the feasibility of automatically generating simulation code for a limited set of Modelica models that can be executed on NVIDIAs CUDA architecture is studied. The OpenModelica compiler, an open-source Modelica compiler, was for this purpose extended to generate CUDA code.

This thesis presents an overview of the CUDA architecture, and looks at the problems that need to be solved to generate efficient simulation code for this architecture. Methods of finding parallelism in models that can be used on the highly parallel CUDA architecture are shown, and methods of efficiently using the available memory spaces on the architecture are also presented.

This thesis shows that it is possible to generate CUDA simulation code for the set of Modelica models that were chosen. It also shows that for models with a large amount of parallelism it is possible to get significant speedups compared with simulation on a normal processor, and a speedup of 4.6 was reached for one of the models used in the thesis. Several suggestions on how the CUDA architecture can be used even more efficiently for Modelica simulations are also given.

Place, publisher, year, edition, pages
2009. , 61 p.
Keyword [en]
Modelica, OpenModelica, CUDA, Parallelization
National Category
Computer Science
URN: urn:nbn:se:liu:diva-52060ISRN: LIU-IDA/LITH-EX-A--09/062--SEOAI: diva2:279156
2009-11-19, Donald Knuth, Linköpings Universitet, Linköping, 15:30 (English)
Available from: 2009-12-02 Created: 2009-12-01 Last updated: 2009-12-02Bibliographically approved

Open Access in DiVA

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

Search in DiVA

By author/editor
Östlund, Per
By organisation
Department of Computer and Information Science
Computer Science

Search outside of DiVA

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

Direct link