Design and implementation of real time simulator with Modelica

M. Hakim Adiprasetya, A. Prihatmanto
{"title":"Design and implementation of real time simulator with Modelica","authors":"M. Hakim Adiprasetya, A. Prihatmanto","doi":"10.1109/ICSENGT.2012.6339303","DOIUrl":null,"url":null,"abstract":"The usefulness of a simulation is determined by the validity and results of the simulation that can be used by a user to experiment with the system being simulated. In order to to develop a flexible simulator system with a long useful life, an abstraction needs to be introduced in the modeling and validation proses to separate it from the simulation engine itself. The aim is to develop an architecture that can separate the modeling proses of a simulation from the simulation engine that is being used. The language used to model the simulation is Modelica. The Modelica file is converted into the C programming language using tools provided from OpenModelica that is then integrated to the real-time simulator runtime developed in this thesis. This paper discusses the design and implementation of two different simulator architectures. These two architectures are the multi-threaded and non-threaded real-time simulator runtime. The conclusion of the testing and analysis done towards the two architectures is that the non-threaded architecture results in the most valid simulation producing simulation values closest to the real value and is able to fulfill the hard-real time requirements of the simulation.","PeriodicalId":325365,"journal":{"name":"2012 International Conference on System Engineering and Technology (ICSET)","volume":"93 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 International Conference on System Engineering and Technology (ICSET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSENGT.2012.6339303","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

The usefulness of a simulation is determined by the validity and results of the simulation that can be used by a user to experiment with the system being simulated. In order to to develop a flexible simulator system with a long useful life, an abstraction needs to be introduced in the modeling and validation proses to separate it from the simulation engine itself. The aim is to develop an architecture that can separate the modeling proses of a simulation from the simulation engine that is being used. The language used to model the simulation is Modelica. The Modelica file is converted into the C programming language using tools provided from OpenModelica that is then integrated to the real-time simulator runtime developed in this thesis. This paper discusses the design and implementation of two different simulator architectures. These two architectures are the multi-threaded and non-threaded real-time simulator runtime. The conclusion of the testing and analysis done towards the two architectures is that the non-threaded architecture results in the most valid simulation producing simulation values closest to the real value and is able to fulfill the hard-real time requirements of the simulation.
基于Modelica的实时模拟器的设计与实现
仿真的有用性是由仿真的有效性和结果决定的,用户可以使用仿真对系统进行实验。为了开发具有较长使用寿命的灵活的模拟器系统,需要在建模和验证过程中引入抽象,将其与仿真引擎本身分离开来。目的是开发一种体系结构,该体系结构可以将仿真的建模过程与正在使用的仿真引擎分离开来。用于模拟的语言是Modelica。使用OpenModelica提供的工具将Modelica文件转换为C编程语言,然后集成到本文开发的实时模拟器运行时中。本文讨论了两种不同的模拟器体系结构的设计和实现。这两种体系结构是多线程和非线程实时模拟器运行时。对这两种体系结构进行的测试和分析的结论是,非线程体系结构的仿真结果最有效,产生的仿真值最接近真实值,并且能够满足仿真的硬实时性要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信