DOI QR코드

DOI QR Code

An FMI-based Time Management Scheme for Real-time Co-Simulation

실시간 Co-Simulation을 위한 FMI 기반 시간관리 기법

  • Kyung, Dong-Gu (Dept. of Computer Software, Hanyang University) ;
  • Joe, Inwhee (Dept. of Computer Software, Hanyang University) ;
  • Kim, Wontae (Dept. of Computer Science and Engineering, Koreatech University)
  • Received : 2020.04.04
  • Accepted : 2020.06.24
  • Published : 2020.06.30

Abstract

FMI is being researched as a standard for linking large-scale simulation of CPS. In order to guarantee the reliability of the results in large-scale simulations using FMI, event handling through time management techniques is required. This paper aims to guarantee real-time performance and accuracy in large-scale co-simulation environments such as CPS. Synchronize the wallclock time and simulation time to ensure real time. Also, to ensure the accuracy, before the simulation, the event is checked and the simulation is performed with the smallest step size while maintaining the real time until the event occurrence time. As a result, the events occurring in the co-simulation environment are processed immediately and sequentially, ensuring the real-time performance and minimizing the numerical integration error by maximizing the simulation resolution. In the experiment, the proposed method was processed immediately, and it was confirmed that the numerical integration error is reduced by about 1/5 unlike the existing time management method which does not guarantee the resolution.

CPS의 대규모 시뮬레이션을 연동하기 위한 표준으로 FMI가 연구되고 있다. FMI를 이용한 대규모 시뮬레이션에서 결과의 신뢰성을 보장하기 위해 시간관리 기법을 통한 이벤트 처리가 필요하다. 본 논문은 CPS와 같은 대규모 Co-Simulation 환경에서 실시간성과 정확성을 보장하도록 한다. 실시간성을 보장하기 위해 Wallclock time과 Simulation time을 동기화한다. 또한 정확성을 보장하기 위해 시뮬레이션을 진행하기 전에 이벤트 여부를 확인한 후, 이벤트 발생시간까지 실시간성을 유지하면서 최대한 작은 step size로 시뮬레이션을 진행한다. 그 결과 Co-Simulation 환경에서 발생하는 이벤트를 순차적으로 즉시 처리하였으며, 실시간성을 보장함과 동시에 시뮬레이션 해상도를 최대로 하여 수치적분 에러를 최소화한다. 실험에서 제안하는 기법은 이벤트 처리가 즉시 이루어졌으며, 해상도를 보장하지 않는 기존의 시간관리 기법과 달리 수치적분 에러가 1/5가량 감소하는 것을 확인하였다.

Keywords

References

  1. Khaitan, Siddhartha Kumar, James D. McCalley, "Design techniques and applications of cyberphysical systems: A survey," IEEE Systems Journal, Vol.9, No.2, 2014. DOI: 10.1109/JSYST.2014.2322503
  2. Gun-Hee Lee, "ITU-T Cyber-Physical Systems (CPS) Security Standardization Trends," Korea Institute of Information Security and Cryptology, 2019.
  3. Seongjin Yun, Jun-Hong Park, Won-Tae Kim, "Data-centric middleware based digital twin platform for dependable cyber-physical systems," 2017 Ninth International Conference on Ubiquitous and Future Networks (ICUFN). IEEE, 2017.
  4. Sokolowski, John A., Catherine M. Banks, eds. "Principles of modeling and simulation: a multidisciplinary approach," John Wiley & Sons, 2011.
  5. Blochwitz, Torsten, "Functional mock-up interface for model exchange and co-simulation," https://fmi-standard.org/downloads/, 2014.
  6. Fujimoto, Richard M, "Parallel and distributed simulation systems," New York: Wiley, Vol.300. 2000.
  7. Jung-Hee Hong, et al., "Design and Implementation of Time Management Module for IEEE 1516 HLA/RTI," Journal of the Korea Society for Simulation, Vol.17, No.1, pp.43-52, 2008. DOI: 10.5555/1357910.1357970
  8. FUJIMOTO, R. M. "HLA time management: Design document," Georgia Tech College of Computing, Tech. Rep, 1996.
  9. Broman D, Brooks C, Greenberg L, Lee E A, Masin M, Tripakis S, Wetter M, "Determinate composition of FMUs for co-simulation," 2013 Proceedings of the International Conference on Embedded Software (EMSOFT). IEEE, 2013. DOI: 10.1109/EMSOFT.2013.6658580
  10. Galtier, V, Vialle, S., Dad, C, Tavella, J. P, Lam-Yee-Mui, J. P, Plessis, G, "FMI-based distributed multi-simulation with DACCOSIM," Proceedings of the Symposium on Theory of Modeling & Simulation: DEVS Integrative M&S Symposium, pp.39-46, 2015. DOI: 10.5555/2872965.2872971
  11. QTronic. FMU SDK 2.0.3, 2014. http://www.qtronic.de/en/fmusdk.html.
  12. Yao Low Wen, J A Aziz, "Modeling of Lithium Ion battery with nonlinear transfer resistance," 2011 IEEE Applied Power Electronics Colloquium (IAPEC). IEEE, 2011. DOI: 10.1109/IAPEC.2011.5779865