
set code=GTAPv7-ek 
set cmf01=gtapv7-ek_tms
set cmf02=gtapv7-ek_txs
set cmf03=gtapv7-ek_ams

:: =======================
REM Run GTAPv7 simulations
:: =======================
cd ..\batch   
..\tab\%code%  -cmf ..\cmf\%cmf01%.cmf
..\tab\%code%  -cmf ..\cmf\%cmf02%.cmf
..\tab\%code%  -cmf ..\cmf\%cmf03%.cmf

:: ==========================
REM Run GTAPv7-ek simulations
:: ==========================


goto skip
cd ..\sol      
sltohta -sss -map=u.map       ek_%%x_%%y_%%z.sl4 csv\ek_%%x_%%y_%%z_u.csv      >nul
sltohta -sss -map=qgdp.map    ek_%%x_%%y_%%z.sl4 csv\ek_%%x_%%y_%%z_qgdp.csv   >nul
sltohta -sss -map=psw.map     ek_%%x_%%y_%%z.sl4 csv\ek_%%x_%%y_%%z_psw.csv    >nul
sltohta -sss -map=pdw.map     ek_%%x_%%y_%%z.sl4 csv\ek_%%x_%%y_%%z_pdw.csv    >nul
sltohta -sss -map=tot.map     ek_%%x_%%y_%%z.sl4 csv\ek_%%x_%%y_%%z_tot.csv    >nul
sltohta -sss -map=qxwreg.map  ek_%%x_%%y_%%z.sl4 csv\ek_%%x_%%y_%%z_qxwreg.csv >nul
sltohta -sss -map=qmwreg.map  ek_%%x_%%y_%%z.sl4 csv\ek_%%x_%%y_%%z_qmwreg.csv >nul
)
)
)
:skip
cd ..\batch   