Page 1 of 1

Using dataset in PLE

Posted: Wed Apr 10, 2013 6:15 am
by neilfaraway
Hi,

I have just downloaded and started learning Vensim PLE. I am trying to model water flows through the urban environment. My first test has been to have a 'rain' flow enter a tank... but I am stumbling at this first hurdle. I have made a .dat file by saving a space delimited version of monthly rainfall data from excel and imported it into my model as described in ch16 of te help manual. I can see the graph of values when I select the appropriate variable for the workbench, but when I try to run the simulation I get the error:
ERROR: The variable- rain -and perhaps others require a data file be specified.
ERROR: Unable to correctly load in exogenous values - aborting.

Is there anything I can do in the PLE version to get this working? (The only alternative I see is entering data by hand into a lookup table, or doing similar in the reference mode)

(I have attached the model file - hopefully the data set exists inside of it... the forum software won't let me upload the .dat file.)

Thanks
Neil

Re: Using dataset in PLE

Posted: Wed Apr 10, 2013 8:23 am
by Wilson
I don't think the option to use external data to drive the model is available in Vensim PLE, only higher versions. Check out the vensim version comparison chart http://vensim.com/comparison/

In versions where it is available, once the external data has been imported to vensim format, you have to specify that filename in the simulation control dialog box (advanced tab) to tell vensim where to look.

Re: Using dataset in PLE

Posted: Thu Apr 11, 2013 12:50 pm
by tomfid
PLE allows import of data for comparison, but not data variables for driving the model. You can put your data in a lookup instead.

Re: Using dataset in PLE

Posted: Sun Apr 14, 2013 8:49 am
by neilfaraway
Thanks both for you answers :)