# Performance Evaluation of Discrete Event Systems with GPenSIM

^{1}

Faculty of Science and Technology, University of Stavanger, 4036 Stavanger, Norway

^{2}

Faculty of Mechanical Engineering, Silesian University of Technology, 44-100 Gliwice, Poland

^{*}

Author to whom correspondence should be addressed.

Received: 13 December 2017 / Revised: 4 January 2018 / Accepted: 8 January 2018 / Published: 10 January 2018

Petri nets are a useful tool for the modeling and performance evaluation of discrete event systems. Literature reveals that the Petri Net models of real-world discrete event systems are most frequently event graphs (a subclass of Petri nets). Literature also reveals that there are some simple methods for the performance evaluation of event graphs. The general-purpose Petri Net simulator (GPenSIM) is a new simulator that runs on the MATLAB platform. GPenSIM provides a Petri net language, with which Petri net classes and extensions can be developed. GPenSIM also provides functions for performance analysis. Since real-world discrete event systems usually possess a large number of resources, the Petri net models of these systems tend to become huge. Activity-Oriented Petri Nets (AOPN) is an approach that reduces the size of the Petri nets. In addition to the simulator functions, GPenSIM also realizes the AOPN approach on the MATLAB platform. Thus, AOPN is an integral part of GPenSIM. As a running example, a flexible manufacturing system is firstly modeled as an event graph, and then the size of the model is reduced with the AOPN approach. The advantages of GPenSIM and AOPN are discussed in this paper.