Grant Agreement: 644047Grant Agreement • April 28th, 2016
Contract Type FiledApril 28th, 2016This deliverable reports on the final version of our continuous-time semantics for the dynamical systems modelling language, Modelica, in the context of Hoare and He’s Uni- fying Theories of Programming (UTP). Modelica is a language for modelling a system’s continuous behaviour using a combination of differential-algebraic equations and an event- handling system. We have previously given a high-level semantics to the Modelica event handling mechanism in terms of the hybrid relational calculus. In this deliverable, we provide an improved semantic model for the calculus, based on the theory of reactive processes that is typically used to give semantics to concurrent systems. We provide a generalised trace model for reactive processes, and show how it can encompass both discrete and continuous traces. We then reconstruct the hybrid relational calculus, which has also been mechanised in Isabelle/UTP, along with a number of additional operators, and new facilities for reasoning about differ