Professional Documents
Culture Documents
A Framework For Multi-Agent Discrete Event Simulation: V-Lab®
A Framework For Multi-Agent Discrete Event Simulation: V-Lab®
This work was supported by NASA AMES under grant NAG 2-1547
V-Lab
V-Lab Environment Layers
Hardware Networking
Networking foundation for inter-machine communication
Middleware
Software environment for inter-process communication
V-Lab
I-DEVS
MIDDLEWARE
PHYSICAL NETWORK
IDEVS
Library of tools for soft computing in DEVS formalism
V-Lab
Organizational structure for DEVS objects. Management objects to control time and message flow in multi-agent systems
simman
Atomic Model
Coupled Model
middleware
V-lab
Hierarchical Tree Uses the IDEVS structure for creating objects Provides inbuilt agents and physics to model multi-agent multiphysics system SimMan is the message router to perform indirect message passing.
SimEnv
Agents
Physics
Agents
Agents
SimMan
Physics
SimMan
Agent
Agent
SimMan
Message liaison providing indirection between all other models Controls flow of time and messages between models for the simulation
Parsing
A grammar defines rules for building syntactically correct programs. One way of defining grammar is through BNF (BackusNaur Form) BNF of our simulation configurations is translated JavaCC format and saved as file parseConfig.jj When parseConfig.jj is compiled by JavaCC, it generates a Java file parseConfig.java. Parsing can be done by instatiating an object of parseConfig.java
18 agents connected
manager
Message routing
R1 A1 R1 R1 R1 A2 A4 A3 A5
SimMan
Legend: A1,A2,A3,A4,A5: Agents R1: Request Message R1: A2 , A4, : Database for request/response R1:A2, A4, A5 R2:A1,A3
Re A1 Re Re Re Re Re
A2 A4 A3 A5
SimMan
Legend: A1,A2,A3,A4,A5: Agents Re: Response Message R1: A2 , A4, : Database for request/response R1:A2, A4, A5 R2:A1,A3
I-DEVS
I-DEVS Library
DEVSJAVA Library
Soft Computing
Simulation Results
Fuzzifier
Inference Engine
Defuzzilier
Crisp Values
Membership Functions Fuzzy (IF THEN) Rules Fuzzy Variables Linguistic Variables
Devs-Fuzzy Logic
A typical Mamdani rule can be composed as follows
i IF x1 is A1i AND x2 is A2 THEN y i is B i , for i 1, 2,..., l
Connectives
Fuzzy Value
Y Output Block
(Fuzzy set)
Defuzzifier
Defuzzified output
(real number)
ZERO
NEG
POS
Output Block
AND
theta_dot
(NEG) Output
Rule #2 Rule #3
force
force
w
v
Fuzzy-Logic-Controller
Far
Neg
Zero
Pos
Fast Neg
Simulation time
Simulation time
Cooperative Robotics
Pushing task:
G
fl<0
rA
B
rB
wl
fl=0 fl>0
wr
fr<0
fr=0
wl
B
rB
wr
Pushing regions
out
in?object_lost out!goal_reached
in?everybody_ready
Simulation Results
Simulation Results
Experiment Results
Experiment Results