Delay input physical signal by variable time
The PS Variable Delay block generates the output
y, by delaying the input physical
y = u ( t – τ )
where τ is the delay time, which can
vary throughout the simulation. You supply the delay time as a signal
through the input port
For the initial time interval, when t <=
StartTime + τ, the block outputs the value
of the signal supplied through the input port
The upper limit for the delay time. Exceeding the maximum delay
time during simulation results in a runtime error. The parameter value
must be positive. The default value is
The block has the following ports:
Physical signal input port for the original signal.
Physical signal input port that supplies the delay time.
Physical signal input port that supplies the output signal for the initial time interval, when time since the start of simulation is less than or equal to the delay time.
Physical signal output port for the delayed signal.
The Variable Transport Delay example shows how you can model a variable transport delay using Simscape™ language. The Transport Delay subsystem models signal propagation through media moving between the Input and the Output terminals. The media velocity may vary, thus it is specified through the block port. The distance between the terminals is constant and it is specified as a block parameter. To see the implementation details, look under mask of the Transport Delay subsystem, then right-click the Variable Transport Delay block and select Simscape > View source code.