Page 1 of 1

Running Venapp in Vensim Reader

Posted: Mon Sep 23, 2019 11:18 am
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

Re: Running Venapp in Vensim Reader

Posted: Mon Sep 23, 2019 2:12 pm
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.

Re: Running Venapp in Vensim Reader

Posted: Wed Sep 25, 2019 9:05 am
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

Re: Running Venapp in Vensim Reader

Posted: Wed Sep 25, 2019 12:08 pm
by Administrator
Screenshots are pretty useless, we cannot tell what you are doing.

If you can upload the venapp, we can take a look.

Re: Running Venapp in Vensim Reader

Posted: Wed Sep 25, 2019 12:17 pm
by Hossein
Please find in the attachment, the Venapp.

Re: Running Venapp in Vensim Reader

Posted: Wed Sep 25, 2019 12:21 pm
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.

Re: Running Venapp in Vensim Reader

Posted: Wed Sep 25, 2019 2:00 pm
by Hossein
Dear Administrator,

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

BR,
Hossein

Re: Running Venapp in Vensim Reader

Posted: Thu Sep 26, 2019 6:26 am
by Hossein
Dear Administrator,

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

BR,
Hossein

Re: Running Venapp in Vensim Reader

Posted: Thu Sep 26, 2019 6:52 am
by Administrator

Re: Running Venapp in Vensim Reader

Posted: Thu Sep 26, 2019 1:40 pm
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

Re: Running Venapp in Vensim Reader

Posted: Thu Sep 26, 2019 1:52 pm
by Administrator
What error are you getting?

Re: Running Venapp in Vensim Reader

Posted: Thu Sep 26, 2019 2:34 pm
by Hossein
the following error

Re: Running Venapp in Vensim Reader

Posted: Thu Sep 26, 2019 2:35 pm
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.