next up previous
Next: Specifications Up: Net Condition Event Systems Previous: Introduction

The Plant Model

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):

   figure513
Figure 3: Illustrating Condition and Event Arcs

Thus, if the subsystems of the DES are modeled with the safe Petri Nets, tex2html_wrap_inline2739 , tex2html_wrap_inline2741 , ... tex2html_wrap_inline2743 , 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:

displaymath2715

where:
P is the set of places
T is the set of transitions (events)
tex2html_wrap_inline2751 is the incidence matrix
tex2html_wrap_inline2703 is the initial marking
tex2html_wrap_inline2755 is the input/output structure
tex2html_wrap_inline2757 is the condition signal matrix
tex2html_wrap_inline2759 is the event signal matrix.

The input/output structure is described as follows:

displaymath2716

where:
tex2html_wrap_inline2761 is an ordered set of condition input signals
tex2html_wrap_inline2763 is an ordered set of event input signals
tex2html_wrap_inline2765 is an ordered set of condition output signals
tex2html_wrap_inline2767 is an ordered set of event output signals
tex2html_wrap_inline2769 is the condition input matrix
tex2html_wrap_inline2771 is the event input matrix
tex2html_wrap_inline2773 is the condition output matrix
tex2html_wrap_inline2775 is the event output matrix

The initial marking of the new net is given by the composition of the initial markings of the modules: tex2html_wrap_inline2777 . 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:

  1. Marking enabled:
    A transition is enabled by marking tex2html_wrap_inline2779 if, as before, each of its input places is marked with one token.gif
  2. Condition enabled:
    A transition t is condition enabled when each of its input conditions (if any), which are places in other modules, are marked with one token. In addition, if there are any condition inputs from outside the model to the transition, these must also be true.
  3. Event enabled:
    Let tex2html_wrap_inline2783 denote the set of all transitions which are connected to t by an incoming event arc at t. Then, transition t is event enabled if tex2html_wrap_inline2783 is empty and there are no event inputs to t from outside the model, or if every transition in tex2html_wrap_inline2783 is marking, condition, and event-enabled and all event inputs to t from outside the model are also true.

Two kinds of transition firings are possible:


All forced transitions occur at the same time instant as the event signal which forces the transition. In the case of spontaneous transitions, the new marking reached is obtained as before (by removing a token from each input place and adding a token to each output place of the firing transition). In the case of forced transitions, the new marking is obtained by removing a token from each input place of each firing transition, and adding a token to each output place of each firing transition. We illustrate the firing rules of NCES with the two-pusher example in Section 6.4. A formal description of the firing rule can be found in [6].

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.


next up previous
Next: Specifications Up: Net Condition Event Systems Previous: Introduction

Luz E. Pinzon
Wed Oct 15 18:10:49 EDT 1997