Hi,
I am new in vensim. When I try to conver models between stella and vensim. I cannot find equivalent functions from the manual. For example, the vensim function RANDOM NORMAL(-200,200, 0 ,50,4), but for stella, I only find a function like NORMAL(<mean>,<std>[,<seed>]). I guess RANDOM NORMAL(-200,200, 0 ,50,4) is equal to 200*NORMAL(0,50,4), but I am not sure. Any suggestions?
TIA
the equivalent function between stella and vensim
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Hi and welcome to the forum.
The documentation on the random functions is at
http://www.vensim.com/documentation/html/22675.htm
RANDOM NORMAL(m,x,h,r,s)
If you look at the normal distribution, it says
"Note that for the NORMAL distribution h and r correspond to the mean and standard deviation."
m is the minimum the function returns,
x is the maximum,
s is the noise seed.
So if Stella has
NORMAL(<mean>,<std>[,<seed>])
to replicate in Vensim is something like
NORMAL(-999999,999999,<mean>,<std>,<seed>)
Hope this helps.
Tony.
The documentation on the random functions is at
http://www.vensim.com/documentation/html/22675.htm
RANDOM NORMAL(m,x,h,r,s)
If you look at the normal distribution, it says
"Note that for the NORMAL distribution h and r correspond to the mean and standard deviation."
m is the minimum the function returns,
x is the maximum,
s is the noise seed.
So if Stella has
NORMAL(<mean>,<std>[,<seed>])
to replicate in Vensim is something like
NORMAL(-999999,999999,<mean>,<std>,<seed>)
Hope this helps.
Tony.