MetadataShow full item record
- Master's theses (TN-IDE) 
The object of this report is to present a solution on how to implement color functionality in GPenSIM. Current version of GPenSIM is based on Place/Transition nets (PT-nets). When creating systems with PT-nets there are some issues when modeling large real life systems. First of all PT-nets have no data concepts. This results in extremely large nets, because the data manipulation has to be represented in the net as places and transitions. The other issue concerns the hierarchical nets. PT-nets has no support for such nets, and therefore it is impossible to divide a system into smaller sub parts. Interestingly, GPenSIM has support for creating Petri-net modules and connect them during net construction. This is however not as flexible as with hierarchical CP-nets. The goal when extending GPenSIM with color is to solve the first problem. By extending GPenSIM with color, large real life systems can easily be modeled with compact nets. GPenSIM is built in the MATLAB and consists of a large collection of functions. The latest version of MATLAB (2008a - 7.6.0) introduces a new and improved object-orientation support. This thesis investigates the difference in object-orientation in version 2008a and the versions prior to 2008a. The implementation of color in GPenSIM makes use of this new addition and new classes will be created containing the existing code from GPenSIM. There already exists many simulators that can create and simulate CPnets. CPN Tools is one example, it is a powerful and extensive simulation tool for CP-nets. The two main advantages over GPenSIM is that it fully supports the CPN definitions and that it has a graphical net editor and simulator. Simulations run on GPenSIM is coded manually and is run on the MATLAB platform. This provides GPenSIM with some great advantages that is not available to other simulators. Simulations in GPenSIM are able to utilize all the supplied tools in MATLAB such as Fuzzu Logic, statistics and other toolboxes.
Master's thesis in Information technology