Hello,
I am trying to create a single-screen Venapp for an interactive session where the user: 1) sets values for an "alternate" scenario; 2) runs the model and view the results for several indicators compared to a "baseline" scenario. The (fixed) baseline has been run in sensitivity mode so that the user can see if the alternate falls outside of the sensitivity bounds of the baseline.
I thought that the following code should have let me do this -- some tests had indicated that it should -- but instead each of the graphs is showing the same variable (the last variable, "tax revenue as percent GDP"):
!
:SCREEN SCREEN1
SCREENFONT,Times New Roman|10||0-0-0|-1--1--1
PIXELPOS,1
COMMAND,,,,,,,,"SPECIAL>LOADMODEL|NBIM_0.4.mdl"
COMMAND,,,,,,,,"SIMULATE>RUNNAME|Alternate"
COMMAND,,,,,,,,"SPECIAL>LOADRUN|Baseline"
COMMAND,,,,,,,,"SPECIAL>LOADTOOLSET|nbim_100912.vts"
RUNNAME,"*1",49,532,0,0,,,,
TEXTONLY,"Fiscal and Financial",419,6,0,0,|Arial|14||0-0-0,,,
COMMAND,"",10,10,,,,,"SPECIAL>SETWBITEM|FDI",
TOOL,"FDI",419,31,222,156,,,"WORKBENCH>Sensitivity Graph",
COMMAND,"",,,,,,,"SPECIAL>SETWBITEM|tax from profits",
TOOL,"Tax on profits",652,31,222,156,,,"WORKBENCH>Sensitivity Graph",
COMMAND,"",,,,,,,"SPECIAL>SETWBITEM|tax revenue as percent GDP",
TOOL,"Net revenue",886,31,222,156,,,"WORKBENCH>Sensitivity Graph",
!
Is there something I am doing wrong? And is there a way to do what I'm trying to achieve?
Thanks,
Eric
Multiple sensitivity graphs in a single Venapp screen?
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
This should build the screen just fine, but will then exhibit the behavior you describe if the screen is refreshed. This can happen becase of a SPECIAL>REFRESH command, or the completion of a simulation. To get the correct display you will need to reenter the screen in either of these cases. One implication is that SyntheSim will not work well - for that you might look at custom graphs with sensitivity bounds.
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm