Veda2.0 Released!


VEDA: Issues when synchronizing scenario file
#1
I am experiencing issues when synchronizing a scenario file related to the CmdF_bot attribute and using @CELL in Excel.

I have attached a generic scenario file which hopefully illustrates the problem. The point of the scenario file is to add a line of code to VTrun.cmd by using @CELL("filename";$A$1) in Excel to define the path that reflects the current user and model environment.

However, when synchronizing the scenario file in VEDA the path does not automatically update to reflect path of the current user environment. Instead, it appears that you have to make sure to manually open and save the Excel file locally before VEDA can update the path.  

I hope this makes sense. Is this a known issue, and is there a way to get around it?

Best,

Kristoffer


Attached Files
.xlsx   Scen_ZZ_CmdF_bot.xlsx (Size: 16.47 KB / Downloads: 4)
Reply
#2
Aspose does not support the @CELL("filename";$A$1) function. In fact, I had trouble using this function even before we started using Aspose. I was trying to use parts of the sheetname to construct commodity names.
Reply
#3
> Aspose does not support the @CELL("filename";$A$1) function.

I have been using CELL("filename") for many years in VEDA templates, and thus far I have not noticed any issue with it, unlike with the TOCOL function, which clearly was not recognized at all, and resulted in an error (see the recent thread by Till). My model data thus heavily depend on the values of CELL("filename").

@Amit: Do you mean that I do have a problem with using CELL("filename")? Or is it only arising if a recalc is in fact needed?
Reply
#4
Veda does not calculate formulas in files unless it really has to, which usually happens when Veda writes something back into the file (example: parametric and Fill-R), then it recalculates the whole file for the change to take effect. Other than that Veda only reads what has been last saved in the excel file by the user.
[+] 1 user Likes kanbee's post
Reply
#5
(14-05-2025, 04:36 PM)kanbee Wrote: Veda does not calculate formulas in files unless it really has to, which usually happens when Veda writes something back into the file (example: parametric and Fill-R), then it recalculates the whole file for the change to take effect. Other than that Veda only reads what has been last saved in the excel file by the user.

Thank you for the feedback. So I guess the solution is to add a dummy fill table in the the scenario file to ensure that VEDA updates and saves the path when synchronizing the scenario files. 

In my case, adding the following nonsensical fill table seems to do the trick terms of automatically updating the cell() function when synchronizing the model in VEDA. 


Best,

Kristoffer
[+] 2 users Like KristofferEML's post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues in Scaling the Model Anuradha 14 525 29-04-2025, 09:10 PM
Last Post: Anuradha
  TIMES-Macro-MSA MSADDF.DD file UNDF Enya 7 939 16-12-2024, 06:06 PM
Last Post: Enya
  Subres File [email protected] 1 326 10-12-2024, 08:51 AM
Last Post: KanORS-AssistGPT
  VEDA2 Results Tables Issues Antti-L 3 690 12-09-2024, 02:30 PM
Last Post: Antti-L
  Controversial handling of CG indexes by VEDA Antti-L 16 3,158 06-08-2024, 07:53 AM
Last Post: AKanudia
  Is there a way to adjust to the VTrun.cmd file generated when pressing solve in Veda? kristofferand 24 11,933 22-05-2024, 09:20 AM
Last Post: AKanudia
  GDX diff fails to find GAMS in VEDA vincedh 2 838 19-04-2024, 06:41 PM
Last Post: vincedh
  Veda online not solving. Getting veda 2.0? frangb99 0 501 17-03-2024, 11:52 PM
Last Post: frangb99
  VEDA Run Manager Module UgurHalden 1 989 21-02-2024, 05:14 PM
Last Post: Ravinder
Photo Installing VEDA in a server without internet acess sergio.vargas.cbba 1 730 06-02-2024, 04:24 PM
Last Post: Ravinder

Forum Jump:


Users browsing this thread: 1 Guest(s)