Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Functions > Dynamic Functions

DELAYP(input,delay time:pipeline) 3rd order exponential DELAY with Pipeline

Scroll Prev Top Next More

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

DELAYP=LV3/DL

pipeline=LV3+LV2+LV1

LV3=INTEG(RT2-DELAYP,DL*IN)

RT2=LV2/DL

LV2=INTEG(RT1-RT2,LV3)

RT1=LV1/DL

LV1=INTEG(input-RT1,LV3)

DL=delay time/3

See also: SMOOTH, SMOOTH3, DELAY3

Units:DELAYP(units,time,units) --> units

Input units match output and pipeline units.  The units of delay time must match those of TIMEĀ  STEP.  

Example

product completions = DELAYP(product starts,
production time:work in progress)

(note there is no equation for work in progress in the model)

NOTE DELAYP is supported as a convenient shorthand, but is not recommended for widespread use.  The following equations have the same effect, and are easier to understand:

product completions = DELAY3(product starts,production time)

work in progress = INTEG(product starts - product completions, 
               product starts * production time) 

 

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