ATOMIC PDEVS am_truck_transducer

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

Contents

Description

Class definition file for an atomic PDEVS model that implements a transducer and acts as a sink and data collection model.

constructor call: obj = am_truck_transducer(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: p1 and p2, first port for trucks, second for pallets of juice

has no output y: (is pure sink)

States in s

s.sigma: for time advance

s.num_trucks: count the number of unloaded trucks (after undocking)

s.num_pallets: count the number of produced pallets

System Parameters in sysparams

none

More

global SIMUSTOP : can be used to stop allover simulation, e.g. when a predifined number of pallets have been produced





DEVS Tbx Home      Examples      Modelbase           << Back