Page 1 of 1

Smooth3

Posted: Wed Jun 03, 2009 4:53 pm
by Smooth
Hi everybody!
My english is not so good but I hope somebody can help me!
I want to implement the smooth3 function into java. In the manual is the follwing explanation:
SMOOTH3(input,delay time)
Returns a 3rd order exponential smooth of the input.
Equivalent to the equations:
SMOOTH3=INTEG((LV2-SMOOTH3)/DL, input)
LV2=INTEG((LV1-LV2)/DL,input)
LV1=INTEG((IN-LV1)/DL,input)
DL=delay time/3
In the last equation LV1 must be the old LV1 and IN must be the input (right?). But how can I get the first LV1 value, when its been been recursively called? The same question for LV2.
I hope somebody can help me....

Posted: Thu Jun 04, 2009 9:54 am
by bob@vensim.com
If you want to get at the different levels in a smooth chain you should not use the SMOOTH3 function but instead explicitly represent the aging chain. The SMOOTH3 is a shorthand for this when the internal elements are not of interest.