# Vensim Help

 Navigation: Reference Guide > Functions > Dynamic Functions DELAY3(input,delay time) 3rd order exponential DELAY DELAY3I(input,delay time, initial value) 3rd order exponential DELAY with Initial

Returns a 3rd order exponential delay of the input, conserving the input if the delay time changes.  Equivalent to the equations:

DELAY3=LV3/DL

LV3=INTEG(RT2-DELAY3,DL*input)

RT2=LV2/DL

LV2=INTEG(RT1-RT2,LV3)

RT1=LV1/DL

LV1=INTEG(input-RT1,LV3)

DL=delay time/3

DELAY3I=LV3/DL

LV3=INTEG(RT2-DELAY3I,

initial value*DL)

RT2=LV2/DL

LV2=INTEG(RT1-RT2,LV3)

RT1=LV1/DL

LV1=INTEG(input-RT1,LV3)

DL=delay time/3

 Units: DELAY3(units,time) --> units DELAY3I(units,time,units) --> units

The input units match the output units.  The units of delay time must match those of TIMEĀ  STEP.  For DELAY3I units for the initial value must match those of the input.

Example

S = STEP(10,40)

delay time = 20

init output = 5

DS = DELAY3(S,delay time)

DSI = DELAY3I(S,delay time,init output)

Sample model: DELAY 1 3 N P.mdl or DELAY 1 3 PLE.mdl in FunctionExamples