Smooth3

Use this forum to post Vensim related questions.
Post Reply
Smooth
Junior Member
Posts: 6
Joined: Tue Jun 02, 2009 3:31 pm

Smooth3

Post 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....
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
Post Reply