I am getting the error shown in the attachment while trying to run the model (errormessage is "Result Database not created because C:\VEDA\Veda_FE\GAMS_WRKTIMES\BaseHydrogen.v2.VD Does not exist") . Because of this I cannot get any results. Can anyone tell why this is happening? The file was running smoothly earlier. I even tried uploading all the input files from scratch and nothing is helping.
The symptoms of the problems seem quite VEDA-related, but I can try and help if you can post the GAMS listing file (*.LST) from a run where the error occurs. The GAMS listing file (produced in the Work folder) might well reveal the cause of the problem. Please ZIP-compress the file before uploading.
(29-04-2019, 05:49 PM)Antti-L Wrote: The symptoms of the problems seem quite VEDA-related, but I can try and help if you can post the GAMS listing file (*.LST) from a run where the error occurs. The GAMS listing file (produced in the Work folder) might well reveal the cause of the problem. Please ZIP-compress the file before uploading.
Thanks for quick reply. I have attached the .LST file here. Please have a look.
29-04-2019, 06:12 PM (This post was last modified: 29-04-2019, 06:13 PM by Antti-L.)
Code:
4066 BE.2017.DMD_CHPHEN.CUR 0.001
**** $172
**** LINE 1885 BATINCLUDE C:\VEDA\Veda_FE\GAMS_WRKTIMES\base.dd
**** LINE 55 INPUT C:\VEDA\Veda_FE\GAMS_WRKTIMES\BaseHydrogen_v2.RUN
4067 BE.2017.DMD_CHPHGT.CUR 0.001
**** $172
**** LINE 1886 BATINCLUDE C:\VEDA\Veda_FE\GAMS_WRKTIMES\base.dd
**** LINE 55 INPUT C:\VEDA\Veda_FE\GAMS_WRKTIMES\BaseHydrogen_v2.RUN
You have some parameter instances re-defined in the BASE.DD file, see above. These appear to be some cost parameters for processes DMD_CHPHEN and DMD_CHPHGT. The duplicate entries for the same parameter cause a GAMS error, and the model run is terminated without further execution.
So, this has basically nothing to do with TIMES, but VEDA, which generates the BASE.DD input file for TIMES. But ultimately the problem is apparently caused by some problem in the model VEDA Base templates, or base transformation file. I would suggest to find out where you have defined the cost parameters for these processes, and to try and figure out why they are getting defined twice.
4066 BE.2017.DMD_CHPHEN.CUR 0.001
**** $172
**** LINE 1885 BATINCLUDE C:\VEDA\Veda_FE\GAMS_WRKTIMES\base.dd
**** LINE 55 INPUT C:\VEDA\Veda_FE\GAMS_WRKTIMES\BaseHydrogen_v2.RUN
4067 BE.2017.DMD_CHPHGT.CUR 0.001
**** $172
**** LINE 1886 BATINCLUDE C:\VEDA\Veda_FE\GAMS_WRKTIMES\base.dd
**** LINE 55 INPUT C:\VEDA\Veda_FE\GAMS_WRKTIMES\BaseHydrogen_v2.RUN
You have some parameter instances re-defined in the BASE.DD file, see above. These appear to be some cost parameters for processes DMD_CHPHEN and DMD_CHPHGT. The duplicate entries for the same parameter cause a GAMS error, and the model run is terminated without further execution.
So, this has basically nothing to do with TIMES, but VEDA, which generates the BASE.DD input file for TIMES. But ultimately the problem is apparently caused by some problem in the model VEDA Base templates, or base transformation file. I would suggest to find out where you have defined the cost parameters for these processes, and to try and figure out why they are getting defined twice.
Thank you Antti-L. The problem was with those two processes you mentioned. These two processes which were existing fictive demand technologies. There was an investment cost (COST) and VAROM defined for these processes earlier and there was no FOM. The error started appearing when I had added an FOM for these processes. Probably, the COST and FOM might be a duplication. Ideally, existing process should have only FOM and VAROM, right? So now I removed the COST values and only FOM and VAROM were included. Now it is working.
(29-04-2019, 07:31 PM)MohammedAbiAfthab Wrote: Thank you Antti-L. The problem was with those two processes you mentioned. These two processes which were existing fictive demand technologies. There was an investment cost (COST) and VAROM defined for these processes earlier and there was no FOM. The error started appearing when I had added an FOM for these processes. Probably, the COST and FOM might be a duplication. Ideally, existing process should have only FOM and VAROM, right? So now I removed the COST values and only FOM and VAROM were included. Now it is working.
Also, I tried defining COST and FOM for an existing process in a simple model. The same error is appearing. But if I define these as INVCOST and FOM, it is creating no problem.
In TIMES, there is no such attribute as "COST". Neither is there FOM or INVCOST. These are all VEDA names, and they will be translated by VEDA into the TIMES parameter names. TIMES has attributes NCAP_COST, NCAP_FOM and ACT_COST, representing investment cost, fixed O&M costs and variable O&M costs.
Anyway, if you get NCAP_FOM out when specifying "COST", that sounds like it may be a bug in VEDA. So, you could consider reporting it, or asking about it, on the VEDA Forum.
(29-04-2019, 07:57 PM)Antti-L Wrote: In TIMES, there is no such attribute as "COST". Neither is there FOM or INVCOST. These are all VEDA names, and they will be translated by VEDA into the TIMES parameter names. TIMES has attributes NCAP_COST, NCAP_FOM and ACT_COST, representing investment cost, fixed O&M costs and variable O&M costs.
Anyway, if you get NCAP_FOM out when specifying "COST", that sounds like it may be a bug in VEDA. So, you could consider reporting it, or asking about it, on the VEDA Forum.
Oh I see. Yes FOM and COST together are creating problem. I will post this in VEDA Forum.