README.TXT
FvT Jan 1999

This file accompanies the GTAP add-on for endogenous technology spillovers
as documented in the GTAP technical paper:                      

 Hans van Meijl & Frank van Tongeren, "Endogenous international             
 technology spillovers and biased technical change in the GTAP model"      

 For an application see: Hans van Meijl & Frank van Tongeren (1998),        
 "Trade, technology spillovers and food production in China",              
  Weltwirtschaftliches Archiv, 134, 3.                                      

Contents
---------
You should have the following 13 files:
README.TXT	    this file

SPILLadd_on.TAB add this file at bottom of your own GTAP model version.
SPILL.TAB       a complete functioning version of GTAP with spillovers included.

set12_9.har     sets for 12 commodities x 9 regions aggregation
par12_9.dat     parameter file (text) for 12x9 aggregation
dat12_9.har     data file (header array) for 12x9 aggregation

spsetnam.har    set file to implement spillovers from NAM 
spseteur.har    set file to implement spillovers from EUR 

SPILL00.CMF     example command file to implement ao spillovers (TFP)
SPILL01.CMF     example command file to implement af spillovers (input augmenting)

spar00.dat      parameter file (text) for additional spillover parameters used 
                by SPILL00.CMF

SPILL.STI       stored input file for efficient TABLO-ing 

SPIAGG.TXT	aggregation mapping file used to aggregate the 12x9 aggregation with 
                version 3 data

The files included here allow you to implement endogenous technology spillovers
of two kinds: - spillovers that affect TFP in specific sectors of 
                destination regions [ao(i,s)]
              - spillovers that are input augmenting in specific sectors of
                destination regions  [af(i,j,s)] 

Two TAB files are included:
- SPILL.TAB       : a complete GTAP.TAB file with the spillover add-on included.
                    This can be TABLO-ed and run straight away.
- SPILLadd_on.TAB : only the new spillover parts. This can be pasted into 
                    your own GTAP model as add-on at the bottom of your file.               

Generating executable code and running the model
------------------------------------------------

When using WINGEM:
1. use TABLO with the supplied stored input file SPILL.STI
   to generate a *.FOR file, which takes care of the condensation.
      TABLO|Options|Run from STI file
2. run TG program, using the appropriate command file 
   The two command files included illustrate how to set up different 
   spillover simulations.

The datafile included is a 12 commodities x 9 regions aggregation of 
GTAP version 3 data. The size of this dataset may imply -depending on the 
type of FORTRAN compiler- that you have to adjust several size parameters in 
GEMPACK source code (*.for files). 



Feedback is most welcome.

best of luck!
