![]() |
This is the Ptolemy II 10.0 release, which was released in December, 2014.
We have a continuous integration system where we create installers each night.
For more recent installers and source code, see the Development VersionDecember 17, 2014 - Ptolemy II 10.0.1 is available for download
Ptolemy II 10.0.1 Common Downloads
- Windows 32-bit Installer Includes sources, binaries, jars and JRE
- Windows 64-bit Installer Includes sources, binaries, jars and JRE
See the Windows page for problems and solutions, along with a link to the devel versions- Mac OS X Installer Includes sources, binaries and jars
To invoke the installer, install Java 1.8 from Oracle and runjava -jar ptII10.0.devel.setup.mac.jarJava 1.8 from Oracle is preferred because it has Nashorn, which is used by the JavaScript code. If you get a dialog about the setup file being damaged, then see Help! I clicked on the Mac Setup file and got a strange dialog- Sources Only: Unix Line Endings - Windows Line Endings
- Web copy, browse the contents of the demonstrations using a standard browser or run individual applets using Web Start (details).
- Web Start, run the full version of Ptolemy as an alternative to downloading and installing
- The Ptolemy II development sources are always available via GitHub These sources are experimental and contain changes since Ptolemy II 10.0.1.
For an overview of Ptolemy II, see the Ptolemy II FAQ What is Ptolemy II? or see the Ptolemy II Tour.
Ptolemy II 10.0 is the first complete release since Ptolemy II 8.0 and thus includes many changes.
The key driving force for the release is to be a companion to the Ptolemy Book:
Claudius Ptolemaeus, Editor, "System Design, Modeling, and Simulation Using Ptolemy II", Ptolemy.org, 2014. (included in the release as $PTII/doc/books/systems/PtolemyII_DigitalV1_02.pdf
, but not present in the SVN developer tree.)
Below are the highlights of this release.
- Patricia Derler, Elizabeth A. Latronico, Edward A. Lee, Man-Kit Leung, Ben Lickly, Charles Shelton, "Ontologies," a chapter from
Claudius Ptolemaeus, Editor, "System Design, Modeling, and Simulation Using Ptolemy II", Ptolemy.org, 2014. (included in the release as$PTII/doc/books/systems/PtolemyII_DigitalV1_02.pdf
) - CarTracking (Dimensional analysis)
- Abstract Interpretation Analysis
- Simple Constant/Nonconstant Analysis
- Simple Constant Analysis
- Expression Monotonicity Analysis
- 2 Tank Model with Ontological Information
- Christopher Brooks, Edward A. Lee, Elizabeth A. Latronico, Baobing Wang, and Roxana Gheorghui, "Web Interfaces," a chapter from
Claudius Ptolemaeus, Editor, "System Design, Modeling, and Simulation Using Ptolemy II", Ptolemy.org, 2014. (included in the release as$PTII/doc/books/systems/PtolemyII_DigitalV1_02.pdf
) - CompiledCompositeActor
- Clock and Ramp
- Time Delay
- Hello World!
- Maths
- Pi Square Calculus
- Pi Calculus
- Poisson Clock
- Discrete Event Code Generation
- ModularCG
- ModularCGPubSub
- Scale C
- Scale Java
-
Thomas Huining Feng, Edward A. Lee, Xiaojun Liu, Christian Motika, Reinhard von Hanxleden, and Haiyang Zheng, "Finite State Machines," and
Thomas Huining Feng, Edward A. Lee, Xiaojun Liu, Stavros Tripakis, Haiyang Zheng, and Ye Zhou, "Modal Models,"
chapters from
Claudius Ptolemaeus, Editor, "System Design, Modeling, and Simulation Using Ptolemy II", Ptolemy.org, 2014. (included in the release as$PTII/doc/books/systems/PtolemyII_DigitalV1_02.pdf
) - Browse
-
You can browse Ptolemy II, view the contents of demonstrations using a standard browser (no Web Start required) and optionally run those demonstration using Web Start without downloading the distribution by accessing the web copy.
The web copy is merely a set of web pages that were created when we untar'd the distribution on the Ptolemy web site and then exported the models to the web and enabled the Web Start applications for the Ptolemy II demonstrations.
To browse Ptolemy II using a standard web browser, you can either go directly to the web copy, or go to the browse Ptolemy II page or more information.
- Mac OS X
- To download a Mac OS X Installer, see the Ptolemy II 10.0.1 Windows Installer page.
- Web Start
-
Web Start is a tool from Sun that
makes installation and updates particularly simple.
The Web Start installation works best with Windows, but has also been tried under Linux and Mac OS X.
The Web Start installation does not include source, but behaves almost exactly like a standalone installation: you can save models locally, and you need not be connected to the net after the initial installation.Note that the individual demonstrations that use Web Start are also accessible in the full Web Start installation. The individual Web Start demonstrations and the full Web Start installation differ in the following ways:
- The individual demonstration that use Web Start are smaller and are shown using a viewer that is not suitable for editing, though you may save the model to your local disk.
- The full Web Start installation is intended as an alternative to the Mac, source and Windows downloads. The Full Web Start installation includes the ability to create models. For details, see the Installation Summary
To download using Web Start, see the Ptolemy II 10.0.1 Web Start page.
- Windows Installer
- To download a Windows Installer, see the Ptolemy II 10.0.1 Windows Installer page.
- Source
- The source distribution requires either the
Eclipse,
the Cygwin tools (Windows only), or
other way of running commands like
make
.
After building Ptolemy II from source, startvergil
from the command line and follow the tour.
The source distribution has been compiled and run under Windows, Solaris and Linux.
If you intend to develop your own actors in Java, then you should download the source distribution.
To download source, see the Ptolemy II 10.0.1 Source Download page and then follow the installation instructions. - The most comprehensive documentation is the book,
Claudius Ptolemaeus, Editor, System Design, Modeling, and Simulation Using Ptolemy II, Ptolemy.org, 2014, available as a free PDF download and low-cost paperback. - "Building Graphical Models" chapter from the the book is a good starting point
- Detailed Ptolemy II Installation instructions.
- Limitations
Ontologies
The Ptolemy II Ontologies package extends the Ptolemy II type inference engine to provide an efficient and scalable framework for general static analysis of arbitrary properties on a Ptolemy model. The framework supports properties that are specified as concepts in an ontology graph that must be structured as a lattice. The usefulness of this framework is demonstrated with an example of a physical dimensions ontology. This ontology labels different signals as representing acceleration, velocity, position, and time. In a Ptolemy model of physical dynamics, the dimensional properties of input and output signals can be automatically inferred using the ontology analysis. Ptolemy model developers can use the ontologies package to define their own ontologies for structural and semantic property analysis. This can prevent interface connection problems during model construction by identifying when incompatible signals are erroneously connected. This work draws on concepts from compiler optimization static analysis techniques and applies them to Ptolemy actor-oriented models.References
Ontologies Demonstrations
Export to Web
Ptolemy II includes a flexible mechanism for creating web pages from models and for building web services. The more basic mechanism is the export to web , which simply makes a model available as a web page for browsing using a web browser. Such a web page provides easy access and documentation for models that archives both the structure of the models and the results of executing the models. It can be used to share information about models or their execution without requiring installation of any software, since an ordinary web browser is sufficient. More interestingly, the mechanism is extensible and customizable, allowing for creation of fairly sophisticated web pages. You can associate hyperlinks or actions defined in JavaScript with icons in a model. The customization can be done for individual icons in a model or for sets of icons in a model.
References
CG Code Generator
Ptolemy II 10.0 includes the "cg" code generator at $PTII/ptolemy/cg
.
We took the lessons learned from $PTII/ptolemy/codegen
and applied them to cg. In particular, cg more easily supports multiple backends with less code duplication. The cg code generator is under active development, we are working on code generation for large systems. For details about cg, see $PTII/ptolemy/cg/README.html
.
Developers: Christopher Brooks, Dai Bui, Bert Rodiers, Stavros Tripakis
Resources
Code Generation (CG) Demonstrations
FSM/Modal Model updates
References
The Ptolemy II 10.0.1 Release Notes include a list of new features and actors.
Quick Start Instructions
Ptolemy II is available in several formats:
Summary
The table below is a summary that compares and contrasts the various installers.
Download Format | Requirement | Platform | Size | Create your own models? | Require net connection at runtime? | Custom Actor creation? (download includes sources) | Code generator? |
---|---|---|---|---|---|---|---|
Browse |
Browsing the Ptolemy II tree should work with any reasonably modern web browser.
Optionally browsing the demonstrations requires JavaScript. Optionally running the demonstrations requires Web Start. The web page should detect if Web Start is present and prompt the user to install Web Start if necessary. Java 1.6 or later is required to run the Web Start demonstrations. |
Windows, Linux, MacOS X | Initially ~5 Mb | No | Yes | No | No |
Web Start | Java Web Start | Windows, Linux, MacOS X | ~61Mb or ~110 Mb | Yes | Not required, but can get updates if connected | No | No |
Windows Installer | Windows only. 1.8 Java Runtime Environment with support packages like Java 3D | Windows only | 488 Mb | Yes | No | Yes | No |
Mac OS X Installer | Mac OS X, Might work for Linux? 1.8 Java Runtime Environment with support packages like Java 3D | Mac OS X, maybe Linux | 454 Mb | Yes | No | Yes | No |
Source Download | JDK 1.6.0 or later, Devel. tools like make | Windows, Linux, Mac OS X, Solaris | 120 Mb - 135 Mb | Yes | No | Yes | Yes |
Places to go
Documentation