Modelica extensions for supporting message passing communication and dynamic data structures

Victorino Sanz, A. Urquia
{"title":"Modelica extensions for supporting message passing communication and dynamic data structures","authors":"Victorino Sanz, A. Urquia","doi":"10.1145/2904081.2904082","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":344062,"journal":{"name":"Proceedings of the 7th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 7th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2904081.2904082","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于支持消息传递通信和动态数据结构的Modelica扩展
离散事件建模方法,如DEVS、并行DEVS或Arena使用的面向过程的方法,支持以模块化和分层方式描述系统。在这些方法中,模型组件通过消息交换进行通信。信息是指从一个组件瞬间发送到另一个组件的信息脉冲,可以是单独的,也可以是分组或分组的。需要动态数据结构来管理消息包,无论是本地的还是作为组件的输入/输出的。这种通信方法在概念上不同于Modelica支持的物理建模方法中使用的组件之间的连接。改进Modelica以支持消息传递通信有助于DEVS模型的描述和具有类似Arena功能的库的开发。作者以前已经在Modelica中使用外部C函数实现了消息传递通信,但是这些实现存在一些限制。讨论了在Modelica中描述消息传递通信所需的概念,并提出了扩展该语言的建议。还包括两个简单的应用程序示例,以说明建议的扩展的使用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Task graph based system partitioning for multirate integration QSS and multi-rate simulation of object-oriented models MORAP: a modular robotic arm platform for teaching and experimenting with equation-based modeling languages Modelica extensions for supporting message passing communication and dynamic data structures DESA: Optimization of variable structure modelica models using custom annotations
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1