Hi,
I want to balance a complex model but I think there is a problem in my vensim. in fact,Apparently Vensim doesn't consider little differences between the arrival rate and departure rate from a box variable. for a better understanding I attached the sample model. please look at the image below and tell me why the value of the variable 2” doesn’t decrease while its arrival rate is less than its discharge rate ?
for me it is very important that variable "3" return back to a balanced state. as you can see while both the variable "1" and "2" return back to balanced states , variable "3" never gets balanced and that's why I want to figure out what is the problem.
as you can see the arrival rate of variable "3" = the arrival rate of "1" + the arrival rate of "2" and its departure rate is the sum of departure rates of variables "1" and "2" . so what is the problem in variable "3" and why it never gets balanced ???
Last edited by japrap on Thu Aug 20, 2015 10:17 am, edited 1 time in total.
I suggest you start by adding units to all your variables and make sure the model passes the unit check. It may be that you have an error, this basic check can often uncover these.
Administrator wrote:I suggest you start by adding units to all your variables and make sure the model passes the unit check. It may be that you have an error, this basic check can often uncover these.
you know everything is fine and I checked the complex model three times before. I just made this simple model to tell you about my problem. I just can't understand why vensim doesn't consider the little differences between the arrival and discharge rates of variable "1" and "2" in their own values while it considers the sum of these differences in the value of the variable "3"
Dear Tom thanks for your reply.
you know I'm just a MS student and I just use the Vensim for academical purposes . so I would be appreciate if you tell me that is there a way to solve this problem in Vensim PLE ??
Best Regards
Last edited by japrap on Thu Aug 27, 2015 8:03 am, edited 1 time in total.
I don't think there's a way to make the exact technical problem go away in general; I'd have to know something about the specific problem to suggest a practical solution.
the problem is that while the vensim doesn't consider the differences between the arrival and discharge rates of variables "1" and "2" in their values how can I balance the variable "3" , which its arrival rate = arrival rate of variable "1" + arrival rate of variable "2" and its departure rate = discharge rate of variable "1" + dischrge rate of variable "2", in the attached model. so is there any way that I make the model to come exactly into equilibrium??
The only simple, general answer is to switch to a double precision Vensim version. You would have exactly the same problem if you were working in a programming language using floats instead of doubles.
But why does this matter in practice? It would be very unusual for a real system to be free of disturbances over such a long period relative to its time constants, and in policy models it's rare to know anything to the 3rd decimal, let alone the 5th.
as I told you before in the complex model it's very important for me that the aggregate variables ,such as "3" in the sample model , come exactly into equilibrium.so can I ask you a favor ? is it possible for you to run my model in a DSS version and just give me back the results (balanced values) of its three aggregate variables ?
Dear Tom you've been a great help to me, many many thanks.
sorry man can I ask you a favor again? would you please run the attached models in DSS double precision version and give me back their results so I can figure out what to do in the complex model?