max character length Data sources field?

Use this forum to post Vensim related questions.
Post Reply
kleemax
Senior Member
Posts: 125
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

max character length Data sources field?

Post by kleemax »

I would like to know if there is a limit to the amount of characters that can be entered in the field "Data sources" under the advanced tab of simulation control, what that limit is and whether or not that depends on the Vensim version.
And if there is a character limit, I would like to know if that limit also applies when specifying "Data sources" as a Vensim script or when using the DLL.
Administrator
Super Administrator
Posts: 4589
Joined: Wed Mar 05, 2003 3:10 am

Re: max character length Data sources field?

Post by Administrator »

There used to be a limit, but it was removed a couple of years ago.

What version are you using?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3808
Joined: Wed May 24, 2006 4:54 am

Re: max character length Data sources field?

Post by tomfid »

How much space do you need?

A possible way to mitigate the length is to combine data sources into one or a few master vdf files, by using a separate data model.
kleemax
Senior Member
Posts: 125
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Re: max character length Data sources field?

Post by kleemax »

Administrator wrote: Fri Dec 04, 2020 2:25 pm There used to be a limit, but it was removed a couple of years ago.

What version are you using?
We are / I am using several different versions e.g. 6.4 (Win), 7.3.4 DSS (Mac DP, SP), and we also have a version 8.0 (Win) on one or two machines I think and maybe some others in the range of 6 and 7 (Win). It would therefore be good to know in which version the limit was removed, so we know which machines would need an update if we start using longer file names (we usually load lots of files).
kleemax
Senior Member
Posts: 125
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Re: max character length Data sources field?

Post by kleemax »

tomfid wrote: Fri Dec 04, 2020 3:08 pm How much space do you need?

A possible way to mitigate the length is to combine data sources into one or a few master vdf files, by using a separate data model.
Hi Tom,

we usually load lots of files and in the past reverted to using strongly abbreviated file names to avoid the issue. It would be helpful if we could use normal file names now which are less cryptic but longer. I don't have an exact need, but we typically load lots of files.

I am not familiar with master vdf files and data models. Where can I read more about this?
Administrator
Super Administrator
Posts: 4589
Joined: Wed Mar 05, 2003 3:10 am

Re: max character length Data sources field?

Post by Administrator »

kleemax wrote: Mon Dec 07, 2020 8:10 amwe usually load lots of files and in the past reverted to using strongly abbreviated file names to avoid the issue. It would be helpful if we could use normal file names now which are less cryptic but longer. I don't have an exact need, but we typically load lots of files.
There was a limit on the total number of data files, but we removed that (I think approximately a year ago).
kleemax wrote: Mon Dec 07, 2020 8:10 amI am not familiar with master vdf files and data models. Where can I read more about this?
A data model does nothing more than import the data and perform any calculations on it to generate a VDF file that is then used by a different model. If your data does not change often, it might be an idea to do this as data import (from CSV, DAT, TAB etc) can be expensive in terms of CPU time.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
kleemax
Senior Member
Posts: 125
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Re: max character length Data sources field?

Post by kleemax »

Administrator wrote: Mon Dec 07, 2020 8:37 am There was a limit on the total number of data files, but we removed that (I think approximately a year ago).
Can you tell me which is the first vensim version that does not have that limit?
Post Reply