A Graphical Petri Nets Simulator - Rochester Institute of Technology
A Graphical Petri Nets Simulator - Rochester Institute of Technology
A Graphical Petri Nets Simulator - Rochester Institute of Technology
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
output function O defines, for each transition tj, the set <strong>of</strong> output places for it.<br />
Formally, a <strong>Petri</strong> Net C is defined as the four-tuple C = (P,TJ,0).<br />
Fig. 2 is the structure <strong>of</strong>the <strong>Petri</strong> Net represented in Fig. 1<br />
C = (P,T,I,0)<br />
P = (Pl> P2, P3, P4, P5, P6, P7J<br />
T = {ti,t2,t3,t4, t5,t6}<br />
/(ti) = {P2} O(ti) = {pi}<br />
Z(t2) = {pi}<br />
/(t3) = {p3,P5}<br />
/(t4) = {p4}<br />
0(t2) = {p2,P3}<br />
0(t3) = {p3}<br />
O(U) = (P5l<br />
Z(t5) = {p3,P7} 0(t5) = {p6}<br />
/(t6) = {P6l<br />
0(t6) = {P7l<br />
Fig. 2<br />
The information content <strong>of</strong>both the graph and structure is identical[5].<br />
In addition to the static properties represented by the graph,<br />
a <strong>Petri</strong><br />
Net has dynamic properties that result from its execution. Tokens (black dots)<br />
are used to model the concurrent behavior <strong>of</strong> a system. <strong>Petri</strong> <strong>Nets</strong> with tokens<br />
are called Marked <strong>Nets</strong>. A token residing on a place means the corresponding<br />
condition is true. Otherwise, the corresponding condition is not true. A<br />
transition is enabled if all its input places has a token and all its outputs are<br />
empty. The enabled transition could be fired by removing the enabling token<br />
from its input places and depositing each <strong>of</strong>its output places with a new token.<br />
<strong>Petri</strong> <strong>Nets</strong> that are constructed such that no more than one token can ever be<br />
in any place at the same time are safe nets. The definition could be extended to<br />
where <strong>Petri</strong> <strong>Nets</strong> can have no more than k tokens in any given place at the<br />
same time. A <strong>Petri</strong> Net in which the number <strong>of</strong> tokens in any place is bounded<br />
by k is called a k-bounded net. Of course, in this situation, a transition could<br />
be enabled without all its outputs being empty. If tokens are used to represent<br />
-5-