Venapp Questions
Venapp Questions
Hi. I have the following questions regarding to Venapp, and hopefully I could get some help here. Thanks.
1. I use WORKBENCH>GRAPH tool to display the variable. When showing multiple runs, the line color with respect to each run keeps changing, i.e., the newest run is always "blue". Is there any way to avoid this? Specifically, I want one color to stick with each run.
2. This might be related to question 1. I use RUNNAME (txt: *1) to show the run name of my first run. However, it actually shows the newest run, not the first run. Is there anyway I could avoid this?
3. I use WORKBENCH>CAUSES TREE to show causes tree. When I double click on any variable on the tree, it should use that variable as a starting point and trace back (just like the function in Vensim). However, It does not work in my Venapp. I saw some examples and I did exactly what they did, theirs worked but mine didn't. Is there any setting I should make to make it work?
Thanks.
1. I use WORKBENCH>GRAPH tool to display the variable. When showing multiple runs, the line color with respect to each run keeps changing, i.e., the newest run is always "blue". Is there any way to avoid this? Specifically, I want one color to stick with each run.
2. This might be related to question 1. I use RUNNAME (txt: *1) to show the run name of my first run. However, it actually shows the newest run, not the first run. Is there anyway I could avoid this?
3. I use WORKBENCH>CAUSES TREE to show causes tree. When I double click on any variable on the tree, it should use that variable as a starting point and trace back (just like the function in Vensim). However, It does not work in my Venapp. I saw some examples and I did exactly what they did, theirs worked but mine didn't. Is there any setting I should make to make it work?
Thanks.
1 & 2: The RUNNAME display and graph coloring are both tied to the order in which datasets are loaded. The default when you use the MENU>RUN command is to load new runs last, which should preserve stable coloring. MENU>RUN1 loads new datasets first - my guess is that you're using RUN1 and switching to RUN will solve your problem.
3: Do you have a SETWB command on your screen to capture the workbench variable selection event?
Tom
3: Do you have a SETWB command on your screen to capture the workbench variable selection event?
Tom
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Hi.
In addition to that, I am trying to show the value of a lookup variable. I'm using SHOWVAR, but it does not show anything. Could you tell me what should I do to make it work? Specifically, suppose that the unit of my lookup variable is (kg, year). Ideally, I want to show the value (kg) of a certain year of a specific run.
Many thanks.
In addition to that, I am trying to show the value of a lookup variable. I'm using SHOWVAR, but it does not show anything. Could you tell me what should I do to make it work? Specifically, suppose that the unit of my lookup variable is (kg, year). Ideally, I want to show the value (kg) of a certain year of a specific run.
Many thanks.
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
Is there a SPECIAL>LOADRUN| command on your screen that might be rearranging the runs?
You could try a MENU>LOAD_RUN right after your MENU>RUN or MENU>RUN1 to (a) see whether the new run gets loaded in the order expected and (b) reorder the runs and see if that fixes your color problem.
Tom
You could try a MENU>LOAD_RUN right after your MENU>RUN or MENU>RUN1 to (a) see whether the new run gets loaded in the order expected and (b) reorder the runs and see if that fixes your color problem.
Tom
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Thanks, Tom.
No. I did not have a SPECIAL>LOADRUN| command on my screen.
I tested it using MENU>LOAD_RUN with both MENU>RUN or MENU>RUN1. The run order in the left-hand-side of the Dataset Control dialogue box shows exactly the same order for both. I guess one should have the reverse order of the order, just don't know what's going on? Any further suggestions?
Thanks in advance!!
No. I did not have a SPECIAL>LOADRUN| command on my screen.
I tested it using MENU>LOAD_RUN with both MENU>RUN or MENU>RUN1. The run order in the left-hand-side of the Dataset Control dialogue box shows exactly the same order for both. I guess one should have the reverse order of the order, just don't know what's going on? Any further suggestions?
Thanks in advance!!
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
There is no way to get an x value from a Lookup in a venapp.
For 1 and 2 it sounds like you are using MENU>RUN1 (not what you want) or that MENU>RUN may be paying attention to the options in Tools>Options>Settings around which position to load a run. You might set that to last to see if it works better. You will need a SPECIAL>READINI to make this stick with your Venapp.
For 1 and 2 it sounds like you are using MENU>RUN1 (not what you want) or that MENU>RUN may be paying attention to the options in Tools>Options>Settings around which position to load a run. You might set that to last to see if it works better. You will need a SPECIAL>READINI to make this stick with your Venapp.
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm