Petri Nets - 03 Flashcards
What is the motivation behind the use of Petri Nets?
In concurrent systems, several processes are executed simultaneously. In concurrent systems, finite state automata become impractical for modeling due to “state explosion”. Petri Nets are a good modeling formalism for concurrent systems. It is often required that
concurrent processes are waiting for each other (synchronization).
What are the three types of Petri Nets discussed in class and their basic description?
Place/Transition Petri net (arbitrary number of tokens per place).
Condition/Event Petri net (at most one token per place).
Signal-interpreted Petri net (condition/event Petri net with inputs and outputs).
What is nondeterministic firing in Place/Transition Petri nets?
If there are two post-transitions of a place, which transition fires is not determined. This
problem is later excluded for signal-interpreted Petri nets.
What is an advantage of Place/Transition Petri nets?
They allow for resource allocation since the possibility of having several tokens for each place is
advantageous to model limited resources.
Explain how the activation rule is more restrictive for condition/event Petri nets.
The condition/event Petri net differs from the place/transition
Petri net in that each place can only have at most one token. From this, it follows that the activation rule has to be more restrictive. Activation in Condition/Event Petri nets: A
transition Ti is activated in time step k, if all pre-places are marked and after firing, there is no more than one token in
all post-places.
Explain the new nondeterministic firing situation that can occur for condition/event Petri nets.
We can two transitions T1 and T2 than connect P1 and P3 and P2 and P3, respectively, and if P1 and P2 are marked, then since there can only be one marker in P3, it is not determined which transition will be able to fire.
What is a synchronization graph?
- A synchronization graph is a special case of a Petri net.
- Each place can, at most, have one pre- and one post-transition.
- Synchronization graphs always fire deterministically.
What is the rule of the maximum step for SIPN?
If firing conditions of several transitions are fulfilled, they all fire in one step.
What is the rule of iterative firing for SIPN?
Transitions continue to fire for the actual input according to the rule of the maximum step until
no transition can fire anymore.
What is the reachable set in Petri nets? Which types have bigger reachable sets?
The reachable set E(m0) contains all markings m_i, which are reachable starting from the initial marking m_0 for all
possible inputs, including m_0. The place/transition and condition/event Petri net can reach more markings than the signal-interpreted Petri net for the
same net topology since the rule of the maximum step and iterative firing does not exist: E_SIPN(m0) ⊆ E_PN(m0).
What is the reachability graph of Petri nets?
The reachability graph is a directed graph whose vertices are reachable markings and edges are possible transitions to
other markings.
* The reachability graph of the place/transition or condition/event Petri net differs from the one of a signal-interpreted
Petri net with the same topology since the rule of the maximum step and iterative firing does not exist.
* For the same number of vertices, the reachability graph of the signal-interpreted Petri net can have more edges due
to the rule of iterative firing.
What is liveness in Petri Nets?
A Petri net is live if each transition can fire infinitely often, given that appropriate inputs are provided.
What is deadlock in Petri Nets?
For a specific marking, there exists no transition that can fire.
What is partial deadlock in Petri Nets?
Only a subset of transitions can fire in a partial deadlock.
When is a Petri net live?
Sub-graphs of the reachability graph are reachable (1), which contain all transitions (2) and are strongly connected
(3)