Veda2.0 Released!


Sync stopped in VEDA 2.0
#1
Hello, Did someone meet with Synchronization problem ("frozen") in VEDA 2.0. Process stopped at 81 % every-time and nothing happening?
Thank you


Attached Files Thumbnail(s)
   
Reply
#2
Hi Jozef,

Kindly share the logs files.
Reply
#3
Can you send the model files to us?
Reply
#4
(13-10-2020, 11:52 AM)Ravinder Wrote: Hi Jozef,

Kindly share the logs files.

Hi Ravinder, 

There is no LOGS files because its stopped at 81 % i can only close the SYNC window and start again to Synchronization. But it's happening again and again.
I m using Veda2.0_localhost_1.161.1.1.
Reply
#5
(13-10-2020, 12:41 PM)JozefO Wrote:
(13-10-2020, 11:52 AM)Ravinder Wrote: Hi Jozef,

Kindly share the logs files.

Hi Ravinder, 

There is no LOGS files because its stopped at 81 % i can only close the SYNC window and start again to Synchronization. But it's happening again and again.
I m using Veda2.0_localhost_1.161.1.1.

Hi Jozef,

Please find the log files under this location(Veda2.0_localhost_1.167.1.1\logs).
Reply
#6
(13-10-2020, 12:49 PM)Ravinder Wrote:
(13-10-2020, 12:41 PM)JozefO Wrote:
(13-10-2020, 11:52 AM)Ravinder Wrote: Hi Jozef,

Kindly share the logs files.

Hi Ravinder, 

There is no LOGS files because its stopped at 81 % i can only close the SYNC window and start again to Synchronization. But it's happening again and again.
I m using Veda2.0_localhost_1.161.1.1.

Hi Jozef,

Please find the log files under this location(Veda2.0_localhost_1.167.1.1\logs).

Thank you, i found it.


Attached Files
.docx   13.10.2020.docx (Size: 18.48 KB / Downloads: 7)
Reply
#7
I tested your model, and yes I saw the same issue.

But by correcting your SysSettings it worked:

1)  In Your Timeslices you defined ANNUAL as a SEASON; that of course won't work, if the only timeslice is ANNUAL, you need to define ANNUAL as Annual (add column Annual into ~TimeSlices, and put ANNUAL below it).
2) Add a TFM_INS table into the Constants sheet and define a discount rate for SVK (a discount rate is mandatory!)

With these corrections the Sync completed well.

You also have to change all your ANNUALL timeslice levels to ANNUAL (~FI_Process), because there is no such timeslice level as ANNUALL.
Reply
#8
thanks Antti. We will make sure that Veda doesn't hang even with this erroneous input.
Reply
#9
(13-10-2020, 02:35 PM)Antti-L Wrote: I tested your model, and yes I saw the same issue.

But by correcting your SysSettings it worked:

1)  In Your Timeslices you defined ANNUAL as a SEASON; that of course won't work, if the only timeslice is ANNUAL, you need to define ANNUAL as Annual (add column Annual into ~TimeSlices, and put ANNUAL below it).
2) Add a TFM_INS table into the Constants sheet and define a discount rate for SVK (a discount rate is mandatory!)

With these corrections the Sync completed well.

You also have to change all your ANNUALL timeslice levels to ANNUAL (~FI_Process), because there is no such timeslice level as ANNUALL.
Thank you, and can i ask, did you try to SOLVE it in RUN Manager if its working  ?
Reply
#10
No, I did not try to run the model, because you had the ANNUALL error, but I did now by replacing it with ANNUAL in the DD file.  Shy

The run terminated into a GAMS error, because you had not defined the source groups for the FLO_EMIS attribute. FLO_EMIS(r,y,p,cg,c,ts) expects not only the emission commodity c but also the source commodity/group cg (source flow for the emission). You can define the source group by using the CommGrp column. Or, if the source should be the activity, you can use ENV_ACT instead of FLO_EMIS. I don't know which sources you have intended, and so I could not test it.
Reply
#11
(13-10-2020, 04:52 PM)Antti-L Wrote: No, I did not try to run the model, because you had the ANNUALL error, but I did now by replacing it with ANNUAL in the DD file.  Shy

The run terminated into a GAMS error, because you had not defined the source groups for the FLO_EMIS attribute. FLO_EMIS(r,y,p,cg,c,ts) expects not only the emission commodity c but also the source commodity/group cg (source flow for the emission). You can define the source group by using the CommGrp column. Or, if the source should be the activity, you can use ENV_ACT instead of FLO_EMIS. I don't know which sources you have intended, and so I could not test it.

Hello Antti, I'm not sure if i understand it correctly. Can you check my SysSetting, Commodity Group if find some free time ? Or, are you able to send me some example ?

Thank you kindly.

(i m sending my SysSett.)


Attached Files
.xlsx   SysSettings.xlsx (Size: 28.64 KB / Downloads: 4)
Reply
#12
Hello Jozef, I'm not sure if i understand you correctly. I looked at your SysSettings, and I don't understand why you have now defined user-defined groups for the emission commodities.  Can you explain?

@Amit:  It seems there is a VEDA problem after all, with having only the ANNUAL timeslice:  Even though I defined ANNUAL in ~TimeSlices (under Annual), the ANNUAL timeslice does not get written into the *_ts.dd file.  And because that file is missing $ONEMPTY, I am now getting a GAMS error from that file.  Amit: Can you confirm/comment on this problem?  Of course, using just ANNUAL should be well supported.
Reply
#13
(14-10-2020, 02:00 PM)Antti-L Wrote: Hello Jozef, I'm not sure if i understand you correctly. I looked at your SysSettings, and I don't understand why you have now defined user-defined groups for the emission commodities.  Can you explain?

@Amit:  It seems there is a VEDA problem after all, with having only the ANNUAL timeslice:  Even though I defined ANNUAL in ~TimeSlices (under Annual), the ANNUAL timeslice does not get written into the *_ts.dd file.  And because that file is missing $ONEMPTY, I am now getting a GAMS error from that file.  Amit: Can you confirm/comment on this problem?  Of course, using just ANNUAL should be well supported.

Hi, i understood it this way what you wrote. My bad.
Ok so its wrong what i did in SysSett. But where i should defined Comm Grp ? FLO_EMIS~2018~CSxy is correct? what else is missing ? 

My intention is to model emissions based on combustion of (fuel mix). Each fuel mix has a different fuel input. I determined the emission commodity (CSxy) factor for a specific fuel mix and STOCK (installed resid. Capacity) is the total amount of fuel consumed in PJ-Yr.
Reply
#14
In your SysSettings, you had defined groups for the emissions. If you mean that the emission factor is based on the whole group of input commodities, then you may want to define groups for those inputs instead. But if you want to define emission factors for a single flows or the activity, then no groups need to be defined.

For example, FLO_EMIS~2018~C1A2a is indeed correct for defining an emission factor for emission commodity C1A2a.  However, FLO_EMIS(r,y,p,cg,c,ts) expects not only the emission commodity c but also the source commodity/group cg (the source flow for the emission).  So, here c=C1A2a, but you had no cg defined in the FI_T tables.  Please just define the cg under the CommGrp (or Other_indexes) column, as follows:  

1) Add a new column with the header CommGrp (or Other_indexes).
2) Put the name of the source commodity (or a group of them) in that column under that header.
Reply
#15
(14-10-2020, 02:57 PM)Antti-L Wrote: In your SysSettings, you had defined groups for the emissions. If you mean that the emission factor is based on the whole group of input commodities, then you may want to define groups for those inputs instead. But if you want to define emission factors for a single flows or the activity, then no groups need to be defined.

For example, FLO_EMIS~2018~C1A2a is indeed correct for defining an emission factor for emission commodity C1A2a.  However, FLO_EMIS(r,y,p,cg,c,ts) expects not only the emission commodity c but also the source commodity/group cg (the source flow for the emission).  So, here c=C1A2a, but you had no cg defined in the FI_T tables.  Please just define the cg under the CommGrp (or Other_indexes) column, as follows:  

1) Add a new column with the header CommGrp (or Other_indexes).
2) Put the name of the source commodity (or a group of them) in that column under that header.

Emission factor is defined for one (FUEL MIX) let say IISFMIX163.   Input fuels are HFO-Heavy fuel oil and NG- Natural gas. And then 61.017 ktCO2/PJ is emission factor of ENV commodity CS163. The total emissions are = STOCK (1.50 PJyr) x CS163 (61.017ktco2/PJ) = 92.02 kt/Yr.  Soo is possible to have Input and Output like i send you ? Then CommGrp need to be on the left-hand side ? I must admit i m lost  Undecided


Attached Files Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sync error when including international trade [email protected] 4 411 03-02-2025, 08:01 PM
Last Post: [email protected]
  Issue with Sync Log report LucasD 1 504 14-08-2024, 03:43 PM
Last Post: Ravinder
  Controversial handling of CG indexes by VEDA Antti-L 16 2,902 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,641 22-05-2024, 09:20 AM
Last Post: AKanudia
  GDX diff fails to find GAMS in VEDA vincedh 2 790 19-04-2024, 06:41 PM
Last Post: vincedh
  Veda online not solving. Getting veda 2.0? frangb99 0 459 17-03-2024, 11:52 PM
Last Post: frangb99
  VEDA Run Manager Module UgurHalden 1 938 21-02-2024, 05:14 PM
Last Post: Ravinder
Photo Installing VEDA in a server without internet acess sergio.vargas.cbba 1 680 06-02-2024, 04:24 PM
Last Post: Ravinder
  Capacity units in gdx/dd files vs veda iris 14 6,499 03-01-2024, 08:04 PM
Last Post: Antti-L
Question VBA code in Veda input files AKanudia 11 3,850 29-12-2023, 09:50 AM
Last Post: AKanudia

Forum Jump:


Users browsing this thread: 4 Guest(s)