arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.01343cs.SEcs.SYeess.SYq-bio.QM
收藏

在开源仿真环境中通过有效的验证和确认来实现互操作性

Reconciling interoperability with efficient Verification and Validation within open source simulation environments

Stefano Sinisi, Vadim Alimguzhin, Toni Mancini, Enrico Tronci

摘要:

信息物理系统(CPS)包括物理子系统和软件子系统。基于仿真的方法通常用于支持多个领域的CPS的设计和验证与确认(V&V),例如:航空航天,国防,汽车,智能电网和医疗保健。因此,许多基于模拟的工具可用,这带来了巨大的互操作性挑战。为了克服这些问题,2010年提出了功能模型接口(FMI)作为支持模型交换(ME)和协同仿真(CS)的开放标准。符合这一标准的模型被称为功能模型单元(FMU)。FMU在定义复杂的CPS方面发挥着重要作用,例如,SSP标准。CPS的基于模拟的V&V通常需要探索不同的场景(即,外源CPS输入序列),其中许多显示共享前缀。因此,在共享前缀的结尾处的模拟器状态被保存,然后被恢复并用作下一场景的模拟的开始状态。在这种情况下,FMI的一个重要功能是能够按需保存和恢复内部FMU状态。不幸的是,此功能的实现不是强制性的,它只在某些商业软件中可用。这促使我们为开源CPS模拟环境开发这样的功能。在本文中,我们专注于JModelica,一个开源的建模和仿真环境中定义的Modelica语言的CPS。我们描述了我们如何赋予JModelica与我们的FMI 2.0功能的开源实现,以保存和恢复内部状态的FMU ME。此外,我们提出的结果评估,通过934基准模型,我们扩展的JModelica的正确性和效率。我们的结果表明,基于模拟的V&V平均比没有它的情况下快22倍。

英文摘要:

A Cyber-Physical System (CPS) comprises physical as well as software subsystems. Simulation-based approaches are typically used to support design and Verification and Validation (V&V) of CPSs in several domains such as: aerospace, defence, automotive, smart grid and healthcare. Accordingly, many simulation-based tools are available, and this poses huge interoperability challenges. To overcome them, in 2010 the Functional Mock-up Interface (FMI) was proposed as an open standard to support both Model Exchange (ME) and Co-Simulation (CS). Models adhering to such a standard are called Functional Mock-up Units (FMUs). FMUs play an essential role in defining complex CPSs through, e.g., the SSP standard. Simulation-based V&V of CPSs typically requires exploring different scenarios (i.e., exogenous CPS input sequences), many of them showing a shared prefix. Accordingly, the simulator state at the end of a shared prefix is saved and then restored and used as a start state for the simulation of the next scenario. In this context, an important FMI feature is the capability to save and restore the internal FMU state on demand. Unfortunately, the implementation of this feature is not mandatory and it is available only within some commercial software. This motivates developing such a feature for open-source CPS simulation environments. In this paper, we focus on JModelica, an open-source modelling and simulation environment for CPSs defined in the Modelica language. We describe how we have endowed JModelica with our open-source implementation of the FMI 2.0 functions to save and restore internal states of FMUs for ME. Furthermore, we present results evaluating, through 934 benchmark models, correctness and efficiency of our extended JModelica. Our results show that simulation-based V&V is, on average, 22 times faster with our get/set functionality than without it.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑