Hi, sometimes when I am generating shadows variables appear the message "left over blocks in scratch memory". (see photo attached). Do you have any idea why this could be happening?
thanks
Left over blocks in scratch memory
Left over blocks in scratch memory
- Attachments
-
- vensim.jpg (14.28 KiB) Viewed 1949 times
-
- Super Administrator
- Posts: 4573
- Joined: Wed Mar 05, 2003 3:10 am
Re: Left over blocks in scratch memory
It's a bug, although it is a memory issue, your calculations are unaffected. If you can give me step by step instructions on how to re-create it, I can fix.
Also let me know exactly which version of Vensim you are using.
Also let me know exactly which version of Vensim you are using.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Left over blocks in scratch memory
I am using Vensim PLE Plus for windows version 6.4a(x32).
I am modeling an outbreak in a population, so I have several views in vensim. Within each view I have ~10 independent towns but similar models which may interact with each other. In another view I need to sum up the number of people in all towns based on their status (susceptible, pre-infectious, infectious, or recovered).
i.e:
susceptible total = susceptible in town 1 + susceptible in town 2 + ………. + susceptible in town xx.
pre-infectious total = pre-infectious in town 1 + pre-infectious in 2 + ………. + pre-infectiouse in town xx.
infectious total = infectious in town 1 + infectious in town 2 + ………. + infectious in town xx.
recovered total = recovered in town 1 + recovered in town 2 + ………. + recovered in town xx.
In order to do that I generate shadow variables for each susceptible, pre-infectious, infectious or recovered in towns. Sometimes while I am generating the shadow variables to connect with the totals the message pops up although it does not happen every time. If it does not affect my calculations (which so far it has not, everything looks consistent), then it's fine for me. I was just a bit worried it was going to conflict with simulations.
Thanks
I am modeling an outbreak in a population, so I have several views in vensim. Within each view I have ~10 independent towns but similar models which may interact with each other. In another view I need to sum up the number of people in all towns based on their status (susceptible, pre-infectious, infectious, or recovered).
i.e:
susceptible total = susceptible in town 1 + susceptible in town 2 + ………. + susceptible in town xx.
pre-infectious total = pre-infectious in town 1 + pre-infectious in 2 + ………. + pre-infectiouse in town xx.
infectious total = infectious in town 1 + infectious in town 2 + ………. + infectious in town xx.
recovered total = recovered in town 1 + recovered in town 2 + ………. + recovered in town xx.
In order to do that I generate shadow variables for each susceptible, pre-infectious, infectious or recovered in towns. Sometimes while I am generating the shadow variables to connect with the totals the message pops up although it does not happen every time. If it does not affect my calculations (which so far it has not, everything looks consistent), then it's fine for me. I was just a bit worried it was going to conflict with simulations.
Thanks
-
- Super Administrator
- Posts: 4573
- Joined: Wed Mar 05, 2003 3:10 am
Re: Left over blocks in scratch memory
How any towns are in the model?
And when you say shadow variables, are you creating copies?
It could be that the equation for "susceptible total = susceptible in town 1 + susceptible in town 2 + ………. + susceptible in town xx. " is just too big which could cause the problem.
I've never encountered the error myself, but I'd use Pro/DSS to model multiple towns where you can use subscripting instead of copying individual towns.
And when you say shadow variables, are you creating copies?
It could be that the equation for "susceptible total = susceptible in town 1 + susceptible in town 2 + ………. + susceptible in town xx. " is just too big which could cause the problem.
I've never encountered the error myself, but I'd use Pro/DSS to model multiple towns where you can use subscripting instead of copying individual towns.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559