Modelica Extensions for Supporting Message Passing Communication and Dynamic Data Structures

被引:0
作者
Sanz, Victorino [1 ]
Urquia, Alfonso [1 ]
机构
[1] UNED, ETSI Informat, Dept Informat & Automat, Juan del Rosal 16, Madrid 28040, Spain
来源
7TH INTERNATIONAL WORKSHOP ON EQUATION-BASED OBJECT-ORIENTED MODELING LANGUAGES AND TOOLS | 2016年
关键词
Modelica; Parallel DEVS; Arena; message passing communication; hybrid systems;
D O I
10.1145/2904081.2904082
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Discrete-event modeling methodologies, such as DEVS, Parallel DEVS or the process-oriented approach used by Arena, support the description of systems in a modular and hierarchical fashion. In these approaches, model components communicate by means of message interchange. Messages constitute impulses of information instantaneously sent from one component to another, either individually or arranged in groups, or bags. Dynamic data structures are required to manage bags of messages, either locally or as inputs/outputs of components. This communication approach is conceptually different from the connection between components used in the physical modeling approach supported by Modelica. Improving Modelica to support message passing communication facilitates the description of DEVS models and the development of libraries with analogous functionality to Arena. The authors have previously implemented message passing communication in Modelica using external C functions, but these implementations present some restrictions. The concepts required to describe message passing communication in Modelica are discussed, and a proposal to extend the language is presented. Two simple application examples are also included to illustrate the use of the proposed extensions.
引用
收藏
页码:3 / 6
页数:4
相关论文
共 7 条
[1]  
Chow ACH, 1996, T SOC COMPUT SIMUL, V13, P55
[2]  
Fritzson P., 2014, MATCH EXPRESSIONS RE
[3]  
Kelton WD., 2007, Simulation with Arena, V4th
[4]  
Modelica Association, 2013, MOD UN OBJ OR LANG P
[5]  
Sanz V., 2009, P 7 INT MOD C COM IT, P96
[6]  
Sanz V., 2008, P 2 INT WORKSH EQ BA, P83
[7]  
Zeigler B.P., 2000, Theory of modeling and simulation: integrating discrete event and continuous complex dynamic systems, V2nd