PLECS 3.7 Online Help

Pulse Delay

Purpose

Delay discrete-value input signal by fixed time

Library

Control / Delays

Description

pict

The Pulse Delay applies a fixed-time delay to an input signal that changes at discrete instants and is otherwise constant. The signal can be a scalar or vector.

Whenever a change of an input signal is detected at a simulation time t  , the Pulse Delay records the new signal value in an internal buffer and schedules an event that forces the solver to make a step exactly at the simulation time t+ Td   in order to output the delayed input value.


Note  The Pulse Delay should not be used to delay signals that change continuously as this may lead to excessive memory consumption. To delay continuously changing signals, use the continuous Transport Delay.

Parameters

Time delay Td   
Time by which the input signal is delayed.
Initial output
Output value after simulation start before the input values appear at the output.
Initial buffer size
Size of the internal ring buffer at simulation start. The buffer size will be increased during the simulation if required.