217
Views
0
CrossRef citations to date
0
Altmetric
Articles

PDEModelica1: a Modelica language extension for partial differential equations implemented in OpenModelica

ORCID Icon, ORCID Icon &
Pages 128-137 | Received 04 Oct 2017, Accepted 09 Nov 2017, Published online: 28 Dec 2017
 

Abstract

Modelica is a language for modeling complex physical systems. It supports algebraic and ordinary differential equations. This paper presents a Modelica language extension for one-dimensional evolutionary partial differential equations (PDE) called PDEModelica1, which is based on earlier extensions, establishes several enhancements, and its support is implemented in OpenModelica. PDEs are solved using the method of lines. In this paper, we discuss changes to and enhancements of previous extensions as well as the numerical methods used. To conclude, we present a counter-current heat exchange model with results to demonstrate the applicability of our extension.

Acknowledgment

We thank to Ivan Nagy and Peter Fritzson for help with preparing this manuscript, Kim Pederson and Veronika Sýkorová for proof reading it, and Klára Ulčová for preparing the art work.

Notes

1. OpenModelica (www.openmodelica.org) is a free, open-source project developed by the Open Source Modelica Consortium. Dymola is a commercial product of Dassault Systèmes. Several other Modelica tools exist.

2. First Faculty of Medicine, Charles University in Prague.

3. www.hummod.org.

4. www.physiomodel.org.

5. www.wolfram.com/mathematica.

6. The website for the project is: en.tongyuan.cc. We tried to simulate example models from papers in the demo version. MWorks was not able to translate them. The extension seems to be unknown to the compiler. The authors have not responded to our email communications, so the current status is unknown.

7. Personal communication with Peter Fritzson.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.