A Framework for Multi-agent A Framework for Multi-agent Discrete Event Simulation: V-Lab® Discrete Event Simulation: V-Lab® Prasanna Sridhar Shahab Sheikh-Bahaei 12/05/2003 Autonomous Control Engineering University of New Mexico This work was supported by NASA AMES under grant NAG 2-1547
26
Embed
Fuzzy Logic Controller - Home | School of Electrical …oren/SCS_MSNet/pr… · PPT file · Web view · 2003-12-09Title: Fuzzy Logic Controller Author: Shahab Last modified by:
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
A Framework for Multi-agent A Framework for Multi-agent Discrete Event Simulation: V-Lab®Discrete Event Simulation: V-Lab®
Prasanna SridharShahab Sheikh-Bahaei
12/05/2003Autonomous Control Engineering
University of New Mexico
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
– 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
PHYSICAL NETWORK
MIDDLEWARE
I-DEVS
V-Lab
Inside Layered Architecture
middleware
AtomicModel
CoupledModel
simman
V-lab® • Uses the IDEVS
structure for creating objects
• Provides inbuilt agents and physics to model multi-agent multi-physics system
• SimMan is the message router to perform indirect message passing.
• Hierarchical TreeSimEnv
Agents
Agents
Physics
Agents
SimMan Physics
SimMan and SimEnv• SimEnv
– Highest leveled coupled model– Instatiates all other models– Houses all other models– Couples all other models
together• SimMan
– Message liaison providing indirection between all other models
– Controls flow of time and messages between models for the simulation
SimEnv
SimMan
Agent
Agent
Agent
Agent
Parsing
• A grammar defines rules for building syntactically correct programs.
• One way of defining grammar is through BNF (Backus-Naur 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
1."IF distancei is Close And anglei is Pos Then V Is VSlow W is Neg "2."IF distancei is Close And anglei is Zero Then V Is Zero " 3."IF distancei is Close And anglei is Neg Then V Is VSlow W Is Pos "4."IF distancei is Near And anglei is Pos Then V Is Slow W Is SNeg"5."IF distancei is Near And anglei is Zero Then V Is VSlow W Is SNeg"6."IF distancei is Near And anglei is Neg Then V Is Slow W Is Spos"7."IF distancei is Far And anglei is Pos Then V Is Fast W Is Zero"8."IF distancei is Far And anglei is Zero Then V Is Fast W Is Zero"9."IF distancei is Far And anglei is Neg Then V Is Fast W Is Zero"
Fuzzy rules for the ith sensor:
Simulation timeSimulation time
Act
iviti
es
Discrete Event FuzzyConventional Fuzzy
Conventional Fuzzy vs. DEVS-FuzzyConventional Fuzzy vs. DEVS-Fuzzy