ATOMIC PDEVS timed_sine_qss1

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

Contents

Description

Class definition file for an atomic PDEVS model for generating a timed sine wave. It emits a sine value every sigma units of time.

constructor call: obj = timed_sine_qss1(name,inistates,elapsed)

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 sine value

States in s

s.sigma : for time advance (fixed steps)

s.sine : sine values for each step

System Parameters in sysparams

none

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