Abstract
In cyber-physical systems like automotive systems, there are components like sensors, actuators, and controllers that communicate asynchronously with each other. The computational model of actors supports modeling distributed asynchronously communicating systems. We propose the Hybrid Rebeca language to support the modeling of cyber-physical systems. Hybrid Rebeca is an extension of the actor-based language Rebeca. In this extension, physical actors are introduced as new computational entities to encapsulate physical behaviors. To support various means of communication among the entities, the network is explicitly modeled as a separate entity from actors. We develop a tool to derive hybrid automata as the basis for the analysis of Hybrid Rebeca models. We demonstrate the applicability of our approach through a case study in the domain of automotive systems. We use the SpaceEx framework for reachability analysis of the case study. Compared to hybrid automata, our results show that for event-based asynchronous models hybrid Rebeca improves analyzability by reducing the number of real variables, and increases modularity and hence, minimizes the number of changes caused by a modification in the model.
Similar content being viewed by others
Notes
The exact number depends on the implementation. However since all the parameters of the message server which has the most parameters must be considered, at least this number of variables are needed.
As the properties to be verified do not depend on the value of the speed, to minimize the analysis time, this value has been chosen.
The tool converting a hybrid Rebeca model to a hybrid automaton, as an input of SpaceEX is available at http://rebeca-lang.org/allprojects/HybridRebeca. The tool handles models specified in an intermediate format very close to Hybrid Rebeca. This format is suitable for translation into hybrid automata. The process of translating a Hybrid Rebeca model to the intermediate format is currently manual.
References
Aceto, L., Cimini, M., Ingólfsdóttir, A., Reynisson, A.H., Sigurdarson, S.H., Sirjani, M.: Modelling and simulation of asynchronous real-time systems using timed rebeca. In: 10th International Workshop on the Foundations of Coordination Languages and Software Architectures. EPTCS, vol. 58, pp. 1–19 (2011)
Agha, G.A.: ACTORS: A Model of Concurrent Computation in Distributed Systems. MIT Press Series in Artificial Intelligence, MIT Press, Cambridge (1986)
Alur, R., Courcoubetis, C., Halbwachs, N., Henzinger, T., Ho, P., Nicollin, X., Olivero, A., Sifakis, J., Yovine, S.: The algorithmic analysis of hybrid systems. Theor. Comput. Sci. 138(1), 3–34 (1995)
Alur, R., Courcoubetis, C., Halbwachs, N., Henzinger, T.A., Ho, P., Nicollin, X., Olivero, A., Sifakis, J., Yovine, S.: The algorithmic analysis of hybrid systems. Theor. Comput. Sci. 138(1), 3–34 (1995)
Berry, G., Gonthier, G.: The Esterel synchronous programming language: design, semantics, implementation. Sci. Comput. Program. 19(2), 87–152 (1992). https://doi.org/10.1016/0167-6423(92)90005-V
Chen, X., Ábrahám, E., Sankaranarayanan, S.: Flow*: an analyzer for non-linear hybrid systems. In: 25th International Conference on Computer Aided Verification. LNCS, vol. 8044, pp. 258–263. Springer (2013)
Cicirelli, F., Nigro, L., Sciammarella, P.F.: Model continuity in cyber-physical systems: a control-centered methodology based on agents. Simul. Model. Pract. Theory 83, 93–107 (2018)
Cuijpers, P., Reniers, M.A.: Hybrid process algebra. J. Log. Algebr. Program. 62(2), 191–245 (2005)
David, R., Alla, H.: On hybrid petri nets. Discrete Event Dyn. Syst. 11(1–2), 9–40 (2001)
Davis, R.I., Burns, A., Bril, R.J., Lukkien, J.J.: Controller area network (CAN) schedulability analysis: refuted, revisited and revised. Real Time Syst. 35(3), 239–272 (2007)
Derler, P., Lee, E.A., Sangiovanni-Vincentelli, A.L.: Modeling cyber-physical systems. Proc. IEEE 100(1), 13–28 (2012)
Filipovikj, P., Mahmud, N., Marinescu, R., Seceleanu, C., Ljungkrantz, O., Lönn, H.: Simulink to UPPAAL statistical model checker: Analyzing automotive industrial systems. In: 21st International Symposium on Formal Methods. LNCS, vol. 9995, pp. 748–756 (2016)
Frehse, G.: Phaver: algorithmic verification of hybrid systems past hytech. In: Morari, M., Thiele, L. (eds) 8th International Workshop on Hybrid Systems: Computation and Control. LNCS, vol. 3414, pp. 258–273. Springer (2005)
Frehse, G., Guernic, C.L., Donzé, A., Cotton, S., Ray, R., Lebeltel, O., Ripado, R., Girard, A., Dang, T., Maler, O.: Spaceex: scalable verification of hybrid systems. In: 23rd International Conference on Computer Aided Verification. LNCS, vol. 6806, pp. 379–395. Springer (2011)
Henzinger, T.A.: The theory of hybrid automata. In: 11th Annual IEEE Symposium on Logic in Computer Science, pp. 278–292. IEEE Computer Society (1996)
Hewitt, C.: Description and theoretical analysis (using schemata) of planner: a language for proving theorems and manipulating models in a robot. Technical Report on Massachusetts Institute of Technology, Artificial Intelligence Laboratory (1972)
Jahandideh, I., Ghassemi, F., Sirjani, M.: Hybrid rebeca: Modeling and analyzing of cyber-physical systems. In: 8th International Workshop on Model-Based Design of Cyber Physical Systems. LNCS, vol. 11615, pp. 3–27. Springer (2018)
Johnsen, E., Hähnle, R., Schäfer, J., Schlatte, R., Steffen, M.: ABS: a core language for abstract behavioral specification. In: 9th International Symposium on Formal Methods for Components and Objects. LNCS, vol. 6957, pp. 142–164. Springer (2010)
Kamburjan, E., Mitsch, S., Kettenbach, M., Hähnle, R.: Modeling and verifying cyber-physical systems with hybrid active objects. arXiv:1906.05704 (2019)
Kang, E., Enoiu, E.P., Marinescu, R., Seceleanu, C.C., Schobbens, P., Pettersson, P.: A methodology for formal analysis and verification of EAST-ADL models. Reliab. Eng. Syst. Saf. 120, 127–138 (2013)
Koymans, R.: Specifying real-time properties with metric temporal logic. Real Time Syst. 2(4), 255–299 (1990)
Lanotte, R., Merro, M.: A calculus of cyber-physical systems. In: Language and Automata Theory and Applications: 11th International Conference. LNCS, vol. 10168, pp. 115–127 (2017)
Lanotte, R., Merro, M., Muradore, R., Viganò, L.: A formal approach to cyber-physical attacks. In: 30th IEEE Computer Security Foundations Symposium, pp. 436–450. IEEE Computer Society (2017)
Lanotte, R., Merro, M., Tini, S.: Towards a formal notion of impact metric for cyber-physical attacks. In: 14th International Conference on integrated Formal Methods (2018) (to appear)
Lee, E.A.: Cyber physical systems: Design challenges. In: 11th IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC 2008), pp. 363–369. IEEE Computer Society (2008)
Lohstroh, M., Romeo, Í.Í., Goens, A., Derler, P., Castrillón, J., Lee, E.A., Sangiovanni-Vincentelli, A.L.: Reactors: a deterministic model for composable reactive systems. In: 9th International Workshop on Model-Based Design of Cyber Physical Systems. Lecture Notes in Computer Science, vol. 11971, pp. 59–85. Springer
Lohstroh, M., Schoeberl, M., Goens, A., Wasicek, A., Gill, C., Sirjani, M., Lee, E.A.: Actors revisited for time-critical systems. In: Proceedings of the 56th Annual Design Automation Conference, p. 152. ACM (2019)
Marinescu, R., Mubeen, S., Seceleanu, C.: Pruning architectural models of automotive embedded systems via dependency analysis. In: 42th Euromicro Conference on Software Engineering and Advanced Applications, pp. 293–302. IEEE Computer Society (2016)
Metelo, A., Braga, C., Brandão, D.N.: Towards the modular specification and validation of cyber-physical systems: a case-study on reservoir modeling with hybrid automata. In: 18th International Conference on Computational Science and Its Applications, Part I. LNCS, vol. 10960, pp. 80–95. Springer (2018)
Nigro, L., Sciammarella, P.F.: Statistical model checking of cyber-physical systems using hybrid theatre. In: Proceedings of SAI Intelligent Systems Conference, pp. 1232–1251. Springer (2019)
Pfeiffer, O., Ayre, A., Keydel, C.: Embedded Networking with CAN and CANopen, 1st edn. Copperhill Media Corporation, Greenfield (2008)
Platzer, A.: Differential-algebraic dynamic logic for differential-algebraic programs. J. Log. Comput. 20(1), 309–352 (2010)
Ptolemaeus, C. (ed.): System Design, Modeling, and Simulation using Ptolemy II. Ptolemy.org (2014)
Sabouri, H., Khosravi, R.: Delta modeling and model checking of product families. In: 5th International Conference on Fundamentals of Software Engineering. LNCS, vol. 8161, pp. 51–65. Springer (2013)
Sankaranarayanan, S., Sipma, H.B., Manna, Z.: Constructing invariants for hybrid systems. Formal Methods Syst. Des. 32(1), 25–55 (2008)
Sirjani, M.: Power is overrated, go for friendliness! expressivness versus faithfulness and usability in modeling-actor experience. In: Edward A. Lee Festschrift, LNCS, pp. 1–21. Springer (2018)
Sirjani, M., Jaghoori, M.M.: Ten years of analyzing actors: Rebeca experience. In: Formal Modeling: Actors, Open Systems, Biological Systems—Essays Dedicated to Carolyn Talcott on the Occasion of Her 70th Birthday. LNCS, vol. 7000, pp. 20–56. Springer (2011)
Sirjani, M., Movaghar, A., Shali, A., de Boer, F.S.: Modeling and verification of reactive systems using Rebeca. Fundam. Inform. 63(4), 385–410 (2004)
Varshosaz, M., Khosravi, R.: Modeling and verification of probabilistic actor systems using prebeca. In: 14th International Conference on Formal Engineering Methods. LNCS, vol. 7635, pp. 135–150. Springer (2012)
Wolf, W., Madsen, J.: Embedded systems education for the future. Proc. IEEE 88(1), 23–30 (2000)
Yousefi, B., Ghassemi, F., Khosravi, R.: Modeling and efficient verification of broadcasting actors. In: 6th International Conference on Fundamentals of Software Engineering. LNCS, vol. 9392, pp. 69–83. Springer (2015)
Yousefi, B., Ghassemi, F., Khosravi, R.: Modeling and efficient verification of wireless ad hoc networks. Formal Asp. Comput. 29(6), 1051–1086 (2017)
Acknowledgements
We would like to thank Edward Lee for his support and patient guidance on modeling and analyzing CPSs, Tom Henzinger for his fruitful discussion on the extended actor model, and MohammadReza Mousavi and Ehsan Khamespanah for their useful contributions.
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by Eugene Syriani and Manuel Wimmer.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Jahandideh, I., Ghassemi, F. & Sirjani, M. An actor-based framework for asynchronous event-based cyber-physical systems. Softw Syst Model 20, 641–665 (2021). https://doi.org/10.1007/s10270-021-00877-y
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10270-021-00877-y