Hello,
I am trying to import multiple sheets of data from an excel sheet. I want my data to go into a single gdx file under different parameter names for each sheet.
So far, I have tried two methods.
If I use $CALL GDXXRW.EXE multiple times and create the same gdx file each time, the last gdx file overwrites the ones before it.
$CALL GDXXRW.EXE CoalHeat2004.xlsx par=total rng=Total!a1:o165 Rdim=1 Cdim=1
$CALL GDXXRW.EXE CoalHeat2004.xlsx par=internal rng=IEA_Internal!a1:o127 Rdim=1 Cdim=1
$CALL GDXXRW.EXE CoalHeat2004.xlsx par=external rng=IEA_ThirdParty!a1:o127 Rdim=1 Cdim=1
The above lines yield CoalHeat2004.gdx with only the parameter “external”. I want “total” and “internal” to also be in the gdx file.
I also tried creating separate gdx files and merging them into a single file, but this method results in a single merged set of data without separate parameter names. I can’t figure out how to use execute_unload or whatever other command to get my parameters onto the gdx file.
Thanks for your help.
Kirby
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.