Hostname: page-component-77c78cf97d-lphnv Total loading time: 0 Render date: 2026-04-24T02:30:28.954Z Has data issue: false hasContentIssue false

A modular formal semantics for Ptolemy

Published online by Cambridge University Press:  08 July 2013

STAVROS TRIPAKIS
Affiliation:
University of California, Berkeley, California, U.S.A. Email: stavros@eecs.berkeley.edu; chster@eecs.berkeley.edu; shaver@eecs.berkeley.edu; eal@eecs.berkeley.edu
CHRISTOS STERGIOU
Affiliation:
University of California, Berkeley, California, U.S.A. Email: stavros@eecs.berkeley.edu; chster@eecs.berkeley.edu; shaver@eecs.berkeley.edu; eal@eecs.berkeley.edu
CHRIS SHAVER
Affiliation:
University of California, Berkeley, California, U.S.A. Email: stavros@eecs.berkeley.edu; chster@eecs.berkeley.edu; shaver@eecs.berkeley.edu; eal@eecs.berkeley.edu
EDWARD A. LEE
Affiliation:
University of California, Berkeley, California, U.S.A. Email: stavros@eecs.berkeley.edu; chster@eecs.berkeley.edu; shaver@eecs.berkeley.edu; eal@eecs.berkeley.edu

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.

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable