An Event-B-based approach to hybrid systems engineering and its application to a hemodialysis machine case study. (December 2018)