Multi-Agent Systems. Bernhard Nebel, Felix Lindner, and Thorsten Engesser. Summer Term Albert-Ludwigs-Universität Freiburg

Similar documents
Multi-Agent Systems. Bernhard Nebel, Felix Lindner, and Thorsten Engesser. Summer Term Albert-Ludwigs-Universität Freiburg

arxiv:cond-mat/ v2 [cond-mat.stat-mech] 22 Jan 1998

Phase transitions of traffic flow. Abstract

Modeling Traffic Flow for Two and Three Lanes through Cellular Automata

Traffic Modelling for Moving-Block Train Control System

Spontaneous Jam Formation

CELLULAR AUTOMATA SIMULATION OF TRAFFIC LIGHT STRATEGIES IN OPTIMIZING THE TRAFFIC FLOW

Car-Following Parameters by Means of Cellular Automata in the Case of Evacuation

An improved CA model with anticipation for one-lane traffic flow

v n,t n

Simulation study of traffic accidents in bidirectional traffic models

THE EXACTLY SOLVABLE SIMPLEST MODEL FOR QUEUE DYNAMICS

Spontaneous-braking and lane-changing effect on traffic congestion using cellular automata model applied to the two-lane traffic

Available online at ScienceDirect. Transportation Research Procedia 2 (2014 )

Transient situations in traffic flow: Modelling the Mexico City Cuernavaca Highway

Proceedings of the 2015 Winter Simulation Conference L. Yilmaz, W. K. V. Chan, I. Moon, T. M. K. Roeder, C. Macal, and M. D. Rossetti, eds.

Optimizing traffic flow on highway with three consecutive on-ramps

Enhancing highway capacity by lane expansion and traffic light regulation

Traffic Flow Simulation using Cellular automata under Non-equilibrium Environment

A Continuous Model for Two-Lane Traffic Flow

Analysis of Phase Transition in Traffic Flow based on a New Model of Driving Decision

Jamitons: phantom traffic jams

arxiv:cond-mat/ v3 [cond-mat.stat-mech] 18 Aug 2003

A Stochastic Traffic Cellular Automata with Controlled Randomness

Fractal Analysis Of Empirical And Simulated Traffic Time Series. Thomas Zaksek, Michael Schreckenberg

Traffic Flow Theory & Simulation

Foundations of Artificial Intelligence

LOCAL NAVIGATION. Dynamic adaptation of global plan to local conditions A.K.A. local collision avoidance and pedestrian models

Probabilistic Reasoning

A Continuous Topography Approach for Agent Based Traffic Simulation, Lane Changing Model*

Cellular Automata. Jason Frank Mathematical Institute

Monetizing Evaluation Model for Highway Transportation Rules Based on CA

An Interruption in the Highway: New Approach to Modeling Car Traffic

Cellular-automaton model with velocity adaptation in the framework of Kerner s three-phase traffic theory

A Probability-Based Model of Traffic Flow

1.0 The distance taken for a car to stop after an emergency depends on two things:

Emergence of traffic jams in high-density environments

A family of multi-value cellular automaton model for traffic flow

Motivation. Evolution has rediscovered several times multicellularity as a way to build complex living systems

Answers to Problem Set Number 02 for MIT (Spring 2008)

An Interruption in the Highway: New Approach to Modeling the Car-Traffic

VEHICULAR TRAFFIC FLOW MODELS

Critical Density of Experimental Traffic Jam

Proceedings of the 2012 Winter Simulation Conference C. Laroque, J. Himmelspach, R. Pasupathy, O. Rose, and A. M. Uhrmacher, eds.

A MODIFIED CELLULAR AUTOMATON MODEL FOR RING ROAD TRAFFIC WITH VELOCITY GUIDANCE

Resonance, criticality, and emergence in city traffic investigated in cellular automaton models

chapter 17 Sound Intensity of sound (Section 17.2) 1. Number of speakers 2. Point source

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

STA111 - Lecture 1 Welcome to STA111! 1 What is the difference between Probability and Statistics?

CS 365 Introduction to Scientific Modeling Fall Semester, 2011 Review

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 28 Nov 2001

Complex Behaviors of a Simple Traffic Model

Hysteresis in traffic flow revisited: an improved measurement method

A Probabilistic Relational Model for Characterizing Situations in Dynamic Multi-Agent Systems

Cellular automata as emergent systems and models of physical behavior

Macroscopic Simulation of Open Systems and Micro-Macro Link

The driver then accelerates the car to 23 m/s in 4 seconds. Use the equation in the box to calculate the acceleration of the car.

The Physics of Traffic Jams: Emergent Properties of Vehicular Congestion

Advanced information feedback strategy in intelligent two-route traffic flow systems

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence

Traffic Flow Theory & Simulation

Statistical Model Checking Applied on Perception and Decision-making Systems for Autonomous Driving

arxiv: v1 [physics.soc-ph] 3 Dec 2009

Christopher Watkins and Peter Dayan. Noga Zaslavsky. The Hebrew University of Jerusalem Advanced Seminar in Deep Learning (67679) November 1, 2015

Shock wave analysis. Chapter 8. List of symbols. 8.1 Kinematic waves

UNIVERSITY OF NOTTINGHAM. Discussion Papers in Economics CONSISTENT FIRM CHOICE AND THE THEORY OF SUPPLY

Position, Velocity, and Acceleration. Mr. Miehl

Coupled Map Traffic Flow Simulator Based on Optimal Velocity Functions

Modeling and simulation of highway traffic using a cellular automaton approach

Research on Heat Conduction Inverse Problem of Continuous Long Downhill Truck Brake

Cellular Automata Models of Pedestrian Dynamics

Lecture 12: Arguments for the absolutist and relationist views of space

Exact results for deterministic cellular automata traffic models

Chapter 5 Traffic Flow Characteristics

REVIEW SET MIDTERM 1

c) What are cumulative curves, and how are they constructed? (1 pt) A count of the number of vehicles over time at one location (1).

Foundations of Artificial Intelligence

Physica A. Traffic flow characteristics in a mixed traffic system consisting of ACC vehicles and manual vehicles: A hybrid modelling approach

Modelling with cellular automata

Biology Unit Overview and Pacing Guide

Incident-Related Travel Time Estimation Using a Cellular Automata Model

Search and Lookahead. Bernhard Nebel, Julien Hué, and Stefan Wölfl. June 4/6, 2012

A first car following model

SETUP: creates the world based on the settings for each variable GO: starts and ends the simulation

Introduction. Pedestrian dynamics more complex than vehicular traffic: motion is 2-dimensional counterflow interactions longer-ranged

Announcements. J. Parman (UC-Davis) Analysis of Economic Data, Winter 2011 February 8, / 45

BELL RINGER: Define Displacement. Define Velocity. Define Speed. Define Acceleration. Give an example of constant acceleration.

EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories. Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo

OPPA European Social Fund Prague & EU: We invest in your future.

SPH3U: Introducing The BIG Five Equations of Constant Acceleration

2.1 Traffic Stream Characteristics. Time Space Diagram and Measurement Procedures Variables of Interest

Vehicular Traffic: A Forefront Socio-Quantitative Complex System

8.01x Classical Mechanics, Fall 2016 Massachusetts Institute of Technology. Problem Set 1

Created by T. Madas CALCULUS KINEMATICS. Created by T. Madas

Machine Learning: Exercise Sheet 2

arxiv:cond-mat/ v1 10 Oct 1993

a cell is represented by a triple of non-negative integers). The next state of a cell is determined by the present states of the right part of the lef

Operational Semantics

An introduction to Mathematical Theory of Control

Transcription:

Multi-Agent Systems Albert-Ludwigs-Universität Freiburg Bernhard Nebel, Felix Lindner, and Thorsten Engesser Summer Term 2017

Course outline 1 Introduction 2 Agent-Based Simulation 3 Agent Architectures 4 Beliefs, Desires, Intentions 5 Norms and Duties 6 Communication and Argumentation 7 Coordination and Decision Making Nebel, Lindner, Engesser MAS 2 / 20

Agent-Based Modeling Definition (Wilensky & Rand, 2015) Agent-based modeling is a form of computational modeling whereby a phenomenon is modeled in terms of agents and their interactions. Agents are entities that have state variables and values (e.g., position, velocity, age, wealth) Gas molecule agent: mass, speed, heading Sheep agent: speed, weight, fleece Agents also have rules of behavior Gas molecule: Rule to collide with another molecule Sheep: Rule to eat grass Universal clock: At each tick, all agents invoke their rules. Nebel, Lindner, Engesser MAS 3 / 20

Wolves and Moose The populations of wolves and moose of Isle Royale have been observed for more than 50 years. Result: Dynamic variation rather than balance of nature. More wolves... leads to less moose... leads to less wolves... leads to more moose. Nebel, Lindner, Engesser MAS 4 / 20

Wolves and Moose: Classical Model Lotka-Volterra model for wolf (w) and moose (m) populations: δ m δ t = k 1 m k 2 wm, δ w δ t = k 3 w + k 4 k 2 wm Nebel, Lindner, Engesser MAS 5 / 20

Wolves and Moose: Agent-Based Model Spawn m moose and w wolves and invoke each agent s behavior in each loop: ask moose [move death reproduce-sheep] ask wolves [move set energy energy - 1 catch-sheep death reproduce-wolves] Nebel, Lindner, Engesser MAS 6 / 20

Discussion: Pros and Cons Differential Equations Agent-Based Model Nebel, Lindner, Engesser MAS 7 / 20

Discussion: Pros and Cons Differential Equations Pro: Mathematically well understood, analytical inference by using calculus, many tools available (e.g., Matlab) Con: Hard to explain, models phenomenon rather than behavior, harder to extend Agent-Based Model Pro: Easy to understand and to explain to stakeholders, models individual beahvior and observes emergent phenomenon, easy to extend Con: Tool support improves slowly, no analytical tools comparable to calculus Nebel, Lindner, Engesser MAS 7 / 20

Modeling Traffic Observation: Traffic on the motorway produces certain patterns. Question: Can similar patterns be algorithmically reproduced? Agent-Based Simulation approach: Modeling traffic on the motorway as a multi-agent system Cars (drivers) as agents Percepts: Distance to next car in front Internal State: Current Speed Actions: Speeding, braking Nebel, Lindner, Engesser MAS 8 / 20

Nagel-Schreckenberg Model: Motivation Research Question: How do traffic jams emerge? Research Hypothesis: Might be due to the local behaviour of individual agents. Approach: Model traffic as a MAS and study the resulting system s behavior. If the systems behavior matches empirical phenomenon, then the model might be an acceptable explanation. Nebel, Lindner, Engesser MAS 9 / 20

Cellular Automaton A cellular automaton is a quad-tuple A =< R,Q,N,δ > A cell space R A set Q of states each cell can be in A neighborhood N : R 2 R A transition function δ : Q N Q For a probabilistic cellular automaton, δ is a probability distribution P(r = q N(r)) The configuration of A can be written as x 1 x 2...x n with x i being the state of the cell r i. Nebel, Lindner, Engesser MAS 10 / 20

Nagel-Schreckenberg Model: Representation Traffic is modeled as A =< R,Q,N,δ > Entities of R = {c 1,c 2,...} stand for parts of the lane Each cell corresponds to a discrete part of the lane (roughly the space needed by a car) Q = {0,...,v max,free}: Each cell is either occupied by one car with velocity v v max, or it is empty. N(c i ) = {c i vmax,...,c i+1 } δ is realized by a set of four rules executed by each driver Nebel, Lindner, Engesser MAS 11 / 20

Nagel-Schreckenberg Model: Rules Each car at cell c i with velocity v performs four consecutive steps: Acceleration: If v < v max and gap to next car is larger than v + 1, then increment speed by 1. Slowing down: If the next car is at cell i + j with j v, then reduce speed to j 1. Randomization: If v > 0, then decrement v by 1 with probability p. Car does not accelerate although it could (takes back Acceleration) Car reached maximal velocity but slows down again Overreaction when braking Car motion: Move forward v cells. Nebel, Lindner, Engesser MAS 12 / 20

Nagel-Schreckenberg: Example 2 2 2 Nebel, Lindner, Engesser MAS 13 / 20

Nagel-Schreckenberg: Example 2 2 2 2 2 2 _ 2 2 _ 1 Nebel, Lindner, Engesser MAS 14 / 20

Nagel-Schreckenberg: Example 2 2 2 2 2 2 _ 2 2 _ 1 _ 2 0 _ 2 Nebel, Lindner, Engesser MAS 15 / 20

Nagel-Schreckenberg: Example 2 2 2 2 2 2 _ 2 2 _ 1 _ 2 0 _ 2 _ 2 _ 0 _ 1 _ Nebel, Lindner, Engesser MAS 16 / 20

Nagel-Schreckenberg: Density and Flow Assume constant system density: ρ = Ag R For a fixed cell c i, time-averaged density over time interval T: ρ T = 1 t 0 +T n i (t) T t=t 0 +1... with n i (t) = 1 if i is occupied, else n i (t) = 0 Time-averaged flow q between i and i + 1: q T = 1 T t 0 +T n i,i+1 (t) t=t 0 +1... with n i,i+1 (t) = 1 if some car moved between i and i + 1 at t, else n i,i+1 (t) = 0 Nebel, Lindner, Engesser MAS 17 / 20

Nagel-Schreckenberg: Fundamental Diagram Fig. : Source: [2] Nebel, Lindner, Engesser MAS 18 / 20

Outlook Exercises: You will implement the Nagel-Schreckenberg Simulation by yourself and thereby become familiar with our multi-agent simulation framework. Next Week: On the diversity of agent architectures Nebel, Lindner, Engesser MAS 19 / 20

Literature I U. Wilensky, W. Rand, An Introduction to Agent-Based Modeling, MIT Press, ISBN: 9780262731898, 2015. K. Nagel, M. Schreckenberg (1992), A cellular automaton model for freeway traffic, J. Phys. I France 2, pp. 2221 2229. Nebel, Lindner, Engesser MAS 20 / 20