A general equilibrium model with an asymmetric Armington function: Method and 
=============================================================================
application
===========

Overview of GAMS files

In order to replicate the results in the paper, run the following sequence of
GAMS files:  

mod.gms s=save\mod
sim.gms r=save\mod s=save\sim
rep.gms r=save\sim s=save\rep
repxls.gms r=save\rep s=save\repxls

Alternatively, the rall.bat file can be used, which in turn runs the following
sequence of bat files: rm.bat, rs.bat, rr.bat, and rrepxls.bat. Once finished, 
results can be found in the Excel file repxls.xlsx.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Description of Files Included in Model Folder
=============================================

File                    Contents
====                    ========

mod.gms                 Core model file

app-data.xlsx           Excel file located in folder user-files
                        for mod.gms with application-specific dataset. 

app-data2.inc           Optional include file located in folder user-files for
                        mod.gms with (additional) application-specific data.

sambal.inc              Include file for mod.gms. A simple program balances
                        the SAM if its account imbalances exceed a cut-off point.

diagnostics-data.inc    Include file for mod.gms. Performs data diagnostics, 
                        aborting execution when an error is caught.

diagnostics-clos.inc    Include file for mod.gms and sim.gms. Performs closure
                        diagnostics, aborting execution when an error is caught.

varinit.inc             Include file for mod.gms and sim.gms. All model 
                        variables are initialized.

facclos.inc             Include file for mod.gms and sim.gms. Imposes closure 
                        for factors.

macclos.inc             Include file for mod.gms and sim.gms. Imposes macro 
                        closure rule (government, savings-investment, and RoW). 

diagnostics-sol.inc     Include file for mod.gms and sim.gms. Performs solution
                        diagnostics, aborting execution when an error is caught.

=-=-=-=-

sim.gms                 Restar from mod.gms. File for running simulations and
                        generating reports on results.

app-sim.xlsx            Excel file located in folder user-files for sim.gms with 
                        application-specific dataset.

repsetup.inc            Include file for sim.gms. Setup for reports 
                        (declarations and definitions of sets; declarations
                        of parameters).

par-defn-sim.inc        Include file for sim.gms. Imposes shocks defined through
                        app-sim.xlsx to exogenous variables and parameters.

reploop.inc             Include file for sim.gms. Defines report parameters
                        inside the loop.

=-=-=-=-                        
                        
rep.gms                 Restart from sim.gms. File for generating additional 
                        reports on results.

repperc-base.inc        Include file for rep.gms. Computes %-age change for
                        report parameters.

repgdx.inc              Include file for rep.gms. Generates a GDX files with 
                        report parameters.

repxls.gms              Restarted from rep.gms. Computes additional report
                        parameters.

=-=-=-=-

cge.gpr                 GAMS project file.
  
readme.txt              This file.

rm.bat                  Batch file for running mod.gms.

rs.bat                  Batch file for running sim.gms.

rr.bat                  Batch file for running rep.gms.

rrepxls.bat             Batch file for running repps.gms.

rall.bat                Batch file for running mod.gms, sim.gms, rep.gms, and
                        repps.gms.

clean.bat               Batch file for deleting files that are commonly
                        generated by GAMS and related softwares

