COUPLED PDEVS cm_g

stored in DEVS_PATH/01-modelbase/cm_g.m

Contents

Description

Class definition file of a coupled PDEVS model with seven atomic subcomponents of type am_g .

Generators emit workpieces/parts at deterministic times.

constructor call: obj = cm_g(name,interarrival_time1,...,interarrival_time7)

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 no input x (is pure source)

has seven outputs y: p1...p7 to emit workpieces

Subcomponents

has seven atomic subcomponents of type am_g, named 'am_g1' ... 'am_g7'

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 = {'am_g1','p1','parent','p1';...
         'am_g2','p1','parent','p2';...
         'am_g3','p1','parent','p3';...
         'am_g4','p1','parent','p4';...
         'am_g5','p1','parent','p5';...
         'am_g7','p1','parent','p7';...
         'am_g6','p1','parent','p6'};

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