Hybrid Atomic Object with Simulator Functionalities

stored in DEVS_PATH/00-simulator/hybridatomic.p

Is provided as p-code.

Contents

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

Description

Class definition file for an associated simulator for hybrid atomic DEVS models. Extends the discrete associated simulator.

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

Superclass

atomic

Inherited properties

inherited from devs:

inherited from atomic:

Properties

Class methods

inherited from atomic:

Simulation Messages

Set Methods for Flags

Set Methods for States

--------------------------------------------------------------------

Additional methods for hybrid simulation:

Z_MSG

function [obj,gstatvec,gevveclen,outoffs]=z_msg(obj,gt,soff,eoff)
WHAT HAPPENS IN Z_MSG?

Z2_MSG

function obj=z2_msg(obj,gt,ioffs)
WHAT HAPPENS IN Z2_MSG?

SE_MSG

function [obj,event_flag]=se_msg(obj,te,ye,ie)

WHAT HAPPENS IN SE_MSG?





DEVS Tbx Home      Examples      Modelbase           << Back