Hi
Your idea of loops is correct. However, you should read all your different data sets before you start the loop.
Say, you have three sets you loop over a set of three different inputs. InputA, InputB, InputC. You would then define a set s /A,B,C/; and read the data from these include files and assign them to a parameter over s.
s /A,B,C/;
* Read the include files with parameter inputA, inputB, inputC.
* Add a parameter and assign the values:
parameter input(S,...);
inputS("A",...) = inputA(...);
inputS("B",...) = inputB(...);
inputS("C",...) = inputC(...);
* Loop over the set S and solve your model
loop(S,
modelinput(S,...) = inputS(S,...);
solve
);
Usually, it is easier to have the different inputs in an excel file in one big table with an additional column for the set s. You can then read the parameter inputS in one sweep.
Hope this helps
Cheers
Renger