ATOMIC PDEVS am_fifo_queue

stored in DEVS_PATH/01-modelbase/orange_juice_canning/am_fifo_queue.m

Contents

Description

Class definition file for an atomic PDEVS model that implements a first-in-first-out queue

constructor call: obj = am_fifo_queue(name,inistates,elapsed)

Superclass

atomic (superclass acts as associated simulator)

Class Methods

characteristic functions:

display functions:

Inherited Properties

inherited from atomic:

Ports

has two inputs x: in1 and in2, first port for trucks, other one for signal

has one output y: out1 (send trucks to docking process)

States in s

s.sigma: for time advance

s.queue_length: length of queue

s.queue_stats: queue statistics, t/length pairs

s.requested: save request for next truck

System Parameters in sysparams

none

More

global SIMUSTOP : can be used to stop allover simulation





DEVS Tbx Home      Examples      Modelbase           << Back