Page 1 of 1

cohort with SHIFT IF TRUE

Posted: Tue Oct 28, 2008 5:05 pm
by geamaro
Does anybody have a model that uses cohort with SHIFT IF TRUE to be used as an example? TIA.

Posted: Wed Oct 29, 2008 9:17 am
by bob@vensim.com
The attached is a relatively simple demographic model demonstrating 1 year age cohorts - also it has a population pyramid graph which is useful for looking at the evolution of age distribution. (by the way dgraph is short for demographic).

cohort with shift if true

Posted: Wed Oct 29, 2008 10:21 am
by LAUJJL
Hi Bob

I tried to see how the graph on the model joined was constructed, but it seems to be a special graph that cannot be modified or viewed using the standard building graphs tool.
How is it possible to understand the building of such a graph?
Regards.
JJ

Posted: Wed Oct 29, 2008 2:02 pm
by geamaro
Thank you Bob for your help!
G

Posted: Thu Oct 30, 2008 9:45 am
by bob@vensim.com
To look at the graph definitions use Save As from the Graphs tab of the control panel then open the .vgd file in a text editor.

programming a graph definition

Posted: Thu Oct 30, 2008 10:21 am
by LAUJJL
Hi Bob

Thank you for the information.
I did not know that is was possible to program custom graphs!
Regards.
JJ