12
1 March 17, 2022 AGV Simulation AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

Embed Size (px)

Citation preview

Page 1: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

1

Apr

il 19

, 202

3

AGV SimulationAGV Simulation

Tutorial

Nelis Boucké

Alexander Helleboogh

Page 2: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

2

Apr

il 19

, 202

3

OverviewOverview

• Introduction

• Architecture

• Installation

• Use

• Extensions

Page 3: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

3

Apr

il 19

, 202

3

Simulation is crucial for Simulation is crucial for MAS applicationsMAS applications

• AGVs (Automated Guided Vehicles)o Transport loads in warehouse

o Complex network of road segments and crossroads

• Advantage of using MASo Decentralized system behavior

Robust & flexible

In dynamic & unpredictable environments

• Test before deployment!o Decentralized systems

o No risk of damaging AGVs

• Challenge for simulationo Test robustness & flexibility

o Dynamic test scenarios needed!

Page 4: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

4

Apr

il 19

, 202

3

How do we test?How do we test?

Agent software

Simulated environment

DeployTest

Warehouse environment

Page 5: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

5

Apr

il 19

, 202

3

OverviewOverview

• Introduction

• Architecture

• Installation

• Use

• Extensions

Page 6: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

6

Apr

il 19

, 202

3

Java VMJava VM

Eclipse Platform

AGV Simulator GUI Plug-inAGV Simulator GUI Plug-in

ArchitectureArchitecture

AGV BatchSimulator

AGV BatchSimulator

MAP editorMAP editor SimulationRunner

SimulationRunner

AGV AgentBehavior

AGV AgentBehavior

XML

agentwise.agvsimulation

agentwise.agvsimulation.ui

agentwise.agvsimulation.behaviordemo

Page 7: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

7

Apr

il 19

, 202

3

AGV batch simulatorAGV batch simulator

Interface

Deliberation Time Model

Simulated Environment

InterfaceInterface

Page 8: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

8

Apr

il 19

, 202

3

Programming Programming AGV BehaviorAGV Behavior

• Class:o AGVRandomWalkBehavior

Specify your behavior here!Package agentwise.agvsimulation.behaviordemo

• Classes you can use:o AGVBehavior

The complete set of instructions to steer the AGV robotpackage agentwise.agvsimulation.agv

Interface

Page 9: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

9

Apr

il 19

, 202

3

Scenario: decisions of agentsScenario: decisions of agents

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

A

B

sendUnicast @ T=1

driveToStation @ T=1

driveToStation @ T=2

Influences

Page 10: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

10

Apr

il 19

, 202

3

Scenario: decisons result in Scenario: decisons result in activitiesactivities

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

A

B

Activities

Send activity over (1,2)

Move activity over (2,6)

Move activity over (1,5)

Page 11: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

11

Apr

il 19

, 202

3

A

B

Activities interfere!Activities interfere!

A

B

A

BA

B

Intended outcome

Actual outcome

Page 12: 1 18 August 2015 AGV Simulation Tutorial Nelis Boucké Alexander Helleboogh

12

Apr

il 19

, 202

3

What does this imply?What does this imply?

• Specification of AGV programming interface o No post conditions in terms of what will happen

o All kinds of catastrophes can happen

Not indicated by exceptions

o Only specifies what an agent tries to do

• Thinking versus actingo Agents can think and act in parallel

Agent have to wait explicitly while their AGV is driving

waitsecond()

Agents can send messages while their AGV is driving

o Agents are not notified of anything

have to rely on polling their sensors