Modelling Hybrid Systems in Event-B and Hybrid Event-B: A Comparison of Water Tanks

Conference paper

DOI: 10.1007/978-3-319-47846-3_7

Part of the Lecture Notes in Computer Science book series (LNCS, volume 10009)
Cite this paper as:
Banach R., Butler M. (2016) Modelling Hybrid Systems in Event-B and Hybrid Event-B: A Comparison of Water Tanks. In: Ogata K., Lawford M., Liu S. (eds) Formal Methods and Software Engineering. ICFEM 2016. Lecture Notes in Computer Science, vol 10009. Springer, Cham

Abstract

Hybrid and cyberphysical systems pose significant challenges for a formal development formalism based on pure discrete events. This paper compares the capabilities of (conventional) Event-B for modelling such systems with the corresponding capabilities of the Hybrid Event-B formalism, whose design was intended expressly for such systems. We do the comparison in the context of a simple water tank example, in which filling and emptying take place at different rates, necessitating a control strategy to ensure that the safety invariants are maintained. The comparative case study is followed by a general discussion of issues in which the two approaches reveal different strengths and weaknesses. It is seen that restricting to Event-B means handling many more things at the meta level, i.e. by the user, than is the case with its Hybrid counterpart.

Copyright information

© Springer International Publishing AG 2016

Authors and Affiliations

  1. 1.School of Computer ScienceUniversity of ManchesterManchesterUK
  2. 2.School of Electronics and Computer ScienceUniversity of SouthamptonSouthamptonUK

Personalised recommendations