Search Results for

    Show / Hide Table of Contents

    Class TimeDelay

    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.

    Inheritance
    object
    TimeDelay
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TimeSeriesAnalysis.Dynamic
    Assembly: TimeSeriesAnalysis.dll
    Syntax
    public class TimeDelay

    Constructors

    | Edit this page View Source

    TimeDelay(double, double)

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

    Declaration
    public TimeDelay(double timeBase_s, double timeDelay_s)
    Parameters
    Type Name Description
    double timeBase_s

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

    double timeDelay_s

    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

    | Edit this page View Source

    Delay(double)

    Delays output by a certain number of time steps

    Declaration
    public double Delay(double inputSignal)
    Parameters
    Type Name Description
    double inputSignal

    input signal to be delayed

    Returns
    Type Description
    double

    a version of inputSignal that is delayed

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX