Hybrid Co-simulation: It's About Time

Fabio Cremona, Marten Lohstroh, David Broman, Stavros Tripakis, Edward A. Lee, Michael Masin

Research output: Working paperProfessional

Abstract

Model-based design methodologies are commonly used in industry for the development of complex cyber-physical systems (CPS). There are many different languages, tools, and formalisms for model-based design, each with its strengths and weaknesses. Instead of accepting some weaknesses of a particular tool, an alternative is to embrace heterogeneity, and to develop tool integration platforms and protocols to leverage the strengths from different environments. A fairly recent attempt in this direction is the Functional Mock-up Interface (FMI) standard that includes support for co-simulation. Although this standard has reached acceptance in industry, it provides only limited support for simulating systems that mix continuous and discrete behavior, which are typical of CPS. This paper identifies the representation of time as a key problem, because the FMI representation does not support well the discrete events that typically occur at the cyber-physical boundary. We analyze alternatives for representing time in hybrid co-simulation and conclude that a superdense model of time using integers only solves many of these problems. We show how an execution engine can pick an adequate time resolution, and how disparities between time representations internal to co-simulated components and the resulting effects of time quantization can be managed. We propose a concrete extension to the FMI standard for supporting hybrid co-simulation that includes integer time, automatic choice of time resolution, and the use of absent signals. We explain how these extensions can be implemented modularly within the frameworks of existing simulation environments.
Original languageEnglish
PublisherUniversity of California, Berkeley
Pages1-36
Publication statusPublished - 1 Apr 2017
MoE publication typeD4 Published development or research report or study

Fingerprint Dive into the research topics of 'Hybrid Co-simulation: It's About Time'. Together they form a unique fingerprint.

Cite this