Download ppt - AGV Simulation

Transcript
Page 1: AGV Simulation

1

Apr

il 22

, 202

3

AGV SimulationAGV Simulation

Tutorial

Nelis Boucké

Alexander Helleboogh

Page 2: AGV Simulation

2

Apr

il 22

, 202

3

OverviewOverview

• Introduction

• Architecture

• Installation

• Use

• Extensions

Page 3: AGV Simulation

3

Apr

il 22

, 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: AGV Simulation

4

Apr

il 22

, 202

3

How do we test?How do we test?

Agent software

Simulated environment

DeployTest

Warehouse environment

Page 5: AGV Simulation

5

Apr

il 22

, 202

3

OverviewOverview

• Introduction

• Architecture

• Installation

• Use

• Extensions

Page 6: AGV Simulation

6

Apr

il 22

, 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: AGV Simulation

7

Apr

il 22

, 202

3

AGV batch simulatorAGV batch simulator

Interface

Deliberation Time Model

Simulated Environment

InterfaceInterface

Page 8: AGV Simulation

8

Apr

il 22

, 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: AGV Simulation

9

Apr

il 22

, 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: AGV Simulation

10

Apr

il 22

, 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: AGV Simulation

11

Apr

il 22

, 202

3

A

B

Activities interfere!Activities interfere!

A

B

A

BA

B

Intended outcome

Actual outcome

Page 12: AGV Simulation

12

Apr

il 22

, 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