Towards a UTP Semantics for Modelica [chapter]

Simon Foster, Bernhard Thiele, Ana Cavalcanti, Jim Woodcock
2017 Lecture Notes in Computer Science  
We describe our work on a UTP semantics for the dynamic systems modelling language Modelica. This is a language for modelling a system's continuous behaviour using a combination of differentialalgebraic equations and an event-handling system. We develop a novel UTP theory of hybrid relations, inspired by Hybrid CSP and Duration Calculus, that is purely relational and provides uniform handling of continuous and discrete variables. This theory is mechanised in our Isabelle implementation of the
more » ... P, Isabelle/UTP, with which we verify some algebraic properties. Finally, we show how a subset of Modelica models can be given semantics using our theory. When combined with the wealth of existing UTP theories for discrete system modelling, our work enables a sound approach to heterogeneous semantics for Cyber-Physical systems by leveraging the theory linking facilities of the UTP.
doi:10.1007/978-3-319-52228-9_3 fatcat:qdchoo2yo5h5rhjk5briyywqau