Search found 6 matches

by fauzi
Sat Oct 10, 2020 12:47 am
Forum: Vensim
Topic: floating point error in vector lookup and subscript
Replies: 2
Views: 1310

Re: floating point error in vector lookup and subscript

Dear Admin..


Thanks a lot..!! that's awesome.. it works now. Thank you so much helping for solving my problem
by fauzi
Fri Oct 09, 2020 10:08 am
Forum: Vensim
Topic: floating point error in vector lookup and subscript
Replies: 2
Views: 1310

floating point error in vector lookup and subscript

Hi, I need help in solving this issue. I tried to make a simple model with 2 subscripts, both function of time (vector lookup) . I could solve the model without any error (see model test vector-OK.mdl) and got the results as I expected. However when I add another auxiliary as multiplier (this could ...
by fauzi
Tue Sep 01, 2020 1:23 pm
Forum: Vensim
Topic: solving difference equation
Replies: 7
Views: 2762

Re: solving difference equation

Attached please my simple model of age structure (The Excell and Vensim model). In this model, Let say I have three age groups, each group has 12 month time period. The initial value of group 1 I put constant number, for the next group (age 2), the initial value will be determined by the value at ti...
by fauzi
Sun Aug 30, 2020 2:55 am
Forum: Vensim
Topic: solving difference equation
Replies: 7
Views: 2762

Re: solving difference equation

Dear Tom.. Thanks so much for your help..the iteration works now... Just one last silly question I would like to ask..what is the syntax for the initial point to make it automatic.. ie. I want to have that the initial point of the next y is the last value of x at previous year. At this stage I did i...
by fauzi
Fri Aug 28, 2020 11:35 am
Forum: Vensim
Topic: solving difference equation
Replies: 7
Views: 2762

Re: solving difference equation

Thank you Tom for your response. I might have made a mistake in my email.. as you see from my excel file, the value of y at time t (month) will depend the value of x at previous month, so in excell the formula will look like y(t) = ax(t-1). so it's not the same variable, but involving different two ...
by fauzi
Fri Aug 28, 2020 2:01 am
Forum: Vensim
Topic: solving difference equation
Replies: 7
Views: 2762

solving difference equation

Hi I have a simple question, I have to solve difference equation whereby the next stock level is determined by the previous one i.e x(t+1)= ax(t)+ b How do I do this in vensim? I am attaching excel file and basic vensim model, please advice me on this matter. I have 12 age level in the model and I a...