Discrete Event Systems

A Discrete Event System (DES) is a discrete-state, event-driven system, that is, its state evolution depends entirely on the occurrence of asynchronous discrete events over time. [1]

A DES can be represented as a timed sequence of events

\[(e_1,t_1),(e_2,t_2),(e_3,t_3),\hspace{1em}...\hspace{1em}, (e_n,t_n)\]

Something $e_i$ happens at a time $t_i$, then another event happens later and so on. From the sequence of events we draw inferences about causality. Sequences and times may change and be associated with probabilities.

Following Cassandras [2] we describe DES as stochastic timed automata $(\mathcal{E},\mathcal{X},\Gamma,p,p_0,G)$ where

\[\begin{array}{rl} \mathcal{E} & \textrm{countable event set} \\ \mathcal{X} & \textrm{countable state space} \\ \Gamma(x) & \textrm{feasible event function}: x \in \mathcal{X}, \Gamma(x) \subseteq \mathcal{E} \\ p(x';x,e') & \textrm{state transition probability}: x,x' \in \mathcal{X}, e' \in \mathcal{E} \\ p_0(x) & \textrm{pmf}\ P[X_0=x]: x \in \mathcal{X}, X_o \textrm{initial state} \\ G_i & \textrm{stochastic clock structure}: i \in \mathcal{E} \end{array}\]
  • $\Gamma(x)$ means that not all events cause a system to change in a given situation or state,
  • $p(x';x,e'), p_0(x), G_i$ mean that changes, initial states and times or time intervals often are uncertain.

To model DES our approach must be able to express computationally all elements in the above definition. DiscreteEvents therefore allows to express 1) events and state transitions, 2) their timing and their 3) stochasticity.

In the following pages we introduce how to setup clocks, define actions, ... schedule events, build timed automata and much more.

  • 1Cassandras, Lafortune: Introduction to Discrete Event Systems, Springer, 2008, p 30
  • 2Ibid. p 334 f.