Looking for the beer game in vensim

Use this forum to post Vensim related questions.
Post Reply
LAUJJL
Senior Member
Posts: 1421
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Looking for the beer game in vensim

Post by LAUJJL »

Hi

I am looking for a Vensim version of the Beer game.

is there a version that is different from the Kirkwood's one taught at Arizona university?

Regards.

JJ
tomfid
Administrator
Posts: 3804
Joined: Wed May 24, 2006 4:54 am

Re: Looking for the beer game in vensim

Post by tomfid »

LAUJJL
Senior Member
Posts: 1421
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Re: Looking for the beer game in vensim

Post by LAUJJL »

Hi Tom

Thank you for your reply.

In fact i am working on a model that imitates Kirkwood's model that curiously has no units.

In this model orders are generated with a random normal function and the first value at time 0 is used to intialize a smoothing function. But the value in the smooth does not represent that value. See the model joined that behaves strangely.

that first value is changed into another one without explanation. How can i get the right value back?

Best regards.

JJ
Attachments
essai.mdl
(2.02 KiB) Downloaded 249 times
tomfid
Administrator
Posts: 3804
Joined: Wed May 24, 2006 4:54 am

Re: Looking for the beer game in vensim

Post by tomfid »

Ah, yes. This is because the initialization step differs from the first dynamic step. I think you can see what's happening if you change from Euler to Diff integration (that just changes storage order; the computations are the same).

It seems like there must be a trick for working around this - but it might be easier to simply fix the first value at a nonrandom constant.
Post Reply