Venapp's Help

Use this forum to post Vensim related questions.
Post Reply
Hani
Member
Posts: 46
Joined: Wed Feb 23, 2011 12:40 am

Venapp's Help

Post by Hani »

Hi,
I started working on developing a venapp for SD model. I reviewed the chapter 2-6 and the threads hear. I also reviewed the template models.

1- Now, i'm not able to create the files of my SD that support the venapp such as .vgd, vpd, cin...Every template i reviewed is associated with many files, how these file are created..

2- Additionally, what is the difference between the .mdl and vmf " i see all examples models are vmf format

can you please provide me how to start...

Example of the files i need to know how to create..

Code: Select all

COMMAND,"",0,0,0,0,,,"SPECIAL>SETTITLE|Venapp Template Example"
COMMAND,"",0,0,0,0,,,SPECIAL>LOADMODEL|worldapp.vmf
COMMAND,"",0,0,0,0,,,SPECIAL>READCUSTOM|world.vgd
COMMAND,"",0,0,0,0,,,SPECIAL>LOADTOOLSET|world.vts
COMMAND,"",0,0,0,0,,,SPECIAL>CLEARRUNS
COMMAND,"",0,0,0,0,,,SPECIAL>LOADRUN|base.vdf
COMMAND,"",0,0,0,0,,,SETTING>SHOWWARNING|0
Hani
Member
Posts: 46
Joined: Wed Feb 23, 2011 12:40 am

Re: Venapp's Help

Post by Hani »

I could figure out how to do it, please tell if it is correct...

My file in .mdl..put it in a folder

I opened file> Edit file> Text Venapp Definition..this creates the .vcd file
again repeat > Edit file>Text graphical Definition... and so on..There are 12 types of files. In order to develop a venapp, do i need to create all those files...is my process ok or there is another easy method..i'm struggling in this whole day..

what about LOADMODEL command, dose this process create this command...
Administrator
Super Administrator
Posts: 4621
Joined: Wed Mar 05, 2003 3:10 am

Re: Venapp's Help

Post by Administrator »

You only need the one file, the VCD.

It's easier to start with an existing VCD file, if you look in the help files/models that come with Vensim, you will find a few examples. Start with one of these and modify it.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Hani
Member
Posts: 46
Joined: Wed Feb 23, 2011 12:40 am

Re: Venapp's Help

Post by Hani »

Administrator wrote:You only need the one file, the VCD.

It's easier to start with an existing VCD file, if you look in the help files/models that come with Vensim, you will find a few examples. Start with one of these and modify it.
And rest of the files will be created automatically when i work with VCD, that's what you mean?. I did what you suggested and worked with the examples, but other file extensions, when were not in the folder, created errors. So, i have to create them all and put them in the folder to have the app runs correctly.

Another question, what can be done with sable??

Thanks for the support
tomfid
Administrator
Posts: 3816
Joined: Wed May 24, 2006 4:54 am

Re: Venapp's Help

Post by tomfid »

Often all you need is a model and .vcd.

A .cin is a changes file, which you only need to load/store scenarios.

A .vgd contains custom graphs, but you can also embed the custom graphs in the model if needed.

There are lots of other ancillary files that you could potentially use, but venapps don't specifically need them.
Hani
Member
Posts: 46
Joined: Wed Feb 23, 2011 12:40 am

Re: Venapp's Help

Post by Hani »

Hi,
While progressing on developing my Venapps, i noticed that some files being created automatically such as .2vmf, .1VCD, .2VCD... Why these files being generated?

Note: when i delete these files, the venapp dose not get affect and function well.

Thank you
tomfid
Administrator
Posts: 3816
Joined: Wed May 24, 2006 4:54 am

Re: Venapp's Help

Post by tomfid »

Those are just backups. If you want to hide them, you can set up a backup path in Tools>Options>Startup.
Hani
Member
Posts: 46
Joined: Wed Feb 23, 2011 12:40 am

Re: Venapp's Help

Post by Hani »

tomfid wrote:Those are just backups. If you want to hide them, you can set up a backup path in Tools>Options>Startup.
ThanksTomy,

Are all the variables in the model can be changed in the venapp application? I see some variables in my model are not on the list while inserting in the app. I guess only constant variables can be changed?

Additionally, Can i change the equation from the venapp?

Kindly, can you clarify this

Thank you
Last edited by Hani on Thu Jan 17, 2013 6:17 pm, edited 1 time in total.
Administrator
Super Administrator
Posts: 4621
Joined: Wed Mar 05, 2003 3:10 am

Re: Venapp's Help

Post by Administrator »

You can only change constants/gaming decisions.

Tony.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Post Reply