CPSSim: Simulation framework for large-scale Cyber-Physical Systems

Thanks to the active development on embedded, real-time, and control systems in last thirty years, we are now in the era of integrating these well-studied/designed systems as a large scale and complex systems, called Cyber-Physical Systems, to provide context-aware and user-centric services. In the processing of developing CPS, one of the major challenges is how to integrate the technologies developed by different communities into a coherent system. This paper presents the design and implementation of CPSsim, which is a framework to integrate several simulators, each of which simulates either discrete or continuous systems, to simulate the federated system. CPSsim enables the developers to use the simulators designated for the sub-systems of a CPS and to understand the behavior of the integrated system. Hence, there is no need to build a new simulator from scratch. In order to simulate the cyber-physical systems, the framework concurrently simulates the sub-systems working at different rates, and tackles the scalability issue. Furthermore, CPSsim targets the synchronization issue among simulators, each of which may adopt different simulation models and has different timing properties. To demonstrate the effectiveness, we use active train control as an example CPS and evaluate its performance.

[1]  Daniel Mossé,et al.  Generic framework for design, modeling and simulation of cyber physical systems , 2008, SIGBED.

[2]  Chang Ho Sung,et al.  Framework for Simulation of Hybrid Systems: Interoperation of Discrete Event and Continuous Simulators Using HLA/RTI , 2011, 2011 IEEE Workshop on Principles of Advanced and Distributed Simulation.

[3]  Edward A. Lee Cyber Physical Systems: Design Challenges , 2008, 2008 11th IEEE International Symposium on Object and Component-Oriented Real-Time Distributed Computing (ISORC).

[4]  L. A. Rossman The EPANET water quality model , 1994 .

[5]  M. Abid,et al.  A SystemC/Simulink Co-Simulation Framework for Continuous/Discrete-Events Simulation , 2006, 2006 IEEE International Behavioral Modeling and Simulation Workshop.

[6]  Edward A. Lee,et al.  Introduction to Embedded Systems - A Cyber-Physical Systems Approach , 2013 .

[7]  Pei Zhang,et al.  SensorFly: Controlled-mobile sensing platform for indoor emergency response applications , 2011, Proceedings of the 10th ACM/IEEE International Conference on Information Processing in Sensor Networks.

[8]  Jing Lin,et al.  Towards Integrated Simulation of Cyber-Physical Systems: A Case Study on Intelligent Water Distribution , 2009, 2009 Eighth IEEE International Conference on Dependable, Autonomic and Secure Computing.