Running Venapp in Vensim Reader

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

Running Venapp in Vensim Reader

Post by Hossein » Mon Sep 23, 2019 11:18 am

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: 3362
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator » Mon Sep 23, 2019 2:12 pm

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: 45
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein » Wed Sep 25, 2019 9:05 am

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 234 times

Administrator
Super Administrator
Posts: 3362
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator » Wed Sep 25, 2019 12:08 pm

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: 45
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein » Wed Sep 25, 2019 12:17 pm

Please find in the attachment, the Venapp.
Attachments
venapp.vcd
(123.28 KiB) Downloaded 10 times

Administrator
Super Administrator
Posts: 3362
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator » Wed Sep 25, 2019 12:21 pm

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: 45
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein » Wed Sep 25, 2019 2:00 pm

Dear Administrator,

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

BR,
Hossein

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

Re: Running Venapp in Vensim Reader

Post by Hossein » Thu Sep 26, 2019 6:26 am

Dear Administrator,

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

BR,
Hossein


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

Re: Running Venapp in Vensim Reader

Post by Hossein » Thu Sep 26, 2019 1:40 pm

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: 3362
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator » Thu Sep 26, 2019 1:52 pm

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: 45
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Running Venapp in Vensim Reader

Post by Hossein » Thu Sep 26, 2019 2:34 pm

the following error
Attachments
error.png
error.png (83.01 KiB) Viewed 210 times

Administrator
Super Administrator
Posts: 3362
Joined: Wed Mar 05, 2003 3:10 am

Re: Running Venapp in Vensim Reader

Post by Administrator » Thu Sep 26, 2019 2:35 pm

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