{"title":"用于支持消息传递通信和动态数据结构的Modelica扩展","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":"{\"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}","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}
Modelica extensions for supporting message passing communication and dynamic data structures
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.