{"title":"A novel algorithm for flattening virtual subsystems in Simulink models","authors":"P. Fehér, T. Mészáros, L. Lengyel, P. Mosterman","doi":"10.1109/ICSSE.2013.6614693","DOIUrl":null,"url":null,"abstract":"Recently embedded systems are often modeled using Simulink® to simulate their behavior. In order to perform the simulation, the modeling tool has to process the model. An important processing step is to determine the execution order of the elements in a model. This execution order is based on a sorted list of all semantically relevant model elements. Therefore, before simulation, Simulink® removes all model elements that only have a syntactic implication. In Simulink, the virtual subsystems are composite elements with no semantic bearing. Thus, Simulink performs a flattening model transformation that eliminates virtual subsystems. The work presented in this paper provides a novel algorithm for flattening composite elements in hierarchical models. Moreover, an optimized algorithm is also presented for Simulink models. With the implementation of these algorithms the level of abstraction of the model transformation can be raised. In this manner, a reusable, platform independent solution can be achieved for flattening Simulink subsystems.","PeriodicalId":124317,"journal":{"name":"2013 International Conference on System Science and Engineering (ICSSE)","volume":"64 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 International Conference on System Science and Engineering (ICSSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSSE.2013.6614693","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5
Abstract
Recently embedded systems are often modeled using Simulink® to simulate their behavior. In order to perform the simulation, the modeling tool has to process the model. An important processing step is to determine the execution order of the elements in a model. This execution order is based on a sorted list of all semantically relevant model elements. Therefore, before simulation, Simulink® removes all model elements that only have a syntactic implication. In Simulink, the virtual subsystems are composite elements with no semantic bearing. Thus, Simulink performs a flattening model transformation that eliminates virtual subsystems. The work presented in this paper provides a novel algorithm for flattening composite elements in hierarchical models. Moreover, an optimized algorithm is also presented for Simulink models. With the implementation of these algorithms the level of abstraction of the model transformation can be raised. In this manner, a reusable, platform independent solution can be achieved for flattening Simulink subsystems.