Hello,
I am trying to read in data from an excel sheet to gams, using the following code:
$CALL GDXXRW Typtage_Wind_final_norm_v2.xlsx squeeze=N par=PW rng=Scenarios!P1:AJ673 Cdim=1 Rdim=1 trace=0 par=PWforec rng=Scenarios!F2:G673 Cdim=0 Rdim=1 trace=0
$GDXIN Typtage_Wind_final_norm_v2.gdx
$LOAD PW PWforec
$GDXIN
The following message pops up:
— call GDXXRW Typtage_Wind_final_norm_v2.xlsx squeeze=N par=PW rng=Scenarios!P1:AJ673 Cdim=1 Rdim=1 trace=0 par=PWforec rng=Scenarios!F2:G673 Cdim=0 Rdim=1 trace=0
— MA_HRES_final.gms(68) 3 Mb 1 Error
*** above call failed, RC=127
*** ERRORLEVEL set to 1
*** Error 330 in /Applications/GAMS25.1/MA_HRES_final.gms
CALL failed
The excel files do exist, are named exactly like stated in the code, are saved in the same directory / folder as the GAMS-project and the stated range in the worksheet is correct.
I am using GAMS Studio on an OS-X environment. Surprisingly, the code executes on a Windows platform.
Any suggestions?
Thanks a lot in advance.
Cheers,
Noah