Programming simulations using Arena

Arena overview

Simulation Our first case from users guide

Inspection, debugging

"Things" in Arena: Kinds of data Variables: Global data Attributes: Per-entity data External events CREATE module DISPOSE module Video: Arena CREATE and DISPOSE

Active entity:

Entity movement Waiting/hold Branching/flow control Grouping and separation

Flow control

Entities can flow in various directions, using various tests (see below), or entity transfers.

DECIDE module

IF, ENDIF , ELSEIF and ELSE blocks Pattern: Finding best value Looping with DECIDE/IF Looping with WHILE, ENDWHILE (Blocks)

Batching and separation

Case: Parallel production and order processing.

Arena introduction

Arena delay and label

Video: Arena delays label.

Creating 1 entity

Adding delays

Text

(end notes for the Delays and Text video).

Failures and errors

Failure analysis

An exercise in complexity evaluation

Case: A delay pattern


Infinite loop

Counting

User-defined variables

System variables

Slowing down

Arithmetic operations

Arithmetics watchout

How to stop the arrival process

Probabilistic stopping

Deterministic stopping

Comparison between numbers

Video: Create, loop, delay, condition


Repeated arrivals

Stopping when closed

Single timewindow

Mathematical functions

Repeated timewindow

Logical expressions

Separate opener process

Smart arrivals

Trace-driven arrivals


Rate

Inter-arrival time

The illusion of demand and inventory

The EOQ

Video: Arena EOQ