Page 1 of 1
if demand is a distribution
Posted: Wed Nov 22, 2006 1:16 pm
by sally
hello,
i have a problem,
if i want to simulate a event for 100 days,
and i have a variable "demand", i want to set it as a normal distribution in the whole period....it means the demand is start at 0, and have the highest in the middle time, then in the end(100) is 0,
how to set this up ?
hope you can know my meanings...
thank you ..
Posted: Thu Nov 23, 2006 10:52 am
by nikvyas
There is already a function for Normal distribution (as well as other distributions) called RANDOM NORMAL
Posted: Thu Nov 23, 2006 11:52 am
by sally
but
when i use normal distribution
it means the demand is a normal,,
not like the attachment..
attachment 1 is the one when i use normal distribution
and the attachment 2 , in the graph,,,,the figure is the one which i want to have .
hope some one can help me
attahment
Posted: Thu Nov 23, 2006 11:53 am
by sally
fyi
Posted: Thu Nov 23, 2006 3:50 pm
by Administrator
Can you post the attachments you mention?
Tony.
Posted: Thu Nov 23, 2006 4:11 pm
by bob@vensim.com
I am not sure what you are after but you can use
normal val of x = 1/sqrt(2*3.14)*exp(-x^2/2)
x = Time
Posted: Fri Nov 24, 2006 1:23 pm
by sally
does it mean i have to set up a variable name x
then to key in the formula?
Posted: Fri Nov 24, 2006 1:31 pm
by sally
sorry, i have try it ,,
but it not what i want
my hope is " in my simulate time(100weeks), my deamnd's figure is like the normal distribution
so , at frist , the demand is low,,in the middle time,,,demand is on the top,,,and ,,,in the end, deamnd is become small...
pls, hope some one can help me