Veda2.0 Released!


Error 170 Domain violation for element
#1
Hello,

I've been having this issues with new veda and model.
Coudnt attach log files.

 --------------------------------------------------------
 Application Name: Veda2.0 - Installer - 1.231.1.5
 Machine Name: LAPTOP-RKU8BSRV
 User Name: brage
 User Domain Name: LAPTOP-RKU8BSRV
 Windows OS: Microsoft Windows 10 Home
 Region: US - United States
 Language: English (United States)
 Current Culture: en-US - English (United States)
 TimeZone: W. Europe Standard Time - (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
 Date Time Format: M/d/yyyy h:mmConfuseds tt, DateSeparator=/, TimeSeparator=:
 Number Format: Digits=2, DecimalSeparator=., GroupSeparator=,
 .NET Framework: 4.0.30319.42000, .NETFramework,Version=v4.6.1
 

 --------------------------------------------------------
 Name : Veda.Common.KanLogger {1.231.1.5}
 Time : 2021-05-07 15:29:18.1266
 Type : TRACE
 Machine / User : LAPTOP-RKU8BSRV / LAPTOP-RKU8BSRV\brage
 StackTrace :  Program.Main
 Message : Windows information logging.
 

 --------------------------------------------------------
 Name : Veda.Common.KanLogger {1.231.1.5}
 Time : 2021-05-07 19:08:17.3630
 Type : TRACE
 Machine / User : LAPTOP-RKU8BSRV / LAPTOP-RKU8BSRV\brage
 StackTrace :  Program.Main
 Message : Windows information logging.
 

LST file for scenario in attachment.
Reply
#2
LST file in attachment.
Reply
#3
(07-05-2021, 10:48 PM)BrageAG Wrote: LST file in attachment.

GAMS 33.2.0  r4f23b21 Released Dec  1, 2020 WEX-WEI x86 64bit/MS Windows - 05/07/21 15:47:58 Page 8
TIMES -- VERSION 4.1.0
C o m p i l a t i o n


 454  OPTION PROFILE=1, SOLVEOPT=REPLACE;
 455  OPTION RESLIM=50000, ITERLIM=999999, LIMROW=0, LIMCOL=0, SOLPRINT=OFF;
 456   
 457   
 458  option LP=CPLEX;
 459   
 460   
 461  *--If you want to use an optimizer other than cplex/xpress, enter it here:
 462  *OPTION LP=MyOptimizer;
 463   
GAMS 33.2.0  r4f23b21 Released Dec  1, 2020 WEX-WEI x86 64bit/MS Windows - 05/07/21 15:47:58 Page 9
TIMES -- VERSION 4.5.3
C o m p i l a t i o n


      *===========================================================================================
      *  Copyright © 2000-2021 IEA Energy Technology Systems Analysis Programme (IEA-ETSAP).
      *  This software (ETSAP TIMES) is open source: you can redistribute it and/or modify it
      *  under the terms of the GNU General Public License v3.0 (see file LICENSE.txt).
      *  For further information, visit: .
      *
      *  This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
      *  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      *===========================================================================================
GAMS 33.2.0  r4f23b21 Released Dec  1, 2020 WEX-WEI x86 64bit/MS Windows - 05/07/21 15:47:58 Page 10
TIMES -- VERSION 4.5.3 -- Restart (v4.5)
C o m p i l a t i o n


48671  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WDH03-06'.'NO1'.'EXP'.'kNOK' 481.2389
****                                                   $170
**** LINE     12 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48672  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WDH03-06'.'NO1'.'IMP'.'kNOK' 482.2389
****                                                   $170
**** LINE     13 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48679  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WDH15-18'.'NO1'.'EXP'.'kNOK' 558.6008
****                                                   $170
**** LINE     20 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48680  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WDH15-18'.'NO1'.'IMP'.'kNOK' 559.6008
****                                                   $170
**** LINE     21 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48687  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WEH03-06'.'NO1'.'EXP'.'kNOK' 480.404
****                                                   $170
**** LINE     28 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48688  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WEH03-06'.'NO1'.'IMP'.'kNOK' 481.404
****                                                   $170
**** LINE     29 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48695  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WEH15-18'.'NO1'.'EXP'.'kNOK' 522.755375
****                                                   $170
**** LINE     36 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48696  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S01WEH15-18'.'NO1'.'IMP'.'kNOK' 523.755375
****                                                   $170
**** LINE     37 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48703  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S02WDH03-06'.'NO1'.'EXP'.'kNOK' 467.98115
****                                                   $170
**** LINE     44 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48704  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S02WDH03-06'.'NO1'.'IMP'.'kNOK' 468.98115
****                                                   $170
**** LINE     45 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48711  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S02WDH15-18'.'NO1'.'EXP'.'kNOK' 545.53445
****                                                   $170
**** LINE     52 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
48712  'NO1'.'2018'.'TRD_NO1_SE3'.'ELC-HV'.'S02WDH15-18'.'NO1'.'IMP'.'kNOK' 546.53445
****                                                   $170
**** LINE     53 BATINCLUDE  C:\Veda\GAMS_WrkTIMES\trade_prices_allbnk_208_2021-04-26.dd
**** LINE     66 INPUT       C:\Veda\GAMS_WrkTIMES\100-mediumcost.RUN
**** 170  Domain violation for element
Reply
#4
Dear Brage,

Kindly attached lst file as a zip or rename it as txt file.

You have just shared the log file contents in the post. Lst file is different and it should be located on your wrktimes folder.

By mistake, you have posted your question on VEDA Front End forum. 
Next time please take care of this, we already created VEDA2.0 forum.


Now, I have moved this thread to VEDA2.0 forum.
Reply
#5
(07-05-2021, 10:54 PM)Ravinder Wrote: Dear Brage,

Kindly attached lst file as a zip or rename it as txt file.

You have just shared the log file contents in the post. Lst file is different and it should be located on your wrktimes folder.

By mistake, you have posted your question on VEDA Front End forum. 
Next time please take care of this, we already created VEDA2.0 forum.


Now, I have moved this thread to VEDA2.0 forum.

Thank you for moving my question to the correct forum. Please see the attachment for files.


Attached Files
.zip   Files.zip (Size: 104.92 KB / Downloads: 9)
Reply
#6
The domain violations are caused by the timeslices *H03-06 and *H15-18, which are missing in your model from the set ALL_TS.  To see why they are missing, please post either SysSettings.xlsx (in the model folder) or 100-mediumcost_ts.dd (in the work folder), or both in a zip file.
Reply
#7
(09-05-2021, 07:16 PM)Antti-L Wrote: The domain violations are caused by the timeslices *H03-06 and *H15-18, which are missing in your model from the set ALL_TS.  To see why they are missing, please post either SysSettings.xlsx (in the model folder) or 100-mediumcost_ts.dd (in the work folder), or both in a zip file.

Hello, please see attachments for files.


Attached Files
.zip   SysSetting-100MED.zip (Size: 415.73 KB / Downloads: 4)
Reply
#8
Looks like your SysSettings.xlsx and 100-mediumcost_ts.dd are from a different model version, as the timeslices are defined differently (the hour ranges are different).  Moreover, I can see that your 100-mediumcost_ts.dd has a timestamp from April 27th, while your listing file was much newer, May 7th.  They should have the same date if taken from the same run.  

Anyway, assuming that the SysSettings.xlsx you provided is the current version, it shows that you have used invalid timeslices in the two scenarios:
  • trade_prices_allbnk_208_2021-04-26.dd
  • 0_profile_com_208.dd

So, you should try checking the consistency of your timeslices in those scenario data with what you have in SysSettings, and then re-import the scenarios. But if the problem persists, I hope the VEDA experts can help you further.
Reply
#9
I have attached all new fresh files from today from 3 different scenarios. I can see that the previous model had different timeslices than the new one. All these files are from same SysSetting.


Attached Files
.zip   Fresh-files.zip (Size: 664.48 KB / Downloads: 4)
Reply
#10
Yes, as I said, you are using invalid timeslices in the scenarios
  • trade_prices_allbnk_208_2021-04-26.dd
  • 0_profile_com_208.dd

This time your new listing files show that now you are not using trade_prices_allbnk_208_2021-04-26, but you are using 0_profile_com_208.  That scenario contains invalid timeslices, and so your model is bad.  Surely you can correct those errors, cannot you? I looked at the Excel file, and was immediately able to verify that you have used those wrong timeslices there.
Reply
#11
Hello, you are correct, I am NOT using trade_prices_allbnk_208_2021-04-26 i am using Trade_Prices_BASELINE_208_2020-05-22. Trade_Prices_BASELINE_208_2020-05-22 and 0_profile_com_208 has same timeslices as SysSetting.
Reply
#12
No it doesn't have same,  0_profile_com_208 uses invalid timeslices, different from those in SysSettings.  Rolleyes
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I add additional element to prc_grp? kristofferand 28 9,051 19-03-2025, 06:44 PM
Last Post: KristofferEML
  Sync error when including international trade [email protected] 4 340 03-02-2025, 08:01 PM
Last Post: [email protected]
  VEDA2 fatal error (unexpected case sensitivity) Antti-L 2 510 30-08-2024, 10:49 PM
Last Post: Antti-L
  Unexpected error in model run BSR 2 639 17-07-2024, 07:07 PM
Last Post: BSR
  An error when I read JRC-EU-TIMES Lee 7 2,385 03-06-2024, 05:28 PM
Last Post: Lee
  Error at line 904570: Equation infeasible due to rhs value frangb99 12 3,215 03-04-2024, 12:19 AM
Last Post: frangb99
Exclamation Error: Unexpected GAMSCMEX return code jskrzypek 4 2,282 13-12-2023, 09:54 PM
Last Post: jskrzypek
  Error with CAPACITY JozefO 1 972 03-02-2023, 12:22 AM
Last Post: Antti-L
  Getting an error while creating the model jskrzypek 7 4,483 25-01-2023, 01:04 AM
Last Post: Ravinder
  Error Messages JozefO 3 1,442 12-12-2022, 02:20 PM
Last Post: Ravinder

Forum Jump:


Users browsing this thread: 1 Guest(s)