petri nets:

14
Tools, Formats, & Solutions

Upload: mariah

Post on 13-Jan-2016

119 views

Category:

Documents


0 download

DESCRIPTION

Petri Nets:. Tools, Formats, & Solutions. Petri Nets. Survey of literature found 3 interesting ways Petri Nets are used BioPNML – Petri Nets for Bio GJobDL – Petri Nets for Grid Computing PNML – Petri Net abstraction for everyone!. BioPNML. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Petri Nets:

Tools, Formats, & Solutions

Page 2: Petri Nets:

Survey of literature found 3 interesting ways Petri Nets are usedBioPNML – Petri Nets for BioGJobDL – Petri Nets for Grid ComputingPNML – Petri Net abstraction for everyone!

Page 3: Petri Nets:

Tries to create a standard interchange format for bioinformatics

Abstracts biological processes as Petri Nets

Built to resemble PNML, with the same Place, Transition, Arc definitions

Adds Bionet section that defines biochemical processes modeled by the network

Page 4: Petri Nets:

Applies the PetriNet model to Grid Computing

Grid resources are mapped to Places, and transitions represent control transfer between resources.

E.g. a process that may run only after two separate processes finish could be modeled with the Petri Net below:

Page 5: Petri Nets:

The Petri Net Markup Language project (pnml.org) aims to standardize a Petri Net format.

The previous works reference PNML, but both independently decide to create a new format.While the projects probably could have

integrated with PNML, they likely saw a lack of benefit since no “general” PNML editor could handle their complex extensions to the PN model.

Page 6: Petri Nets:

Specification at http://www.pnml.org/papers/cd_1.1.4.pdf

Allows definition of both graphical and logical petri net structures.

High-level element <net> contains multiple <place>, <transition>, and <arc> elements

<place> and <transition> have an id attribute, referenced in <arc source=“id” target=“id”>

Page 7: Petri Nets:

Pages allow separation of logical net sections

RefPlace is used to reference a Place defined in a different Page

Page notation just a graphical convenience (pages can easily be merged into one Petri Net), but can be very powerful in designing useful abstractions

Page 8: Petri Nets:

PNML can be extended in arbitrary ways.New child tags, attributes, etc.

Unfortunately, a general PNML tool (such as TINA in next slide) will not be able to handle arbitrary extensions in the most useful ways.A particularly robust tool may allow editing

the String values of attributes or tags, but still cannot understand their underlying logic

Page 9: Petri Nets:

Many components for PN analysis, but specifically, it includes:nd (NetDraw): An editor for graphically or

textually described Petri nets, Time Petri net and Automata.

Create Place/Transition netsExports to PNML format!

Page 10: Petri Nets:

Launch demo

Page 11: Petri Nets:

Adds custom behaviors to PNML files Requires purpose-built Petri Net

simulator, acting on the PNML structures and integrated into our SIS SystemCan completely discard visual data, as this

is only useful for design

Page 12: Petri Nets:

Program extending the simulator can invoke actions such as PutToken(PlaceNode) directly through a Java API

By building the simulator as an SIS component, other comp.s can signal the PNML Simulator as well

Custom message types can be defined for Petri NetsE.g. PutTokenMsg, TransitionFiredMsg

Page 13: Petri Nets:
Page 14: Petri Nets:

Using multiple tools to design Petri Nets probably too cumbersome

Merging of design and logic editors would make design more accessible.

Ability to use advanced features of PNM language such as sub-nets, multiple pages, and other Petri Net types.