Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Functions > Dynamic Functions

DELAY CONVEYOR(input,ctime,leak,initprofile,inittot,initctime) CONVEYOR DELAY

Scroll Prev Top Next More

Returns the value of input delayed by conveyence time ctime.  While material is on the conveyor the fractional leakage per unit time is given by leak.  The initial amount of material on the conveyor is giving by inittot and is distributed according the the time profile in the Lookup initprofile.  The initial value returned by the function is determined by initctime (it is equal to inittot/initctime). initctime is normally, but does not have to be, equal to ctime.

You can speed up or slow down a conveyor by changing ctime.  If leak is 0 then material on the conveyor is conserved.  When leak is nonzero than the amount of material is decreased proportionally across the entire conveyor, including newly added input.  If you want to compute the quantity of leakage in a conveyor it is given by:

total leakage = ahead level * leak rate

ahead level = convey total + TIME STEP*(input - convey out)

convey total = INTEG(input - convey out - total leakage,init stuff)

convey out = DELAY CONVEYOR(input,ctime,leak rate,icp,init stuff,ctime)

Units:DELAY CONVEYOR(units,time,1/time,dmnl,units*time,time) --> units

Example

finished assembly=DELAY CONVEYOR(assembly start, assembly time,0,
flat lookup, in assembly init, assembly time)

For more detailed examples see Chapter 9 of the Modeling Guide.

Availability: Not PLE or PLE Plus.

 

Sample model: DELAY CONVEYOR.mdl in FunctionExamples