VariableTransportDelay

VariableTransportDelay is an operator simulating a variable time delay.

  • upper input: in
  • lower input: Tt

Element

Direction

Remark

in::continuous

input

operator input

Tt::continuous

input

variable time delay

out::continuous

output

operator output

internal1::sdisc[5]

discrete state; reserved for internal calculations

  • internal1[0] is the counter controlling the initial cycle
  • internal1[1] is the number of delay steps
  • internal1[2] is the input pointer for the stack
  • internal1[3] is the output pointer for the stack
  • internal1[4] is the available length of the stack

internal2::continuous[1]

discrete state; reserved for internal calculations

  • internal2[0] is the previous integration step size

stack::continuous[internal1[4]]

discrete state; stack

Adjust the length of stack in the element's properties editor.

helpstack::continuous[internal1[4]]

steplocal variable; stores values in case of interactive modification of h

Adjust its length to that of stack.

The least permitted value for the number of delay steps is 1.

Delay steps are counted in integration steps sizes h.

Interactive modifications of the integration step size h are treated explicitly, thus the output always shows smooth behaviour. Simultaneous modifications of h and Tt are possible.