Please enable JavaScript to view this site.

Vensim Help

The analysis screens are quite generic, and should work without modification on different models.  

:SCREEN ANALYSIS

TEXTONLY,"Analysis Control",50,5,0,0,C|Arial|24|B|0-0-255,

BUTTON,"Select a variable for analysis",50,13,60,5,C,4,\

 SPECIAL>SETWBITEM|TOT COST&SPECIAL>VARSELECT|New variable to use

BUTTON,"Load, unload, or reorder previous runs",50,20,60,5,C,1,MENU>LOAD_RUN,

BUTTON,"Change subscript selection",50,27,60,5,C,8,\

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

TEXTONLY,"Results",0,36,100,0,C|Times New Roman|24||0-0-255

BUTTON,"List differences between the first two loaded runs",50,43,60,5,C,8,,DIFF

BUTTON,"Display a predefined graph or report",50,50,60,5,C,,,RESULT

BUTTON,"Trace underlying causes using Trees",50,57,60,5,C,5,,CAUSE1

BUTTON,"Trace underlying causes using Graphs",50,64,60,5,C,6,,CAUSE2

BUTTON,"Trace the Uses of a variable",50,71,60,5,C,7,,USE

BUTTON,"Return to Menu",50,90,40,5,C,,,ARETURN

This is just a secondary menu screen.  Notice the shift to screen ARETURN.  This is an alias, not an actual screen name.  This screen will return to the screen defined for that alias, which will depend on how the ANALYSIS screen was entered.

:SCREEN DIFF

TEXTONLY,"Constant and table differences between first two loaded \

scenarios",0,2,100,0,C32

TOOL,"D1",5,10,90,80,,,WORKBENCH>RUNS COMPARE

BUTTON,"Print",30,92,20,6,C,Pp,PRINT>D1

BUTTON,"Analysis Control",70,92,20,6,C,,,ANALYSIS

ANYKEY,"",0,0,0,0,0,,,ANALYSIS

The run compare tool is a handy tool for summarizing differences.  If you have a model with data inputs you might also want to change the options on runs compare tool to include data and possibly gaming variables.

:SCREEN RESULT

TOOL,"GR1",2,5,96,80,,,CUSTOM>?Graph to display

BUTTON,"Select another graph or report",2,90,34,6,L,,CUSTOM>?Other graph|GR1

BUTTON,"Print",38,90,10,6,L,,PRINT>GR1

BUTTON,"Copy",50,90,10,6,L,,EXPORT>GR1

BUTTON,"? Help ?",62,90,12,6,L,,SPECIAL>WINHELP|VRHELP.HLP|1600

BUTTON,"Analysis Control",76,90,22,6,L,,,ANALYSIS

This is a generic custom graph screen.  You might hard wire a series of buttons across the bottom to bring up different custom graphs.

:SCREEN CAUSE1

TEXTONLY,"Causal tracing -",0,2,50,0,R

WBVAR,"",50,2,0,0,L

TOOL,"TR1",2,6,96,42,,,WORKBENCH>CAUSES TREE

BUTTON,"Graph based",2,50,40,0,L,Cc,,CAUSE2

BUTTON,"Definition...",43,50,0,0,L,Cc,WORKBENCH>DOCUMENT,

BUTTON,"Uses - of current variable",2,57,40,0,L,Cc,,USE

BUTTON,"Select a new variable to trace",2,64,40,0,L,Ss,\

 SPECIAL>VARSELECT|New variable for tracing

BUTTON,"? Help ?",2,71,40,0,L,,SPECIAL>WINHELP|VRHELP.HLP|1700

BUTTON,"Analysis Control",2,78,40,0,L,EeXx,,ANALYSIS

TOOL,"GR1",60,50,40,50,,,WORKBENCH>STRIP GRAPH

SETWB,"",0,0,0,0,,,,CAUSE1

Generic causal tracing.  Uses the SETWB control to reenter itself on a variable selection.

:SCREEN CAUSE2

TEXTONLY,"Causal tracing -",2,2,0,0,L

WBVAR,"",20,2,0,0,L

TOOL,"TR1",60,0,40,100,,,WORKBENCH>CAUSES STRIP

BUTTON,"Tree based",2,50,40,0,L,Cc,,CAUSE1

BUTTON,"Uses - of current variable",2,57,40,0,L,Cc,,USE

BUTTON,"Select a new variable to trace",2,64,40,0,L,Ss,\

 SPECIAL>SETWBITEM|POPULATION&SPECIAL>VARSELECT|New variable for tracing

BUTTON,"? Help ?",2,71,40,0,L,,SPECIAL>WINHELP|VRHELP.HLP|1800

BUTTON,"Analysis Control",2,78,40,0,L,EeXx,,ANALYSIS

TOOL,"GR1",2,8,58,40,,,WORKBENCH>DOCUMENT

SETWB,"",0,0,0,0,,,,CAUSE2

Similar to CAUSE1.

:SCREEN USE

TEXTONLY,"Uses of -",0,2,50,0,R

WBVAR,"",50,2,0,0,L

TOOL,"TR1",2,6,96,42,,,WORKBENCH>USES TREE

BUTTON,"Causes - of Current variable",2,50,40,0,L,Cc,,CAUSE1

BUTTON,"Definition...",43,50,0,0,L,Cc,WORKBENCH>DOCUMENT,

BUTTON,"Causes - Graph Based",2,57,40,0,L,Cc,,CAUSE2

BUTTON,"Select a new variable to trace",2,64,40,0,L,Ss,SPECIAL>SETWBITEM|POPULATION&SPECIAL>VARSELECT|New variable for tracing

BUTTON,"? Help ?",2,71,40,0,L,,SPECIAL>WINHELP|VRHELP.HLP|1900

BUTTON,"Analysis Control",2,78,40,0,L,EeXx,,ANALYSIS

TOOL,"GR1",60,50,40,50,,,WORKBENCH>STRIP GRAPH

SETWB,"",0,0,0,0,,,,USE

Again similar to CAUSE1 but showing uses instead of causes.