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가량 감소하는 것을 확인하였다.