Finite State Machines and Modal Models in Ptolemy II

Abstract

This report describes the usage and semantics of finite-state machines (FSMs) and modal models in Ptolemy II. FSMs are actors whose behavior is described using a finite set of states and transitions between the states. The transitions between the states are enabled by guards which are boolean-valued expressions that can reference inputs to the actor and parameters in scope. The transitions can produce outputs and can update the value of parameters in scope. Modal models extend FSMs by allowing states to have refinements, which are hierarchical Ptolemy II models. The refinements may themselves be FSMs, modal models, or any composite actor containing a director compatible with the domain in which the modal model is being used. This report describes the operational semantics, the practical usage, and the semantics of time in modal models.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Nov 01, 2009
Accession Number
ADA538760

Entities

People

  • Edward A. Lee

Organizations

  • University of California, Berkeley

Tags

Communities of Interest

  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Air Force
  • Composite Materials
  • Computations
  • Computer Science
  • Differential Equations
  • Electrical Engineering
  • Engineering
  • Hard Copy
  • Hybrid Systems
  • Hysteresis
  • Language
  • Military Research
  • Notation
  • Probability
  • Random Variables
  • Transitions
  • User Interface

Readers

  • Computational Linguistics
  • Computational Modeling and Simulation
  • Marine Ecotoxicology