trouble with a lookup variable
Posted: Sat Jul 15, 2023 8:18 pm
I'm trying to reproduce a relatively simple world population model in Vensim. This is my first full model so I'm running into lots of issues, most of which I've been able to figure out, but this one is so simple it has me stumped. This model is somewhat like the rabbit models in the tutorials. I have a process that generates population projections based on a carrying capacity (CC) function. Also included in my model for comparison purposes is a table of population estimates from the UN, starting at 0 AD and going to 2100. I want to produce a simple custom graph that includes CC, population, and this table of UN pop estimates.
The attachment 'view-snippet' shows the variables and the output table as they now appear on my main view.
'pop data' is a standalone variable defined in the variable dialog attachment 'pop-data-lookup-variable'. This is the UN data.
The custom table was created as shown in the attachment 'table-definition'.
What I expected was for 'pop data' to show up on the graphic just like CC and population, but instead it gets translated in the graph as a variable ranging from 1 to 100, so it fails to show up on the graphic at all. That's clear on the 'Test output' version of the graphic. I wanted to attach that, but it appears I'm limited to 3 attachments, so you'll have to take my word for it.
I don't really want to do anything with this UN pop data table other than compare it to my simulation results in a custom graph like this one. It's not an input to anything. So what am I doing wrong to make it convert itself from its actual units to this 1-to-100 version?
Thanks!
The attachment 'view-snippet' shows the variables and the output table as they now appear on my main view.
'pop data' is a standalone variable defined in the variable dialog attachment 'pop-data-lookup-variable'. This is the UN data.
The custom table was created as shown in the attachment 'table-definition'.
What I expected was for 'pop data' to show up on the graphic just like CC and population, but instead it gets translated in the graph as a variable ranging from 1 to 100, so it fails to show up on the graphic at all. That's clear on the 'Test output' version of the graphic. I wanted to attach that, but it appears I'm limited to 3 attachments, so you'll have to take my word for it.
I don't really want to do anything with this UN pop data table other than compare it to my simulation results in a custom graph like this one. It's not an input to anything. So what am I doing wrong to make it convert itself from its actual units to this 1-to-100 version?
Thanks!