Running Venapp in Vensim Reader

Use this forum to post Vensim related questions.
Post Reply
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Running Venapp in Vensim Reader

Post by Hossein »

Dear Tom / Dear Administrator,

I was wondering how can I run my Venapp in Vensim Reader?!
I know that for running the model itself, it should be first saved as *.vmf file. I tried it and worked. But for Venapp, there is just one option in Save As: "Binary Venapp Definitions". However, it gets a *.vcf file not a *.vmf! Consequently, it cannot be opened in Vensim Reader.
I am using Vensim DSS 6.2.

BR,
Hossein
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator »

Publish your model, and on the publish settings box that appears, select "Venapp" as the package type. Then select your venapp and click publish. The resulting file should work as expected in the model reader.
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
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein »

Dear Administrator,

Thanks for your reply. It works, but the boxes that I have designed as inputs in the Venapp shows "error"! This will not happen if I run Venapp through Vensim. I have attached a screenshot of the venapp.

BR,
Hossein
Attachments
ScreenShotError.png
ScreenShotError.png (78.09 KiB) Viewed 4989 times
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator »

Screenshots are pretty useless, we cannot tell what you are doing.

If you can upload the venapp, we can take a look.
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
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein »

Please find in the attachment, the Venapp.
Attachments
venapp.vcd
(123.28 KiB) Downloaded 198 times
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator »

I cannot see a call to SPECIAL>LOADMODEL| in your venapp. Try adding it on the first screen and hopefully it will work.
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
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein »

Dear Administrator,

Thank you so much. I did it and worked :)

BR,
Hossein
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein »

Dear Administrator,

I was wondering whether running a sensitivity in Vensim Reader is possible or not?

BR,
Hossein
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein »

Thank you for the link you provided. But these commands are not working in the Vensim Reader and get an error. I think they are just runnable merely in Vensim.

BR,
Hossein
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator »

What error are you getting?
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
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein »

the following error
Attachments
error.png
error.png (83.01 KiB) Viewed 4965 times
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator »

ok, what are the exact commands you are using to start the sensitivity run?

A good way to debug is to put just these commands into a CMD file and run that.
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