ATOMIC PDEVS am_proc_block

stored in DEVS_PATH/01-modelbase/assembly_line/am_proc_block.m

Contents

Description

Class definition file for an atomic PDEVS model for processing workpieces.

This block assembles workpieces from two queues. FIFO queues for workpieces are included.

constructor call: obj = am_proc_block(name,inistates,elapsed,service_time)

Superclass

atomic (superclass acts as associated simulator)

Class Methods

characteristic functions:

display functions:

Inherited Properties

inherited from atomic:

Ports

has two inputs x : p1 and p2 for incoming workpieces

has one output y : p1 for processed (assembled) parts

States in s

s.phase : active or passive

s.sigma : for time advance

s.q1 : length of queue for workpieces of type 1

s.q2 : length of queue for workpieces of type 2

System Parameters in sysparams

sysparams.service_time : time it takes to assemble a part from two workpieces

More

global SIMUSTOP : can be used to stop allover simulation e.g. when a predefined number of jobs has finished





DEVS Tbx Home      Examples      Modelbase           << Back