PS Variable Delay
Delay input physical signal by variable time
Libraries:
Simscape /
Foundation Library /
Physical Signals /
Delays
Description
The PS Variable Delay block generates the output physical signal, Y, by delaying the input physical signal, U:
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 T.
For the initial time interval, when t <= StartTime + τ, the block outputs the value of the signal supplied through the input port H.
Note
When simulating a model that contains blocks with delays, memory allocation for storing the data history is controlled by the Delay memory budget [kB] parameter in the Solver Configuration block. If this budget is exceeded, simulation errors out. You can adjust this parameter value based on your available memory resources.
For recommendation on how to linearize a model that contains blocks with delays, see Linearizing with Simulink Linearization Blocks.
Untyped physical ports facilitate unit propagation. The output signal at port Y has the same physical unit as the input signal at port U. The signal unit at port H must be commensurate with the unit of the output signal.
The Variable Transport Delay example shows how you can model a variable transport delay using a custom block authored in Simscape™ language.