When updating to Vensim 8.x the resulting simulatin files (vdfx) are roughly double the size than when I run the same simulation in an older Vensim version, generating a vdf output.
For us this is relevant because due to model size, the old ones were slightly above 0.5GB now they are above 1GB...
What's the main advantage of vdfx anyway? If you have a text that describes this somewhere that you could link to, that would be helpful.
Can Vensim 8+ be switched back to generating vdf files?
why are vdfx double the size than vdf files?
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: why are vdfx double the size than vdf files?
VDFX stores double precision numbers, VDF only stores single.
And no, it cannot be switched back to VDF files.
If size is a problem, you can use a savelist to cut down the amount of data you save.
And no, it cannot be switched back to VDF files.
If size is a problem, you can use a savelist to cut down the amount of data you save.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: why are vdfx double the size than vdf files?
Is there a way to have Vensim save simulation results as single precision numbers, even though the DP version of Vensim is installed?
As far as I can see, there has been no SP version released with version 8.2.1 and newer. The simulation size of over 1 GB fills a local hard disk with 250 GB of space quite quickly when doing multiple simulation runs. Therefore, it would be helpful to still have the SP option, in which simulation runs had only 1/2 or 1/3 of the size.
I've noticed a parameter /DDBLPREC in the CL-command when using compiled simulation, I wonder if there is a way to compute variable results as SP with the external compiler?
As far as I can see, there has been no SP version released with version 8.2.1 and newer. The simulation size of over 1 GB fills a local hard disk with 250 GB of space quite quickly when doing multiple simulation runs. Therefore, it would be helpful to still have the SP option, in which simulation runs had only 1/2 or 1/3 of the size.
I've noticed a parameter /DDBLPREC in the CL-command when using compiled simulation, I wonder if there is a way to compute variable results as SP with the external compiler?
Code: Select all
CL /c /I "%2" /DDBLPREC /DWIN32 /DWIN64 /Dx64 /D_x64 /D_WIN32 /D_WIN64 mdl.c
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: why are vdfx double the size than vdf files?
No, it cannot be done. When we moved to 64 bit, we also had to move to double precision.devM5 wrote: ↑Thu Feb 17, 2022 10:51 am Is there a way to have Vensim save simulation results as single precision numbers, even though the DP version of Vensim is installed?
As far as I can see, there has been no SP version released with version 8.2.1 and newer. The simulation size of over 1 GB fills a local hard disk with 250 GB of space quite quickly when doing multiple simulation runs. Therefore, it would be helpful to still have the SP option, in which simulation runs had only 1/2 or 1/3 of the size.
I've noticed a parameter /DDBLPREC in the CL-command when using compiled simulation, I wonder if there is a way to compute variable results as SP with the external compiler?
Code: Select all
CL /c /I "%2" /DDBLPREC /DWIN32 /DWIN64 /Dx64 /D_x64 /D_WIN32 /D_WIN64 mdl.c
You could enable compression on the folder if using NTFS file system on Windows. Or use a save list.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: why are vdfx double the size than vdf files?
OK, thank you!
Re: why are vdfx double the size than vdf files?
Another option would be to use a savelist to reduce the amount of data to be stored.
Just thinking out loud, what you'd really like to have might be an "excludelist" rather than a savelist. Typically you only get to file sizes like this with subscripting, and the majority of the data is going to reside in just a few variables with maximum dimensionality. So what you might want is to exclude x[a,b,c,d] and keep everything else.
Just thinking out loud, what you'd really like to have might be an "excludelist" rather than a savelist. Typically you only get to file sizes like this with subscripting, and the majority of the data is going to reside in just a few variables with maximum dimensionality. So what you might want is to exclude x[a,b,c,d] and keep everything else.
/*
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
*/