A modular formal semantics for Ptolemy

作者:Tripakis Stavros*; Stergiou Christos; Shaver Chris; Lee Edward A
来源:Mathematical Structures in Computer Science, 2013, 23(4): 834-881.
DOI:10.1017/S0960129512000278

摘要

Ptolemy(double dagger) 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: synchronousreactive, discrete event, continuous time, process networks and modal models.

  • 出版日期2013-8