LDELAY ------ .. figure:: ../media/image1028.png :figwidth: 4.15625in :align: center **Purpose** Delay (or lag) a logical signal for a specific time. **Procedure** A memory queue is formed into which at one end the current value of the input signal is fed and at the other end the value at ‘delay time’ is output. Initially the queue (pipeline) is filled with the steady state value, so the queue does not have to be "loaded" during the first delay time period. **Parameters** +------------+-------+------+-------+---------+----------------------------------------------------------------------------------------+ | Parameter | input | unit | range | default | remarks | +============+=======+======+=======+=========+========================================================================================+ | Delay time | real | [s] | | | Due to memory constraints this must be less than or equal to 2000 times the time step. | +------------+-------+------+-------+---------+----------------------------------------------------------------------------------------+ **Remarks** None. **Examples** Figure 1 shows two signals: The thin green line is the input signal, while the thick red line is the output signal. The output signal has been delayed by two seconds. .. figure:: ../media/image1029.png :figwidth: 2.77083in :align: center System description .. figure:: ../media/image1030.png :figwidth: 1.77083in :align: center An input signal with a delayed output signal .. include:: substitutions_control.rst