DISCRETE EVENT DYNAMIC SYSTEMS-THEORY AND APPLICATIONS