用于高效事件检测的微分代数方程的稀疏因果化

Christoph Hoger
{"title":"用于高效事件检测的微分代数方程的稀疏因果化","authors":"Christoph Hoger","doi":"10.1109/EUROSIM.2013.69","DOIUrl":null,"url":null,"abstract":"Models written in multidomain simulation languages like Modelica describe hybrid systems of differential and algebraic equations (hybrid DAEs). Algebraic events are an integral part of those models. Their detection in general requires numerical root-finding. This method can be optimized. We show that state-of-the art simulators force unnecessary evaluations during root-finding: The calculation of a residual function is always preceded by the solution of the complete DAE for the active time step. Models are usually composed of hierarchical elements. Therefore, it is quite common, that not the whole DAE needs to be computed for a single event function, although some dependencies exist. By the application of the well known method of causalisation those dependencies can be detected. We show how a subset of the solution algorithm, called a sparse causalisation can be derived from a usual causalisation for a given event variable. When solving the sparse causalisation, the event variable is computed correctly, i.e. it holds the same result as after a complete solution. Depending on the internal structure of the model, the application of sparse causalisation can significantly reduce the amount of work necessary to detect an event.","PeriodicalId":386945,"journal":{"name":"2013 8th EUROSIM Congress on Modelling and Simulation","volume":"76 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-09-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Sparse Causalisation of Differential Algebraic Equations for Efficient Event Detection\",\"authors\":\"Christoph Hoger\",\"doi\":\"10.1109/EUROSIM.2013.69\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Models written in multidomain simulation languages like Modelica describe hybrid systems of differential and algebraic equations (hybrid DAEs). Algebraic events are an integral part of those models. Their detection in general requires numerical root-finding. This method can be optimized. We show that state-of-the art simulators force unnecessary evaluations during root-finding: The calculation of a residual function is always preceded by the solution of the complete DAE for the active time step. Models are usually composed of hierarchical elements. Therefore, it is quite common, that not the whole DAE needs to be computed for a single event function, although some dependencies exist. By the application of the well known method of causalisation those dependencies can be detected. We show how a subset of the solution algorithm, called a sparse causalisation can be derived from a usual causalisation for a given event variable. When solving the sparse causalisation, the event variable is computed correctly, i.e. it holds the same result as after a complete solution. Depending on the internal structure of the model, the application of sparse causalisation can significantly reduce the amount of work necessary to detect an event.\",\"PeriodicalId\":386945,\"journal\":{\"name\":\"2013 8th EUROSIM Congress on Modelling and Simulation\",\"volume\":\"76 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-09-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 8th EUROSIM Congress on Modelling and Simulation\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/EUROSIM.2013.69\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 8th EUROSIM Congress on Modelling and Simulation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/EUROSIM.2013.69","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

用多域仿真语言(如Modelica)编写的模型描述了微分方程和代数方程的混合系统(hybrid DAEs)。代数事件是这些模型的一个组成部分。它们的检测通常需要数值寻根。该方法可进行优化。我们表明,最先进的模拟器在寻根过程中强制进行不必要的评估:残差函数的计算总是在活动时间步长的完整DAE的解之前进行。模型通常由层次元素组成。因此,不需要为单个事件函数计算整个DAE是很常见的,尽管存在一些依赖关系。通过应用众所周知的因果关系方法,可以检测到这些依赖关系。我们展示了如何从给定事件变量的通常因果关系中导出解算法的子集,称为稀疏因果关系。当求解稀疏因果关系时,事件变量被正确计算,即它与完全解后的结果相同。根据模型的内部结构,稀疏因果关系的应用可以显著减少检测事件所需的工作量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Sparse Causalisation of Differential Algebraic Equations for Efficient Event Detection
Models written in multidomain simulation languages like Modelica describe hybrid systems of differential and algebraic equations (hybrid DAEs). Algebraic events are an integral part of those models. Their detection in general requires numerical root-finding. This method can be optimized. We show that state-of-the art simulators force unnecessary evaluations during root-finding: The calculation of a residual function is always preceded by the solution of the complete DAE for the active time step. Models are usually composed of hierarchical elements. Therefore, it is quite common, that not the whole DAE needs to be computed for a single event function, although some dependencies exist. By the application of the well known method of causalisation those dependencies can be detected. We show how a subset of the solution algorithm, called a sparse causalisation can be derived from a usual causalisation for a given event variable. When solving the sparse causalisation, the event variable is computed correctly, i.e. it holds the same result as after a complete solution. Depending on the internal structure of the model, the application of sparse causalisation can significantly reduce the amount of work necessary to detect an event.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信