if demand is a distribution

Use this forum to post Vensim related questions.
Post Reply
sally
Member
Posts: 40
Joined: Sun Nov 05, 2006 4:34 pm

if demand is a distribution

Post 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 ..
nikvyas
Senior Member
Posts: 112
Joined: Mon Apr 24, 2006 3:17 pm

Post by nikvyas »

There is already a function for Normal distribution (as well as other distributions) called RANDOM NORMAL
sally
Member
Posts: 40
Joined: Sun Nov 05, 2006 4:34 pm

Post 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
sally
Member
Posts: 40
Joined: Sun Nov 05, 2006 4:34 pm

attahment

Post by sally »

fyi
Attachments
2.mdl
(2.14 KiB) Downloaded 348 times
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

Can you post the attachments you mention?

Tony.
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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
sally
Member
Posts: 40
Joined: Sun Nov 05, 2006 4:34 pm

Post by sally »

does it mean i have to set up a variable name x

then to key in the formula?
sally
Member
Posts: 40
Joined: Sun Nov 05, 2006 4:34 pm

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