ATOMIC PDEVS sine_qss1

stored in DEVS_PATH/01-modelbase/qss/sine_qss1.m

Contents

Description

Class definition file for an atomic PDEVS model for generating a quantized sine wave.

constructor call: obj = sine_qss1(name,inistates,elapsed,A,omega,phi,delta_u)

Superclass

atomic (superclass acts as associated simulator)

Class Methods

characteristic functions:

display functions:

Inherited Properties

inherited from atomic:

Ports

has no input x (is pure source)

has one output y : p1 for quantized sine signal

States in s

s.sigma : for time advance

s.tau : phase shift time

s.traj : to record exact sine values (X/t pairs)

s.qtraj: to record quantized sine values (q/t pairs)

System Parameters in sysparams

sysparams.A : amplitude

sysparams.omega : angular frequency

sysparams.phi : phase shift

sysparams.delta_u : quantization of sine

More

global SIMUSTOP : can be used to stop allover simulation e.g. when a predefined number of jobs has finished





DEVS Tbx Home      Examples      Modelbase           << Back