Atomic Object with Simulator Functionalities

stored in DEVS_PATH/00-simulator/atomic.p

Is provided as p-code.

Contents

Based on modified parallel DEVS algorithms (Zeigler, Schwatinski).
All user defined atomic models have to be derived from class atomic.
C. Deatcu 2016

Description

Class definition file for an associated simulator for atomic PDEVS models

constructor call: obj = atomic(name,x,y,s,elapsed,sysparams)

Superclass

devs

Inherited properties

Properties

Class Methods

Simulation Messages

Set Methods for Flags

Set Methods for States

Display Methods

i_MSG

function i_msg(obj,gt)

WHAT HAPPENS IN I_MSG?

S_MSG

function obj=s_msg(obj,gt,flag)

WHAT HAPPENS IN S_MSG?

flag == 1 --> s_msg from ROOT, flag == 0 --> s_msg from other

flag here just for adapting debug-message, no different reactions depending on if from root or other components!

X_MSG

function x_msg(obj,gt)

WHAT HAPPENS IN X_MSG?

Y_MSG

function y_msg(obj,gt)

WHAT HAPPENS IN Y_MSG?





DEVS Tbx Home      Examples      Modelbase           << Back