Delay1 and Smooth

Use this forum to post Vensim related questions.
Post Reply
Alisib
Member
Posts: 22
Joined: Mon Oct 29, 2018 4:37 pm
Vensim version: PLE

Delay1 and Smooth

Post by Alisib »

Hi
when I compare DelayI and smooth, I do not get a different answer, they are the same, what is the difference?
thx
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Delay1 and Smooth

Post by Administrator »

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
Alisib
Member
Posts: 22
Joined: Mon Oct 29, 2018 4:37 pm
Vensim version: PLE

Re: Delay1 and Smooth

Post by Alisib »

thanks,I wonder if you could tell me where it is.
Because I saw the help but did not find my answer
thx
tomfid
Administrator
Posts: 3804
Joined: Wed May 24, 2006 4:54 am

Re: Delay1 and Smooth

Post by tomfid »

https://www.vensim.com/documentation/fn_delay1.htm

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)
https://www.vensim.com/documentation/fn_smooth.htm

Code: Select all

SMOOTH=INTEG((input-SMOOTH)/delay time,input)

SMOOTHI=INTEG((input-SMOOTHI)/delay time,initial value)
The difference arises if the delay time changes - try a step in the delay time.
Alisib
Member
Posts: 22
Joined: Mon Oct 29, 2018 4:37 pm
Vensim version: PLE

Re: Delay1 and Smooth

Post by Alisib »

thanks that worked.
Post Reply