Veda2.0 Released!


Subject: How to prevent VEDA from generating vd-files during model runs?
#1
Hi,

I know VEDA has an option to automatically delete vd-files after solving a model, but I'm wondering if there's a way to prevent VEDA from writing these files in the first place.

Background: I'm running large parametric scenarios where I don't need the vd-files for reporting purposes. The overhead from writing and then deleting these files is becoming significant.

What I'm looking for: Ideally, I'd like a reporting option or setting that removes the following line from the vt_run-file:

Code:
GDX2VEDA GAMSSAVE\%$case_name% ..\..\GAMS_SrcTIMES.v4.9.0\times2veda.vdd %$vd_file_name%

Has anyone found a clean way to accomplish this, or does anyone know if such an option exists in VEDA's configuration?

Thanks for any insights!

Best,

Kristoffer
Reply
#2
For a quick workaround, I think you could just add the following command into vtrun with cmdf_top :
echo @echo off > GDX2VEDA.CMD
Then GDX2VEDA would execute that cmd file and would do nothing.  Big Grin
[+] 1 user Likes Antti-L's post
Reply
#3
why did you call this a "workaround" Antti? This should be the recommended way for disabling on a temporary basis. For longer-term and widespread application, I guess one can write something in the vdd file that would disable the reporting step?
Reply
#4
Well, it has a drawback that may be significant:  The vtrun script is in this case terminated with that GDX2VEDA execution (because it is without CALL).  And therefore, if you have added some cmdf_bot commands, they would in this case not be executed.  Actually, it might well be that KristofferEML uses such additional cmdf_bot commands...  To overcome that, one might thus need to insert those additional commands into that GDXVEDA.CMD if using this workaround.

This problem would not exist if VEDA would use CALL GDX2VEDA instead of just GDX2VEDA.  Then the control would be returned to vtrun after executing GDX2VEDA.
Reply
#5
(21-08-2025, 06:23 PM)Antti-L Wrote: Well, it has a drawback that may be significant:  The vtrun script is in this case terminated with that GDX2VEDA execution (because it is without CALL).  And therefore, if you have added some cmdf_bot commands, they would in this case not be executed.  Actually, it might well be that KristofferEML uses such additional cmdf_bot commands...  To overcome that, one might thus need to insert those additional commands into that GDXVEDA.CMD if using this workaround.

This problem would not exist if VEDA would use CALL GDX2VEDA instead of just GDX2VEDA.  Then the control would be returned to vtrun after executing GDX2VEDA.

Thank you Antti. You're absolutely right - I do rely on cmdf_bot to execute a timesreport GAMS script, so the echo @echo off > GDX2VEDA.CMD workaround isn't viable for my use case.

@Amit, would it be possible to implement CALL GDX2VEDA instead of just GDX2VEDA as Antti suggested?

An alternative solution that works is to rename GDX2VEDA.exe in the GAMS library, then the vtrun.cmd just skips the step as it cannot find GDX2VEDA.exe.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to adjust the VTRUN.cmd in Parametric Runs philip 4 280 10-04-2026, 11:59 PM
Last Post: AKanudia
  Runs status from run manager lbtermansen 1 230 23-03-2026, 06:49 PM
Last Post: Ravinder
Exclamation Significant changes in fuel consumption results after VEDA updates aurora 9 741 31-12-2025, 08:07 PM
Last Post: Antti-L
  Unexpected ObjZ discrepancy in single-year model (DEMOS_012, G_DYEAR = 2005) KristofferEML 6 449 16-12-2025, 04:40 PM
Last Post: KristofferEML
  Question about IRE_PRICE parameter and external regions in VEDA KristofferEML 2 281 19-09-2025, 06:27 PM
Last Post: KristofferEML
  Issue with VEDA 2.0 (v4.1.1.1) – Domain Violation Errors After Update LuisPDias 6 1,284 03-07-2025, 11:18 PM
Last Post: LuisPDias
  How to speed up model generation? lbtermansen 11 1,839 09-06-2025, 03:21 PM
Last Post: Antti-L
  VEDA: Issues when synchronizing scenario file KristofferEML 4 1,245 14-05-2025, 08:05 PM
Last Post: KristofferEML
  Issues in Scaling the Model Anuradha 14 3,239 29-04-2025, 09:10 PM
Last Post: Anuradha
  meaning of NCAP in a simple test model Enya 2 785 02-04-2025, 03:33 PM
Last Post: Antti-L

Forum Jump:


Users browsing this thread: 1 Guest(s)