SynthSim
Posted: Thu Sep 20, 2012 10:41 am
Hi,
I have created a vensim and trying to create a venapp, to go along with it, I have used your test Venapp - Finance.VCD I have go it working, however, I need your help.
when you go into , this works well I change the values hit the macro button and it updates the monte carlo and updates the tables behind it.....perfect, however, I want to make it interactive, when I move the levers I want to insert a chart to help me set the policy once this is done I want to hit the macro button and see the results. So the file works but the graph is not visible, SO I then add COMMAND,,,,,,,,"MENU>SYNTHESIM|O", I get this movement on the screen, however the Showscenarios dont update - can you please help thanks
When I run
SCREEN SETSENS
SCREENFONT,Times New Roman|12|B|0-0-0|-1--1--1
PIXELPOS,0
!
RECTANGLE,"",4,3,0,0,,,,
TEXTONLY,"What if analysis and new scenario building",-1,4,100,0,C|Times New Roman|20|B|0-64-128,0,,
WIPTOOL,"",24,20,46,46,,,CUSTOM>Totals, This is what I want to see the impact of the changes - but its not visible on the screen
BUTTON,"Return to Main Menu",83,89,16,9,C,,SPECIAL>STOPSIM|,MAIN
TEXTONLY,"Monte Carlo Sensitivity Analysis",-1,12,100,0,C|Times New Roman|20|B|255-0-0,,,
TEXTONLY,"Dmd Bandwidth",2,31,0,0,L,,,
TEXTONLY,"Demand",2,16,0,0,L,,,
SLIDEVAR,"dmd avg",2,20,15,10,H,[0|50000],,
SLIDEVAR,"demand Bandw",2,34,15,10,H,[1000|5000],,
TEXTONLY,"DOI Tgt",75,13,0,0,L,,,
SLIDEVAR,"tgt DOI",75,17,15,10,H,[0|25],,
BUTTON,"Run Monte Carlo sensitivity analysis",20,70,50,5,L,Ss,"SPECIAL>STOPSIM|",RUNSENS
BUTTON,"Run analysis tools",20,80,50,5,L,Ss,"",ANALYSIS
BUTTON,"Exit to main menu",20,90,50,5,L,,,MAIN
MODTABLE,"Spot Buy qty",2,51,15,10,H,,"",
TEXTONLY,"Spot Buy QTY Table",2,47,,,L,,"",
MODTABLE,"spot buy cost table",2,68,15,10,H,,,
TEXTONLY,"Spot Buy Cost Table",2,63,0,0,L,,,
TEXTONLY,"Leadtime",75,28,,,L,,"",
SLIDEVAR,"leadtime",75,32,15,10,H,[0|25],"",
BUTTON,"Save Run",74,70,8,5,L,Ss,"SPECIAL>STOPSIM|0",RUNSENS
!
:SCREEN RUNSENS
SCREENFONT,Times New Roman|12|B|0-0-0|-1--1--1
PIXELPOS,0
COMMAND,"",0,0,0,0,,,SPECIAL>CLEARRUNS
COMMAND,"",0,0,0,0,,,SIMULATE>RUNNAME|sensistiv.vdf
COMMAND,"",0,0,0,0,,,SIMULATE>SENSITIVITY|finance.vsc
COMMAND,"",0,0,0,0,,,SIMULATE>SENSSAVELIST|finance.lst
!
COMMAND,"",0,0,0,0,,,MENU>RUN_SENSITIVITY|O
!
I have created a vensim and trying to create a venapp, to go along with it, I have used your test Venapp - Finance.VCD I have go it working, however, I need your help.
when you go into , this works well I change the values hit the macro button and it updates the monte carlo and updates the tables behind it.....perfect, however, I want to make it interactive, when I move the levers I want to insert a chart to help me set the policy once this is done I want to hit the macro button and see the results. So the file works but the graph is not visible, SO I then add COMMAND,,,,,,,,"MENU>SYNTHESIM|O", I get this movement on the screen, however the Showscenarios dont update - can you please help thanks
When I run
SCREEN SETSENS
SCREENFONT,Times New Roman|12|B|0-0-0|-1--1--1
PIXELPOS,0
!
RECTANGLE,"",4,3,0,0,,,,
TEXTONLY,"What if analysis and new scenario building",-1,4,100,0,C|Times New Roman|20|B|0-64-128,0,,
WIPTOOL,"",24,20,46,46,,,CUSTOM>Totals, This is what I want to see the impact of the changes - but its not visible on the screen
BUTTON,"Return to Main Menu",83,89,16,9,C,,SPECIAL>STOPSIM|,MAIN
TEXTONLY,"Monte Carlo Sensitivity Analysis",-1,12,100,0,C|Times New Roman|20|B|255-0-0,,,
TEXTONLY,"Dmd Bandwidth",2,31,0,0,L,,,
TEXTONLY,"Demand",2,16,0,0,L,,,
SLIDEVAR,"dmd avg",2,20,15,10,H,[0|50000],,
SLIDEVAR,"demand Bandw",2,34,15,10,H,[1000|5000],,
TEXTONLY,"DOI Tgt",75,13,0,0,L,,,
SLIDEVAR,"tgt DOI",75,17,15,10,H,[0|25],,
BUTTON,"Run Monte Carlo sensitivity analysis",20,70,50,5,L,Ss,"SPECIAL>STOPSIM|",RUNSENS
BUTTON,"Run analysis tools",20,80,50,5,L,Ss,"",ANALYSIS
BUTTON,"Exit to main menu",20,90,50,5,L,,,MAIN
MODTABLE,"Spot Buy qty",2,51,15,10,H,,"",
TEXTONLY,"Spot Buy QTY Table",2,47,,,L,,"",
MODTABLE,"spot buy cost table",2,68,15,10,H,,,
TEXTONLY,"Spot Buy Cost Table",2,63,0,0,L,,,
TEXTONLY,"Leadtime",75,28,,,L,,"",
SLIDEVAR,"leadtime",75,32,15,10,H,[0|25],"",
BUTTON,"Save Run",74,70,8,5,L,Ss,"SPECIAL>STOPSIM|0",RUNSENS
!
:SCREEN RUNSENS
SCREENFONT,Times New Roman|12|B|0-0-0|-1--1--1
PIXELPOS,0
COMMAND,"",0,0,0,0,,,SPECIAL>CLEARRUNS
COMMAND,"",0,0,0,0,,,SIMULATE>RUNNAME|sensistiv.vdf
COMMAND,"",0,0,0,0,,,SIMULATE>SENSITIVITY|finance.vsc
COMMAND,"",0,0,0,0,,,SIMULATE>SENSSAVELIST|finance.lst
!
COMMAND,"",0,0,0,0,,,MENU>RUN_SENSITIVITY|O
!