2 MODEL
Definition 1 A Petri net is a pair (G, M
0
), where
G = (R, V ) is a bipartite graph with a finite num-
ber of nodes (the set V ) which are partitioned into the
disjoint sets of places P and transitions T ; R consists
of pairs of the form (p
i
,q
i
) and (q
i
,p
i
) with p
i
∈ P and
q
i
∈ T . The initial marking M
0
is a vector of dimen-
sion | P | whose elements denote the number of initial
tokens in the respective places.
Definition 2 For a Petri Net with | P | places and
| T | transitions, the incidence matrix W = [W
ij
]
is an | P | × | T | matrix of integers and its typical
entry is given by W
ij
= W
+
ij
− W
−
ij
where W
+
ij
is the
weight of the arc from transition j to its output place
i and W
−
ij
is the weight of the arc to transition j from
its input place i.
In a Petri net, from a marking M , a firing sequence
implies a string of successive markings. The charac-
teristic vector s of a firing sequence S is a vector for
which each component is an integer corresponding to
the number of firings of the corresponding transition.
Then a marking M reached from M
0
by firing of a
sequence S can be deduced using the fundamental re-
lation:
M = M
0
+ W × s
where M
0
is the initial marking and W is the inci-
dence matrix.
Definition 3 A Petri net is called an Event Graph if
each place has exactly one upstream and one down-
stream transition.
P-time Petri nets allow the modeling of discrete
event dynamic systems with sojourn time constraints
of the tokens inside the places. Consistently with the
dioid
R
max
(see ((F. Baccelli, 1992))), we associate a
temporal interval defined in R
+
× (R
+
∪ {+∞}) for
each place.
Definition 4 A P-time Event Graph is a pair <
R, IS > where R is an Event Graph and the map-
ping IS: from P to R
+
× (R
+
∪ {+∞}) is defined
by p
i
→ [a
i
, b
i
] with 0 ≤ a
i
≤ b
i
.
The interval [a
i
, b
i
] is the static interval of dura-
tion time of a token in the place p
i
belonging to the
set of places P . The token must stay in the place p
i
during the minimum residence duration a
i
. Before
this duration, the token is in a state of unavailability
to fire the transition t
j
. The value b
i
is a maximum
residence duration after which the token must leave
the place p
i
(and can contribute to the enabling of the
downstream transitions). If not, the system falls into a
token-dead state. So, the token is available to fire the
transition t
j
in the time interval [a
i
, b
i
].
2.1 Preliminary Inequalities
For Event Graphs, let us express the firing interval for
each transition of the system guaranteing the absence
of token-dead states. The set
•
p is the set of input
transitions of p and p
•
is the set of output transitions
of p. The set
•
t
i
(respectively, t
•
i
) is the set of the
input (respectively, output) places of the transition t
i
.
The set of upstream (respectively, downstream) tran-
sitions of t
i
is denoted
←
t
i
=
•
(
•
t
i
) (respectively,
t
→
i
= ( t
•
i
)
•
). The following assumption alleviates
the notations. We suppose that for each pair of transi-
tions (i, j), there is at the most a unique place denoted
p
ij
between the upstream transition t
j
∈
•
p and the
downstream transition t
i
∈ p
•
. Each place p
ij
is as-
sociated with an interval [a
ij
, b
ij
], where a
ij
is the
lower bound and b
ij
the upper bound .
We consider the “dater” type well-known in the
(max, +) algebra: each variable x
i
(k) represents the
date of the k
th
firing of transition x
i
. If we assume
a FIFO functioning of the places which guarantees
that the tokens do not overtake one another, a correct
numbering of the events can be carried out. In this pa-
per, we do not take the assumption of earliest (respec-
tively, latest) functioning which will be the subject of
other studies.
Therefore, the evolution can be described by the
following inequalities expressing relations between
the firing dates of transitions. An Event Graph can be
considered as a set of subgraphs made up of a place
p
ij
linking the upstream transition j and the down-
stream transition i. We denote m
ij
the corresponding
initial marking or initial number of tokens.
For the lower bounds a
ij
of the upstream place of
transition i, we can write:
∀x
j
∈
←
x
i
, a
ij
+ x
j
(k − m
ij
) ≤ x
i
(k),
or equivalently,
x
j
(k − m
ij
) − x
i
(k) ≤ −a
ij
.
The weight 1 of x
j
(k − m
ij
) (respectively, −1
of x
i
(k)) is the weight of the entering arc of the place
p
ij
, from t
j
to place p
ij
(respectively, the outgoing arc
of the place p
ij
, from place p
ij
to transition t
i
) which
is equal to W
+
lj
(respectively, −W
−
lj
) if p
l
= p
ij
.
Respectively, for the upper bounds b
ij
of the up-
stream place of transition i, we have:
∀x
j
∈
←
x
i
, x
i
(k) ≤ b
ij
+ x
j
(k − m
ij
),
or equivalently,
x
i
(k) − x
j
(k − m
ij
) ≤ b
ij
.
The weight 1 of x
i
(k) (respectively, −1 of x
j
(k −
m
ij
)) is the weight of the entering arc of the place p
ij
,
from t
j
to place p
ij
(respectively, the outgoing arc of
the place p
ij
, from place p
ij
to transition t
i
) which is
equal to W
+
lj
(respectively, −W
−
li
) if p
l
= p
ij
.
ICINCO 2007 - International Conference on Informatics in Control, Automation and Robotics
490