CGE modeling in GAMS Error

Hello, It is my first time using IMPLAN database in CGE modeling work. I have written my three GAMS files to create SAM as input file for CGE modeling (i.e. CHECK.GMS, MAP.GMS, and AGGREG.GMS). I have two problems: 1. I am getting some "Element is redefined" error on the CHECK.GMS file. When I click on it in the .lst file, I see that it has marked errors in a number of sectors. What could be going on here? I have aggregated the 440 commodity sectors into 12 sectors. I have confirmed that there are no cases where a sector is grouped into more than one bigger sector. I know that the "Element is redefined" error is GAMS means that you are trying to give the same "element" a different "definition". How does this make sense here? 2. I have specified the "Include file" on the CHECK.GMS file so that it can read the 27 data file from IMPLAN as below but it gives me "Unable to open include file" error. What could be wrong here?: $INCLUDE "%DATAPATH%%DATANAM% 2x1.dat" $INCLUDE "%DATAPATH%%DATANAM% 3x1.dat" $INCLUDE "%DATAPATH%%DATANAM% 5x1.dat" ...... ...... $INCLUDE "%DATAPATH%%DATANAM% EMP.dat" ------------------- Thanks for any help from anyone who may understand these errors and their solutions. Thoma.
Was this post helpful?
0 out of 0 found this helpful

Comments

1 comment

  • Hi Thomas, We are working on a solution for you. Hopefully we will be able to post additional information soon.
    0

Please sign in to leave a comment.