In order to create the plant model P using NCES, we start by modeling the subsystems of the DES with safe Petri Nets. The composition of these subsystems requires the description of the input/output structure, which we only give here in graphical terms. This input/output structure is formally described, using matrices, in [6], [25]. Two new arcs are defined to interconnect the modules (see Figure 3):
Figure 3: Illustrating Condition and Event Arcs
Thus, if the subsystems of the DES are modeled with the safe Petri
Nets,
,
,
...
, then the model obtained by
interconnecting the modules with the above condition/event arcs gives
the NCES plant model, P. Formally, what we obtain is the following
structure:
where:
P is the set of places
T is the set of transitions (events)
is the incidence matrix
is the initial marking
is the input/output structure
is the condition signal matrix
is the event signal matrix.
The input/output structure is described as follows:
where:
is an ordered set of condition input
signals
is an ordered set of event input
signals
is an ordered set of condition output
signals
is an ordered set of event output
signals
is the condition input matrix
is the event input matrix
is the condition output matrix
is the event output matrix
The initial marking of the new net is given by the
composition of the initial markings of the modules:
. Notice, however,
that the new structure is not a Petri Net, and so the firing rule needs to
be modified. We start by defining three types of enabled transitions:
Two kinds of transition firings are possible:
In the same way that Ramadge and Wonham adjoin a means of control to their plant model by identifying the controllable and uncontrollable events, Hanisch and Rausch also distinguish the controllable transitions from the uncontrollable ones. A transition is controllable if it has at least one incoming signal from outside the model. This signal can be a condition signal as well as an event signal. Controllable transitions with incoming condition signals can be disabled or enabled, whereas controllable transitions with an incoming event signal can be forced to fire by means of control. Observability of the system is also important for control purposes. A place is observable if it has a condition output signal, and a transition is observable if it has an event output signal. See Section 6.4 for the plant model of the Two-Pusher Example using NCES.