Determinate composition of FMUs for co-simulation
- 1 September 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-12
Abstract
In this paper, we explain how to achieve deterministic execution of FMUs (Functional Mockup Units) under the FMI (Functional Mockup Interface) standard. In particular, we focus on co-simulation, where an FMU either contains its own internal simulation algorithm or serves as a gateway to a simulation tool. We give conditions on the design of FMUs and master algorithms (which orchestrate the execution of FMUs) to achieve deterministic co-simulation. We show that with the current version of the standard, these conditions demand capabilities from FMUs that are optional in the standard and rarely provided by an FMU in practice. When FMUs lacking these required capabilities are used to compose a model, many basic modeling capabilities become unachievable, including simple discrete-event simulation and variable-step-size numerical integration algorithms. We propose a small extension to the standard and a policy for designing FMUs that enables deterministic execution for a much broader class of models. The extension enables a master algorithm to query an FMU for the time of events that are expected in the future. We show that a model can be executed deterministically if all FMUs in the model are either memoryless or implement one of rollback or step-size prediction. We show further that such a model can contain at most one “legacy” FMU that is not memoryless and provides neither rollback nor step-size prediction.Keywords
This publication has 18 references indexed in Scilit:
- A modular formal semantics for PtolemyMathematical Structures in Computer Science, 2013
- Non-standard semantics of hybrid systems modelersJournal of Computer and System Sciences, 2012
- A computational model of time for stiff hybrid systems applied to control synthesisControl Engineering Practice, 2012
- Co-simulation of building energy and control systems with the Building Controls Virtual Test BedJournal of Building Performance Simulation, 2011
- System Modeling and Transformational Design Refinement in ForSyDeIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2004
- The semantics and execution of a synchronous block-diagram languageScience of Computer Programming, 2003
- Taming heterogeneity - the Ptolemy approachProceedings of the IEEE, 2003
- Coordination Models and Languages1998
- The Information BusACM SIGOPS Operating Systems Review, 1993
- Prom timed to hybrid systems1992