Modelling and Analysis of Cyber-Physical Systems using Deterministic Theatre
2020 Fourth World Conference on Smart Trends in Systems, Security and Sustainability (WorldS4), 2020
This paper proposes an original variant of the Theatre actor system which is best suited to model... more This paper proposes an original variant of the Theatre actor system which is best suited to modelling analysis and implementation of cyber-physical systems (CPS). Novel in the proposal is the use of deterministic timed actors. More in particular, Deterministic Theatre is proposed which, although based on asynchronous message passing, adopts a deterministic precedence constraint technique which regulates the delivery order of simultaneous messages. Such provision proves effective for correctness analysis of CPS models through exhaustive model checking, and for transforming an analyzed model into a compliant implementation. The constrained delivery order improves the model checking performance by reducing the partial order otherwise existing in the timed transition system of the model. The paper introduces Deterministic Theatre and shows its concrete support on top of the Uppaal timed automata language and toolbox. A CPS modelling case study concerning a train-door controller is presented, which is used as a running analysis example throughout the paper. Finally, conclusions are drawn with an indication of ongoing and future work concerning Deterministic Theatre.
Uploads
Papers by Libero Nigro
Theatre is currently implemented in Java. Other languages are possible.
Main differences from classical actors are:
An absence of a local mailbox into each actor.
An absence of a local thread per actor.
An introduction of a reflective control-layer, customizable by programming, which is in charge of time-management, message scheduling and dispatching.
A flexibility to work with different timing models and programming styles.
The lightweight character of Theatre actors was designed so as to favortime predictability in time-sensitive applications