Page 1 of 1

Can I change model settings in a Venapp?

Posted: Wed Nov 03, 2010 2:16 am
by merwin
Hi,

I am developing a Venapp where I would like the user to be able to alter the "Base date," a model setting. The user will be manipulating input data in an Excel spreadsheet, and I want the user to also be able to somehow indicate what year to start simulations in. If altering model settings in a Venapp is not possible, perhaps there is another work-around solution? Thank you for your help!

V/r,
Michael

Posted: Wed Nov 03, 2010 1:52 pm
by bob@vensim.com
I can't think of a way to do this now, but it is a good idea. We will look into adding the capability.

Posted: Wed Nov 03, 2010 1:57 pm
by tomfid
Is it not possible to link the INITIAL TIME setting to the spreadsheet with a GET XLS CONSTANTS call? Maybe I'm missing something, but this sounds possible.

Posted: Wed Nov 03, 2010 4:53 pm
by merwin
Thank you. I wanted to change the base date which is associated with time = 0. Perhaps I can get close to the desired result by restructuring some things and manipulating the INITIAL TIME.

V/r,
Michael

Posted: Wed Nov 03, 2010 5:39 pm
by tomfid
Ahh ... I think I understand now. You're talking about changing the "Base Date" setting under Model>Settings>Time Bounds, for display on graph axes, right?

I've never tried it, but it does seem that since Base Date is referenced to Time=0, you should be able to manipulate it by changing the INITIAL TIME of the model. That could have some unintended consequences if you're importing time series data from Excel, but might be OK otherwise.

Tom