Hi
when I compare DelayI and smooth, I do not get a different answer, they are the same, what is the difference?
thx
Delay1 and Smooth
-
- Super Administrator
- Posts: 4573
- Joined: Wed Mar 05, 2003 3:10 am
Re: Delay1 and Smooth
There are details on both functions in the help system, it's best to take a look at that to see the differences.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Delay1 and Smooth
thanks,I wonder if you could tell me where it is.
Because I saw the help but did not find my answer
thx
Because I saw the help but did not find my answer
thx
Re: Delay1 and Smooth
https://www.vensim.com/documentation/fn_delay1.htm
https://www.vensim.com/documentation/fn_smooth.htm
The difference arises if the delay time changes - try a step in the delay time.
Code: Select all
DELAY1=LV/delay time
LV=INTEG(input-DELAY1,input*delay time)
DELAY1I=LV/delay time
LV=INTEG(input-DELAY1I,initial value*delay time)
Code: Select all
SMOOTH=INTEG((input-SMOOTH)/delay time,input)
SMOOTHI=INTEG((input-SMOOTHI)/delay time,initial value)
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Delay1 and Smooth
thanks that worked.