Hello,
I use Vensim PLE (Version 5.9e).
I assign a time serie (txt format) to a variable.
I have created a variable and assigned 'data' as type.
After clicking OK I want to choose the menu Model --> Import dataset ... But I cannot choose that option (it is not highlighted).
When I go back to the window Editing equation of specific variable the field 'type' is empty.
What went wrong?
kind regards,
Lukas
Define variable as data type
Vensim PLE doesn't do data variables - you need at least PLE plus. An alternative that's effective in some cases is to put your data in a lookup variable. Note that when you're editing a lookup with the "as graph" mode, you can import values copied from a spreadsheet or text file.
Tom
Tom
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
Vensim PLE does support the use of Data variables, but not connections to spreadsheets. The only type of data file that can be imported is a .dat file. Use the menu item Model>from .dat format to import the file. Then you will need to specify the dataset to be use to simulate.
You are correct that after declaring a variable to be type data the next time the equation editor is opened it shows a blank type - thanks for pointing that out we will fix it for the next release.
The easiest way to enter data is to use the Reference Mode tool (Chapter 20 of the USer's Guide).
You are correct that after declaring a variable to be type data the next time the equation editor is opened it shows a blank type - thanks for pointing that out we will fix it for the next release.
The easiest way to enter data is to use the Reference Mode tool (Chapter 20 of the USer's Guide).
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm