initial value

Use this forum to post Vensim related questions.
Post Reply
neelu@nitw.ac.in
Member
Posts: 23
Joined: Thu Mar 22, 2018 9:56 am
Vensim version: DSS

initial value

Post by neelu@nitw.ac.in »

Dear sir,
I want to get the backorders are started from the 0 instead of 1 with the accumulation in the given model so that I used simultaneous in the subtype of an auxiliary variable type. but it is memoryless variable.

How can I sovle this isuue in vensim.
I am very much thankful for your reply sir
Attachments
back orders.mdl
(3.08 KiB) Downloaded 162 times
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: initial value

Post by Administrator »

I don't understand. When I run the model, back orders does start at zero.

I also cannot see any use of the simultaneous function.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
neelu@nitw.ac.in
Member
Posts: 23
Joined: Thu Mar 22, 2018 9:56 am
Vensim version: DSS

Re: initial value

Post by neelu@nitw.ac.in »

in this model
demand at 0 is 278.684
Fill rate at 0 is 200
backorders at 0 are 0
backorders = INEG ( demand - Fill rate)
so I want backorders at 0 is 78.684. actually this appeared at 1
so how can I get this (78.684) at 0 and that should be accumulated for the entire simulation
please suggest any solution in Vensim for above-mentioned issue

even if I use the simultaneous equation for that issue but it is memoryless, so How can I do sir
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: initial value

Post by Administrator »

Your equation for back orders is

back orders = INTEG (demand-fill rate, 0 )

Change the "0" to "initial back orders" and give this a value.

initial back orders = 78.684
back orders = INTEG (demand-fill rate, initial back orders )
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Post Reply