Block that delays a signal when it becomes true
.
A rising edge of the Boolean input u
gives a delayed output.
A falling edge of the input is immediately given to the output. If
delayOnInit = true
, then a true
input signal
at the start time is also delayed, otherwise the input signal is
produced immediately at the output.
Simulation results of a typical example with a delay time of 0.1 second is shown below.
Modelica.Units.SI
.