Petri Net assignment

General Information

The assignment: Petri Net modelling, simulation and analysis of a simple traffic system (using AToM3)

  1. [6%] Modelling a simplified traffic intersection + analysis: The system depicted below is a four-direction (North, East, South and West) traffic intersection. Each direction has two lanes, i.e. an entrance and an exit.
    There are some constraints about the system as follows:
    1. At most one car is allowed to be present at the center of the intersection at any moment;
    2. No U-turns are allowed, e.g. a car entering from North is not allowed to exit to the North;
    3. The number of cars to enter the intersection from any direction can be infinite;
    4. After a car enters the intersection, the direction in which it exits is determined randomly.

    (1) [4%] Using AToM3, build and document a Petri Net model of the behaviour of this system. Documentation must describe how the different constraints given above were addressed. Include an image of the model in your solution.

    (2) [2%] Build the coverability graph for this Petri Net and draw some conclusions, including what is conserved in the system.

  2. [4%] Modelling a simplified traffic roundabout (traffic circle) + analysis: The roundabout depicted below is very similar to the intersection. It has four directions (North, East, Southa and West) and each one has two lanes: an entrance and an exit. However, there are four arcs at the center of the roundabout.
    There are some constraints about the system as follows:
    1. At most one car is allowed to be present in each arc of the roundabout at any moment;
    2. U-turns or circling are allowed, e.g. a car entering from the North may exit to the North;
    3. The number of cars to enter the roundabout from any direction can be infinite;
    4. After a car enters the roundabout, the direction in which it exits is determined randomly.

    (1) [3%] Using AToM3, build and document a Petri Net model of the behaviour of this system. Documentation must describe how you've addressed the different constraints given above. Include an image of this model in your solution.

    (2) [1%] Build the coverability tree for this Petri Net and draw some conclusions, e.g. what is conserved in the system.

Constructing Petri Net models in AToM3

Download atom3.tar.gz archive. Note how this is a new archive (not the same as the one for the first assignment) by which you can do conservation analysis automatically on the generated coverability graph.