COUPLED PDEVS cm_c13

stored in DEVS_PATH/01-modelbase/cm_c13.m

Contents

Description

Class definition file of a coupled PDEVS model with two atomic subcomponents of type am_proc_block .

Processing blocks assemble workpieces from two queues and are connected in series. FIFO queues for workpieces are included in this subcomponents.

constructor call: obj = cm_c13(name,service_time1, service_time2)

Superclass

coupled (superclass acts as associated coordinator)

Inherited Properties

inherited from coupled (to be set here):

inherited from coupled (are set automatically):

Class Methods

Methods to Define Components and Couplings

Set Methods for Flags

display functions:

Ports

has three inputs x: p1,p2,p3 for incoming workpieces

has one output y: out1 to emit assembled parts

Subcomponents

has two atomic subcomponents of type am_proc_block, named 'am_m1' and 'am_m2'

Coupling Matrix (Zid)

structure is as follows: FROM component_name port_name TO component_name port_name (EICs and IOCs require the component name 'parent')

Zid = {'parent','p1','am_m1','in1';...
        'parent','p2','am_m1','in2';...
        'parent','p3','am_m2','in2';...
        'am_m1','out1','am_m2','in1';...
        'am_m2','out1','parent','out1'};

After incarnation you can use the method Check(obj) to verify, that all component names and all port names are existent.





DEVS Tbx Home      Examples      Modelbase           << Back