Please enable JavaScript to view this site.

Vensim Help

There is likely to be a lot of variation in the way that output is displayed.  This Venapp has a very simple capacity to show different graphs and tables and allows the user to select among custom graphs, reports and tables.  In developing most Venapps, you will probably want to combine SHOWVAR controls and custom graphs in a more sophisticated way.

:SCREEN OUTPUT1

TOOL,"GR1",5,5,90,70,,,WORKBENCH>Graph

BUTTON,"Show table",20,82,25,10,C,,,OUTPUT2

!BUTTON,"Modify and Rerun Last Scenario",75,82,0,6,L,,\

SIMULATE>READRUNCHG|!,SETUPSIM

BUTTON,"Select a new variable",50,80,25,0,C,,\

SPECIAL>VARSELECT|New variable to use,OUTPUT1

BUTTON,"Change subscripts",50,90,25,0,C,,\

SPECIAL>SUBSCRIPT|?Choose a subscript to control selection on,OUTPUT1

BUTTON,"Perform detailed analysis",80,80,25,0,C,,\

SPECIAL>ALIASSCREEN|ARETURN|OUTPUT1,ANALYSIS

BUTTON,"Return to Main Menu",80,90,25,0,C,,,MAIN

This screen allows the user to look at a graph and choose a new variable to be graphed.  The subscript control is also made available from this screen though it is not relevant to this model which has no subscripts.

:SCREEN OUTPUT2

TOOL,"GR1",5,5,90,70,,,WORKBENCH>Table

BUTTON,"Show graph",20,82,25,10,C,,,OUTPUT1

BUTTON,"Select a new variable",50,80,25,0,C,,SPECIAL>VARSELECT|New variable to use,OUTPUT2

BUTTON,"Change subscripts",50,90,25,0,C,8,SPECIAL>SUBSCRIPT|?Choose a subscript to control selection on,OUTPUT2

BUTTON,"Perform detailed analysis",80,80,25,0,C,,SPECIAL>ALIASSCREEN|ARETURN|OUTPUT2,ANALYSIS

BUTTON,"Return to Main Menu",80,90,25,0,C,,,MAIN

This screen is the same as OUTPUT1 except that it show a table instead of a graph.