the equivalent function between stella and vensim

Use this forum to post Vensim related questions.
Post Reply
ecc29
Newbie
Posts: 1
Joined: Tue Apr 03, 2007 4:39 pm

the equivalent function between stella and vensim

Post by ecc29 »

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
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

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