VDF2TAB and Time (in Command File)

Use this forum to post Vensim related questions.
Post Reply
apix
Senior Member
Posts: 64
Joined: Wed Mar 16, 2011 3:31 pm

VDF2TAB and Time (in Command File)

Post by apix »

Hi,

I'm experiencing a strange behaviour in the tab file created with the command VDF2TAB in a Command Script.
No particular option is given to the command, which has the form: MENU>VDF2TAB|vdffile|tabfile|savelist|

The strange behaviour is about the Time header.
The model runs from 1995 to 2030, but some variables are ouput in the tab file in the interval 1965.75 - 2074
Of course no value is provided for the years outside the interval 1995 - 2030, but, from aesthetic point of view, the result is not so "attractive".
Furthermore, even if the SAVEPER option is set to 5, the Time headers include every year and some (just some!) quarters of year.

I managed to avoid the visualization problem by adding the frequency, start and end option for VDF2TAB, but I'm curius to know the origin of these other years.

Thank you in advance.
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: VDF2TAB and Time (in Command File)

Post by Administrator »

Can you upload the VDF and the exact command you are 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: 3806
Joined: Wed May 24, 2006 4:54 am

Re: VDF2TAB and Time (in Command File)

Post by tomfid »

Are there data variables in the model? Data often has its own time axis.
apix
Senior Member
Posts: 64
Joined: Wed Mar 16, 2011 3:31 pm

Re: VDF2TAB and Time (in Command File)

Post by apix »

The exported variables include data variables, but these, as all inputs and ouputs refer to the interval 1995-2050.
The funny thing is that nowehere it is set the wider interval 1965-2074. I wonder if they are default dates.
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: VDF2TAB and Time (in Command File)

Post by tomfid »

Strange. I think we'd need the .vdf and exact command to diagnose. You can post it, or email if sensitive.
apix
Senior Member
Posts: 64
Joined: Wed Mar 16, 2011 3:31 pm

Re: VDF2TAB and Time (in Command File)

Post by apix »

HI,

I've prepared the vdf file, where can I send it to by email?
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: VDF2TAB and Time (in Command File)

Post by Administrator »

How large is the VDF?
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
apix
Senior Member
Posts: 64
Joined: Wed Mar 16, 2011 3:31 pm

Re: VDF2TAB and Time (in Command File)

Post by apix »

423 MB
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: VDF2TAB and Time (in Command File)

Post by Administrator »

Email is not an option then, it's far too large.

Can you upload it somewhere so we can download it?
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
apix
Senior Member
Posts: 64
Joined: Wed Mar 16, 2011 3:31 pm

Re: VDF2TAB and Time (in Command File)

Post by apix »

https://drive.google.com/file/d/0B6hO-H ... sp=sharing

the zip folder contains 4 files:
- Scenario_1.vdf
- VDF2TAB.cmd , the command used to generate:
- Scenario_1.tab , which present the unexpected Time headers
- VDF2TAB_with_start_end.cmd , the command used eventually to avoid the strange Time headers
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: VDF2TAB and Time (in Command File)

Post by Administrator »

Do you have the save list as well? The tab file it creates is 1.4gb in size.
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
apix
Senior Member
Posts: 64
Joined: Wed Mar 16, 2011 3:31 pm

Re: VDF2TAB and Time (in Command File)

Post by apix »

Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: VDF2TAB and Time (in Command File)

Post by Administrator »

Thanks. Unfortunately I'll need the model and associated datafiles to investigate any further.

Vensim is detecting 219 time points for some data parameters (possibly "TRA pass urban road charge[BE1]"). I'd need to check the data files to be sure.
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: 3806
Joined: Wed May 24, 2006 4:54 am

Re: VDF2TAB and Time (in Command File)

Post by tomfid »

Typically all the data has one long, common time vector, so if there's a long and/or irregular series, that will cause all the data to be reported differently from the model variables.
apix
Senior Member
Posts: 64
Joined: Wed Mar 16, 2011 3:31 pm

Re: VDF2TAB and Time (in Command File)

Post by apix »

Thank you both, I will check the "TRA pass urban road charge[BE1]" serie.
Post Reply