Download presentation
Presentation is loading. Please wait.
1
Application of Coloured Petri Net for Agent Control and Communication in the ABAsim Architecture Antonín Kavička University of Pardubice, Czech Republic Michal Žarnay University of Žilina, Slovak Republic
2
CPN'08 Workshop2 Outline Background and motivation Definition of ABA-CPN (Agent-based architecture – Coloured Petri net) Application example Conventions in ABA-CPN Analysis of ABA-CPN Conclusion
3
CPN'08 Workshop3 Background Simulation of large and complex logistic nodes using ABAsim architecture (agent-based architecture of simulation models)
4
CPN'08 Workshop4 ABAsim – Agent’s Decomposition
5
CPN'08 Workshop5 ABAsim – Hierarchy of Agents
6
CPN'08 Workshop6 ABA-graph Definition of agent’s control and communication Subclass of Place/Transition Petri net
7
CPN'08 Workshop7 Motivation Upgrade to a subclass of coloured Petri nets in order to: –use a more flexible approach in describing the agent’s components –use existing tools for an analysis
8
CPN'08 Workshop8 Outline Background and motivation Definition of ABA-CPN Application example Conventions in ABA-CPN Analysis of ABA-CPN Conclusion
9
CPN'08 Workshop9 What is ABA-CPN Describes reactive logic of an agent component (edited within the CPN Tools environment) Token colours correspond to messages Denoted transitions correspond to agent’s instant assistants Management of token instances is based on prefix conventions of identifiers used in arc expressions Evolution is realized by means of a system interpreter within the ABAsim run-time kernel
10
CPN'08 Workshop10 Definition of ABA-CPN Based on definition of CPN Net structure: P = {p in } {p out } P S T = T D T A T S T B Additional rules
11
Input place p in Output place p out Internal places P S
12
Decision transitions T D Assistant transitions T D representing actions in simulation Standard transitions T D Sending transitions T D
13
Decision arcs Elementary variable arcs (all the remaining) Constant arcs
14
CPN'08 Workshop14 Tokens Reflect message forms used for communication that may be filled differently throughout the net evolution
15
CPN'08 Workshop15 Initial Markings (|M 0 (p)| = 1, p = p in ) (|M 0 (p)| = 0, p ≠ p in ) M 0 = { j M 0 | j =1,2, …, |C(p in )|}, for i ≠ j, i M 0 (p) ≠ j M 0 (p) Admissible initial marking: input message before processing and no other messages being processed Set of admissible initial markings: all relevant input messages
16
Another option: 1`IM_B
17
CPN'08 Workshop17 Outline Background and motivation Definition of ABA-CPN Application example Conventions in ABA-CPN Analysis of ABA-CPN Conclusion
18
Example Introduction
19
Example of ABA-CPN
20
CPN'08 Workshop20 Outline Background and motivation Definition of ABA-CPN Application example Conventions in ABA-CPN Analysis of ABA-CPN Conclusion
21
CPN'08 Workshop21 Conventions in ABA-CPN Management of token instances –First character (prefix) –Second character for decision transitions Denoting of places Third character Constant identifiers
22
CPN'08 Workshop22 Prefix Convention
23
CPN'08 Workshop23 “Decision Transitions” Convention
24
CPN'08 Workshop24 Outline Background and motivation Definition of ABA-CPN Application example Conventions in ABA-CPN Analysis of ABA-CPN Conclusion
25
CPN'08 Workshop25 Analysis of ABA-CPN To check correctness of the ABA-CPN, the liveness properties are used: –Dead markings –Transitions liveness
26
CPN'08 Workshop26 Dead Markings – 2 Types (|M(p out )| ≥ 1) (|M(p)| = 0, p ≠ p out ) |M(p)| = 0, p P sending a message from the current agent to another agent consumption of the message form and no need for further communication
27
CPN'08 Workshop27 Conditions from Transitions Liveness The only transition occurring in all sequences: input transition t T D No transition is dead in all occurrence sequences for all admissible initial markings
28
CPN'08 Workshop28 Conclusion Benefits of the ABA-CPN compared to the ABA-graph: –higher modelling capabilities of CPN: construction of conditional branching and differentiation of various instances of messages –existing tools for the CPN analysis
29
CPN'08 Workshop29 Use of the ABA-CPN Create an ABA-CPN model Analyze its liveness properties Import the model Check the model syntax Interpret the model during simulation runs CPN Tools ABA-CPN Interpreter
30
Thank you for your attention! Antonin.Kavicka@upce.cz Michal.Zarnay@fri.uniza.sk
31
CPN'08 Workshop31 Examples of ABA-CPN Construction Errors Net has >1 input or >1 output place Decision or assistant transition has >1 input place An assistant transition has >1 output place A sending transition has >1 input place Tokens left after an evolution in the net No expression on outgoing arcs from a decision transition is used.
32
CPN'08 Workshop32 Input place p in Output place p out Internal places P S
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.