The GTAP v7 model in Julia
Main Article Content
Abstract
In this work, I introduce a formulation of the GTAP version 7 model (Corong et al., 2017) in an open-source algebraic modeling language, JuMP (Lubin et al., 2023), implemented in Julia (Bezanson et al., 2017), that closely follows the specification of the model in GEMPACK (Horridge et al., 2019), including equation and variable names. Unlike the linearized GEMPACK version, my formulation is in levels. However, my formulation of the GTAP model is quite different from the levels formulation in GAMS (Bussieck and Meeraus, 2004) by Mensbrugghe (2018), in following more closely the variable and equation names of the GEMPACK model. I show that my model produces essentially the same results as the GEMPACK model. Because it is expressed in levels, with unabridged functional forms underpinning its behavioral equations (e.g., containing all parameters in the case of CES functions), my model can address a wider range of policy questions, especially those involving parameter changes. Calibrating the model to additional data, e.g., quantities, additionally allows it to be used in scenario analyses involving absolute productivity metrics. As an important benefit, my implementation of the GTAP model using open-source Ipopt solver (W¨achter and Biegler, 2006), requires no software license to solve the model.
Article Details
Authors who publish with this journal agree to the following terms:
a. Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
b. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
c. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).