A modular formal semantics for Ptolemy
- 8 July 2013
- journal article
- research article
- Published by Cambridge University Press (CUP) in Mathematical Structures in Computer Science
- Vol. 23 (4) , 834-881
Abstract
Ptolemy‡is an open-source and extensible modelling and simulation framework. It offers heterogeneous modeling capabilities by allowing different models of computation, both untimed and timed, to be composed hierarchically in an arbitrary fashion. This paper proposes a formal semantics for Ptolemy that is modular in the sense that atomic actors and their compositions are treated in a unified way. In particular, all actors conform to an executable interface that contains four functions: fire (produce outputs given current state and inputs); postfire (update state instantaneously); deadline (how much time the actor is willing to let elapse); and time-update (update the state with the passage of time). Composite actors are obtained using composition operators that in Ptolemy are called directors. Different directors realise different models of computation. In this paper, we formally define the directors for the following models of computation: synchronous- reactive, discrete event, continuous time, process networks and modal models.Keywords
This publication has 61 references indexed in Scilit:
- Reconciling statechart semanticsScience of Computer Programming, 2009
- A model of domain-polymorph component for heterogeneous system designJournal of Systems and Software, 2009
- CPO semantics of timed interactive actor networksTheoretical Computer Science, 2008
- The FRACTAL component model and its support in JavaSoftware: Practice and Experience, 2006
- A real-time profile for UMLInternational Journal on Software Tools for Technology Transfer, 2006
- The semantics and execution of a synchronous block-diagram languageScience of Computer Programming, 2003
- Mode-Automata: a new domain-specific construct for the development of safe critical systemsScience of Computer Programming, 2002
- The algorithmic analysis of hybrid systemsTheoretical Computer Science, 1995
- A theory of timed automataTheoretical Computer Science, 1994
- Statecharts: a visual formalism for complex systemsScience of Computer Programming, 1987