Table of Contents

Class TimeDelay

Namespace
TimeSeriesAnalysis.Dynamic
Assembly
TimeSeriesAnalysis.dll

Delays a signal by a specific number of time steps, keeping an internal buffer of delayed values between iterations.

This is a reasuble class for providing time-delay functionality to simulatable models.

public class TimeDelay
Inheritance
TimeDelay
Inherited Members

Constructors

TimeDelay(double, double)

Time delay set in terms of an absolute time, that is translated into a buffer lenght by observing the time base

public TimeDelay(double timeBase_s, double timeDelay_s)

Parameters

timeBase_s double

the simulation time interval between each subsequent call to Delay (in seconds)

timeDelay_s double

the time delay to be simulated(in seconds). Note that the time delay will be rounded up to neares whole number factor of timeBase_s

Methods

Delay(double)

Delays output by a certain number of time steps

public double Delay(double inputSignal)

Parameters

inputSignal double

input signal to be delayed

Returns

double

a version of inputSignal that is delayed