Also known as a pipeline or fixed delay. Note that this function is only usable for simulations run with Julia.
Usage
delay(variable, length, default_value = NULL)
Arguments
- variable
Variable of which to access past values.
- length
Length of the delay.
- default_value
Value to return when the delay length has not passed yet. If NULL, the value at the first time point is returned. Defaults to NULL.