摘要
针对汽车电控单元领域离散和连续系统的仿真需求,提出一套可扩展的仿真流程和基础仿真模块库。首先为领域常用基础仿真模块定义相应的计算方法,并定义基础模块的属性和行为,建立基础仿真模块库;然后通过对模型图的预处理和拓扑排序,得到模块计算顺序表,仿真器以该顺序表为基准计算时间步内各个基础仿真模块的状态;最后实现了四阶龙格库塔法解算器,从而支持连续事件的仿真。通过与现有商用软件Simulink在离散、连续和混合3个领域典型案例的对比,论证了该软件的准确度与可用性。
A scalable simulation workflow and a simulation module library are proposed for discrete and continuous system simulations in the automotive electronic control unit domain.Firstly,corresponding calculation methods are defined for commonly used basic simulation modules in the domain,along with their attributes and behaviors,establishing a basic simulation module library.Then,by preprocessing and topologi⁃cal sorting of the model graph,a module calculation sequence table is obtained.The simulator uses this sequence table as a reference to calcu⁃late the states of various basic simulation modules within a time step.Finally,a fourth-order Runge-Kutta solver is provided to support contin⁃uous event simulation.By comparing with the existing commercial software Simulink in typical cases from discrete,continuous,and hybrid do⁃mains,the accuracy and usability of this software are demonstrated.
作者
田宏远
谭火彬
梅雅淇
TIAN Hongyuan;TAN Huobin;MEI Yaqi(School of Software,Beihang University,Beijing 100191,China)
出处
《软件导刊》
2023年第10期1-10,共10页
Software Guide
关键词
仿真软件
离散事件仿真
连续事件仿真
仿真器
解算器
simulation software
discrete event simulation
continuous event simulation
simulator
solver