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

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.

[1]  Long Chen FINITE VOLUME METHODS , 2011 .

[2]  Hilding Elmqvist,et al.  MODELICA — THE NEW OBJECT-ORIENTED MODELING LANGUAGE , 1998 .

[3]  Peter Fritzson,et al.  Extending Modelica for Partial Differential Equations , 2002 .

[4]  G. E. Myers,et al.  An analytical model of the counter-current heat exchange phenomena. , 1968, Biophysical journal.

[5]  Peter Fritzson,et al.  A general symbolic PDE solver generator: Beyond explicit schemes , 2003, Sci. Program..

[6]  Peter Fritzson,et al.  Principles of Object-Oriented Modeling and Simulation with Modelica 3.3: A Cyber-Physical Approach , 2014 .

[7]  J. Strikwerda Finite Difference Schemes and Partial Differential Equations , 1989 .

[8]  Zheng Ling Consistent Representation of PDE and DAE Problems in Modelica , 2009 .

[9]  Alan Edelman,et al.  Julia: A Fast Dynamic Language for Technical Computing , 2012, ArXiv.

[10]  Long Chen FINITE ELEMENT METHOD , 2013 .

[11]  Levon Saldamli,et al.  Domains and Partial Differential Equations in Modelica , 2001 .

[12]  Francesco Casella,et al.  Modelling of thermo-hydraulic power generation processes using Modelica , 2006 .

[13]  Bernhard Bachmann,et al.  A Framework for Describing and Solving PDE Models in Modelica , 2005 .

[14]  W. Schiesser The Numerical Method of Lines: Integration of Partial Differential Equations , 1991 .

[15]  Zhihua Li,et al.  Solving PDE Models in Modelica , 2008, 2008 International Symposium on Information Science and Engineering.

[16]  M. Kahl Thermoregulation in the Wood Stork, with Special Reference to the Role of the Legs , 1963, Physiological Zoology.

[17]  S. R. Thomas,et al.  Hormonal regulation of salt and water excretion: a mathematical model of whole kidney function and pressure natriuresis. , 2014, American journal of physiology. Renal physiology.

[18]  Levon Saldamli PDEModelica - Towards a High-Level Language for Modeling with Partial Differential Equations , 2002 .

[20]  François E. Cellier,et al.  Support for Dymola in the Modeling and Simulation of Physical Systems with Distributed Parameters , 2008 .

[21]  Pavol Privitzer,et al.  Physiolibrary - Modelica library for Physiology , 2014 .

[22]  Levon Saldamli,et al.  Object-oriented Modeling with Partial Differential Equations , 2000 .

[23]  Vincent Heuveline HiFlow3: a flexible and hardware-aware parallel finite element package , 2010, POOSC '10.

[24]  Jirí Kofránek,et al.  Physiomodel - an integrative physiology in Modelica , 2015, 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[25]  Lenka Lhotská,et al.  Surviving sepsis - a 3D integrative educational simulator , 2015, 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[26]  Huili Zhang,et al.  Description of PDE Models in Modelica , 2008, 2008 International Symposium on Computer Science and Computational Technology.

[27]  Vincent Heuveline,et al.  PDE Modeling with Modelica via FMI Import of HiFlow3 C++ Components , 2013 .

[28]  Emmanuel Lefrançois,et al.  Finite Element Method: Dhatt/Finite Element Method , 2012 .

[29]  Peter Fritzson,et al.  Field Type and Field Constructor in Modelica , 2004 .

[30]  Hilding Elmqvist,et al.  Systems Modeling and Programming in a Unified Environment Based on Julia , 2016, ISoLA.

[31]  Peter Fritzson,et al.  A Modelica-Based Language for Object-Oriented Modeling with Partial Differential Equations , 2001 .

[32]  Anita T. Layton,et al.  Kidney Modeling: Status and Perspectives , 2006, Proceedings of the IEEE.

[33]  Francesco Casella,et al.  Modelling and simulation of heat exchangers in Modelica with Finite Element Methods , 2003 .

[34]  Jiří Kofránek,et al.  HumMod-Golem Edition : large scale model of integrative physiology for virtual patient simulators , 2013 .

[35]  Zhihua Li,et al.  Modelling and simulation of PDE problems in Modelica , 2009 .