modeling heterogeneous semantics in ptolemy...modeling heterogeneous semantics in ptolemy with...

20
Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee

Upload: others

Post on 17-Mar-2021

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Modeling

Heterogeneous

Semantics in Ptolemy

with Modular Actor Interfaces

Chris Shaver

working with Professor Edward A. Lee

Page 2: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 3: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Models of Computation

Page 4: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 5: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 6: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Reasoning About Heterogeneity

• There needs to be a way to reason about the

composition of models with different Models

of Computation.

• This is necessary for establishing a

consistent semantics for heterogeneous

systems.

• This can be used to do analyses and forms

of verification that cross the boundaries of

heterogeneous composition.

Page 7: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Ptolemy II

• An open source research platform

for modeling systems.

• Implements an Actor Oriented

language for model development.

• Allows hierarchical design and the

heterogeneous composition of

different Models of Computation.

• ~2.5 Million Lines of Code.

• Code generation.

Page 8: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Actors

Page 9: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Actor Graphs

Page 10: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Models

Page 11: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 12: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 13: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Composite Actors

Page 14: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 15: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 16: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 17: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of
Page 18: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Mathematical Representations

The fixed-point semantics of SR can be understood in

clear mathematical terms.

From "A Modular Formal Semantics for Ptolemy", Tripakis et al.

Letting

Page 19: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

Coroutine Model of Computation

"The Coroutine Model of Computation", Shaver and Lee, 2012

Page 20: Modeling Heterogeneous Semantics in Ptolemy...Modeling Heterogeneous Semantics in Ptolemy with Modular Actor Interfaces Chris Shaver working with Professor Edward A. Lee Models of

I Conclude !

• Try out Ptolemy! It's open and free!

• Check out Modular Actor Interfaces.

• Feel free to design your systems modularly,

hierarchically, and heterogeneously.

• http://ptolemy.eecs.berkeley.edu