PLECS 3.7 Online Help

Transport Delay

Purpose

Delay continuous input signal by fixed time

Library

Control / Delays

Description

pict

The Transport Delay outputs a signal that approximates a past value of the input signal:

y(t) ≈ u(t- Td)

For this purpose, the Transport Delay continuously records the input signals in an internal ring buffer. The output values are computed by looking up the samples nearest to t- Td   in the input buffer and performing a first order (linear) interpolation. The input signal can be a scalar or vector.


Note  The Transport Delay should not be used to delay non-smooth signals such as rectangular or triangular signals because the solver is not guaranteed to make a simulation step at the precise instants required to accurately reproduce the discontinuities in the delayed signal.


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.