Using FMI components in discrete event systems

The simulation of hybrid system is of interest in different areas, e.g., cyber-physical energy systems. This includes the embedding of continuous-time subsystems in discrete event systems. The difficulties of resulting synchronisation schedules are approached by precalculation within the components. The Functional Mock-up Interface (FMI) is a state of the art specification for the co-simulation of continuous systems, which is supported by a growing number of simulation software. FMI for Model Exchange components generated with OpenModelica have been embedded in the discrete event domain of Ptolemy II as a proof of concept. An example shows that the use of FMI components has a better scalability and shorter runtime than a pure Ptolemy II implementation.

[1]  Kishori Sharan Java Native Interface , 2014 .

[2]  Edward A. Lee Modeling concurrent real-time processes using discrete events , 1999, Ann. Softw. Eng..

[3]  Won-Tae Kim,et al.  A formal representation of discrete event models in Ptolemy II , 2010, 2010 The 12th International Conference on Advanced Communication Technology (ICACT).

[4]  Edward A. Lee,et al.  Taming heterogeneity - the Ptolemy approach , 2003, Proc. IEEE.

[5]  Edward A. Lee,et al.  Heterogeneous Concurrent Modeling and Design in Java (Volume 3: Ptolemy II Domains) , 2008 .

[6]  Edward A. Lee,et al.  Heterogeneous Concurrent Modeling and Design in Java (Volume 1: Introduction to Ptolemy II) , 2008 .

[7]  Peter Palensky,et al.  Simulating Cyber-Physical Energy Systems: Challenges, Tools and Methods , 2014, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[8]  Boris Schling The Boost C++ Libraries , 2011 .

[9]  Edward A. Lee,et al.  Ptolemy II, Heterogeneous Concurrent Modeling and Design in JAVA , 2001 .

[10]  Adrian Pop,et al.  OpenModelica - A free open-source environment for system modeling, simulation, and teaching , 2006, 2006 IEEE Conference on Computer Aided Control System Design, 2006 IEEE International Conference on Control Applications, 2006 IEEE International Symposium on Intelligent Control.

[11]  David Broman,et al.  Determinate composition of FMUs for co-simulation , 2013, 2013 Proceedings of the International Conference on Embedded Software (EMSOFT).

[12]  Daniel J. Duffy The Boost C++ Libraries: Part II , 2011 .

[13]  P ? ? ? ? ? ? ? % ? ? ? ? , 1991 .

[14]  Edmund Widl,et al.  Linking FMI-based components with discrete event systems , 2013, 2013 IEEE International Systems Conference (SysCon).

[15]  Carol S. Woodward,et al.  Enabling New Flexibility in the SUNDIALS Suite of Nonlinear and Differential/Algebraic Equation Solvers , 2020, ACM Trans. Math. Softw..

[16]  Steffen Schütte,et al.  Gekoppelte Simulation komplexer Energiesysteme mittels MOSAIK und FMI , 2014, Autom..

[17]  Mario Mulansky,et al.  Odeint - Solving ordinary differential equations in C++ , 2011, ArXiv.

[18]  IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA) — Framework and Rules , 2001 .

[19]  Andreas Junghanns,et al.  The Functional Mockup Interface for Tool independent Exchange of Simulation Models , 2011 .

[20]  Bernard P. Zeigler,et al.  Theory of Modeling and Simulation: Integrating Discrete Event and Continuous Complex Dynamic Systems , 2000 .

[21]  Peter Palensky,et al.  The FMI++ library: A high-level utility package for FMI for model exchange , 2013, 2013 Workshop on Modeling and Simulation of Cyber-Physical Energy Systems (MSCPES).

[22]  Edmund Widl,et al.  Distributed hybrid simulation using the HLA and the Functional Mock-up Interface , 2013, IECON 2013 - 39th Annual Conference of the IEEE Industrial Electronics Society.

[23]  David M. Beazley,et al.  Automated scientific software scripting with SWIG , 2003, Future Gener. Comput. Syst..

[24]  Sheng Liang,et al.  Java Native Interface: Programmer's Guide and Reference , 1999 .

[25]  Edward A. Lee,et al.  Heterogeneous Concurrent Modeling and Design in Java (Volume 2: Ptolemy II Software Architecture) , 2008 .

[26]  Frédéric Wurtz,et al.  Novel simulation concepts for buildings and community energy systems based on the Functional Mock-up Interface specification , 2014, 2014 Workshop on Modeling and Simulation of Cyber-Physical Energy Systems (MSCPES).

[27]  Edward A. Lee,et al.  Modeling Cyber–Physical Systems , 2012, Proceedings of the IEEE.

[28]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[29]  Edward A. Lee Cyber-physical Systems -are Computing Foundations Adequate? Position Paper for Nsf Workshop on Cyber-physical Systems: Research Motivation, Techniques and Roadmap , 1998 .