Using dataset in PLE

Use this forum to post Vensim related questions.
Post Reply
neilfaraway
Junior Member
Posts: 4
Joined: Wed Apr 10, 2013 6:06 am
Vensim version: PLE

Using dataset in PLE

Post 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
Attachments
tank only.mdl
(1.51 KiB) Downloaded 455 times
Wilson
Administrator
Posts: 51
Joined: Thu Mar 06, 2003 5:05 am

Re: Using dataset in PLE

Post 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.
tomfid
Administrator
Posts: 4000
Joined: Wed May 24, 2006 4:54 am

Re: Using dataset in PLE

Post 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.
neilfaraway
Junior Member
Posts: 4
Joined: Wed Apr 10, 2013 6:06 am
Vensim version: PLE

Re: Using dataset in PLE

Post by neilfaraway »

Thanks both for you answers :)
Post Reply