Monitored dining philosophers example

Monitored dining philosophers example

This is an example that shows how to use user-defined monitors to establish communication between CPN Tools and an applet via external communication with Comms/CPN. The net is a variation of the net for the Dining Philosophers. In the following it is assumed that you are familiar with the net for the Dining Philosophers. In this net the philosophers pick up one chopstick at a […]

Read Me Leave comment

Queue system example

Queue system example

This is a small toy example of a queue system. This example illustrates how data collector monitors can be used for performance analysis of a system. The CPN for the system also includes breakpoint monitors, a write-in-file monitor and a user-defined monitor. In this system, two kinds of jobs are processed by a server. New jobs arrive periodically in the system. If the server is […]

Read Me Leave comment

Queue system configuration example

Queue system configuration example

This is a small toy example that shows how different model configurations can be easily defined and simulated when model parameters are defined as reference variables. The model is a variation of the Queue system example. You should be familiar with the Queue system example before reading about this example. This example will show how a function can be used to define and simulate a […]

Read Me Leave comment